Server Error Message xxx.ashx does not exist

If you have Ajax.NET on IIS 7 set to run in an integrated mode instead of classic mode, and you're getting an AssetTrack Server error message: The file '/AssetTrack/ajaxpro/xxx.ashx' does not exist. You'll need to check that IIS_ISSRS has access to your web site folder and make some changes to your web.config file.

To resolve the missing file error message

When running Ajax.NET on IIS 7 in integrated mode instead of classic mode here are few things you'll want to check:

  1. First check that the IIS_ISSRS group has access to your Web site folder.
    For example, if you are using the default folder for Web sites with Visual Studio .NET 2005, the simplest way is to add read access at C:\Users\Username\Documents\Visual Studio 2005\WebSites.
        
  2. Run the following command to automatic migrate your web.config file:     %windir%\system32\inetsrv\Appcmd migrate config "<ApplicationPath>"
    The problem with the web.config file for Ajax.NET Professional is that you have to move the httpHandler (and httpModule if used) to a new section called <system.webServer> and rename httpHandler to handler; next you have to add a nameattribute for the handler:

    <configuration>
         <location path="ajaxpro">
              <system.webServer>
                   <handlers>
                        <add verb="*" path="*.ashx" name="AjaxPro"  type="AjaxPro.AjaxHandlerFactory,AjaxPro.2" />
                   </handlers>
              </system.webServer>
          </location>
    </configuration>

Here are some issues you may encounter when deploying the default ASP.NET Integrated mode on IIS 7.0 on Windows Vista SP1 and Windows Server 2008.

 

Have more questions? Submit a request

Comments

Please sign in to leave a comment.