Troubleshooting
  • RSS Feed

Last modified on 5/1/2018 9:55 AM by User.

Tags:

Troubleshooting

ISSUE: 4.18+ Installations:

Because the Help Guide paths have been defined in a config, this must be set up in the website folders or an error will be thrown.

Resolution:

 Add the following lines to the web.config file:

1. In the <configSections>, add: 

<section name="guides" type="DiaWEB.Mvc3.Configuration.HelpGuidesConfigurationSection" />

2. Immediately following the </configSections>, add:

  <guides configSource="App_Data\guides.config" />
 
3. In the App Data folder, make sure the guides.config file is pointed at the correct version of the guide for all the guides, but particularly the User Guide and System Admin Guide.

 

  I'm getting the following error message (in DiaWEB error log) after an update: The 'Cache1Day' cache profile is not defined.  Please define it in the configuration file.

    Resolution: Makes sure the site is using the latest copy of web.config containing the following lines after </httpModules>:

<caching>
      <outputCacheSettings>
        <outputCacheProfiles>
          <add name="Cache1Minute" duration="60" varyByParam="none" location="Any"/>
          <add name="Cache1Hour" duration="3600" varyByParam="none" location="Any"/>
          <add name="Cache1Day" duration="86400" varyByParam="none" location="Any"/>
          <add name="Cache30Days" duration="2592000" varyByParam="none" location="Any"/>
        </outputCacheProfiles>
      </outputCacheSettings>
    </caching>
 
 

    I'm getting the following error message after an update: Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 

Resolution: Make sure the site is using the latest copy of web.config

 

    I'm getting the following error message after an update: The pre-application start initialization method Start on type WebMatrix.WebData.PreApplicationStartCode threw an exception with the following error message: This method cannot be called during the application's pre-start initialization stage.

Resolution: Make sure the site is using the latest copy of app.config OR add the following keys to APP_DATA\app.config

    <add key="enableSimpleMembership" value="false" />
    <add key="autoFormsAuthentication" value="false" />
 
 
   I'm getting the following error message after an update:  Could not load file or assembly 'System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
 
Resolution: Make sure the server in question has update KB2600211 applied to update Microsoft Dot Net Framework 4 to 4.0.3.
 
 
     I'm getting the following message after an update or new install: Could not load file or assembly 'Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..
 
Resolution: Make sure that \bin\Microsoft.Web.Infrastructure.dll and \h2uservices\bin\Microsoft.Web.Infrastructure.dll are present.
 
 
     I'm getting the following message after an update or new install: Could not load file or assembly 'System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
 
Resolution: Make sure that \bin\ and \h2uservices\bin\ contain the following files:
    System.Web.Helpers.dll, System.Web.Razor.dll, System.Web.WebPages.Deployment.dll, System.Web.WebPages.Razor.dll
 

   

    I'm getting the following message after an update or new install: Exception message: Could not load file or assembly 'FxCopSdk' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Resolution: remove "FxCopSdk.dll" and "Microsoft.Cci.dll" from the DiaWEB web root "bin" directory.
 
 
    I'm getting the following after a brand-new install: Handler “ExtensionlessUrlHandler-Integrated-4.0” has a bad module “ManagedPipelineHandler” in its module list
 
Resolution: Re-register IIS using " c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i "
 
 
    I'm getting the following message after a brand-new install or database move: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated.
 
Resolution: set CustomErrors=Off in app_data\errors.config and retry. Then the underlying message should become visible.