Problem "Registering ADX Project"

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

Problem "Registering ADX Project"
 
KyuWoo Choi


Guest


I have the error below on trying to "BUILD -> Register ADX Project". and every time build solution after I did it. The errors on building will removed right after Unregister ADX Project.


here's the error messages.
1: The assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not registered for COM Interop. Please register it with regasm.exe /tlb.
2: The assembly "C:\Users\Administrator\documents\visual studio 2012\Projects\MyIEBar1\MyIEBar1\bin\Debug\MyIEBar1.dll" could not be converted to a type library. Type library exporter encountered an error while processing 'MyIEBar1.IEBarModule, MyIEBar1'. Error: Error loading type library/DLL.

I have no problem registering DLL through command line gacutil, regasm.


VisualStudio 2012 Pro Update 3
adxienet-v802-b5067-vs-std
Windows 7


ps. I have uninstall/installed Add-in express 3 times along the forum threads say. and It's still errors.
Posted 10 Jul, 2013 13:00:47 Top
Andrei Smolin


Add-in Express team


Posts: 18816
Joined: 2006-05-11
Hello KyuWoo,

Please make sure that you run VS using the "Run as administrator" option. Then create a new IE Bar project and register it right after creation. Does it produce the same issue?


Andrei Smolin
Add-in Express Team Leader
Posted 11 Jul, 2013 02:09:32 Top
KyuWoo Choi


Guest


Sure, I ran the VS as administrator all the time. double checked.


any other solution?
Posted 11 Jul, 2013 02:18:33 Top
Andrei Smolin


Add-in Express team


Posts: 18816
Joined: 2006-05-11
Try creating a new project and registering it.


Andrei Smolin
Add-in Express Team Leader
Posted 11 Jul, 2013 02:24:59 Top
KyuWoo Choi


Guest


I just ran VS as administrator and made a new "ADX IE Bar" project. build, register adx project. the same error pops up. :(
Posted 11 Jul, 2013 02:37:30 Top
Andrei Smolin


Add-in Express team


Posts: 18816
Joined: 2006-05-11
What Windows version, service pack and bitness are you using? Also, in the About dialog of Visual Studio, please click the Copy Info button and paste the info here or send it to the support email address (please find it in {Add-in Express installation folder}\readme.txt and make sure your email contains a link to this topic).


Andrei Smolin
Add-in Express Team Leader
Posted 11 Jul, 2013 02:52:27 Top
KyuWoo Choi


Guest


Ok. I send the info to support team.

thanks for your help Andrei Smolin :)
Posted 11 Jul, 2013 03:10:41 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi KyuWoo,

Please create a new ClassLibrary project in Visual Studio and check the 'Register for COM interop' option in the project properties (see the 'Build' tab). Then rebuild the project. Do you get any errors/warnings in the 'Error List' window?
Posted 11 Jul, 2013 05:04:19 Top
KyuWoo Choi


Guest


Hello Sergey.

I confirmed I have no error/warning on building new ClassLibrary project with "Register for COM Interop" on Build tab of project properties.
Posted 11 Jul, 2013 20:28:44 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi KyuWoo,

Please try to uninstall 'Add-in Express for IE' completely and then install it again. Let me know if the issue persists.
Posted 12 Jul, 2013 05:40:14 Top