DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 17 Aug 2007 10:58:15 -0400,    posted on: microsoft.public.dotnet.languages.vb.data        back       

Thread Index
  1    Paul Engel
          2    RobinS
                 3    Paul Engel


Global Assembly Cache Installation Problem   
I have a VB2005 program that is using DAO against Access 97 files. (Yes, 
this is what I need to do...ADO.Net is over 20X slower and my incoming files 
are Access '97. Would that I could change that!)

This runs great on my development machine. I'm trying to 1-touch deploy from 
our server. The previous versions that used ADO.Net worked great. The error 
that I am getting is:

"Unable to install or run the application. The application requires that the 
assembly dao Version 10.0.4504.0 be installed in the Global Assembly Cache 
(GAC) first."

I checked in my GAC, and I do have the dao assembly installed. It is not 
installed on the target machines...so the error makes sense. I tried to add 
it using the Administrative tool for their Framework 1.1, but I am just 
pointing it to the dao360.dll file, and it errors out and lets me know I can 
only add assemblies.

I have read a bunch of articles on both the GAC and creating assemblies to 
install in the GAC, and can't quite get the gist enough to make this work. 
Is there anyone out there who has created an assembly containing the 
reference to dao 3.6 and successfully deployed it as a GAC assembly? If so, 
would you mind sending some step-by-step instructions?

Thanks,
Paul
Date:Fri, 17 Aug 2007 10:58:15 -0400   Author:  

Re: Global Assembly Cache Installation Problem   
Do you mean you are using ClickOnce deployment? I have never heard of 
1-touch deployment.

Under References for your peojct, what is "Copy Local" set to? Have you 
tried setting it to true? This worked for me with DirectX, because I didn't 
want it installed in the GAC.

If you truly want it installed in the GAC, or just don't want it to try to 
install DAO at all, set CopyLocal to false, and check the files included in 
the deployment (there's an option on the Publish page) and make sure the 
dll's are not being included.

Robin S.
------------------------------------
"Paul Engel"  wrote in message 
news:eZWB26N4HHA.2312@TK2MSFTNGP06.phx.gbl...

>I have a VB2005 program that is using DAO against Access 97 files. (Yes, 
>this is what I need to do...ADO.Net is over 20X slower and my incoming 
>files are Access '97. Would that I could change that!)
>
> This runs great on my development machine. I'm trying to 1-touch deploy 
> from our server. The previous versions that used ADO.Net worked great. 
> The error that I am getting is:
>
> "Unable to install or run the application. The application requires that 
> the assembly dao Version 10.0.4504.0 be installed in the Global Assembly 
> Cache (GAC) first."
>
> I checked in my GAC, and I do have the dao assembly installed. It is not 
> installed on the target machines...so the error makes sense. I tried to 
> add it using the Administrative tool for their Framework 1.1, but I am 
> just pointing it to the dao360.dll file, and it errors out and lets me 
> know I can only add assemblies.
>
> I have read a bunch of articles on both the GAC and creating assemblies 
> to install in the GAC, and can't quite get the gist enough to make this 
> work. Is there anyone out there who has created an assembly containing 
> the reference to dao 3.6 and successfully deployed it as a GAC assembly? 
> If so, would you mind sending some step-by-step instructions?
>
> Thanks,
> Paul
> 
Date:Sun, 19 Aug 2007 22:22:14 -0700   Author:  

Re: Global Assembly Cache Installation Problem   
THANK YOU, THANK YOU! So simple..yet...

Took me a couple of minutes to figure out that I needed to select the dao 
item on the list and change it's properties in the property list. Once I did 
this and published the client had NO problem w/ the install. Thanks so much!

Paul
"RobinS"  wrote in message 
news:n-ydnfSGv7uUuFTbnZ2dnUVZ_gidnZ2d@comcast.com...

> Do you mean you are using ClickOnce deployment? I have never heard of 
> 1-touch deployment.
>
> Under References for your peojct, what is "Copy Local" set to? Have you 
> tried setting it to true? This worked for me with DirectX, because I 
> didn't want it installed in the GAC.
>
> If you truly want it installed in the GAC, or just don't want it to try to 
> install DAO at all, set CopyLocal to false, and check the files included 
> in the deployment (there's an option on the Publish page) and make sure 
> the dll's are not being included.
>
> Robin S.
> ------------------------------------
> "Paul Engel"  wrote in message 
> news:eZWB26N4HHA.2312@TK2MSFTNGP06.phx.gbl...
>>I have a VB2005 program that is using DAO against Access 97 files. (Yes, 
>>this is what I need to do...ADO.Net is over 20X slower and my incoming 
>>files are Access '97. Would that I could change that!)
>>
>> This runs great on my development machine. I'm trying to 1-touch deploy 
>> from our server. The previous versions that used ADO.Net worked great. 
>> The error that I am getting is:
>>
>> "Unable to install or run the application. The application requires that 
>> the assembly dao Version 10.0.4504.0 be installed in the Global Assembly 
>> Cache (GAC) first."
>>
>> I checked in my GAC, and I do have the dao assembly installed. It is not 
>> installed on the target machines...so the error makes sense. I tried to 
>> add it using the Administrative tool for their Framework 1.1, but I am 
>> just pointing it to the dao360.dll file, and it errors out and lets me 
>> know I can only add assemblies.
>>
>> I have read a bunch of articles on both the GAC and creating assemblies 
>> to install in the GAC, and can't quite get the gist enough to make this 
>> work. Is there anyone out there who has created an assembly containing 
>> the reference to dao 3.6 and successfully deployed it as a GAC assembly? 
>> If so, would you mind sending some step-by-step instructions?
>>
>> Thanks,
>> Paul
>>
>
> 
Date:Mon, 20 Aug 2007 13:47:41 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us