M
moondaddy
I have a vb.net 1.1 winforms app that performs a login, checks for updates,
downloads updates to the client, then starts the client app. The client app
is a MS Access 2003 application. I created a setup file using the latest
version of InstallShield and have installed this app on about 10 computers
so far and it worked great on all of them. Now today I installed it on my
client's notebook and the login app runs OK. But when it gets to the part
where it calls on some MS Access dlls to open Access and pass in some
parameters to a starter function it crashes. Here's the error I get:
-------------------------------------------------------------------------------------
System.IO.FileNotFoundException: File or assembly name
Microsoft.Office.Interop.Access, or one of its dependencies, was not found.
File name: "Microsoft.Office.Interop.Access"
at TransAct.ClientAppHelper.OpenApp()
at TransAct.frmMain.OpenClientApp()
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Office.Interop.Access, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c
(Fully-specified)
LOG: Appbase = C:\Program Files\TransAct\Tools\
LOG: Initial PrivatePath = NULL
Calling assembly : TransAct, Version=1.0.1888.23942, Culture=neutral,
PublicKeyToken=null.
===
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.Office.Interop.Access,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
LOG: Attempting download of new URL file:///C:/Program
Files/TransAct/Tools/Microsoft.Office.Interop.Access.DLL.
LOG: Attempting download of new URL file:///C:/Program
Files/TransAct/Tools/Microsoft.Office.Interop.Access/Microsoft.Office.Interop.Access.DLL.
LOG: Attempting download of new URL file:///C:/Program
Files/TransAct/Tools/Microsoft.Office.Interop.Access.EXE.
LOG: Attempting download of new URL file:///C:/Program
Files/TransAct/Tools/Microsoft.Office.Interop.Access/Microsoft.Office.Interop.Access.EXE.
---------------------------------------------------------------------------------------
This PC already has Office and Access installed on it so I don't know why
its looking for Interop.Access files in the directory where this winforms
app is installed. For example: the app is installed in:
C:\Program Files\TransAct\Tools
and its looking for and access interop like this:
URL file:///C:/Program
Files/TransAct/Tools/Microsoft.Office.Interop.Access.EXE.
Can anyone explain whats going on and how I can resolve this?
Thanks.
downloads updates to the client, then starts the client app. The client app
is a MS Access 2003 application. I created a setup file using the latest
version of InstallShield and have installed this app on about 10 computers
so far and it worked great on all of them. Now today I installed it on my
client's notebook and the login app runs OK. But when it gets to the part
where it calls on some MS Access dlls to open Access and pass in some
parameters to a starter function it crashes. Here's the error I get:
-------------------------------------------------------------------------------------
System.IO.FileNotFoundException: File or assembly name
Microsoft.Office.Interop.Access, or one of its dependencies, was not found.
File name: "Microsoft.Office.Interop.Access"
at TransAct.ClientAppHelper.OpenApp()
at TransAct.frmMain.OpenClientApp()
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Office.Interop.Access, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c
(Fully-specified)
LOG: Appbase = C:\Program Files\TransAct\Tools\
LOG: Initial PrivatePath = NULL
Calling assembly : TransAct, Version=1.0.1888.23942, Culture=neutral,
PublicKeyToken=null.
===
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.Office.Interop.Access,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
LOG: Attempting download of new URL file:///C:/Program
Files/TransAct/Tools/Microsoft.Office.Interop.Access.DLL.
LOG: Attempting download of new URL file:///C:/Program
Files/TransAct/Tools/Microsoft.Office.Interop.Access/Microsoft.Office.Interop.Access.DLL.
LOG: Attempting download of new URL file:///C:/Program
Files/TransAct/Tools/Microsoft.Office.Interop.Access.EXE.
LOG: Attempting download of new URL file:///C:/Program
Files/TransAct/Tools/Microsoft.Office.Interop.Access/Microsoft.Office.Interop.Access.EXE.
---------------------------------------------------------------------------------------
This PC already has Office and Access installed on it so I don't know why
its looking for Interop.Access files in the directory where this winforms
app is installed. For example: the app is installed in:
C:\Program Files\TransAct\Tools
and its looking for and access interop like this:
URL file:///C:/Program
Files/TransAct/Tools/Microsoft.Office.Interop.Access.EXE.
Can anyone explain whats going on and how I can resolve this?
Thanks.