How do create web app on another machine?

Discussion in 'ASP.NET / ASP.NET Core' started by mergence, Jun 6, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Any help appreciated in advance on this. Thanks.

    I am trying to simply create an asp.net web app hosted on a
    server on my intranet. Server is W2000 and has iis and .net framework and works fine. I am creating the app in VS 2003 from my machine. Should be no problem. Instead of using 'localhost' in the target location I use server's machinename 'server2'.

    However, I get the following error:
    The default Web Access mode for this project is set to file share,
    but the project folder ate http:\\server2\proj1 can not be opened
    with the path \\server2\wwwroot$\proj1. The error returned was:
    Unable to create Web Project 'proj1', The File Path \\server2\proj1
    does not correspond to the URL 'http:\\server2\proj1'. The two
    need to map to the same server location. Http Error 404 Object Not
    found.


    James Nye
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    THis is a painful error that i've encountered myself. I spent sometime doing research on this but couldn't figure it out. So i decide to connect using FrontPage extension.


    quote:Originally posted by mergence

    Any help appreciated in advance on this. Thanks.

    I am trying to simply create an asp.net web app hosted on a
    server on my intranet. Server is W2000 and has iis and .net framework and works fine. I am creating the app in VS 2003 from my machine. Should be no problem. Instead of using 'localhost' in the target location I use server's machinename 'server2'.

    However, I get the following error:
    The default Web Access mode for this project is set to file share,
    but the project folder ate http:\\server2\proj1 can not be opened
    with the path \\server2\wwwroot$\proj1. The error returned was:
    Unable to create Web Project 'proj1', The File Path \\server2\proj1
    does not correspond to the URL 'http:\\server2\proj1'. The two
    need to map to the same server location. Http Error 404 Object Not
    found.


    James Nye
    </blockquote id="quote"></font id="quote">
     
  3. Most likely the alternate server does not have a wwwroot shared folder or it has security that is not being cleared.

    As far as our sites at discountasp.net go, just set up frontpage extensions and program your apps that way.


    ScHiZo
    -------------------------------
    "Hi Bob". "Who's Bob?".[?]
     
  4. Giget.com looks like it's running on UNIX/Java or PHP - Won't it be difficult to convince folks that you can help 'em learn .NET when you aren't using it?



    quote:Originally posted by diontx

    I ran into the problem after I installed the .NET Web Development components.

    After reading a few of the responses to this forum, I decided to check the Security Settings for the folder where the project resides. I changed my VS Developers sharing permissions and security settings to Full Control and it worked like a charm.

    Try these steps. If it does not work, then try adding the Everyone user group with Full Control under Sharing and Security. Good luck!

    (Almost forgot my plug: Coming Soon (January 2004 - mark you calendars)! GIGET.COM - CertRoom...A very affordable ($10 per exam) and guaranteed method for you to study and practice taking certification exams online for MCSE, MCSD, MCAD, MCDBA, CNA, etc...It will be the best thing since slice bread. Also, be sure to checkout GIGET.COM - BooksAndMore for 75% discounted books, audio and more. Mid 2004 - we will be looking for game testers to test our new arcade style games for the PC.)

    STEPS:
    1. Right click on your folder (e.g. c:\inetpub\wwwroot)
    2. Select Properties.
    3. Select the Sharing tab.
    4. Click the Permissions button.
    5. Highlight the VS Developers user group.
    6. Select the Full Control check box.
    7. Click OK button.
    8. Select the Security tab.
    9. Highlight the VS Developers user group.
    10. Select the Full Control check box.
    11. Click OK button.
    12. Now try to create your project. [8D]
    </blockquote id="quote"></font id="quote">

    Jon
    (Information doesn't want to be free, it wants to be sixty-nine cents @ pound)
     
  5. I ran into the problem after I installed the .NET Web Development components.

    After reading a few of the responses to this forum, I decided to check the Security Settings for the folder where the project resides. I changed my VS Developers sharing permissions and security settings to Full Control and it worked like a charm.

    Try these steps. If it does not work, then try adding the Everyone user group with Full Control under Sharing and Security. Good luck!

    (Almost forgot my plug: Coming Soon (January 2004 - mark you calendars)! GIGET.COM - CertRoom...A very affordable ($10 per exam) and guaranteed method for you to study and practice taking certification exams online for MCSE, MCSD, MCAD, MCDBA, CNA, etc...It will be the best thing since slice bread. Also, be sure to checkout GIGET.COM - BooksAndMore for 75% discounted books, audio and more. Mid 2004 - we will be looking for game testers to test our new arcade style games for the PC.)

    STEPS:
    1. Right click on your folder (e.g. c:\inetpub\wwwroot)
    2. Select Properties.
    3. Select the Sharing tab.
    4. Click the Permissions button.
    5. Highlight the VS Developers user group.
    6. Select the Full Control check box.
    7. Click OK button.
    8. Select the Security tab.
    9. Highlight the VS Developers user group.
    10. Select the Full Control check box.
    11. Click OK button.
    12. Now try to create your project. [8D]
    13. If this does not work, verify that the local path for your web site (under MMC) is pointing to the folder you set the permissions on.
    a. Click Start menu.
    b. Select Run.
    c. Type in "inetmgr" to start MMC.
    d. Expand the tree and select your web site (or virtual directory).
    e. Right click and select Properties.
    f. Under the Virtual Directory tab, verify that the Local path text box contains the correct directory (e.g. c:\inetpub\wwwroot).
     
  6. On the contrary my inquisitive friend. It just so happens that GIGET.com is being hosted by iPowerWeb.com who chooses to use UNIX as their web server of choice, but all of our applications and web content will be hosted by a Windows 2000 Server(s) located at GIGET, which you (the audience) will be redirected to behind the scenes. This way we can control the content and easily switch web hosting services in a "jiffy" if the need should arise.

    You do bring up a good point. For this reason, it never hurts to learn the basics of various platforms, such as Unix, AS400, Windows, etc. In the 12 years that I've been in the business, I never seen an IT shop that truly uses one technology base. Usually, the reason for this is COST (e.g. cost of licensing, cost for training and cost of maintenance)! Thus, IT groups may choose to host their database on one platform (e.g. Oracle on Unix) and develop their software interface on another (e.g. VB/ASP on Windows). This is why all of the big boys/gals provide methods of communicating between platforms (e.g. ODBC and SOAP).

    I hope this offers you some insight.

    Best regards...[:)]

    quote:Originally posted by JonO

    Giget.com looks like it's running on UNIX/Java or PHP - Won't it be difficult to convince folks that you can help 'em learn .NET when you aren't using it?



    quote:Originally posted by diontx

    I ran into the problem after I installed the .NET Web Development components.

    After reading a few of the responses to this forum, I decided to check the Security Settings for the folder where the project resides. I changed my VS Developers sharing permissions and security settings to Full Control and it worked like a charm.

    Try these steps. If it does not work, then try adding the Everyone user group with Full Control under Sharing and Security. Good luck!

    (Almost forgot my plug: Coming Soon (January 2004 - mark you calendars)! GIGET.COM - CertRoom...A very affordable ($10 per exam) and guaranteed method for you to study and practice taking certification exams online for MCSE, MCSD, MCAD, MCDBA, CNA, etc...It will be the best thing since slice bread. Also, be sure to checkout GIGET.COM - BooksAndMore for 75% discounted books, audio and more. Mid 2004 - we will be looking for game testers to test our new arcade style games for the PC.)

    STEPS:
    1. Right click on your folder (e.g. c:\inetpub\wwwroot)
    2. Select Properties.
    3. Select the Sharing tab.
    4. Click the Permissions button.
    5. Highlight the VS Developers user group.
    6. Select the Full Control check box.
    7. Click OK button.
    8. Select the Security tab.
    9. Highlight the VS Developers user group.
    10. Select the Full Control check box.
    11. Click OK button.
    12. Now try to create your project. [8D]
    </blockquote id="quote"></font id="quote">

    Jon
    (Information doesn't want to be free, it wants to be sixty-nine cents @ pound)
    </blockquote id="quote"></font id="quote">
     
  7. I have a similar issue I was hoping you could help me with...

    I have just recently installed .Net onto a new PC running XP Pro. and all the relevant patches.
    Whenever I try and create a new C# web application I get the following error:

    The default Web Access mode for this project is set to file share,
    but the project folder at http://localhost/WebApplication1 can not be opened with the path c:\inetpub\wwwroot\WebApplication1. The error returned was:

    Unable to create Web Project 'WebApplication1', The File Path 'c:\inetpub\wwwroot\WebApplication1'
    does not correspond to the URL 'http://localhost/WebApplication1'. The two need to map to the same server location. HTTP Error 502: Proxy Error (Uniform Resource Locator (URL) does not use a recognized protocol. Either the protocol is not supported or the request was not typed correctly. Confirm that a valid protocol is in use (for Example, HTTP for a Web Request). )


    Any help here would be Hugely appreciated.

    Leon

    "The answer, of course, comes right back at us: "What can I do to make a difference here?"
     
  8. quote:Originally posted by Leon

    I have a similar issue I was hoping you could help me with...

    [snip]

    Unable to create Web Project 'WebApplication1', The File Path 'c:\inetpub\wwwroot\WebApplication1'
    does not correspond to the URL 'http://localhost/WebApplication1'. The two need to map to the same server location. ...
    </blockquote id="quote"></font id="quote">

    I think the answer is allready in the error message. Is it possible that you changed the directory of your default website ? After installing IIS, this directory is c:\inetpub\wwwroot. You probably changed this to another directory. When you want to create an application with VS.NET, he (or is it she ?) puts it in a subdirectory of wwwroot, supposing that he then creates a virtual directory of localhost. But if your http://localhost refers to another directory, it will not work. So try changing the directory of your default website to c:\inetpub\wwwroot and you should be able to create your application through VS.NET.

    --
    Steurm
    www.steurm.net/steurm
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page