Sonali Khade

Sonali Khade

  • NA
  • 44
  • 0

Issue regarding URL rewriting

Nov 5 2011 5:32 AM

 Hello ,

  I have developed a website in asp.net 2.0 and used Formrewriter.cs for URL rewriting. It works fine in IIS 6 but it is not working in IIS 7.


It gives following error

Server Error in Application "DEFAULT WEB SITE"


Internet Information Services 7.5

Error Summary

HTTP Error 404.0 - Not Found

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.


Detailed Error InformationModuleNotificationHandlerError Code
IIS Web Core
MapRequestHandler
StaticFile
0x80070002

Requested URLPhysical PathLogon MethodLogon User
http://localhost:80/Convinience Shopping/M__23
E:\IN_OUT\InOutProj\Convinience Shopping\M__23
Anonymous
Anonymous


Most likely causes:
  • The directory or file specified does not exist on the Web server.
  • The URL contains a typographical error.
  • A custom filter or module, such as URLScan, restricts access to the file.

Things you can try:
  • Create the content on the Web server.
  • Review the browser URL.
  • Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.

Links and More InformationThis error means that the file or directory does not exist on the server. Create the file or directory and try the request again. View more information ยป



Answers (3)