PDA

View Full Version : Using VS .net with discountasp.net!


logmaxus000
02-27-2003, 01:30 AM
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?[?]

bruce
02-27-2003, 02:18 AM
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"


[b]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">

Sean
03-13-2003, 05:32 AM
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

Eric
03-13-2003, 09:07 AM
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

Sean
03-14-2003, 04:51 AM
**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

Eric
03-14-2003, 07:48 AM
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

bruce
08-31-2003, 02:15 AM
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.

[b]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">

ensobel
08-31-2003, 05:17 AM
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

villagecirc
09-11-2003, 03:01 AM
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
smpaulson@msn.com
http://webpages.charter.net/bctrotzer/

bruce
09-13-2003, 08:57 AM
Did you do what the error suggest?

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

[b]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
smpaulson@msn.com
http://webpages.charter.net/bctrotzer/
</blockquote id="quote"></font id="quote">