locked
Publish from VS2008 to IIS 6.0 fails... RRS feed

  • Question

  • User-470027754 posted

    Hi all!

    I want to publish an ASP.NET website with Visual Studio 2008 to an IIS 6.0 (which already have installed Front Page Server Extensions).

    I'm getting this error in the VS2008 output window:

    Connecting to HTTP://192.168.30.49/SADE/...<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>Deleting existing files...<o:p></o:p>Publishing folder /...<o:p></o:p>Publishing folder Administracion...<o:p></o:p>Publishing folder App_Data...<o:p></o:p>Publishing folder App_Themes...<o:p></o:p>Publishing folder App_Themes/Nissan...<o:p></o:p>Publishing folder App_Themes/Nissan/Images...<o:p></o:p>Publishing folder Controles...<o:p></o:p>Publishing folder Embarques...<o:p></o:p>Publishing folder ext...<o:p></o:p>Unable to add 'ext/ext-all-debug.js' to the Web site.  The server unexpectedly closed the connection.<o:p></o:p>Unable to add folder 'ext/adapter' to the Web site.  Could not find a Web server at '192.168.30.49' on port 80. Please check to make sure that the Web server name is valid and your proxy settings are set correctly. If you are sure that everything is correct, the Web server may be temporarily out of service.<o:p></o:p>

    At the server side (Windows Server 2003 Enterprise with SP2), I checked some logs and says:

     C:\WINDOWS\system32\LogFiles\HTTPERR\httperr1.txt

    #Software: Microsoft HTTP API 1.0
    #Version: 1.0
    #Date: 2009-05-14 06:24:36
    #Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
    2009-05-14 06:24:36 201.120.44.208 2435 192.168.30.49 80 - - - - - Timer_ConnectionIdle -
    2009-05-21 21:47:06 201.103.102.18 1542 192.168.30.49 80 - - - - - Timer_ConnectionIdle -
    2009-05-22 06:47:31 201.167.0.101 1086 192.168.30.49 80 - - - - - Timer_ConnectionIdle -
    2009-05-22 12:51:06 201.167.0.101 1670 192.168.30.49 80 - - - - - Timer_ConnectionIdle -
    2009-05-25 23:29:51 201.167.0.101 2714 192.168.30.49 80 - - - - - Timer_ConnectionIdle -
    2009-05-25 23:35:21 201.167.0.101 2681 192.168.30.49 80 - - - - - Timer_ConnectionIdle -
    2009-05-27 21:33:56 192.168.30.170 3576 192.168.30.49 80 - - - - - Timer_ConnectionIdle -
    2009-05-27 21:35:36 192.168.30.170 3657 192.168.30.49 80 HTTP/1.1 POST /sade/_vti_bin/_vti_aut/author.dll - 1 Timer_EntityBody MSSharePointAppPool
    2009-05-27 22:40:07 192.168.30.170 4555 192.168.30.49 80 HTTP/1.1 POST /sade/_vti_bin/_vti_aut/author.dll - 1 Timer_EntityBody MSSharePointAppPool
    2009-05-27 22:40:37 192.168.30.170 4563 192.168.30.49 80 HTTP/1.1 POST /sade/_vti_bin/_vti_aut/author.dll - 1 Timer_EntityBody MSSharePointAppPool
    2009-05-27 22:51:57 192.168.30.170 5573 192.168.30.49 80 HTTP/1.1 POST /sade/_vti_bin/_vti_aut/author.dll - 1 Timer_EntityBody MSSharePointAppPool
    2009-05-28 19:13:02 192.168.30.40 5041 192.168.30.49 80 - - - - - Timer_ConnectionIdle -
    2009-05-28 20:35:52 201.103.60.81 1175 192.168.30.49 80 - - - - - Timer_ConnectionIdle -
    2009-05-28 20:35:52 201.103.60.81 1178 192.168.30.49 80 - - - - - Timer_ConnectionIdle -
    2009-05-28 20:51:21 192.168.30.170 1355 192.168.30.49 65000 HTTP/1.1 GET / 400 - Hostname -
    2009-05-28 20:57:02 192.168.30.170 1396 192.168.30.49 65000 - - - - - Timer_ConnectionIdle - 

    I think the problem is setting the "max file size" for IIS (not ASP.NET). How can I do this for IIS 6, not IIS 7 ( http://forums.iis.net/t/1152708.aspx). 'ext/ext-all-debug.js' is greater than 1 MB.

    Any hint would be appreciated..

    Thanks guys!

    Sunday, June 7, 2009 6:22 PM

Answers

  • User-470027754 posted

    Hi all!

     I think you have asked the right question! When a colleague was trying to publish from VS08 to IIS 6 the process failed when trying to "copy" a 1MB size file. I checked the other files in the solution and they were really small: 20KB, 10KB, etc.

     So, my first thought was a server-side problem: IIS 6. But a couple of minutes ago, I downloaded the project from Source Safe and tried the same publishing process and it worked. I think it's actually a client side problem. I confirmed this diagnosis by publishing a 60MB size file and everything went smooth...

    I'm using a XP box with SP3, Visual Studio 2008. My colleague is using a Vista laptop with Visual Studio 2008.

     Maybe the problem has to with the Vista  TCP auto tuning feature: 

    http://support.microsoft.com/kb/967475.

    http://support.microsoft.com/kb/934430

    But it's something I must confirm. I will test and I''ll post again about the result.

     Thanks for your time!. I really appreciate it.

     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, June 9, 2009 4:22 PM

All replies

  • User-1853252149 posted

    If you have a 1 MB JavaScript to load you're in bigger trouble than this.  :)

    Have you tried using FTP?

    Jeff

     

    Monday, June 8, 2009 9:20 AM
  • User-470027754 posted

    Thanks for your reply and also for your insights. Yes, correct about the 1 MB JS file. But that's not the point.

    I haven´t tried FTP (and I'm sure it'll work). But I want to take advantage of the IDE's features.

     If there is a publish feature (which is supposed to support many "formats": publishing to a share, publising using FPSE, with FTP, etc.), I would like to use it. After all, it's something my company already has paid for.

     How can I set the "max file size" IIS 6 's property? Anyone?

     Thanks a lot!

    Monday, June 8, 2009 11:00 AM
  • User-823196590 posted

    http://support.microsoft.com/kb/295626/

    Not sure it's relevant though if your file is less than 4 MB.

    What do the IIS log files say?  Anything relevant in the event logs?

    Monday, June 8, 2009 12:57 PM
  • User1632528892 posted

    Hi,

    What evidence do you have that suggests the file size is the cause of the problem ?

    Regards,

    Tuesday, June 9, 2009 5:23 AM
  • User-470027754 posted

    Hi all!

     I think you have asked the right question! When a colleague was trying to publish from VS08 to IIS 6 the process failed when trying to "copy" a 1MB size file. I checked the other files in the solution and they were really small: 20KB, 10KB, etc.

     So, my first thought was a server-side problem: IIS 6. But a couple of minutes ago, I downloaded the project from Source Safe and tried the same publishing process and it worked. I think it's actually a client side problem. I confirmed this diagnosis by publishing a 60MB size file and everything went smooth...

    I'm using a XP box with SP3, Visual Studio 2008. My colleague is using a Vista laptop with Visual Studio 2008.

     Maybe the problem has to with the Vista  TCP auto tuning feature: 

    http://support.microsoft.com/kb/967475.

    http://support.microsoft.com/kb/934430

    But it's something I must confirm. I will test and I''ll post again about the result.

     Thanks for your time!. I really appreciate it.

     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, June 9, 2009 4:22 PM