Using VS .net with discountasp.net!

Discussion in 'Visual Studio' started by logmaxus000, Feb 27, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I recently purchased hosting space with discountasp.net. I am planning on using VS .net to code my ASP .net Web App. But I cann't figure out how to connect directly with the server using VS .net. To try to do this select New Project, select Visual Basic Projects, and choose VS .net Web Application. Now i need to enter the location to save the project, i want it to be on the server. For the location i tried both my Domain Name and Temporary URL, but when i click OK, a Web Access Failed dialog box pops up. So next I created an FTP link in My Network Places but it won't work either.

    [?]How do i setup direct server access with VS.net?[?]
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Try this

    a) Enable FrontPage extension through the control panel
    b) Create a new web project using Visual studio (File -> New -> Project)
    c) Input http://www.domain.com as the path
    d) When prompt with Web Access Failed dialogue, select "Try to open the project with FrontPage Server extension"


    quote:Originally posted by logmaxus000

    I recently purchased hosting space with discountasp.net. I am planning on using VS .net to code my ASP .net Web App. But I cann't figure out how to connect directly with the server using VS .net. To try to do this select New Project, select Visual Basic Projects, and choose VS .net Web Application. Now i need to enter the location to save the project, i want it to be on the server. For the location i tried both my Domain Name and Temporary URL, but when i click OK, a Web Access Failed dialog box pops up. So next I created an FTP link in My Network Places but it won't work either.

    [?]How do i setup direct server access with VS.net?[?]
    </blockquote id="quote"></font id="quote">
     
  3. I guess I am unclear how to enable front page extensions through the control panel. Is this done with server extensions administrator. It looks as though all my settings pertain to my local machine only. I cannot seem to create a new project on my web space (with visual studio) in this fashion.
    I can FTP to my site but will my DLL get registered? I am new to web apps and discount ASP. My only other experience was with a host that provided a (upload directly to your XXX acount) in the start page of visual studio.net

    Thanks in advance
     
  4. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    To connect directly with the server using VS.NET, FrontPage extensions must be installed on your account. To install FP Ext, go to your control panel and go to the FrontPage Tool section. You can enable FP Ext. there - just click the Install FrontPage button.

    Then follow the steps as outlined by bruce.

    DiscountASP.NET
     
  5. **VS.Net**
    Although I Can't find a (FRONT PAGE TOOL), I went to windows (add/remove windows components) and under IIS found that
    FRONT PAGE 2000 server extensions were indeed checked. I still can't
    use VS.Net directly but was succesfull publishing with a combination of FTP and the supplied (create web app) tool provided
    My windows version is XP pro 2002 service pack 1.

    Thanks for all your help
     
  6. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    sean: If you got things working then great. You can develop with VS.NET and upload your files via FTP.

    To clear things up, if you want to install Frontpage extensions on your webhosting account, go to your control panel located at: https://my.discountasp.net and log in. You will see on the left hand navigation, FrontPage Tool. That is where you install FP ext. in your account.

    When we say go to your control panel, we are not talking about your PC. I hope that clears things up.

    DiscountASP.NET
     
  7. Bruce

    Bruce DiscountASP.NET Staff

    The temp URL should behave exactly the same as your domain name.

    There must be some other problem. If you continue to have problem, please create a support ticket.

    quote:Originally posted by ensobel

    We are trying to do the same thing - to copy a VB.net project, but using the temporarily URL. Can't copy. Is the temp URL a problem and we should transfer our domain name to discoutntasp.net and use it?

    Thanks! [:X]


    ens
    </blockquote id="quote"></font id="quote">
     
  8. We are trying to do the same thing - to copy a VB.net project, but using the temporarily URL. Can't copy. Is the temp URL a problem and we should transfer our domain name to discoutntasp.net and use it?

    Thanks! [:X]


    ens
     
  9. I was able to follow the directions listed above to create a web project using Visual Basic. However I am unable to veiw the web project using explorer. and get the following generic error
    <!-- 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>




    Matthew H. Paulson
    [email protected]
    http://webpages.charter.net/bctrotzer/
     
  10. Bruce

    Bruce DiscountASP.NET Staff

    Did you do what the error suggest?

    With customError set to RemoteOnly or On, ASP.net will not display the error.

    quote:Originally posted by villagecirc

    I was able to follow the directions listed above to create a web project using Visual Basic. However I am unable to veiw the web project using explorer. and get the following generic error
    <!-- 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>




    Matthew H. Paulson
    [email protected]
    http://webpages.charter.net/bctrotzer/
    </blockquote id="quote"></font id="quote">
     
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