tags:

views:

378

answers:

2

In asp.net 3.5, I'm rewriting the url

http://www.dotoobeta/blogs/1108

to the following

http://www.dotoobeta/blogs/blogs.aspx i am using UrlRewritingNet.UrlRewriter.dll and

it work s fine in local but not work in server. i alrwdy confiuguation iis setting in server also.

what is the solution pls tell me .

premjit

[email protected]

pls give me the idea/code for url rewriting

+1  A: 

Perhaps your server is not configured to route requests like http://www.dotoobeta/blogs/1108 through ASP.NET pipeline. If you have IIS 6 or higher on the server, you can configure wildcard handler and handle everything via ASP.NET. Don't forget to uncheck "verify that file exists" checkbox, or it won't work for nonexisting paths.

XOR
we also configure wildcard handler and handle everything via ASP.NET and also verify that file exists" checkbox still now not work
A: 

I have similar problem, and it's caused by architecture. I must add mapping for 64 bit too like this :

  <add name="aspnet_isapi"    path="*" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
  <add name="aspnet_isapi-64" path="*" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv2.0,bitness64" />

Hope it helps

Petr

Petr Šnobelt