Approved: Fortect
Over the past week, some readers have reported that the Managed Add-in Loader was unable to initialize Excel.
-
Question
-
Hello
I created an Excel 2007 Add-in for C # with VSTO 2005SE and did all the customization, SetSecurity, etc. that is defined in the VSTO Deployment Guide. When I block a build on another computer, I get the error “Handled an error, the add-in loader was unable to initialize you.” by another machine. The build works better on the development machine, only less than on the user’s machine. I’ve even worked a lot on CAS and still have no luck.
Any help is appreciated.
Bravo,
Eric
The Answers
-
Hi Eric,
It looks like VSTO Runtime v2.5 (VSTO Aug 2005 SE) was not properly installed on the user’s machine. Check which runtime was installed (this field asks for an entry to add / remove programs).
If you are using the Vista box, there is some idiosyncrasy before disabling UAC (can’t remember the details; our own CLSID must be stored in HKCU Classes, not HKLM Classes). for security reasons, unless the process is promoted?). Try running it as an elevated process and with UAC disabled when it is disabled on every Vista machine.
Desktop clsid will try to load:
99D651D7-5F7C-470E-8A3B-774D5D9536AC
Verify that any of the associated DLLs (AddInLoader.dll) were registered as InProcServer32 with this CLSID.
HTH,
Andre
-
Question
-
Hello
I created an Excel 2007 add-in in C # with VSTO 2005SE and did all the customization, SetSecurity, and more. defined in the VSTO Deployment Guide. However, when I install the assembly on another computer, I get the message “Failed to initialize add-in loader with managed error.” Sample application and I seriously accidentally ran into this error on another good machine.
Any help is appreciated.
Hi, Eric
I created a great add-in for Excel 2007 in C # using VSTO 2005SE and did all the customizations, SetSecurity, etc. defined in the VSTO Deployment Guide. However, when I install an assembly that is connected to another computer, I get the message “Failed.The managed error add-in loader has been initialized. ” I tried to follow the steps in the deployment guide with the sample application, but I still get this error on other types of computers, but not on my production computer. I even manually edited the CAS but still no luck.
The Answers
-
Hi Eric,
It looks like VSTO Runtime v2.5 (VSTO 2005 SE) was not installed correctly for the machine user. Check the box to indicate that the runtime has been installed (the field has its own entry for adding / removing programs).
When using Vista’s choice, some of the specifics of disabling UAC may affect the following (I can’t remember the details; CLSID should be stored in HKCU Classes and not HKLM Classes for security reasons if the task is not running with high privileges?) … Try running it as an elevated process or with UAC disabled if you have Vista.
The clsid of the desktop will try to fold into tek:
99D651D7-5F7C-470E-8A3B-774D5D9536AC
Check if the corresponding DLL (AddInLoader.dll) is registered as InProcServer32 of this CLSID.
HTH,
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
- 1. Download Fortect and install it on your computer
- 2. Launch the program and click "Scan"
- 3. Click "Repair" to fix any issues that are found
Andre
It looks like VSTO Runtime v2.5 (VSTO 2010 SE) was not properly enabled on the user’s computer. Make sure the runtime is installed on most (this field has its own entry for add / remove programs).
If you are using Vista box with UAC disabled there are some quirks that might interfere with use (I can’t remember the details; CLSID must be registered in HKCU Classes only in HKLM Classes for security reasons when a process cannot run on high level?). Try using it as an elevated process, or disable UAC if you are using Vista. For
Check if the optimal DLL (AddInLoader.dll) is registered with CLSID InProcServer32.
Speed up your computer's performance now with this simple download.