Common issues faced during deployment of ASP.NET apps and how to solve them?

<< Click to Display Table of Contents >>

Navigation:  Gnostice Document Studio .NET > Frequently Asked Questions (FAQs) > ASP.NET >

Common issues faced during deployment of ASP.NET apps and how to solve them?

Please also check the FAQ “What are some common issues faced during deployment of WinForms/WPF application and how do I solve them?” since all the platforms use a common document engine so the issue you are seeing on the server-side control may already be covered there. The issues listed below are client-side specific.

 

Issue: I am seeing an error in the browser console “HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable”.

Solution: This issue arises when document handler registration is not found in web.config file. Please make sure that following highlighted content is available in web.config.
<system.web>
  <httpHandlers>
      <add verb="*"
          path="DocumentHandler.axd"
          type="Gnostice.Controls.ASP.DocumentHandler,
                Gnostice.Controls.ASP"/>
  </httpHandlers>      
</system.web>
 
<system.webServer>
  <handlers>
    <add name="XDocumentImage" 
          verb="*" 
          path="DocumentHandler.axd" 
          type="Gnostice.Controls.ASP.DocumentHandler, 
                Gnostice.Controls.ASP"/>
  </handlers>
</system.webServer>

 

Issue: I am seeing the error “Access to the registry key 'HKEY_CURRENT_USER\Identities' is denied”

Solution: This issue arises when you are deploying the trial version to IIS. To solve this issue, you need to apply the following settings to the Application Pool on IIS.

Right click on Application Pool name and select “Advanced Settings”

In advanced settings window, under the process model, set Identity to “ApplicationPoolIdentity”

 

None of this solves my problem or I am having some other issue not listed here

Please write to us on support@gnostice.com.