Click here to Skip to main content
15,894,030 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created website normally.
And uploaded to server.
But when I open it by address bar ,then show error as below.

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Please try the following:

* Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
* If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
* Click the Back button to try another link.

HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

Technical Information (for support personnel)

* Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
* Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.

But I opened the html/jpeg files by address bar.
Posted

It's not hosted properly. The way you are trying to access is not the right link.

I would suggest you to go into IIS and try to launch the default webpage from there. Have a look at the link there and then replace the localhost with servername to try out.

Looks like the path is getting messed up somewhere.
 
Share this answer
 
vipin.sethumadgavan wrote:
And uploaded to server.


How did you do that? Did you copy paste the folder to the server? Give details.
 
Share this answer
 
Vipin,

Is your virtual directory configured to ASP.Net, some times when you install the IIS after the .Net framework it will not be configured to .Net. You need to configure the IIS explisitly.

First check the properties of your website ('Default Web Site' in IIS be default), in 'Home Directory' tab, on Click of 'Configuration..' Application Configuration window will open. In that check the application mappings, if you don't find the .aspx item, the IIS is not configured for .Net.

Check - http://www.asp.net/learn/whitepapers/aspnet-and-iis6
 
Share this answer
 

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