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

Re: Error on Publish (vb2005) by Donn

Donn
Thu Apr 17 17:13:46 CDT 2008

Have you tried checking the permissions on the file? Did the permissions get
changed to "read only" perhaps?


"Will" <Will@discussions.microsoft.com> wrote in message
news:5454622E-13EC-4596-A967-6B1E07EC5DBB@microsoft.com...
>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?
> -Will


Re: Error on Publish (vb2005) by Will

Will
Fri Apr 18 08:13:00 CDT 2008

Thanks for the suggestion, but this is not the case. The file is not readonly.
--
-Will


"Donn Felker" wrote:

> Have you tried checking the permissions on the file? Did the permissions get
> changed to "read only" perhaps?
>
>
> "Will" <Will@discussions.microsoft.com> wrote in message
> news:5454622E-13EC-4596-A967-6B1E07EC5DBB@microsoft.com...
> >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?
> > -Will
>

Re: Error on Publish (vb2005) by RobinS

RobinS
Thu Apr 24 01:43:02 CDT 2008

Is that the complete error message? I assume you are using ClickOnce to
publish?

RobinS.
GoldMail.com

"Will" <Will@discussions.microsoft.com> wrote in message
news:364C995F-F89A-42D0-B8A4-D636E1C10DB6@microsoft.com...
> Thanks for the suggestion, but this is not the case. The file is not
> readonly.
> --
> -Will
>
>
> "Donn Felker" wrote:
>
>> Have you tried checking the permissions on the file? Did the permissions
>> get
>> changed to "read only" perhaps?
>>
>>
>> "Will" <Will@discussions.microsoft.com> wrote in message
>> news:5454622E-13EC-4596-A967-6B1E07EC5DBB@microsoft.com...
>> >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?
>> > -Will
>>


Re: Error on Publish (vb2005) by Will

Will
Thu Apr 24 10:47:00 CDT 2008

Yes that is the complete error message.

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

--
-Will


"RobinS" wrote:

> Is that the complete error message? I assume you are using ClickOnce to
> publish?
>
> RobinS.
> GoldMail.com
>
> "Will" <Will@discussions.microsoft.com> wrote in message
> news:364C995F-F89A-42D0-B8A4-D636E1C10DB6@microsoft.com...
> > Thanks for the suggestion, but this is not the case. The file is not
> > readonly.
> > --
> > -Will
> >
> >
> > "Donn Felker" wrote:
> >
> >> Have you tried checking the permissions on the file? Did the permissions
> >> get
> >> changed to "read only" perhaps?
> >>
> >>
> >> "Will" <Will@discussions.microsoft.com> wrote in message
> >> news:5454622E-13EC-4596-A967-6B1E07EC5DBB@microsoft.com...
> >> >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?
> >> > -Will
> >>
>
>

Re: Error on Publish (vb2005) by RobinS

RobinS
Sat Apr 26 22:21:40 CDT 2008

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

"Will" <Will@discussions.microsoft.com> wrote in message
news:E36D9D88-6CA8-4ADB-8AE0-DCBA4BEFF287@microsoft.com...
> Yes that is the complete error message.
>
> The next day the error "went away". I love those kids of mysteries.
>
> --
> -Will
>
>
> "RobinS" wrote:
>
>> Is that the complete error message? I assume you are using ClickOnce to
>> publish?
>>
>> RobinS.
>> GoldMail.com
>>
>> "Will" <Will@discussions.microsoft.com> wrote in message
>> news:364C995F-F89A-42D0-B8A4-D636E1C10DB6@microsoft.com...
>> > Thanks for the suggestion, but this is not the case. The file is not
>> > readonly.
>> > --
>> > -Will
>> >
>> >
>> > "Donn Felker" wrote:
>> >
>> >> Have you tried checking the permissions on the file? Did the
>> >> permissions
>> >> get
>> >> changed to "read only" perhaps?
>> >>
>> >>
>> >> "Will" <Will@discussions.microsoft.com> wrote in message
>> >> news:5454622E-13EC-4596-A967-6B1E07EC5DBB@microsoft.com...
>> >> >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?
>> >> > -Will
>> >>
>>
>>