User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 456,506 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,649 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 585 | Replies: 6
Reply
Join Date: Sep 2007
Posts: 28
Reputation: SiPexTBC is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
SiPexTBC SiPexTBC is offline Offline
Light Poster

Getting ASP websites online

  #1  
Sep 25th, 2007
Alright, my situation is as stated:

After a create a asp webpage, (build it) i upload it to my ftp to get it online. But when I try to get to the url, it just displays the code as if it were a text file. When i press F5 and run it there, it works fine. Is there anything else i need to upload besides the content that it creates after i've built it so that it works right?

Any help on this would be appreciated.

-SiPex
Last edited by SiPexTBC : Sep 25th, 2007 at 2:40 am.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: England
Posts: 156
Reputation: ptaylor965 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 19
Sponsor
ptaylor965's Avatar
ptaylor965 ptaylor965 is offline Offline
Junior Poster

Re: Getting ASP websites online

  #2  
Sep 25th, 2007
The only thing i can think of is maybe the folder that you uploaded the application to may not be set as a Web Application, this would cause the aspx files to be displayed as plain text

I don't know your hosting so i don't know how you will test this
Peter Taylor
Visual Basic.NET Application Developer

TaylorsNet
http://www.taylorsnet.co.uk
Reply With Quote  
Join Date: Sep 2007
Posts: 5
Reputation: adamm84 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
adamm84 adamm84 is offline Offline
Newbie Poster

Re: Getting ASP websites online

  #3  
Sep 25th, 2007
the files are coming up in the code view because you aren't hosting them under a web server, you have simply put them in an ftp site which merely acts more or less as a file server, you need to serve the pages within the context of a web server, e.g. point apache or IIS or some other web server to your directory and launch from there...
Reply With Quote  
Join Date: Sep 2007
Posts: 28
Reputation: SiPexTBC is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
SiPexTBC SiPexTBC is offline Offline
Light Poster

Re: Getting ASP websites online

  #4  
Sep 26th, 2007
I'm uploading it to my godaddy hosting. Is that what's causing the problem?
Reply With Quote  
Join Date: Sep 2007
Posts: 28
Reputation: SiPexTBC is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
SiPexTBC SiPexTBC is offline Offline
Light Poster

Re: Getting ASP websites online

  #5  
Sep 26th, 2007
anyone?
Reply With Quote  
Join Date: Oct 2006
Location: England
Posts: 156
Reputation: ptaylor965 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 19
Sponsor
ptaylor965's Avatar
ptaylor965 ptaylor965 is offline Offline
Junior Poster

Re: Getting ASP websites online

  #6  
Sep 26th, 2007
Try this Assuming you are using .NET 2


Extract from http://help.godaddy.com/article.php?...7&topic_id=216


To Enable ASP.NET 2.0 on Your Existing Hosting Account
  1. Log in to your Account Manager.
  2. In the My Products section, select Hosting Account List.
  3. Next to the hosting account you want to modify, click Open.
  4. In the Settings section of the Hosting Control Center, click the ASP.NET Runtime icon.
  5. Under the Hosting Directory section, select Content Root.
  6. In the Content Root Directory Settings section, select 2.0.
  7. Click Continue.
  8. Click Update.
Peter Taylor
Visual Basic.NET Application Developer

TaylorsNet
http://www.taylorsnet.co.uk
Reply With Quote  
Join Date: Sep 2007
Posts: 5
Reputation: adamm84 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
adamm84 adamm84 is offline Offline
Newbie Poster

Re: Getting ASP websites online

  #7  
Sep 26th, 2007
i don't use godaddy so i'm not familiar with it, what web server do they use, i'm assuming they give you a windows based environment, in which case you're probably using IIS. set up a virtual directory in iis and run with it.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 3:39 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC