質問

I'm having a strange problem where I've got identical code in my local development machine running VS 2013 with IIS Express and my development server running IIS 7.5. It used to work fine but recently odd things started happening on my local machine. I saved off the rendered HTML output and noticed there was a small section of the layout code that didn't get rendered. I also noticed that the htm file from the server saved as ANSI and the HTML file from my local machine saved as UTF-8 BOM.

Any idea what might cause this?

役に立ちましたか?

解決

We finally discovered this was caused by Visual Studios browser link functionality and to fix it we needed to disable it by putting this in the section of the web.config:

<add key="vs:EnableBrowserLink" value="false" />

Alternatively you can disable in in Visual Studio altogether.

More info: http://www.telerik.com/forums/the-new-browser-link-feature-in-vs-2013-is-causing-an-error-when-detailtable-of-hierarchy-radgrid-is-expanded

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top