Hi,
Due to the needs of my client and a promise they made to another client, some code I wrote for CS 10.0 and CS10.5 now needs to be made backwardly compliant to Livelink 971 web servvices. That gets the whole "why am I even doing this" out of the way.
I managed to get a Livelink 971 instance spun up on a VM Ware running Windows 7x64 and connected to a SQL Server 2008 R2 db. The 64 bit may be the root of my troubles as if I recall, LL971 was the last version that ran on 32 bit OS.
I created the web application in IIS but when I try to access either the Authentication.svc or DocumentManagement.svc, I get the following error stack:
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 'LapiService' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source Error:
Line 57: <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 58: <add assembly="System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 59: <add assembly="*"/>
Line 60: <add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
Line 61: <add assembly="System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
Source File: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Config\web.config Line: 59
Assembly Load Trace: The following information can be helpful to determine why the assembly 'LapiService' could not be loaded.
=== Pre-bind state information ===
LOG: User = IIS APPPOOL\DefaultAppPool
LOG: DisplayName = LapiService
(Partial)
LOG: Appbase = file:///D:/app/OPENTEXT/webservices/dotnet/les-services/
LOG: Initial PrivatePath =
\app\OPENTEXT\webservices\dotnet\les-services\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:
\app\OPENTEXT\webservices\dotnet\les-services\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/les-services/dbf0d168/24c1bb26/LapiService.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/les-services/dbf0d168/24c1bb26/LapiService/LapiService.DLL.
LOG: Attempting download of new URL file:///D:/app/OPENTEXT/webservices/dotnet/les-services/bin/LapiService.DLL.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
It would appear that the LapiService.DLL that comes bundled with LL971 is simply not working.
Does anyone have any suggestions of what I can do? I'm wondering if I can swap in the CS10.0 LapiService.dll as I imagine it *is* 64 bit.
-Hugh Ferguson