Problem in installation

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

Problem in installation
 
Gunjan Singhai




Posts: 8
Joined: 2007-04-16
Hi,

i am installing the setup on other user desktop having Dot Net framework 1.1 SP1 with HOtfix(Tried with v2.0 too); getting below error in adxloader.log.Need urgent help since fighting from last 3 days!! :(

Add-in Express Loader Log File: 04/19/2007 18:38:50

Startup directory: C:\NW18OTCSetup\
------------------
18:38:50 364 Starting the add-in registration process.
18:38:50 364 Getting the default version of the .NET Framework.
18:38:50 364 Success (v1.1.4322).
18:38:50 364 Loading CLR: v1.1.4322.
18:38:50 364 The CLR (v1.1.4322) has been initialized successfully.
18:38:50 364 Creating a new domain setup.
18:38:50 364 Success.
18:38:50 364 Getting the add-in directory.
18:38:50 364 Success. The directory is 'C:\NW18OTCSetup\'
18:38:50 364 The 'shadow copy' is disabled.
18:38:50 364 Creating a new application domain.
18:38:51 364 Success.
18:38:51 364 Getting the base directory for the domain.
18:38:51 364 Success. The directory is 'C:\NW18OTCSetup\'.
18:38:51 364 Seaching for the Add-in Express core library.
18:38:51 364 Success. The 'AddinExpress.MSO.dll' file has been found.
18:38:51 364 Creating an instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
18:38:51 364 Assembly identity is 'AddinExpress.MSO'.
18:38:52 364 Success.
18:38:52 364 Unwrapping the instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
18:38:52 364 Success.
18:38:52 364 Creating an instance of the XML parser class.
18:38:52 364 Success.
18:38:52 364 Loading the manifest file (C:\NW18OTCSetup\adxloader.dll.manifest).
18:38:52 364 Success.
18:38:52 364 Getting the root element of the manifest (C:\NW18OTCSetup\adxloader.dll.manifest).
18:38:52 364 Success.
18:38:52 364 Getting the 'assemblyIdentity' element of the manifest (C:\NW18OTCSetup\adxloader.dll.manifest).
18:38:52 364 Success.
18:38:52 364 Seraching fo the 'name' attribute of the 'assemblyIdentity' element.
18:38:52 364 Success. The name is 'NW18OTC, PublicKeyToken=4436b7cf59b22674'.
18:38:52 364 Calling the managed procedure to register the 'NW18OTC, PublicKeyToken=4436b7cf59b22674' assembly.
18:38:52 964 Connecting to the application domain of the ADX loader.
18:38:52 964 Success.
18:38:52 964 Loading the 'NW18OTC, PublicKeyToken=4436b7cf59b22674' assembly.
18:38:52 964 Success.
18:38:52 964 Registering the 'NW18OTC, PublicKeyToken=4436b7cf59b22674' assembly (user).
18:38:53 964 Registering the 'NW18OTC.AddinModule' type.
18:38:53 964 Searching for static methods that contain the 'ComRegisterFunction' attribute.
18:38:53 964 Calling the 'AddinRegister' static method.
18:38:53 964 Error: The ADX Loader can't resolve the 'NW18OTC.resources, Version=1.0.2664.31452, Culture=en-US, PublicKeyToken=4436b7cf59b22674' assembly. Please check if the assembly exists in the application directory or in the GAC.
18:38:53 964 Error: The ADX Loader can't resolve the 'NW18OTC.resources, Version=1.0.2664.31452, Culture=en, PublicKeyToken=4436b7cf59b22674' assembly. Please check if the assembly exists in the application directory or in the GAC.
18:38:55 964 Error: Exception has been thrown by the target of an invocation.
18:38:55 964 Inner Exception: The type initializer for "NW18OTC.AddinModule" threw an exception.
18:38:55 964 The managed registration process is complete with HRESULT = 2.
18:38:55 364 The add-in registration process is complete with HRESULT = 2.


Thanks in advance

Regards,
Gunjan Singhai
Posted 20 Apr, 2007 02:33:51 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Gunjan.

As you can see in the error message, the loader can't find the 'NW18OTC.resources assembly in the add-in application directory. Please review the setup project and add all necessary assemblies.


P.S. Note that we take up your forum requests in the order we receive them. Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 20 Apr, 2007 09:33:43 Top
Gunjan Singhai




Posts: 8
Joined: 2007-04-16
Hi Sergey,

We don't have NW18OTC.resources file in our project directory.

Please help us where we can find this.

Posted 20 Apr, 2007 10:24:40 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Gunjan, the NW18OTC.resources assembly is a dependent assembly of your add-in and I don't know where I can find it for you. Please review your code.
Posted 20 Apr, 2007 10:55:36 Top
Gunjan Singhai




Posts: 8
Joined: 2007-04-16
Hi Sergey,

We have added the resource file by highlight a project, and add a new item of type ?Â?Ð?ìassembly resource?Â?Ð?í. Now we are not getting, but still the addin is not loading in the excel file.The log file says:

Add-in Express Loader Log File: 04/24/2007 18:28:24

Startup directory: C:\Program Files\Default Company Name\NW18OTCSetup\
------------------
18:28:24 524 Starting the add-in unregistration process.
18:28:24 524 Getting the default version of the .NET Framework.
18:28:24 524 Success (v1.1.4322).
18:28:24 524 Loading CLR: v1.1.4322.
18:28:24 524 The CLR (v1.1.4322) has been initialized successfully.
18:28:24 524 Creating a new domain setup.
18:28:24 524 Success.
18:28:24 524 Getting the add-in directory.
18:28:24 524 Success. The directory is 'C:\Program Files\Default Company Name\NW18OTCSetup\'
18:28:24 524 The 'shadow copy' is disabled.
18:28:24 524 Creating a new application domain.
18:28:24 524 Success.
18:28:24 524 Getting the base directory for the domain.
18:28:24 524 Success. The directory is 'C:\Program Files\Default Company Name\NW18OTCSetup\'.
18:28:24 524 Seaching for the Add-in Express core library.
18:28:24 524 Success. The 'AddinExpress.MSO.dll' file has been found.
18:28:24 524 Creating an instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
18:28:24 524 Assembly identity is 'AddinExpress.MSO'.
18:28:24 524 Success.
18:28:24 524 Unwrapping the instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
18:28:24 524 Success.
18:28:24 524 Creating an instance of the XML parser class.
18:28:24 524 Success.
18:28:24 524 Loading the manifest file (C:\Program Files\Default Company Name\NW18OTCSetup\adxloader.dll.manifest).
18:28:24 524 Success.
18:28:24 524 Getting the root element of the manifest (C:\Program Files\Default Company Name\NW18OTCSetup\adxloader.dll.manifest).
18:28:24 524 Success.
18:28:24 524 Getting the 'assemblyIdentity' element of the manifest (C:\Program Files\Default Company Name\NW18OTCSetup\adxloader.dll.manifest).
18:28:24 524 Success.
18:28:24 524 Seraching fo the 'name' attribute of the 'assemblyIdentity' element.
18:28:24 524 Success. The name is 'NW18OTC, PublicKeyToken=4436b7cf59b22674'.
18:28:24 524 Calling the managed procedure to register the 'NW18OTC, PublicKeyToken=4436b7cf59b22674' assembly.
18:28:24 596 Connecting to the application domain of the ADX loader.
18:28:24 596 Success.
18:28:24 596 Loading the 'NW18OTC, PublicKeyToken=4436b7cf59b22674' assembly.
18:28:24 596 Success.


Please advice.
Posted 24 Apr, 2007 09:41:49 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Gunjan, the log above says that the add-in has been unregistered.
Please register the add-in and run Excel again.
Posted 24 Apr, 2007 09:59:14 Top
Gunjan Singhai




Posts: 8
Joined: 2007-04-16
Hi Sergey,
We are unable to solve the problem and its now getting bottelneck to us. With request can we mail the project on your id and you have a look as what is going wrong or what we are missing.
Posted 26 Apr, 2007 07:41:00 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Gunjan,
please send me the project. I will test it.
Posted 26 Apr, 2007 09:52:54 Top
Gunjan Singhai




Posts: 8
Joined: 2007-04-16
Please send me your email address where i can send the project and postal address as well in case we are unable to send by email

Thanks a ton for all your help and support
Posted 27 Apr, 2007 09:38:47 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Gunjan.

I have just sent you an email.
Posted 30 Apr, 2007 09:24:31 Top