Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
This is my first uploading a website. I am uploading my asp project with Filezilla but the only page that works and i can see is my index.htm ,the rest of the pages are aspx pages and when i try to see them it shows the code that I wrote on VS not the page itself. can someone help me with it I'm kind of stuck here.
Posted

1 solution

You server is not setup properly; in fact, it's not ASP.NET-enabled. Nothing tells me that ASP.NET is even supported. I don't know detail of your hosting, but if this is some external hosting provider, chanced are ASP.NET is not supported at all, unless you specifically requested it: ASP.NET hosting is relatively rare; and most of hosting offers these days are LAMP. Excuse me, but your question makes me suspect you don't really have an idea how ASP.NET (and may be other server-side technologies) work on the Web. Not to worry: you can learn it quickly enough, but better do it before you try to publish your work, not after. :-)

[EDIT]

ASP.NET not supported by the hosting company is a blocker problem.

  1. ASP.NET hosting, based on Windows OS; note that such hosting is usually more expensive.
  2. Pretty rare hosting based on Apache on non-Microsoft OS (usually this is some Linux distro); it should have installed Mono and a module for Apache mod_mono should be set up:
    http://en.wikipedia.org/wiki/Mono_%28software%29[^],
    http://www.mono-project.com/[^],
    http://en.wikipedia.org/wiki/Mod_mono[^],
    http://www.mono-project.com/Mod_mono[^].


If you have shared hosting, you usually can have only the same settings as others on the same plan. You can have much more expensive VPS hosting where you can get a dedicated virtual machine where you can install any software of your choice, withing certain volume and CPU time quota; finally, you can have even more expensive dedicated hosting service, where a physical host is dedicated to server your account and where you have unlimited control over all the software. Please see:
http://en.wikipedia.org/wiki/Shared_web_hosting_service[^],
http://en.wikipedia.org/wiki/Virtual_private_server#Virtual_private_server_hosting[^],
http://en.wikipedia.org/wiki/Dedicated_hosting_service[^];

see other possible options here:
http://en.wikipedia.org/wiki/Web_hosting#Types_of_hosting[^].

Good luck,
—SA
 
Share this answer
 
v4
Comments
ro kh 16-Nov-12 16:10pm    
My web hosting service doesn't support asp. Can I do anything to fix it? I have some Jquery and AJAX stuff and I can not use simple html
Sergey Alexandrovich Kryukov 16-Nov-12 16:37pm    
I provided some overview of what you could possible use...
--SA
Sergey Alexandrovich Kryukov 16-Nov-12 16:40pm    
In addition, you could possibly use some other, more popular server-side technology. Most widespread is PHP, but this is such a rudimentary wanna-be-OOP language; debugging is some problem; you can also use Python, which is not so readily supported, and a lot more... I'm not sure you would like to learn it all...

But these days you can get decent shared PHP hosting (with LAMP, cPanel) for US$4/months or even less. In some cases, even free. I actually would advice to try to find something which is free to try. There are companies who offer free hosting only because they hope the users will switch to pay hosting when the see that the service is good. This would be the best variant...
--SA
Espen Harlinn 17-Nov-12 8:59am    
5'ed!
Sergey Alexandrovich Kryukov 17-Nov-12 21:17pm    
Thank you, Espen.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900