473,756 Members | 5,129 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can no longer publish my web site project

Hi all,

I am no longer able to publish a web site project using Visual Studio 2005
Professional.

I am publishing it to an FTP url, and this used to work just fine.

I enter the username and password and select "passive mode" when publishing
the site, like I have always done. Visual Studio deletes the existing files,
but then doesn't write the new ones, though it tells me the operation was
successful:
------ Build started: Project: C:\WebDev\WebNe t\, Configuration: Debug
..NET ------
Pre-compiling Web Site

Building directory '/WebNet/admin/'.

Building directory '/WebNet/UserControls/'.

Pre-compilation Complete

------ Publish started: Project: C:\WebDev\WebNe t\, Configuration: Debug
..NET ------

========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

I have tried resetting the permissions on the web folder, and also deleted
an re-created the Server Extensions 2002 Web, but to no avail.

Any ideas?

Thanks very much
May 4 '07 #1
9 2930
Can you ping the site for the machine, i'd check that first. VS writes an
error log out to disk that you can examine. Another option is to debug the
publish process. Open another copy of visual studio and attach it to the
first copy of visual studio, set it to break on all exceptions. Run the
publish process from the first copy and see what exceptions are thrown in
the second copy when the debug breakpoint catches.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
"Jason" <Ja********@nos pam.nospamwrote in message
news:u7******** ******@TK2MSFTN GP03.phx.gbl...
Hi all,

I am no longer able to publish a web site project using Visual Studio 2005
Professional.

I am publishing it to an FTP url, and this used to work just fine.

I enter the username and password and select "passive mode" when
publishing the site, like I have always done. Visual Studio deletes the
existing files, but then doesn't write the new ones, though it tells me
the operation was successful:
------ Build started: Project: C:\WebDev\WebNe t\, Configuration: Debug
.NET ------
Pre-compiling Web Site

Building directory '/WebNet/admin/'.

Building directory '/WebNet/UserControls/'.

Pre-compilation Complete

------ Publish started: Project: C:\WebDev\WebNe t\, Configuration: Debug
.NET ------

========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped
==========

========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

I have tried resetting the permissions on the web folder, and also deleted
an re-created the Server Extensions 2002 Web, but to no avail.

Any ideas?

Thanks very much

May 5 '07 #2
Hi Jason,

Are you using IIS's ftp server ? Besides Alvin's suggestion, I would also
suggestion to check the ftp server's log to see if there's anything wrong.

#How to enable logging in Internet Information Services (IIS)
http://support.microsoft.com/kb/313437
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
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.

May 7 '07 #3
Hi Alvin,

Thanks for your response. Trying to ping the machine from the command line
yields "Request timed out."

I am able to connect to the machine via ftp from the command line and
another ftp client, CuteFtp, though.

As for the error log that VS writes out - where is that file written? I
couldn't find anything in the Visual Studio help docs.

And as for attaching to another process, the help docs mention:

"...choose Attach to Process from the Tools menu..."

which doesn't exist. How do I go about attaching to another process?

Thanks for your help

/jason

"Alvin Bruney [MVP]" <some guy without an email addresswrote in message
news:OF******** ******@TK2MSFTN GP03.phx.gbl...
Can you ping the site for the machine, i'd check that first. VS writes an
error log out to disk that you can examine. Another option is to debug the
publish process. Open another copy of visual studio and attach it to the
first copy of visual studio, set it to break on all exceptions. Run the
publish process from the first copy and see what exceptions are thrown in
the second copy when the debug breakpoint catches.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
"Jason" <Ja********@nos pam.nospamwrote in message
news:u7******** ******@TK2MSFTN GP03.phx.gbl...
>Hi all,

I am no longer able to publish a web site project using Visual Studio
2005 Professional.

I am publishing it to an FTP url, and this used to work just fine.

I enter the username and password and select "passive mode" when
publishing the site, like I have always done. Visual Studio deletes the
existing files, but then doesn't write the new ones, though it tells me
the operation was successful:
------ Build started: Project: C:\WebDev\WebNe t\, Configuration: Debug
.NET ------
Pre-compiling Web Site

Building directory '/WebNet/admin/'.

Building directory '/WebNet/UserControls/'.

Pre-compilation Complete

------ Publish started: Project: C:\WebDev\WebNe t\, Configuration: Debug
.NET ------

========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped
==========

========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

I have tried resetting the permissions on the web folder, and also
deleted an re-created the Server Extensions 2002 Web, but to no avail.

Any ideas?

Thanks very much


May 7 '07 #4
OK I figured out how to attach to another process - just opened up a new
blank web application project, and from there was able to attach to the
other devenv.exe process. Easy enough.

There is a "Break All" option on the debug menu - is that what you mean by
"set it to break on all exceptions" ? I tried setting that but the first
devenv.exe instance hung at that point - it didn't survive far enough for me
to publish it.

Arg!

Am I doing something wrong?

/jason


"Alvin Bruney [MVP]" <some guy without an email addresswrote in message
news:OF******** ******@TK2MSFTN GP03.phx.gbl...
Can you ping the site for the machine, i'd check that first. VS writes an
error log out to disk that you can examine. Another option is to debug the
publish process. Open another copy of visual studio and attach it to the
first copy of visual studio, set it to break on all exceptions. Run the
publish process from the first copy and see what exceptions are thrown in
the second copy when the debug breakpoint catches.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
"Jason" <Ja********@nos pam.nospamwrote in message
news:u7******** ******@TK2MSFTN GP03.phx.gbl...
>Hi all,

I am no longer able to publish a web site project using Visual Studio
2005 Professional.

I am publishing it to an FTP url, and this used to work just fine.

I enter the username and password and select "passive mode" when
publishing the site, like I have always done. Visual Studio deletes the
existing files, but then doesn't write the new ones, though it tells me
the operation was successful:
------ Build started: Project: C:\WebDev\WebNe t\, Configuration: Debug
.NET ------
Pre-compiling Web Site

Building directory '/WebNet/admin/'.

Building directory '/WebNet/UserControls/'.

Pre-compilation Complete

------ Publish started: Project: C:\WebDev\WebNe t\, Configuration: Debug
.NET ------

========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped
==========

========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

I have tried resetting the permissions on the web folder, and also
deleted an re-created the Server Extensions 2002 Web, but to no avail.

Any ideas?

Thanks very much


May 7 '07 #5
Hi Walter,

Yes, I'm using IIS's ftp server.

I enabled logging on the FTP server like you suggested...I see entries where
the _private and images folders are deleted then created, but nothing else,
like VS is not trying to write the files to the server.

Is there a setting in Visual Studio to tell it to publish files as well as
folders when publishing the web site?

/jason

"Walter Wang [MSFT]" <wa****@online. microsoft.comwr ote in message
news:oM******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Jason,

Are you using IIS's ftp server ? Besides Alvin's suggestion, I would also
suggestion to check the ftp server's log to see if there's anything wrong.

#How to enable logging in Internet Information Services (IIS)
http://support.microsoft.com/kb/313437
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
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.

May 7 '07 #6
Hi Jason,

I'm aware of any settings are related to how Visual Studio publishs the web
site. You're using VS2005, right?

Since you mentioned that it works before, and I cannot reproduce it on my
side, I think this should be an environment specific issue.

Have you tried not using PASV mode?

We need to first determine if it's related to the ftp server or the VS2005
instance. To do that, we will need another VS2005 and ftp server. With the
correct combination, we should be able to narrow down the issue.

At last, please note for such non-reproducible issue, what I can help in
newsgroup is to see if there's any similar issue in our support database,
and give some suggestion to try. Therefore, the progress may not be very
satisfying. I hope you could understand that. Thanks.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
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.

May 8 '07 #7
Walter I appreciate your help.

Yes I am using VS 2005.

I created another WebSite project and was also unable to publish that as
well via ftp.

However I can ftp files to the folder just fine with CuteFTP using the same
username and password.

I tried to publish to in Visual Studio with "Connect using passive mode"
unchecked, and Visual Studio went into some kind of horrible loop. I had to
use Task Manager to bring it down - not very pretty.

I removed the 2002 Server Extensions from the folder in IIS, and Removed the
virtual application via the properties pages. I then republish the site and
Visual Studio tells me:

========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

I check the folder on the server and nothing is there, so VS is incorrectly
reporting that the process succeeded.

So yes, it does seem to be specific to my Visual Studio Development
Environment.

Despite my frustration, I'm not ready to throw Visual Studio in the trash
yet. I will give MS a call and see if they can sort it out. I'll let you
know what the solution is.

Again, I appreciate your help,

/jason

"Walter Wang [MSFT]" <wa****@online. microsoft.comwr ote in message
news:ea******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Jason,

I'm aware of any settings are related to how Visual Studio publishs the
web
site. You're using VS2005, right?

Since you mentioned that it works before, and I cannot reproduce it on my
side, I think this should be an environment specific issue.

Have you tried not using PASV mode?

We need to first determine if it's related to the ftp server or the VS2005
instance. To do that, we will need another VS2005 and ftp server. With the
correct combination, we should be able to narrow down the issue.

At last, please note for such non-reproducible issue, what I can help in
newsgroup is to see if there's any similar issue in our support database,
and give some suggestion to try. Therefore, the progress may not be very
satisfying. I hope you could understand that. Thanks.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
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.

May 9 '07 #8
OK, I decided to try one more thing before getting in touch with MS:
converting the web site project to a web application project.

And that did the trick.

Here's the link I used:

http://webproject.scottgu.com/CSharp...igration2.aspx

Thanks again for the help!

jason

"Jason" <Ja********@nos pam.nospamwrote in message
news:%2******** *******@TK2MSFT NGP06.phx.gbl.. .
Walter I appreciate your help.

Yes I am using VS 2005.

I created another WebSite project and was also unable to publish that as
well via ftp.

However I can ftp files to the folder just fine with CuteFTP using the
same username and password.

I tried to publish to in Visual Studio with "Connect using passive mode"
unchecked, and Visual Studio went into some kind of horrible loop. I had
to use Task Manager to bring it down - not very pretty.

I removed the 2002 Server Extensions from the folder in IIS, and Removed
the virtual application via the properties pages. I then republish the
site and Visual Studio tells me:

========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

I check the folder on the server and nothing is there, so VS is
incorrectly reporting that the process succeeded.

So yes, it does seem to be specific to my Visual Studio Development
Environment.

Despite my frustration, I'm not ready to throw Visual Studio in the trash
yet. I will give MS a call and see if they can sort it out. I'll let you
know what the solution is.

Again, I appreciate your help,

/jason

"Walter Wang [MSFT]" <wa****@online. microsoft.comwr ote in message
news:ea******** ******@TK2MSFTN GHUB02.phx.gbl. ..
>Hi Jason,

I'm aware of any settings are related to how Visual Studio publishs the
web
site. You're using VS2005, right?

Since you mentioned that it works before, and I cannot reproduce it on my
side, I think this should be an environment specific issue.

Have you tried not using PASV mode?

We need to first determine if it's related to the ftp server or the
VS2005
instance. To do that, we will need another VS2005 and ftp server. With
the
correct combination, we should be able to narrow down the issue.

At last, please note for such non-reproducible issue, what I can help in
newsgroup is to see if there's any similar issue in our support database,
and give some suggestion to try. Therefore, the progress may not be very
satisfying. I hope you could understand that. Thanks.
Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
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.


May 9 '07 #9
Hi Jason,

I'm glad to know that you've found a workaround, thank you for sharing this
experience here.

Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
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.

May 10 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2584
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my solution: 1) web service website. 2) SOAP Extension Class Lib that compiles to a dll 3) WinForm application with a proxy to test the web service.
9
2380
by: Alex Greenberg | last post by:
I don't know, but I find the Publish Web Site feature very lacking and weak. I mean, why does the damn thing have to delete unrelated directories like /images /documents etc. This is so impractical, what if my users generate these documents or images through their interaction with the site, and then I change some code and publish it, boom, everything is gone. I cannot put these folders outside the solution due to security/pathing...
21
3867
by: Al Christoph | last post by:
I posted this last week end in the MSDN forums. No luck there. Let's see what the experts here have to say:-)))) I have a rather convoluted project. The distributable will come in eight different flavors, each with its main program, libraries, datafiles, doco, etc. Each flavor will also have one or more standalone executables that can be called as tools from within the main program.
3
1507
by: Tom | last post by:
I did a Build --Publish web site last night on my web app, It publish correctly but it created 12 DLL's for it. Is there a way to only get 1 dll for the entire web project like in 03 or a is there another way to publish from my local box to the test web server? what is the best way to publish an .NET 05 web site to a server? Also for publishing updates to the web site how does that work because I have to drag and drop dll's that I'm...
1
2997
by: kurt sune | last post by:
I am having trouble publishing a website for RELEASE. 1. web.config: <compilation defaultLanguage="vb" debug="false"> 2. in Configuration manager I set the configuration to Release for the website 3. in Configuration manager I set the Active solution configuration to Release
2
670
by: moondaddy | last post by:
I have a asp.net 2.0 project (vs 2005) and am trying to publish it to a folder on the same machine (the dev machine). the project (and solution) builds fine, but when I publish it, it publishes most of the files and folders and then fails. It doesn't give any error msg so I don't know where to start trouble shooting it. can anyone lend a hand here? Thanks!
0
1229
by: Pedro Vera | last post by:
Greetings, I have a plain VS 2005 VB.net solution that holds a single web site. The web site builds fine when I run it locally, and if I copy it as-is to my remote server everything runs. The problem is that I run Build - disappearing. I even tested my local copy of VS 2005 against a bunch of my other projects, and in every case the project works properly and I get a precompiled site when I request Build -Publish Web Site.
5
2962
by: Cirene | last post by:
When would I use "Copy Web site" over "Publish Website" or visa versa? Why would I use the Web Deployment Project vs these options? I want to make sure no one can pull up/read/download my vb source code (in ..vb files). I would prefer easy update of the site (code or aspx.) Thanks.
3
2249
by: =?Utf-8?B?Sm9obiBT?= | last post by:
Hi, I'm trying to publish a new web service that I've written. It's fine when I publish it on the local PC but I get Publish failed in the development environment when I try to publish it to another server.
0
9271
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10031
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9869
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9708
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5140
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3354
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2665
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.