1

我在 Azure 网站上创建了一个新的 Lemoon 站点并将其复制到本地并尝试运行它。

数据库连接仍然指向 Azure SQL 数据库,所以应该没问题。

我收到了一个错误,尽管它说...

"Post cache substitution is not compatible with modules in the IIS integrated pipeline that modify the response buffers.  Either a native module in the pipeline has modified an HTTP_DATA_CHUNK structure associated with a managed post cache substitution callback, or a managed filter has modified the response."

关于如何解决这个问题的任何想法?

4

1 回答 1

1

Most probably you have an IIS-module that modifies the response in some way. That in combination with the use of the ASP.NET Output Cache Substitution Feature causes the error you refer to.

The solution is to either disable the IIS-module that modifies the response or to remove the cache substitution from the master page file that ships with the Lemoon project template.

Remove the line below from the file Site.Master:

<!-- generated at <%= DateTime.Now.ToString("s") %> / <% Response.WriteSubstitution(RenderInfo); %> -->
于 2013-07-12T08:28:16.167 回答