Last post Nov 15, 2011 07:21 PM by rstrahl
None
0 Points
2 Posts
Nov 04, 2011 07:02 AM|jayeshvaru|LINK
i am using URL rewriting. Application work on local but on server application give error if I written path without extention (aspx).
I had register URL rewriting module in web config like
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules>
<add name="URLRewriteModule" type="URLRewriteModule" preCondition="ManagedHandler" />
</modules>
<defaultDocument>
<files>
<add value="Login.aspx" />
</files>
</defaultDocument>
</system.webServer>
And also ExtensionlessUrlHandler-Integrated-4.0, ExtensionlessUrlHandler-ISAPI-4.0_64bit, ExtensionlessUrlHandler-ISAPI-4.0_32bit handler are there. Then also I am getting following error
HTTP Error 500.0 - Internal Server Error
Module
ManagedPipelineHandler
Notification
ExecuteRequestHandler
Handler
ExtensionlessUrlHandler-Integrated-4.0
Error Code
0x800703e9
httpmodule httphandlers rewriting url
Participant
1471 Points
442 Posts
ASPInsiders
MVP
Nov 15, 2011 07:21 PM|rstrahl|LINK
This is just a stab at the problem, but it might be that your hosting server is running IIS 7 and you're running IIS 7.5. Slight differences there.
Two things:
To do this you can use syntax like this in web.config:
<modules runAllManagedModulesForAllRequests="true"> <add name="ScriptCompressionModule" type="Westwind.Web.ScriptCompressionModule,Westwind.Web" preCondition="bitness32"/> </modules>
Set the bitness explicitly for 32 or 64 bit to ensure the right type is used.
Both of these have bitten me before in various incarnations.
+++ Rick ---
None
0 Points
2 Posts
httpModules not work with iis 7.5 for url rewriting/extention less url (give error 500.0)
Nov 04, 2011 07:02 AM|jayeshvaru|LINK
i am using URL rewriting. Application work on local but on server application give error if I written path without extention (aspx).
I had register URL rewriting module in web config like
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules>
<add name="URLRewriteModule" type="URLRewriteModule" preCondition="ManagedHandler" />
</modules>
<defaultDocument>
<files>
<add value="Login.aspx" />
</files>
</defaultDocument>
</system.webServer>
And also ExtensionlessUrlHandler-Integrated-4.0, ExtensionlessUrlHandler-ISAPI-4.0_64bit, ExtensionlessUrlHandler-ISAPI-4.0_32bit handler are there. Then also I am getting following error
HTTP Error 500.0 - Internal Server Error
Module
ManagedPipelineHandler
Notification
ExecuteRequestHandler
Handler
ExtensionlessUrlHandler-Integrated-4.0
Error Code
0x800703e9
httpmodule httphandlers rewriting url
Participant
1471 Points
442 Posts
ASPInsiders
MVP
Re: httpModules not work with iis 7.5 for url rewriting/extention less url (give error 500.0)
Nov 15, 2011 07:21 PM|rstrahl|LINK
This is just a stab at the problem, but it might be that your hosting server is running IIS 7 and you're running IIS 7.5. Slight differences there.
Two things:
To do this you can use syntax like this in web.config:
Set the bitness explicitly for 32 or 64 bit to ensure the right type is used.
Both of these have bitten me before in various incarnations.
+++ Rick ---
West Wind Technologies
Making waves on the Web
weblog.west-wind.com
Check out: Markdown Monster