•
•
•
•
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
![]() |
•
•
Join Date: Sep 2007
Posts: 28
Reputation:
Rep Power: 2
Solved Threads: 0
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
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.
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
I don't know your hosting so i don't know how you will test this
•
•
Join Date: Sep 2007
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
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...
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
Extract from http://help.godaddy.com/article.php?...7&topic_id=216
To Enable ASP.NET 2.0 on Your Existing Hosting Account
- Log in to your Account Manager.
- In the My Products section, select Hosting Account List.
- Next to the hosting account you want to modify, click Open.
- In the Settings section of the Hosting Control Center, click the ASP.NET Runtime icon.
- Under the Hosting Directory section, select Content Root.
- In the Content Root Directory Settings section, select 2.0.
- Click Continue.
- Click Update.
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
.net .net framework 3.0 access ajax asp code combo custom customers data developer development dom dropdownlist experiment feed funds india internet internet tv internet video investments media microsoft module msdn net online online shopping portfolio publishing reader retail retail stocks reuse skin software sql stocks strayer study theme tips video for websites weather web windows workflow xbox 360 xml xoap
- [For Hire] Php, Mysql, ASP, AJAX, DHTML programmer (Post your Resume)
- Online exam & Quiz (ASP.NET)
- Acer computers? (Troubleshooting Dead Machines)
- ASP.Net & Macromedia Flash MX (ASP.NET)
- Senior Online Designer (UK) (Web Development Job Offers)
- Cannot access certain websites (Viruses, Spyware and other Nasties)
- unable to access secure websites... (Web Browsers)
- One-way(inbound)links offer (Promotion and Marketing Plans)
- One-way(inbound)links offer (Search Engine Optimization)
Other Threads in the ASP.NET Forum
- Previous Thread: How to hide datagrid rows where Qty is blank?
- Next Thread: dynamic textboxes


Linear Mode