You are viewing limited content. For full access, please sign in.

Question

Question

Error at the First time installation of LF web access& forms

asked on October 18, 2017

After completing the installation, I get these errors for:

1. http://localhost/laserfiche/Configuration/Configuration.aspx

ErrorLog:

Server Error in '/Laserfiche' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Could not load file or assembly 'LfLicenseReader.dll' or one of its dependencies.  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

Source Error: 
 

Line 41:       <assemblies>
Line 42:         <add assembly="Laserfiche.RepositoryAccess, Version=10.0.0.0, Culture=neutral, PublicKeyToken=3f98b3eaee6c16a6" />
Line 43:         <add assembly="LfLicenseReader, Version=10.0.0.1, Culture=neutral, PublicKeyToken=607dd73ee2bd1c00" />
Line 44:         <add assembly="Microsoft.Web.Services3, Version	=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 45:         <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />


Source File: C:\Program Files\Laserfiche\Web Access\Web Files\web.config    Line: 43 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009

 

2. LF forms: http://localhost/Forms

Error log:

Server Error in '/Forms' Application.

Could not load file or assembly 'LfLicenseReader.dll' or one of its dependencies.  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

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.BadImageFormatException: Could not load file or assembly 'LfLicenseReader.dll' or one of its dependencies.  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

Source Error: 
 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 
 

[BadImageFormatException: Could not load file or assembly 'LfLicenseReader.dll' or one of its dependencies.  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)]
   E_Forms.MvcApplication.Application_Start() +0

[HttpException (0x80004005): Could not load file or assembly 'LfLicenseReader.dll' or one of its dependencies.  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12584889
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): Could not load file or assembly 'LfLicenseReader.dll' or one of its dependencies.  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12601920
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12441581

I am new to LF, and I need help with resolving these issues..

 

0 0

Replies

replied on March 14, 2019

Hi,

 

Leaving this here for other poor souls who come across this error, as well as for myself next time I forget how to fix it :-)

 

https://support.laserfiche.com/kb/1013282

 

Uninstalled all web products as well as the VC++ components then  installed Forms 10.4 first and confirmed all seemed to work fine. Then proceeded to load all other web products (Web Client, Mobile) and all working fine.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.