How Can We Help?
Issue
When installing XMPro on IIS 6 Server and trying to access XMWorkspace from the browser, the following error is displayed:
Server Error in ‘/XMPro 6.1/XMPro’ Application.
The WebResource.axd handler must be registered in the configuration to process this request.
<!-- Web.Config Configuration File --> <configuration> <system.web> <httpHandlers> <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" /> </httpHandlers> </system.web> </configuration>
Description: An unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The WebResource.axd handler must be registered in the configuration to process this request.
<!-- Web.Config Configuration File --> <configuration> <system.web> <httpHandlers> <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" /> </httpHandlers> </system.web> </configuration>
Resolution
In this case, the asp.net version is: 4.0.30319 and the IIS Version is: IIS V6.0
Open the web.config file for this site, the following config information will be displayed:
<httpHandlers> <add type="DevExpress.Web.ASPxUploadControl.ASPxUploadP rogressHttpHandler, DevExpress.Web.v13.2, Version=13.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" verb="GET,POST" path="ASPxUploadProgressHandlerPage.ashx" validate="false" /> <add type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerMo dule, DevExpress.Web.v13.2, Version=13.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" verb="GET,POST" path="DX.ashx" validate="false" /> <add type="System.Web.HttpHandlers.AssemblyResourceLoad er" verb="GET" path="WebResource.axd" validate="false" /> </httpHandlers>
The bold highlighted line is the one which causing the issue in this case.
Remove this line from httpHandlers and add it to the handlers tag as shown in below.
<handlers> <add type="DevExpress.Web.ASPxUploadControl.ASPxUploadP rogressHttpHandler, DevExpress.Web.v13.2, Version=13.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" verb="GET,POST" path="ASPxUploadProgressHandlerPage.ashx" name="ASPxUploadProgressHandler" preCondition="integratedMode" /> <add type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerMo dule, DevExpress.Web.v13.2, Version=13.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" verb="GET,POST" path="DX.ashx" name="ASPxHttpHandlerModule" preCondition="integratedMode" /> <add type="System.Web.HttpHandlers.AssemblyResourceLoad er" verb="GET" path="WebResource.axd" validate="false" /> </handlers>
After removing the line from httpHandlers tag and adding to handlers tag try to access the workspace and you should be able to login.
Also, now you should be able to login to the designer and create processes / modify, etc., without any issues.
Comments are closed.