Unable to register my Add-In Express developed plugin on test computer

Add-in Express™ Support Service
That's what is more important than anything else

Unable to register my Add-In Express developed plugin on test computer
 
George Spears




Posts: 79
Joined: 2010-05-06
Hello,

I have been testing Add-In Express, and have written a test application. It seems to run fine on my computer. (Windows 7, 64 bit Ultimate). I take the dll to another Windows 7 64 bit computer. I open up a CMD prompt (as Administrator) and

runsvr32 myproj.dll

and I get an error message back. "The module myproj.dll was loaded but the call to DllRegisterServer failed with error code 0x80004005. For more information, search online."

Well, in searching online, everything I find says to run CMD prompt as Administrator. I am doing this... The CMD window says 'Administrator' in the Title bar.

I have also done a registry scan (SFC /scannow) to ensure I have no registry issues.

I have disabled UAC, I have ran an updated virus scan. I have tried regsvr32 after booting in SAFEMODE. I am out of ideas... Anything else anyone can think of?

Thanks
George Spears
Posted 13 May, 2010 11:24:45 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi George,

Is the "Build with runtime packages" option checked in the Project -> Options -> Packages dialog box? Also, you can send us your dll, I will test it with Windows 7 x64 and let you know about the results.
Posted 13 May, 2010 11:52:11 Top
George Spears




Posts: 79
Joined: 2010-05-06
Hi Dmitry Kostochko,

A couple of additional points. I did NOT have the BUILD with Runtime packages installed. I am able to take my DLL to a Windows XP computer and get it to run...

Also, when I enable Compile with Runtime support, My compile environment changes...
I got from compiled 355,000 lines of code, with a DLL size of 8301K, to compiling 38,322 lines of code, and a DLL size of 530K. Is that normal?

Thanks
George Spears
Posted 13 May, 2010 12:23:36 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi George,

I received your dll, tried to register it on my PC and got the E_FAIL error.

I would recommend you making sure that you don't have any code in the OnCreate event handler, and that your DB components that exist in your add-in module do not try to connect to your database right after they being created.

Also, when I enable Compile with Runtime support, My compile environment changes...
I got from compiled 355,000 lines of code, with a DLL size of 8301K, to compiling 38,322 lines of code, and a DLL size of 530K. Is that normal?


Yes, it is normal. Usually the "Build with runtime packages" option should be off.
Posted 14 May, 2010 05:23:24 Top
George Spears




Posts: 79
Joined: 2010-05-06
Dmitry,

My issue appears to be that in my develop environment, I had the Database Component.Active set to true, so it was trying to connect... When I turned that off, everything appears to work fine, so far...

Thanks,
George Spears
Posted 16 May, 2010 19:56:06 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi George,

Thank you for keeping us informed and good luck with your project.
Posted 18 May, 2010 07:46:35 Top