all groups > dotnet framework > april 2008 >
You're in the

dotnet framework

group:

Error on Publish (vb2005)


Error on Publish (vb2005) Will
4/17/2008 6:44:00 AM
dotnet framework:
I have published many versions of this app before, now I am getting this error:

Failed to copy file 'C:\Documents and Settings\Me\My Documents\Visual Studio
2005\Projects\MyProj\bin\Debug\MyProj.publish\setup.exe' to
'\\myserver\projfoldr\setup.exe'. Unable to add 'setup.exe' to the Web. The
file 'setup.exe' already exists in this Web. 1 1--

Any ideas?
Re: Error on Publish (vb2005) Donn Felker
4/17/2008 3:13:46 PM
Have you tried checking the permissions on the file? Did the permissions get
changed to "read only" perhaps?


[quoted text, click to view]
Re: Error on Publish (vb2005) Will
4/18/2008 6:13:00 AM
Thanks for the suggestion, but this is not the case. The file is not readonly.
--
-Will


[quoted text, click to view]
Re: Error on Publish (vb2005) RobinS
4/23/2008 11:42:39 PM
Is that the complete error message? I assume you are using ClickOnce to
publish?

RobinS.
GoldMail.com

[quoted text, click to view]
Re: Error on Publish (vb2005) Will
4/24/2008 8:47:00 AM
Yes that is the complete error message.

The next day the error "went away". I love those kids of mysteries.

--
-Will


[quoted text, click to view]
Re: Error on Publish (vb2005) RobinS
4/26/2008 8:21:16 PM
I seem to remember a bug in ClickOnce that gave that error if you used the
Publish buttons in the Pulbish tab repeatedly. If this happens again, try
clicking on the Build option in the menu and selecting Publish from there.
Also try rebuilding your solution before publishing, or deleting the bin
folder and *then* publishing to see if either of those help.

Good luck!
RobinS.
GoldMail.com

[quoted text, click to view]
AddThis Social Bookmark Button