GAC install problem

D

Dean Slindee

Getting the following message when doing a ClickOnce install at a deployment
PC: "Unable to install or run the application. The application requires
that assembly Microsoft.Office.Interop.Access Version 11.0.0.0 be installed
in the Global Assembly Cache (GAC) first. Please contact your system
administrator."

Development PC: Windows 2000, Visual Studio 2005. Application runs reports
from an Access.adp, and has a reference to Access 11.0 Object Library within
the WinForm project and is in the GAC on the Development PC.

Deployment PC: Windows XP with Framework 2.0 installed, Office 2003
installed. I would presume that the GAC would get Access Version 11.0.0.0
installed into C:\Windows\assembly when installing Office 2003?

If this message saying that the Deployment PC does not have Access Version
11.0.0.0 in C:\Windows\assembly folder, what should be done?

Thanks,
Dean S
 
P

Paul Clement

¤ Getting the following message when doing a ClickOnce install at a deployment
¤ PC: "Unable to install or run the application. The application requires
¤ that assembly Microsoft.Office.Interop.Access Version 11.0.0.0 be installed
¤ in the Global Assembly Cache (GAC) first. Please contact your system
¤ administrator."
¤
¤ Development PC: Windows 2000, Visual Studio 2005. Application runs reports
¤ from an Access.adp, and has a reference to Access 11.0 Object Library within
¤ the WinForm project and is in the GAC on the Development PC.
¤
¤ Deployment PC: Windows XP with Framework 2.0 installed, Office 2003
¤ installed. I would presume that the GAC would get Access Version 11.0.0.0
¤ installed into C:\Windows\assembly when installing Office 2003?
¤
¤ If this message saying that the Deployment PC does not have Access Version
¤ 11.0.0.0 in C:\Windows\assembly folder, what should be done?

Yes, the message indicates that you're missing the Access PIA (Primary Interop Assembly). You should
be able to use the Gacutil utility to install this interop assembly into the GAC (Global Assembly
Cache).


Paul
~~~~
Microsoft MVP (Visual Basic)
 
J

Jay B. Harlow [MVP - Outlook]

Dean,
If this message saying that the Deployment PC does not have Access Version
11.0.0.0 in C:\Windows\assembly folder, what should be done?
As Paul suggests, this is telling you don't have the Access PIAs installed,
Access itself should be installed to your Programs Files folder...

I would suggest you ensure Access & its PIAs are installed first, the
"easiest" way to do this would be to use the Access/Office setup program and
ensure the ".NET Programmability Support" component is selected.

Alternatively you can download & install the PIAs from Microsoft's web site.

For details (on both) see:

http://msdn2.microsoft.com/en-us/library/aa159923(office.11).aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top