Click here to Skip to main content
15,913,836 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a website that works in visual studio, and want to publish on a server.
When I upload files to server, and type the sitename followed by default.aspx
I get a 404 error:page not found.
The server company says the .net framework 4 is available to the website. Tried putting a link to default.aspx page on the old web page, get the same error when clicked!
What am i doing wrong? Does something need to be changed in the config file?
Posted

Turned out software programs needed to be added to server account in order to have convert to application method
 
Share this answer
 
Your question is not urgent to us. Please don't be rude.

Your web host is the person to work with, to make sure the site is properly configured in their IIS. I suspect your issue has to do with the URL you are typing in, and the way IIS is configured.
 
Share this answer
 
Comments
Member 9445358 18-Dec-12 17:40pm    
The old site is available, and can be viewed in browser. The link on the old site gives a 404. If it was IIS, then the original site wouldn't launch would it?
Christian Graus 18-Dec-12 17:46pm    
If there is an old site and a new site, and the old site is live, but the link does not work, then the old site is set up in IIS, but the new page is not where the link expects it to be. The new site may well not be set up in IIS. Hard to tell from your oblique question.
Member 9445358 18-Dec-12 18:31pm    
the old site start page is index.html and the folder it is in holds all the files.
The links off the old page are:
HOME •
CONTACT
new
Where the first two are old site links and the third is from the new site
Christian Graus 18-Dec-12 18:32pm    
I don't know if you think that means I can answer your question, it does not. If aspx pages are not running on the old site, there's no reason to assume IIS is set up to process them properly
Christian Graus 18-Dec-12 18:44pm    
Tell them your URL and ask why it does not work.

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