Topic
  • 1 reply
  • Latest Post - ‏2013-03-18T08:19:19Z by SystemAdmin
SystemAdmin
SystemAdmin
2826 Posts

Pinned topic Visual Studio 2012 add-in not working

‏2013-03-11T14:16:22Z |
Hello

I am using Visual Studio 2012 Update 1 in a Windows 7 64 bits (Spanish) machine and I just installed Data Server Package 10.1 FP2 and IBM Database Add-Ins for Visual Studio. Installation seems to go OK but when I launch Visual Studio 2012 I can't see any of the features of the add-in. If I go to the help menu -> About Microsoft Visual Studio and see the list of installed products, I can't see any IBM product installed (I suppose it add-in should be listed there).

Following recommendations from previous messages, I've run testconn40 and connection test was successful. I also checked installation log and CommonToolReg log. In C:\Users\user\AppData\Roaming\IBM I've seen that there are two folders, one named vsnet2005 and other vsnet2010.

Log file in vsnet2005 folder is:


CommonToolReg.exe version: 10.1.2.133
CommonToolReg starting at 13/02/2013 12:21:49
Command-line arguments:
C:\Users\aayesta\AppData\Local\Temp\DB2VSAI00000\commontoolreg.exe
/checkprovider

getting install info from registry
installdir=
installDirURL=file://
VS80Installdir=
VS90InstallDir=

finding whether provider is installed
Invariant: IBM.Data.DB2 9.0.0.2
installed True
Invariant: IBM.Data.Informix 9.0.0.2
installed True
Invariant: IBM.Data.Informix 3.0.0.2
installed True
provider is installed
Checking if the version of provider and tooling is compatible

Provider file version is: 10.1.2executing Assembly Version is : 10.1.2
CommonToolReg.exe finished at 13/02/2013 12:21:50
Log in vsnet2010 folder is:


CommonToolReg.exe version: 10.1.2.132
CommonToolReg starting at 13/02/2013 12:21:51
Command-line arguments:
C:\Users\aayesta\AppData\Local\Temp\DB2VSAI00000\commontoolreg_netf40.exe
/checkprovider

getting install info from registry
installdir=
installDirURL=file://
VS10InstallDir=
VS11InstallDir=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE

finding whether provider is installed
Invariant: IBM.Data.DB2 9.7.4.4
installed True
Invariant: IBM.Data.Informix 9.7.4.4
installed True
Invariant: CommonTools_11
installed True
provider is installed
Checking if the version of provider and tooling is compatible

Provider file version is: 10.1.2executing Assembly Version is : 10.1.2
CommonToolReg.exe finished at 13/02/2013 12:21:52

So it seems that the installation is OK but I can't see the add-in registered in Visual Studio.

Anyway, once installed, I can see that a new program folder has been created in the Windows start menu. There, I can see a link to a "Register IBM Database Add-ins" application, which I suppose tries to register the add-in in Visual Studio. Running this program, I can't see any mesage but I can see that a RegisterIBMDatabaseAddIns log file has been created.

The contents of the log file are:

RegisterIBMDatabaseAddIns started at 13/02/2013 13:31:55
installDir = , VS80InstallDir = , VS90InstallDir = , VS10InstallDir = , VS11InstallDir = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\
VS2005 and VS2008 not installed
VS2010 not installed
path = \install\netf40\commonToolReg.exe, argument = /checkprovider
System.ComponentModel.Win32Exception: El sistema no puede encontrar el archivo especificado
en System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
en System.Diagnostics.Process.Start()
en RegisterIBMDatabaseAddIns.Program.runProcess(String path, String argument, String message) exitCode is -1
path = \install\netf40\commonToolReg.exe, argument = /commontoolinstall -Dinstalldir=""
System.ComponentModel.Win32Exception: El sistema no puede encontrar el archivo especificado
en System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
en System.Diagnostics.Process.Start()
en RegisterIBMDatabaseAddIns.Program.runProcess(String path, String argument, String message) exitCode is -1
Unspecified error.
Some problem might have occured due to toolbox registration.Check commontoolreg log for more details. We will still continue to call maconfigchange and help install
Do VSAI 2010 Help Install.
path = \install\netf40\commonToolReg.exe, argument = /VSAI2010Helpinstall
System.ComponentModel.Win32Exception: El sistema no puede encontrar el archivo especificado
en System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
en System.Diagnostics.Process.Start()
en RegisterIBMDatabaseAddIns.Program.runProcess(String path, String argument, String message) exitCode is -1
call 4.0 macConfigChange
path = \bin\netf40\macconfigchange, argument = -toolspath "\bin\netf40"
System.ComponentModel.Win32Exception: El sistema no puede encontrar el archivo especificado
en System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
en System.Diagnostics.Process.Start()
en RegisterIBMDatabaseAddIns.Program.runProcess(String path, String argument, String message) exitCode is -1
No error
szMsgPathRoot
szMsgPath
szFullResFileName db2vsnls.xml
SQL0035N The file "db2vsnls.xml" cannot be opened.
RegisterIBMDatabaseAddIns finished at 13/02/2013 13:31:55
My Windows system is in Spanish so some of error messages are localized but all errors are "The system cannot find the file specified".

I don't know if this manual registration should actually be needed but this doesn't seem to be working either.

Anyone can give some help with this?

Thank you.
Updated on 2013-03-18T08:19:19Z at 2013-03-18T08:19:19Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    2826 Posts

    Re: Visual Studio 2012 add-in not working

    ‏2013-03-18T08:19:19Z  
    Solved.

    I launched the installation program with "run as administrator" and everything worked fine.