Problem publishing to one of my servers but not others from VS 200

G

Guest

Hello

I have set up a new windows server 2003 standard edition for training (on
new software we have developed) and am having problems publishing webs to it
from VS 2005. I have a C# Web Service and a test web site. I can publish to
other servers but not the one for training.

Notice that the message states that publish succeeded, but no files are
copied.

The server that works does not have SP1 applied; the server that is giving
me trouble does have SP1 installed.

I have compared all folder settings and all IIS settings, they are all the
same but publishing still does not work. I can publish to other servers as
well (3 in all) but one I can not. Could SP1 play a part?

My account has full administrative access to the domain and I use an admin
user when prompted.

I am publishing via ftp
..
What else can I look at?

This is what is in the output window:
------ Build started: Project: C:\...\FeesWS\, Configuration: Debug .NET
------
Pre-compiling Web Site

Building directory '/FeesWS/App_WebReferences/'.
Building directory '/FeesWS/App_Code/'.
Pre-compilation Complete
------ Publish started: Project: C:\...\FeesWS\, Configuration: Debug .NET
------
Unable to add folder 'bin' to the Web. Cannot create folder "bin".
========== Build: 2 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

jcp
 
S

Steven Cheng[MSFT]

Hi EqDev,

Thank you for posting.

From your description, you're encountering some problem when try using the
"Publish Web Site" function in VS 2005 to deploy an ASP.NET 2.0 Web site
application. And the problem is occured on a windows 2003 production server
with SP1 applied, correct?

Based the symptom, this is likely a pure server specific issue since the
publishing against other server machines works well. I think you can still
try the following tests to isolate the problem behavior:

1.do the same task through "copy web site" to see whether the same issue
happens. Or we can try some other approaches to publish against that
problem server(like http or UNC share....) Maybe the problem is specific to
IIS

2.For IIS, you check the IIS services like admin service to see whether it
running correctly like other machines.

As for the SP1, based on my research, there is one issue with the local
IIS's loopback address that cause the IIS service not working correctly.
You can also have a look to see whether this is the potential cause:

http://support.microsoft.com/?id=896861

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
G

Guest

The problem was that the root directory of the web site had been deleted.

Not sure how that happened. I suspect it happened during a previous publish
where the root directory was inadvertently specified. VS2005 deletes the
target directory when publishing. It does display a warning but it would be
nice if the target directory was in the message.

Thanks for you suggestion, it made me take a second look at things.
 
S

Steven Cheng[MSFT]

Thanks for your response EqDev,

Glad that you've figured out the problem.

Good luck!

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top