Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 06, 2012 10:03 AM by Dino He - MSFT
0 Points
6 Posts
Jun 04, 2012 03:46 PM|LINK
Dear All,
I am facing problem,
I have depved site and used asp routing in it.
Problem is when i run website from local host it works fine.
but when i deployee my site at remote server. Below error is appeared.
Can you please advise me how i can fix this. Why Routing is not working after publishing of site.
Below is web.config file:
<?xml version="1.0"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 <configuration> <system.webServer> <modules runAllManagedModulesForAllRequests="true" /> </system.webServer> <system.web> <membership> <providers> <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="mobileDB" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/> </providers> </membership> <customErrors mode="Off"/> <compilation debug="true"> </compilation> </system.web> </configuration>
You can also see the error at below link:
http://www.mobilescorner.com/Nokia_Oro_Price
Please advise me how can i fix this issue.
Thanks,
Salman
Star
8068 Points
1023 Posts
Microsoft
Jun 06, 2012 10:03 AM|LINK
Hi
You can refer to this article:
http://blogs.msdn.com/b/rjacobs/archive/2010/06/30/system-web-routing-routetable-not-working-with-iis.aspx
Hope it helpful.
bisanisalman
0 Points
6 Posts
ASP.NET Routing (in web form) is not working after deployment
Jun 04, 2012 03:46 PM|LINK
Dear All,
I am facing problem,
I have depved site and used asp routing in it.
Problem is when i run website from local host it works fine.
but when i deployee my site at remote server. Below error is appeared.
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Can you please advise me how i can fix this. Why Routing is not working after publishing of site.
Below is web.config file:
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
<configuration>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
<system.web>
<membership>
<providers>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="mobileDB" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
</providers>
</membership>
<customErrors mode="Off"/>
<compilation debug="true">
</compilation>
</system.web>
</configuration>
You can also see the error at below link:
http://www.mobilescorner.com/Nokia_Oro_Price
Please advise me how can i fix this issue.
Thanks,
Salman
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: ASP.NET Routing (in web form) is not working after deployment
Jun 06, 2012 10:03 AM|LINK
Hi
You can refer to this article:
http://blogs.msdn.com/b/rjacobs/archive/2010/06/30/system-web-routing-routetable-not-working-with-iis.aspx
Hope it helpful.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework