We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Publishing website has FTP and SSL issue and SSLRSS

29 replies

Last post Apr 10, 2007 08:33 AM by tomkmvp

  • Publishing website has FTP and SSL issue and SSL

    Mar 23, 2007 02:54 PM|halfmoon12|LINK

    Hello:

     I have problem for publishing website. The log file showed the error:

     Copy from 'C:\Inetpub\wwwroot\SqlConnect1' to 'ftp://172.16.22.2/' started at 3/19/2007 3:39:21 PM.
               
                Copy file Default.aspx from source to remote Web site.
                Has error -- Unable to add 'Default.aspx' to the Web.  550 Default.aspx: Access is denied.
                Copy file Default.aspx.cs from source to remote Web site.
                Has error -- Unable to add 'Default.aspx.cs' to the Web.  550 Default.aspx.cs: Access is denied.
                Copy file Web.Config from source to remote Web site.
                Has error -- Unable to add 'Web.Config' to the Web.  550 Web.Config: Access is denied.

    Copy from 'C:\Inetpub\wwwroot\SqlConnect1' to 'ftp://172.16.29.9/' is finished. Completed at 3/19/2007 3:39:21 PM.

     I clicked remote site, I got error:

     Unable to open the web'http://servername/IntranetTest/. There is not server on port 443 at 'servername'. You have selected the connect using SSL option. This connection problem may indicated that the server does not support secure sockets layer(SSL) communication, or that it uses SSL comunicaton on a different port number.

    I checked IIS configuration. Under Directory Security Tab, I could not see if require secure channel checked for secure communication or not. View certificate and edit are disabled. However, I still got same error as before when choosing remote site deployment.

    How to get it work?  Your help is highly appreciated 

     

  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 23, 2007 04:15 PM|tomkmvp|LINK

  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 23, 2007 05:39 PM|halfmoon12|LINK

    Tom:

     You are so great. Thank you very much for your help.  I FTP sucessfully. Here is my log file.

     Copy from 'C:\Inetpub\wwwroot\SqlConnect1' to 'ftp://172.16.22.2/' started at 3/23/2007 4:29:41 PM.
               
                Copy file Default.aspx from source to remote Web site.
                Copy file Default.aspx.cs from source to remote Web site.
                Copy file Web.Config from source to remote Web site.

    Copy from 'C:\Inetpub\wwwroot\SqlConnect1' to 'ftp://172.16.22.2/' is finished. Completed at 3/23/2007 4:29:42 PM.

    However, when I type: http://172.16.22.2/default.aspx, I got error: 

    Server Error in '/' Application.

    The resource cannot be found.

    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

    Requested Url: /default.aspx

    Where is the default.aspx located at the remote server.

     

    Again, Your help is highly is appreciated.

  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 24, 2007 09:36 PM|qbernard|LINK

    a) check and ensure path is correct.

    b) check the iis log file, what's the 404 substatus code? ensure you have enable asp.net web services extension.

    Cheers,
    Bernard Cheah
  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 26, 2007 12:21 PM|halfmoon12|LINK

    Hello:

     

    Thank you very much. What  do you mean setting up path? I did not set it up.  How to set it up?

     How to check iss log?

     

    Thanks

  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 26, 2007 09:47 PM|qbernard|LINK

    a) path mean if you put it at wwwroot, then it should be http://localhost/test.html
    if underneath a folder say 'sqlconnect1' then localhost/sqlconnect1/test.html

    b) for IIS 6 and below, default path is %windir%/system32/logfiles/w3svcX
    X is the site id.

    Cheers,
    Bernard Cheah
  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 27, 2007 08:43 AM|tomkmvp|LINK

    I think the problem is most likely that ASP.NET has not been allowed in the Web Services Extensions folder in IIS.
  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 27, 2007 03:11 PM|halfmoon12|LINK

    Hello:

     I checked log file.

    2007-03-27 18:56:49 172.17.76.90 - 172.16.22.2 80 GET /default.aspx - 404 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM) 

    What does it mean?

     What you mean that ASP.NET has not been allowed in the Web Services Extensions folder in IIS?

    Thanks

  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 27, 2007 10:20 PM|qbernard|LINK

    Go to the site property - logging - advanced, ensure you have got sub-status and win32 status code logged.

    as for the web services extension, at IIS mmc - web servics extension node, ensure asp.net is enabled in the list.

     

    Cheers,
    Bernard Cheah
  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 28, 2007 12:55 PM|halfmoon12|LINK

    Hello:

     Thank you very much for the help.

     I reset the log information. Here is the logfile.

    #Software: Microsoft Internet Information Services 5.0
    #Version: 1.0
    #Date: 2007-03-28 16:27:51
    #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status cs(User-Agent)
    2007-03-28 16:27:51 172.17.76.90 - 172.16.29.2 22 OPTIONS / - 200 Microsoft-WebDAV-MiniRedir/5.1.2600
    2007-03-28 16:27:51 172.17.76.90 - 172.16.29.2 22 PROPFIND /wwwroot$ - 404 Microsoft-WebDAV-MiniRedir/5.1.2600
    2007-03-28 16:27:51 172.17.76.90 - 172.16.29.2 22  PROPFIND /wwwroot$ - 404 Microsoft-WebDAV-MiniRedir/5.1.2600
    2007-03-28 16:45:00 172.17.76.90 - 172.16.29.2 22  GET /default.aspx - 404 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)

     My iis is 5.0. There is no web service extensions node. How to make it work?

     

    Thanks
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 28, 2007 10:46 PM|steve schofield|LINK

    Are you running URLScan?  This might be blocking the .aspx requests.  Also, make sure you have the .aspx script mappings listed in your website. 

    Steve Schofield
    Windows Server MVP - IIS
    http://iislogs.com/steveschofield
    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget

  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 28, 2007 11:03 PM|qbernard|LINK

    Argghh, IIS 5 :)
    For that you don't have substatus code.

    Can you make sure that default.aspx is at the wwwroot path?
    Cheers,
    Bernard Cheah
  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 29, 2007 11:43 AM|halfmoon12|LINK

    Hello:

     Thank you for the help. Here is what I did for visual studio 2005.

     click copy website

    There was a window pop up.

    log on to FTP server:
    ftp://172.16.22.2

    Choosing anonymous log on

    Clicking OK

    I got another window pop up. It was showed that Source web site: C:\Inetpub\wwwroot\SqlConnect1

    and Remote web site: ftp://172.16.22.2

    I highligted the file to be copied, then clicking copy arrow, and then I can see all files copied to Remote web site: ftp://172.16.22.2

     There is no wwwroot path when you copy file from source web site to ftp site. There was only Remote web site: ftp://172.16.22.2 showed, so how to set up the files to be copied to wwwroot path at Remote web site: ftp://172.16.22.2?

     Thanks!

     

  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 29, 2007 04:36 PM|halfmoon12|LINK

    Hello:

     I found that the files were automatically copied to c:\Inetpub\ftproot folder by using ftp copy from visual studio.net. The default FTP site properties at IIS was set up read and write. Why still could not see the files by typing http://172.16.22.2/default.aspx or http://172.16.22.2/ftproot/default.aspx?

  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 29, 2007 04:44 PM|tomkmvp|LINK

    Because C:\inetpub\ftproot is not the same as C:\inetpub\wwwroot.  You need to create an FTP virtual directory (call it webroot) that points to C:\inetpub\wwwroot.  You can then FTP your files to ftp://172.16.22.2/webroot  and they will get placed in C:\inetpub\wwwroot.
  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 29, 2007 09:33 PM|qbernard|LINK

    Ya. Tom is correct. this is path reference problem.
    Cheers,
    Bernard Cheah
  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 30, 2007 05:27 PM|halfmoon12|LINK

    Hello:

     Thank you very much for your help.

    I set virtual directory up, entering webroot for the virtual directory name, then pointing to c:\inetpub\wwwroot\webroot, all property was set up correctly. However, I checked ftproot, there is no webroot folder. I clicked copy website. It showed me destination : ftp://172.16.22.2 . I could not set up directory webroot. The files were copied, but they were still in ftproot folder.

    I choosed publish website. I could set up :ftp://172.16.22.2/webroot. It showed publishing successfully. However, there was no any files at ftproot/webroot, nor wwwroot/webroot.

    I still got error when type: http://172.16.22.2/webroot/default.aspx 

    What am I missing here?

  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 30, 2007 06:27 PM|halfmoon12|LINK

    Hello:

    I could set up ftp://172.16.22.2/webroot now, but I got error when clicking copy files. Here is the log file.

     Copy from 'C:\Inetpub\wwwroot\SqlConnect1' to 'ftp://172.16.22.2/webroot' started at 3/30/2007 5:12:12 PM.
               
                Copy file Default.aspx from source to remote Web site.
                Has error -- Unable to add 'Default.aspx' to the Web.  550 Default.aspx: Access is denied.
                Copy file Default.aspx.cs from source to remote Web site.
                Has error -- Unable to add 'Default.aspx.cs' to the Web.  550 Default.aspx.cs: Access is denied.
                Copy file Web.Config from source to remote Web site.
                Has error -- Unable to add 'Web.Config' to the Web.  550 Web.Config: Access is denied.

    Copy from 'C:\Inetpub\wwwroot\SqlConnect1' to 'ftp://172.16.22.2/webroot' is finished. Completed at 3/30/2007 5:12:12 PM.

    I check virtual directory for webroot and wwwroot/webroot. The property was set up read and write. Why I get access deny? I could log in ftp. and copy to 172.16.22.2/ftproot.

     

    Your help is highly appreciated.

  • Re: Publishing website has FTP and SSL issue and SSL

    Mar 31, 2007 01:04 AM|qbernard|LINK

    Permission related. You are settting up webroot virtual directory to point to the actual webroot? if yes, ensure it allow write operation, and you have granted write permission to the ftp account.
    Cheers,
    Bernard Cheah
  • Re: Publishing website has FTP and SSL issue and SSL

    Apr 02, 2007 10:15 AM|tomkmvp|LINK

    We're talking about NTFS file and folder permissions here, and I'm still not sure you understand the proper file system paths involved and as they relate to WWW, FTP, and virtual directories ...
  • Re: Publishing website has FTP and SSL issue and SSL

    Apr 02, 2007 03:35 PM|halfmoon12|LINK

    Hello:

    I would like to thank you everyone who gave me help. You are a big helper:).  Now, I could successfully fpt to wwwroot folder. I have two problems to work out now. I am thinking that I am almost near to success with your help.

    This application is to test SQL server connection. It connected and worked fine at my own desktop. I ftp those files to the remote server 172.16.22.2. The remove server has SQL server installed.

    When trying to remote access this page: http://172.16.22.2/user1/default.aspx, I got the error:

     

    Server Error in '/' Application.

    Runtime Error

    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->
    
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->
    
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>

     

     

    When I tried to local access from the reomte server to type: http://localhost/webroot/default.aspx, I got the connection error.

    Server Error in '/' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Unrecognized configuration section 'connectionStrings'

    Source Error:

    Line 10: <configuration>
    Line 11: 	<appSettings/>
    Line 12: 	<connectionStrings>
    Line 13: 		<add name="ConnectionString" connectionString="Provider=SQLOLEDB;Data Source=DataSever;Password=password;User ID=pass;Initial Catalog=Website" providerName="System.Data.OleDb"/>
    Line 14: 	</connectionStrings>


    Source File: c:\inetpub\wwwroot\webroot\web.config    Line: 12

    Again, your help is highly appreciated.

     

  • Re: Publishing website has FTP and SSL issue and SSL

    Apr 02, 2007 04:06 PM|tomkmvp|LINK

    Looks like the app on the server is set to use ASP.NET 1.1 while your code is ASP.NET 2.0. You need to change the "user1" app in the IIS MCC to be set to 2.0 on the ASP.NET tab ...
  • Re: Publishing website has FTP and SSL issue and SSL

    Apr 02, 2007 05:13 PM|halfmoon12|LINK

    Hello:

    Tom, you are super. Thanks for quick response. I changed to .net 2.0. My remote server did installed .net 2.0. However, I tried to access this page, I got another error:

    Server Application Unavailable

    The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request.

    Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

    Here is my log file information.

    #Software: Microsoft Internet Information Services 5.0
    #Version: 1.0
    #Date: 2007-04-02 07:16:56
    #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status cs(User-Agent)
    2007-04-02 07:16:56 172.16.1.18 - 172.16.22.2 80 GET /iisstart.asp - 200 -
    2007-04-02 07:17:09 172.16.1.18 - 172.16.22.2 80 GET /iisstart.asp - 200 -
    2007-04-02 18:42:08 172.16.1.18 - 172.16.22.2 80 GET /iisstart.asp - 200 -
    2007-04-02 18:42:21 172.16.1.18 - 172.16.22.2 80 GET /iisstart.asp - 200 -
    2007-04-02 19:09:56 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:11:51 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:11:54 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:14:07 127.0.0.1 - 127.0.0.1 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
    2007-04-02 19:49:07 127.0.0.1 - 127.0.0.1 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
    2007-04-02 19:49:08 127.0.0.1 - 127.0.0.1 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
    2007-04-02 19:49:15 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:49:17 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:49:17 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:49:18 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:49:30 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:52:17 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:52:17 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:52:22 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:52:24 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:52:24 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:52:24 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:52:29 172.17.76.90 - 172.16.22.2 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:52:57 172.17.76.90 - 172.16.22.2 80 GET /user1/mycustompage.htm - 404 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    2007-04-02 19:53:04 172.17.76.90 - 172.16.22.2 80 GET /user1/mycustompage.html - 404 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM)
    #Software: Microsoft Internet Information Services 5.0
    #Version: 1.0
    #Date: 2007-04-02 21:00:12
    #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status cs(User-Agent)
    2007-04-02 21:00:12 127.0.0.1 - 127.0.0.1 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
    2007-04-02 21:00:31 127.0.0.1 - 127.0.0.1 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
    2007-04-02 21:01:31 127.0.0.1 - 127.0.0.1 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
    2007-04-02 21:01:33 127.0.0.1 - 127.0.0.1 80 GET /user1/default.aspx - 500 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         

     

  • Re: Publishing website has FTP and SSL issue and SSL

    Apr 02, 2007 08:22 PM|qbernard|LINK

    This is application related, so do you find any error in the event viewer ?
    Cheers,
    Bernard Cheah
  • Re: Publishing website has FTP and SSL issue and SSL

    Apr 03, 2007 08:15 AM|tomkmvp|LINK

    I see that error message when the IIS 5 server's local ASPNET account does not have NTFS permissions to your content, give it at least Read permissions to the user1 folder and files.
  • Re: Publishing website has FTP and SSL issue and SSL

    Apr 03, 2007 05:33 PM|halfmoon12|LINK

    Hello:

    Thanks for the help.

     I reset all NTPF permission. I create simple aspx fiile by using notepad at the remote server. The remote server could run aspx. However, it still could not run this application by deploying to it. I typed : localhost/user1/default.aspx at the remote server. I got the error:

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

    Source Error:


    Line 26:             ASP.NET to identify an incoming user.
    Line 27:         -->
    Line 28:   <authentication mode="Windows"/>
    Line 29:   <!--
    Line 30:             The <customErrors> section enables configuration
     

    Source File: c:\inetpub\wwwroot\user1\web.config    Line: 28


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

     Any idea?

  • Re: Publishing website has FTP and SSL issue and SSL

    Apr 04, 2007 02:19 AM|qbernard|LINK

    And have you try the suggestion?
    >>Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

    is the virtual directory configure as application root? open the property page and click 'create' application?

    Cheers,
    Bernard Cheah
  • Re: Publishing website has FTP and SSL issue and SSL

    Apr 09, 2007 04:35 PM|halfmoon12|LINK

    Hello:

     I would like to thank everyone who helped me out. I sucessfully depployed my project. You are great!

     I have one questions about  NTFS file  I need to gave everyone permission to read, write, delete and excute so that the program could run. There is some security issue. If I only gave permission to administor, the programmer would not run. Is there any way that I could give permission to administor only and the programmer still could run?

    As always, your  help is highly appreciated.

  • Re: Publishing website has FTP and SSL issue and SSL

    Apr 10, 2007 12:21 AM|qbernard|LINK

    Yes, you should not give everyone write access. For ftp upload, the user need to have write access, from web accessing, the application user only required READ access. so by default if you are using anonymous access. just give the iusr account read permissions will do.
    Cheers,
    Bernard Cheah
  • Re: Publishing website has FTP and SSL issue and SSL

    Apr 10, 2007 08:33 AM|tomkmvp|LINK

    These articles describe the necessary permissions:
    http://support.microsoft.com/kb/271071
    http://support.microsoft.com/kb/815153