« Previous Next »

Thread: Publish from VS2008 to IIS 6.0 fails...

Last post 06-09-2009 4:22 PM by juliosanchezt. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 06-07-2009, 6:22 PM

    Publish from VS2008 to IIS 6.0 fails...

    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/...Deleting existing files...Publishing folder /...Publishing folder Administracion...Publishing folder App_Data...Publishing folder App_Themes...Publishing folder App_Themes/Nissan...Publishing folder App_Themes/Nissan/Images...Publishing folder Controles...Publishing folder Embarques...Publishing folder ext...Unable to add 'ext/ext-all-debug.js' to the Web site.  The server unexpectedly closed the connection.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.

    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!

  • 06-08-2009, 9:20 AM In reply to

    Re: Publish from VS2008 to IIS 6.0 fails...

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

    Have you tried using FTP?

    Jeff

     

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 06-08-2009, 11:00 AM In reply to

    Re: Publish from VS2008 to IIS 6.0 fails...

    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!

  • 06-08-2009, 12:57 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,189
    • IIS MVPs

    Re: Publish from VS2008 to IIS 6.0 fails...

    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?

  • 06-09-2009, 5:23 AM In reply to

    Re: Publish from VS2008 to IIS 6.0 fails...

    Hi,

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

    Regards,

    Paul Lynch | www.iisadmin.co.uk
  • 06-09-2009, 4:22 PM In reply to

    Re: Publish from VS2008 to IIS 6.0 fails...

    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.

     

Page 1 of 1 (6 items)
Microsoft Communities