My project is working perfectly when running locally. I am using VS 10 and SQL Server 2008 R2 & .net framework 4.0. But when I uploaded it after publishing. Strange problems are started in project.
First one is in register page. some time one is able to register and some time javascript is showing error message in IE. There is states and cities. After changing State, City will change and after changing City, Locaity will change. Here it is creating
some time problem and sometime not.
pls try to submit without filling the required fields. I have used Update Panel there surrounding the PostBack of States, Cities and also Ajax Calender in Profile Type - Individual.
Error details are:
Webpage error details
Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '
<!DOCTYPE html P'.
Line: 2
Char: 15475
Code: 0
URI: http://www.propertylelo.com/ScriptResource.axd?d=fciHdV8F6gPFLZfzIT4jaZesATQw2IpBMg0Hiumon9zWVBPl-3QQoviw-jIAENnDunWLNQCm1w0F-iGEjyw9Jfa0wxmWDiNi7yfoJqnOpuQ6xYRiUzhyDpNbMh2CBWReIIXJ6Pm2Sisg4w9iXELpZQ2&t=ffffffffc13acc3f
I have also used JQuery for form steps on register page.
this may be one of the possiblility, that when you run your application in VS2010 it runs in 'ASP.NET Development Server' and it won't give you development environment of IIS.. So please try running your application in IIS Express in VS2010.
I think this will help your
Please let me know for any help..
Thanks
Please mark this post as ANSWER if this post helps you.
Thanks for reply. First thing i always use IIS while develpoing web apps. And the problem is with DropDownLists postback. The DDLs are in UpdatePanel. And I have not used Response.Write() on this page. So this is not the cuase. The main problem is on my
local iis everything is perfect.
I have read many articals/Links provided by u and noticed from the error that perhaps my request/reply is modified somewhere. because earlier I was using one UpdatePanel. And there are two DDLs which makes postBack. So I have changed my code and used two
diffent UpdatePanels but the problem is still there. Some time problem arises sometime not. here is my code with update panels:
Hem Singh
Participant
1051 Points
235 Posts
problem after project deployed online
Feb 25, 2012 06:49 AM|LINK
Hi,
My project is working perfectly when running locally. I am using VS 10 and SQL Server 2008 R2 & .net framework 4.0. But when I uploaded it after publishing. Strange problems are started in project.
First one is in register page. some time one is able to register and some time javascript is showing error message in IE. There is states and cities. After changing State, City will change and after changing City, Locaity will change. Here it is creating some time problem and sometime not.
Pls check the page online from the link below:
http://www.propertylelo.com/account/register.aspx
pls try to submit without filling the required fields. I have used Update Panel there surrounding the PostBack of States, Cities and also Ajax Calender in Profile Type - Individual.
Error details are:
I have also used JQuery for form steps on register page.
I have tried so many options. but not succeeded.
Any suggestion pls.
Hem Singh
Dnyanesh Des...
Member
178 Points
51 Posts
Re: problem after project deployed online
Feb 25, 2012 05:25 PM|LINK
Hello Hem,
this may be one of the possiblility, that when you run your application in VS2010 it runs in 'ASP.NET Development Server' and it won't give you development environment of IIS.. So please try running your application in IIS Express in VS2010.
I think this will help your
Please let me know for any help..
Thanks
chetan.sarod...
All-Star
66619 Points
11270 Posts
Re: problem after project deployed online
Feb 27, 2012 02:19 AM|LINK
Hi, Please refer this
http://dotnetdebug.net/2006/12/28/syswebformspagerequestmanagerparsererrorexception/
http://blogs.iis.net/webtopics/archive/2009/07/21/getting-the-sys-webforms-pagerequestmanagerparsererrorexception-while-making-an-ajax-callback.aspx
http://blogs.msdn.com/b/carloc/archive/2008/02/06/the-message-received-from-the-server-could-not-be-parsed.aspx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
Hem Singh
Participant
1051 Points
235 Posts
Re: problem after project deployed online
Feb 27, 2012 12:50 PM|LINK
Hi,
Thanks for reply. First thing i always use IIS while develpoing web apps. And the problem is with DropDownLists postback. The DDLs are in UpdatePanel. And I have not used Response.Write() on this page. So this is not the cuase. The main problem is on my local iis everything is perfect.
I have read many articals/Links provided by u and noticed from the error that perhaps my request/reply is modified somewhere. because earlier I was using one UpdatePanel. And there are two DDLs which makes postBack. So I have changed my code and used two diffent UpdatePanels but the problem is still there. Some time problem arises sometime not. here is my code with update panels:
<tr> <td class="lefttd"> Main City/State* :</td> <td> <asp:DropDownList ID="cityState" runat="server" CssClass="file_box" Height="26px" OnSelectedIndexChanged="cityState_SelectedIndexChanged" AutoPostBack="true"> <asp:ListItem Value="">--Select--</asp:ListItem> </asp:DropDownList></td> </tr> <tr> <td class="lefttd"> City*:</td> <td> <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate> <asp:DropDownList ID="city" runat="server" OnSelectedIndexChanged="city_SelectedIndexChanged" AutoPostBack="true"> <asp:ListItem Value="">--Select--</asp:ListItem> </asp:DropDownList> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="cityState" EventName="SelectedIndexChanged" /> </Triggers> </asp:UpdatePanel> </td> </tr> <tr id="Tr4"> <td class="lefttd"> Deals In*: </td> <td> <table class="tblBorder0"> <tr><td> <asp:UpdatePanel ID="UpdatePanel3" runat="server"> <ContentTemplate> <asp:ListBox ID="locality" runat="server" Height="70px" Width="130px" ClientIDMode="Static" SelectionMode="Multiple"> <asp:ListItem Value="">--Select--</asp:ListItem> </asp:ListBox> <asp:ListBox ID="localityHid" runat="server" Height="70px" Width="130px" ClientIDMode="Static" SelectionMode="Multiple" CssClass="hidden"> <asp:ListItem Value="">--Select--</asp:ListItem> </asp:ListBox> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="city" EventName="SelectedIndexChanged" /> </Triggers> </asp:UpdatePanel> </td> </tr>I applied so many changes some from yr provided links and some from net search but still stucked...
Hem Singh