1

i developed a web application it is working fine in local server. when i uploaded the site in online when i click on some of the buttons i am getting this error. I am using master page, but i am not place the scriptmanager in master page,i place the scriptmanager tag in every page. It is working fine in local server but it is giving error in online. please can u help me. Thank you

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error details
and modify your source file appropriately.

Parser Error Message: Unknown server tag 'asp:ScriptManager'.

Source Error:

Line 9:  <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
Line 10: 
Line 11:     <asp:ScriptManager ID="ScriptManager1" runat="server">
Line 12:     </asp:ScriptManager>
Line 13:          <asp:UpdatePanel id="UpdatePanel2" runat="server" UpdateMode="Conditional">
1
  • Ya i solve the problem simple i added this <pages enableEventValidation="true" enableViewStateMac="false"> <controls > <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </controls> </pages> Commented May 6, 2010 at 8:48

2 Answers 2

1

In first place you should compare your local web.config with the production web.config. It may be possible that you have missed one or more configuration items related to ajax.

Here you have a reference about how to configure an ajax application:

http://www.asp.net/ajax/documentation/live/ConfiguringASPNETAJAX.aspx

Sign up to request clarification or add additional context in comments.

1 Comment

Ya Mr. Claudio Redi i will check and inform you
0

Make sure the online site is set to use the right version of the .net framework. probably 3.5

4 Comments

Hi Mr. DavRob60 actually i used the config file which is other project config file i think it is giving the problem.
in local it is original config in online i used the other project config file
Y because it is giving error so that i place the different config file
ya i solve the problem simple i added the <pages enableEventValidation="true" enableViewStateMac="false"> <controls > <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </controls> </pages>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.