1. I still seem to be getting problem even having independantly tried both methods. I’ve confirmed the files are being copied to the bin (before being packaged) and am able run the cmd scripts on the local machine. But once I try to use it in the cloud the same error pops up. Anyway ideas?

    Alex Young

  2. Make sure the Microsoft.IdentityModel.dll is set to copy local, and add more debugging info to the command script to figure out if there is a directory wrong.

    Log in with Remote Desktop and run the Command script from the bin folder to see if it is executed.

    Most problems are folder related.

    Erik Oppedijk

  3. The first one did not work for me, because my machine is a 32 bit and Windows Azure is 64 bit.
    In the second one, I was not sure whether Azure is Windows Server 2008 or Windows Server 2008 R2. I tried Windows6.0-KB974405-x64.msu and the problem got solved for me. Thanks for this blog.

    Pranav Mishra

  4. i have tried second procedure ,Worked perfect ….

    Thanks 🙂

    Jeevan Reddy

  5. […] have tried resolving this error using the blog post https://blogs.infosupport.com/adding-assemblies-to-the-gac-in-windows-azure/. But none wrked out for me! help me out on […]

    Azure Service Configuration Error - Windows Azure Blog

  6. First one worked for me. Allthough I had to try several times.

    I think you need to include gacutil.exe.config and gacutilrc.dll as well.


  7. We need to add gacutil.exe and its config file.

    ajay singh thakur

  8. […] into the GAC. I found a post that discusses how to create a script to do the installation on https://blogs.infosupport.com/adding-assemblies-to-the-gac-in-windows-azure/ where it installs the Windows Identity files and then sets the windows update service to on demand, […]

    Windows Azure and Cloud Computing Posts for 4/10/2012+ - Windows Azure Blog

  9. Gracias!! Funcionó a la primera 🙂 agregando el config del gacutil

    Ana Martinez

  10. […] into this in the emulator, and the solution was to add this dll to the GAC. I googled and found these instructions regarding how to install a DLL into the GAC as an azure startup task. Everything works as long as I […]

    Correct gacutil command syntax for azure running windows server 2012 - Windows Azure Blog

  11. Very Important to add gacutil.exe.config file to the Project. I wasted a lot of time debugging to figure the issue.


  12. […] other alternative is to use a use a startup task to add MVC3 to theGAC.  https://blogs.infosupport.com/adding-assemblies-to-the-gac-in-windows-azure/explains the process kind of. That way you could add MVC3 to the GAC for applications that need it. […]

    Web Role with MVC4 Just Recycles on Windows Azure - Windows Azure Cloud Integration Engineering - Site Home - MSDN Blogs

Comments are closed.