I have created web service that uses Laserfiche.RepositoryAccess 9.1 dll to search and return result in JSON format from Repository.
From Visual Studio 2010 when I am running application it is returning the result. Now I want to deploy this web service to IIS. I searched about it and I found that I need to create Web Setup Project in Visual Studio and need to add Merge Modules. I have created Web Setup Project with targeted platform x64 and x86 because it is not giving me an option for Any CPU. My Web Service project's target platform is Any CPU.
Setup is detecting dependencies automatically where Laserfiche.HttpClient.dll is from GAC_64 and Laserfiche.I18n.dll is from x86 folder.
I have added Merge Modules as suggested in Laserfiche SDK 9.1 help document.
x86 Web setup project gives me an error "'Laserfiche.HttpClient.dll' targeting 'AMD64' is not compatible with the project's target platform 'x86'"
So I have created Web Setup Project with x64 platform. Setup is getting created successfully as well as application is getting installed successfully. Now I am executing my web service from IIS and it gives me DLL dependenci error: "Could not load file or assembly 'Laserfiche.I18n' or one of its dependencies. An attempt was made to load a program with an incorrect format."
If possible then provide me step by step guide to deploy application that is created using SDK.