Sometimes while deploying the assembly to Admin Console you may get the below error.
Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Unable to install the assembly into the Global Assembly Cache.
Exception: A file load exception occurred while attempting to install the assembly into the Global Assembly Cache. This error may occur if the assembly is delay signed, or if assembly was renamed after creating/signing
The below steps resolved the error for me.
1. Remove the temporary files from your PC. (Just go to Run -> type %temp% and delete all the temporary files. Note: Do not delete any directories. Else you will end up with a different error.)
2. Uninstall the previous / current versions of that dll from GAC and redeploy. (While uninstalling the assembly, if you get any error “Cannot Uninstall as it is being used by another process”, then stop the host instance, close all applications and try again. If you still cant delete the dll, restart the PC. :-()
3. Check if the project is using any reference path that does not exist. ( For this, go to project properties -> Select Reference Paths -> Delete any References that doesn’t Exist)
These steps help you in resolving the error.
- Shiv
Showing posts with label BizTalk Deployment Error. Show all posts
Showing posts with label BizTalk Deployment Error. Show all posts
Monday, 1 November 2010
Could not write to output file 'Something.dll' -- 'The directory name is invalid. ' – BizTalk Deployment
There is a simple solution for this.
This error might have occurred incase if you delete the temporary files from your PC.
Step1:
Just go to Run Command and Type %temp%
Step2:
It gives you an error saying that the directory is not found. Just go to that location and create that directory.
Now, try to redeploy the solution, the error goes away.
Some times you may need to give permission to that folder. Check the below link if you still have issues.
http://support.microsoft.com/default.aspx?scid=kb;en-us;825791
- Shiv
This error might have occurred incase if you delete the temporary files from your PC.
Step1:
Just go to Run Command and Type %temp%
Step2:
It gives you an error saying that the directory is not found. Just go to that location and create that directory.
Now, try to redeploy the solution, the error goes away.
Some times you may need to give permission to that folder. Check the below link if you still have issues.
http://support.microsoft.com/default.aspx?scid=kb;en-us;825791
- Shiv
Subscribe to:
Posts (Atom)