Biztalk 2010 GAC Issue

Thursday, June 30, 2011

Q:
VS 2010 uses .Net 4.0 and Net 4.0 gac's the dlls into the new GAC location (C:\Windows\Microsoft.NET\assembly\GAC_MSIL\ProjectName\v4.0_\*.dll)

wheras Biztalk uses GAC loc as C:\Windows\assembly folder for all the dlls and all the default and esb Biztalk dlls are located here. When i create a Biztalk project it deploys fine in Biztalk DB wheras the dlls are Gac'd in the new GAC loc.

At runtime Biztalk is looking for the dlls in GAC and does not find it (looks under C:\Windows\assembly  folder) and it fails.

Ans:
f you are getting a specific error about a file not being in c:\windows\assembly, you could try copying them there using the command-line. Although you cannot see the files in gac_msil through Windows explorer, you can see these on the command-line. So for example, open a command prompt, cd to c:\windows\assembly\gac_msil. Then you can copy files from there to c:\windows\assembly.

No comments:

Post a Comment

Post Your Comment...