HighTechTalks DotNet Forums  

Publishing problem or false error messages?

ASP.net ASP.net discussions (microsoft.public.dotnet.framework.aspnet)


Discuss Publishing problem or false error messages? in the ASP.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
B. Chernick
 
Posts: n/a

Default Publishing problem or false error messages? - 01-03-2008 , 12:51 PM






I have not tried this before. I have been building an ASP.Net 2.0 app for
some weeks now and up till now I have not had any problems publishing.

I was given a Word doc to include in the app. I converted the doc to html
and copied it to the project's directory. I also copied the page's _files
directory with all the associated graphics files. I included the html, the
directory and all the files into the project. I set the Build Action
property of all image files and the html file to Content and the Copy To
Output directory property to Copy Always (also tried Copy if Newer). On the
publish popup I always select ' Delete all existing files prior to publish'
and 'Copy all Project Files'.

The html page displays correctly but I'm getting publish error messages like
this for most of the image files every time: Unable to add 'bin/Power
Products Project Application Users Guide Rev 2_files/image035.jpg' to the
Web. Server error: A page with the name bin/Power Products Project
Application Users Guide Rev 2_files/image035.jpg already exists. It was last
modified by AMERICAS\USBOCHE on 03 Jan 2008 12:27:51 -0500.

What am I forgetting? What is the best way to include an html page and it's
image files?

(I tried publishing to a new location and had the same problem. Could this
setup somehow be trying to publish the same image files twice?)

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.