1

I try to put my ASP.net website on IIS7, by setting the folders and aspx-files in wwwroot. When I try to access http://10.32.0.235/Integ/Overzichtscherm.aspx,

I get this error: The resource cannot be found.

Can someone help me, please. Thank you in advance.

Tassisto
  • 9,877
  • 28
  • 100
  • 157

3 Answers3

1

If your IIS would be up and running correctly you would get a 404 message rather than the message you get now if some files would be missing etc..

Make sure in the IIS admin that your "website" is up and running and listening on the correct port and that the IIS service is running with correct ASP .NET settings. Here is a good tutorial for setting up IIS7

Daniel
  • 10,864
  • 22
  • 84
  • 115
StefanE
  • 7,578
  • 10
  • 48
  • 75
  • If you run through the tutorial you might find a configuration that is wrong. Are you testing this on your local machine or is it a remote machine? How did you deploy the code to the www directory etc – StefanE Mar 22 '11 at 13:16
  • I will restore the server and if I experience errors I will come back with more info – Tassisto Mar 22 '11 at 13:24
0

I ran into this issue and it turns out that when I setup the web server I inadvertently forgot to select ASP.NET 4.5 under the webs server. Selecting this will automatically select the .NET Extensions 4.5. Once selecting these and doing an IIS Reset all was well and the site loaded properly.

Mike Circuitry
  • 840
  • 8
  • 9
0

You can try setting ASP.NET Version for the VD and check settings to make sure it is properly configured..

sajoshi
  • 2,733
  • 1
  • 18
  • 22
  • I'm not familiar with windows server. can you show me how I can achieve that? and what do you mean with VD? – Tassisto Mar 22 '11 at 10:17