add in installation does not completed and roll backed

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

add in installation does not completed and roll backed
 
mitesh khatri




Posts: 29
Joined: 2009-12-10
hello,

I try to install the word add ins. but installation does not completed and roll backed. and the log file contains the following details :

Add-in Express Loader Log File: 02/16/2010 11:39:57

Startup directory: C:\Users\jlamb\AppData\Roaming\Default Company Name\Norton Writer Addin 2007Setup\
Loader version: 5.1.2022
------------------
11:39:57 492 3388 Starting the add-in unregistration process.
11:39:57 492 3388 Getting the latest CLR version.
11:39:57 492 3388 The latest CLR version is 'v4.0.21006'.
11:39:57 492 3388 Loading CLR: v4.0.21006.
11:39:57 492 3388 Calling GetCLRMetaHost method.
11:39:57 492 3388 Success.
11:39:57 492 3388 Calling GetRuntime method.
11:39:57 492 3388 Success.
11:39:57 492 3388 Calling GetInterface method.
11:39:57 492 3388 Success.

so please can any one suggest how i solve this issue.

Thanks
Posted 16 Feb, 2010 13:29:00 Top
Andrei Smolin


Add-in Express team


Posts: 18826
Joined: 2006-05-11
Hello Mitesh,

Please replace Loader\adxloader.dll in your project with the following one:

http://www.add-in-express.com/files/projects_pub/beta2fix/adxloader.zip

Before replacing, you need to unregister your project and clear Bin\Debug and Bin\Release folders. After replacing, rebuild and register your project.


Andrei Smolin
Add-in Express Team Leader
Posted 17 Feb, 2010 07:37:32 Top
mitesh khatri




Posts: 29
Joined: 2009-12-10
Hello,

After replacing the dll I got other error message. Screen shot is attached.

[img]http://www.freeimagehosting.net/image.php?8bb23434f2.png[/img]

Thanks
Posted 22 Feb, 2010 23:39:23 Top
Andrei Smolin


Add-in Express team


Posts: 18826
Joined: 2006-05-11
Hello Mitesh,

Can you please paste here the text shown on that screenshot?


Andrei Smolin
Add-in Express Team Leader
Posted 23 Feb, 2010 05:05:33 Top
mitesh khatri




Posts: 29
Joined: 2009-12-10
I received the following error message: ---

(Inner Exception) Date and Time: 3/4/2010 4:45:14 PM Machine Name: JOHNDARGER IP Address: 192.168.1.2 Current User: JOHNDARGER\JDARGER Application Domain: C:\Documents and Settings\JDARGER\Application Data\Default Company Name\Norton Writer Addin 2007Setup\ Assembly Codebase: file:///C:/Documents and Settings/JDARGER/Application Data/Default Company Name/Norton Writer Addin 2007Setup/AddinExpress.MSO.2005.DLL Assembly Full Name: AddinExpress.MSO.2005, Version=5.1.2022.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965 Assembly Version: 5.1.2022.2005 Assembly Build Date: 7/15/2005 1:06:50 AM Exception Source: Norton Writer Addin 2007 Exception Type: System.NullReferenceException Exception Message: Object reference not set to an instance of an object. Exception Target Site: adxWordEvents_NewDocument ---- Stack Trace ---- Norton_Writer_Addin_2007.AddinModule.adxWordEvents_NewDocument(sender As Object, hostObj As Object) AddinExpress.MSO.2005.DLL: N 0111 (0x6F) IL AddinExpress.MSO.ADXWordAppEvents.xbc0c58473becc23b(x6beba47238e0ade6 As Object) AddinExpress.MSO.2005.DLL: N 0008 (0x8) IL (Outer Exception) Date and Time: 3/4/2010 4:45:14 PM Machine Name: JOHNDARGER IP Address: 192.168.1.2 Current User: JOHNDARGER\JDARGER Application Domain: C:\Documents and Settings\JDARGER\Application Data\Default Company Name\Norton Writer Addin 2007Setup\ Assembly Codebase: file:///C:/Documents and Settings/JDARGER/Application Data/Default Company Name/Norton Writer Addin 2007Setup/AddinExpress.MSO.2005.DLL Assembly Full Name: AddinExpress.MSO.2005, Version=5.1.2022.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965 Assembly Version: 5.1.2022.2005 Assembly Build Date: 7/15/2005 1:06:50 AM Exception Source: Exception Type: AddinExpress.MSO.ADXExternalException Exception Message: An error has occured in the code of the add-in. Exception Target Site: Object reference not set to an instance of an object.
---- Stack Trace ----
Posted 05 Mar, 2010 23:26:52 Top
Andrei Smolin


Add-in Express team


Posts: 18826
Joined: 2006-05-11
Hi Mitesh,

It looks like you have an unhadled exception in Norton_Writer_Addin_2007.AddinModule.adxWordEvents_NewDocument. Is this correct?


Andrei Smolin
Add-in Express Team Leader
Posted 09 Mar, 2010 06:58:58 Top
Mitesh Khatri




Posts: 29
Joined: 2009-12-10
Yes it is correct but my new document event contain only following code :

If sTemp = "HIDE" Then
Me.AdxRibbonButton1.Caption = "Show Norton Writer?Â?Ð?és Help Window"
AdxWordTaskPanesCollectionItem1.CurrentTaskPaneInstance.Hide()
Else
Me.AdxRibbonButton1.Caption = "Hide Norton Writer?Â?Ð?és Help Window"
AdxWordTaskPanesCollectionItem1.CurrentTaskPaneInstance.Show()
End If


Thanks

Mitesh
Posted 10 Mar, 2010 00:55:25 Top
Andrei Smolin


Add-in Express team


Posts: 18826
Joined: 2006-05-11
Hi Mitesh,

Please try wrapping the code into a try/catch block.


Andrei Smolin
Add-in Express Team Leader
Posted 10 Mar, 2010 02:57:18 Top