Server Error in '/SomeDirectory' Application
Monday, November 30, 2009 7:09:11 PM
Server Error in '/SomeDirectory' Application.
Description:
Only one instance of a ScriptManager can be added to the page.
|
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
|
I encountered this error today after installing the IIS 3.5 Framework today for a clients application. The environment I was dealing with was W2K3 Server, SQL 2008 and Visual Studio 2008 SP1. Apparently the programmer working for the client was using asp.net Master Pages and a Script Manager tag. The problem was that the programmer inserted a scriptmanager on the index.aspx page, as well as it pulling the scriptmanager from the Master Page. To fix this issue I commented out the scriptmanager tag on the .aspx, and just used the <asp:UpdatePanel> as well as the <ContentTemplate> objects. Hope this helps someone in the future.
Happy Coding..