Geeks With Blogs
MoonWalker Biztalk Driven Addiction

 

Bad surprise today, When trying to create a receive location WCF-SAP in Biztalk administration console, I received this nice message :

===================================

Exception has been thrown by the target of an invocation. (mscorlib)

===================================

Exception has been thrown by the target of an invocation. (mscorlib)

===================================

Could not load file or assembly 'Microsoft.Adapters.SAP.SAPGInvoker.dll' or one of its dependencies. The specified module could not be found. (Microsoft.Adapters.SAP)

------------------------------
Program Location:

   at Microsoft.Adapters.SAP.SAPConnectionUri.ParseUri(Uri uri)
   at Microsoft.Adapters.SAP.SAPConnectionUri..ctor()

My Configuration was using the SAP RFC SDK 7.00 Unicode client package on a 64 bits server. After having triple checked the configuration files and installation I was starting to despair. The adapter has been running for months without issue on a dynamic send port.

I used ProcessMonitor and Process Explorer to monitor what was happening when i was opening the adapter configuration windows and after a while I realized the msvcr71.dll  was missing.

After deploying it in the SYSWOW64 folder it worked fine.

In the installation guide there is a reference to Visual C++ runtime dll for the SAP RFC SDK 7.10 but not for the earlier versions.

Let's hope I will save someone some headache on that one.

Edit 2015/01/21 Installing BizTalk 2013R2 then configuring BizTalk Adapter lead me to the same issues. Following the documentation, the only missing information is that you have to download 2 packages from SAP. Windows on x64 64bits (or the other 64bit depending on your HW) and Windows Server on IA32 32bits. The 32 bits version is only used by Visual Studio and the administration console (afaik).

Posted on Wednesday, July 17, 2013 4:55 PM | Back to top


Comments on this post: Could not load file or assembly 'Microsoft.Adapters.SAP.SAPGInvoker.dll'

# re: Could not load file or assembly 'Microsoft.Adapters.SAP.SAPGInvoker.dll'
Requesting Gravatar...
Hi

I have installed BizTalk 2013 server on my dev enviornment. I can send iDOC to SAP using 32bit host just fine but getting the error you have mentioned while using 64 bit host. I do have msvcr71.dll in SYSWOW64 but seems like I am missing something else.

Can you please help me sending some details on your SAP adapter installation?

Thanks
Left by Ravinder on Mar 28, 2014 9:48 PM

Your comment:
 (will show your gravatar)


Copyright © Frederic Hautecoeur | Powered by: GeeksWithBlogs.net | Join free