Click here to Skip to main content
13,054,615 members (59,214 online)
Rate this:
Please Sign up or sign in to vote.

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??

Posted 8-Aug-12 21:20pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 9 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100