Click here to Skip to main content
15,885,980 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi..

I have published my code via click once. When my client tried it to upgrade its current version, it shows GAC error. Like abc.dll not found in GAC. To avoid this error, i have added the same dll with the specified version of dll. BUt now i m getting another error "An error has occurred writing to the hard disk. Check if there is enough space available on the disk". While I have enough space for it.

Any idea for such kind of issues? How can I get rid of this error??

Regards..
Posted

1 solution

In your project, go to Properties --> Publish and click the Application files... button.

Search for your dlls files and select Include from the DropDownList. Click Ok. Publish again. And everything going to work perfectly =)

Hope you can find it useful.
 
Share this answer
 
Comments
comred 10-Aug-12 4:44am    
Thanks A lott Christain... I did that whatever you have mention. but now I am facing another error which I have mentioned earlier. Though GAC issue is resoled thank to your solution.

The error detail is like..
System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
comred 10-Aug-12 4:45am    
Help me please. I am frustrating now watching the same error screen again and again. Any way I am giving 5 * for your reply... Thanks again.
Christian Amado 10-Aug-12 8:14am    
@comred DeploymentDownloadException is a server error. Can we have your error log when you try to install it?
Christian Amado 10-Aug-12 8:16am    
May be you can add a reference to System.Deployment, not necessary but I always include it =)
comred 13-Aug-12 0:19am    
I got the solution.. You were right.. There was a dll file added twice. Thanx a ton..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900