Home > Biztalk, Biztalk 2010 > Biztalk: Failed to add resource(s). Change requests failed for some resources

Biztalk: Failed to add resource(s). Change requests failed for some resources


Today while deploying a Biztalk project I got the following error

Error 33 Access to the path ‘C:\Users\alasaad\Local Settings\Temp\BT\PID3624\BizTalkAssembly\4120c07368b1efbdf0cf62f9cd6bc7eb\MyBiztalkProject.dll’ is denied

Cleaned the project, restarted Visual studio. No good. I then rebooted the machine and I got this error

Error 42 Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Assembly “C:\Users\alasaad\AppData\Local\Temp\2\BT\PID5652\BizTalkAssembly\4120c07368b1efbdf0cf62f9cd6bc7eb\MyBiztalkProject.dll” does not appear to be a BizTalk assembly, and cannot be deployed to the Configuration database. If this assembly is referenced by other BizTalk assemblies, it needs to be installed into the global assembly cache (GAC) of each BizTalk server.

To fix the above I had to Add the following to the AsseblyInfo.cs. See

[assembly: Microsoft.XLANGs.BaseTypes.BizTalkAssemblyAttribute(typeof(BTXService))]

Seems that I deleted that line by mistake 🙂

Advertisements
Categories: Biztalk, Biztalk 2010 Tags: ,
  1. August 23, 2012 at 1:03 pm

    THANKS!! I had to regenerate the AssemblyInfo.cs because somebody forgot to check it into the code repository. Was going bonkers trying to figure out why the project wouldn’t deploy to BizTalk. This was the problem and the solution.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: