Search code examples
.netclickoncegacstdole

Error message "Unable to install or run the application. The application requires stdole Version 7.0.3300.0 in the GAC"


When one user tries to run the application, our ClickOnce application is reporting:

Unable to install or run the application. The application requires stdole Version 7.0.3300.0 in the GAC.

It's interesting to note that the GAC (C:\Windows\assembly) does not have stdole installed in it. How do I get it there?

We are using .NET 3.5, and it has been installed on this computer.


Solution

  • So it turns out that the .NET files were copied to C:\Program Files\Microsoft.NET\Primary Interop Assemblies\. However, they were never registered in the GAC.

    I ended up manually dragging the files in C:\Program Files\Microsoft.NET\Primary Interop Assemblies to C:\windows\assembly and the application worked on that problem machine. You could also do this programmatically with Gacutil.

    So it seems that something happened to .NET during the install, but this seems to correct the problem. I hope that helps someone else out!