This website is a webapp (with a master page) programmed in Visual Studios Express 2012 for Web. It was targeted for Framework 4.0 and Published with the File System method. I then manually uploaded it to my Windows Server 2003 machine running IIS 6.0.
For some reason, it thinks the default page is not there, but it is.
Under documents, I have Default.htm and nuts_and_bolts.aspx at the top of the list, and both files exist in the wwwroot directory. The App pool is DefaultAppPool (which I've tried restarting). Under the ASP.NET tab, I have the ASP.NET version set to 4.0.30319.
The web.config file looks like this:
[code]
<?xml version="1.0"?>
<configuration>
<system.web>
<customErrors mode="Off"/>
<compilation targetFramework="4.0"/>
<httpRuntime/>
</system.web>
</configuration>
[/code]
I've googled this problem and the solution is always to allow the target ASP.NET version in the Web Server Extensions, but it's already allowed on my machine.
I'm afraid I'm going to have to open this thread again. The above solution DID work, but only for a while. Now the website is doing it again, and this time directory browsing is enabled, so I'm not sure what else to check.
Yes, all the files are there. I have nuts_and_bolts.aspx at the top of the list under Documents. I have directory browsing on. The target framework is 4.0 and that's what it's set to under the ASP.NET tab and also in web extensions.
gib99
Member
148 Points
69 Posts
The Page Cannot be Found error
Jan 24, 2013 03:16 AM|LINK
Please go to http://www.mm-theory.com and observe the HTTP Error 404.
This website is a webapp (with a master page) programmed in Visual Studios Express 2012 for Web. It was targeted for Framework 4.0 and Published with the File System method. I then manually uploaded it to my Windows Server 2003 machine running IIS 6.0.
For some reason, it thinks the default page is not there, but it is.
Under documents, I have Default.htm and nuts_and_bolts.aspx at the top of the list, and both files exist in the wwwroot directory. The App pool is DefaultAppPool (which I've tried restarting). Under the ASP.NET tab, I have the ASP.NET version set to 4.0.30319.
The web.config file looks like this:
[code]
<?xml version="1.0"?>
<configuration>
<system.web>
<customErrors mode="Off"/>
<compilation targetFramework="4.0"/>
<httpRuntime/>
</system.web>
</configuration>
[/code]
I've googled this problem and the solution is always to allow the target ASP.NET version in the Web Server Extensions, but it's already allowed on my machine.
Can anyone tell me what's going on?
dotnetnerd
Contributor
2590 Points
585 Posts
Re: The Page Cannot be Found error
Jan 24, 2013 03:30 AM|LINK
Hi gib,
Are you sure that you have given correct domain name? I cant see that you have registered this domain, http://whois.domaintools.com/mm-thory.com
Windows ASP.NET Hosting | Reseller Hosting | Cloud Hosting
ignatandrei
All-Star
137665 Points
22145 Posts
Moderator
MVP
Re: The Page Cannot be Found error
Jan 24, 2013 03:30 AM|LINK
It is
More
How did you register the domain name at hosting provider?
oned_gk
All-Star
35898 Points
7333 Posts
Re: The Page Cannot be Found error
Jan 24, 2013 03:31 AM|LINK
Suwandi - Non Graduate Programmer
anuj_koundal
Contributor
2233 Points
533 Posts
Re: The Page Cannot be Found error
Jan 24, 2013 03:43 AM|LINK
Try these and let me know
Anuj Koundal
My Blog
Mark as Answer on the post that helps you.
gib99
Member
148 Points
69 Posts
Re: The Page Cannot be Found error
Jan 25, 2013 01:41 AM|LINK
Super! That worked. Thanks.
gib99
Member
148 Points
69 Posts
Re: The Page Cannot be Found error
Jan 26, 2013 10:55 PM|LINK
I'm afraid I'm going to have to open this thread again. The above solution DID work, but only for a while. Now the website is doing it again, and this time directory browsing is enabled, so I'm not sure what else to check.
dotnetnerd
Contributor
2590 Points
585 Posts
Re: The Page Cannot be Found error
Jan 28, 2013 02:31 AM|LINK
Hi Gib,
Now, you site is show 404-File or directory not found. Could you please kindly check that you have uploaded your files properly?
Windows ASP.NET Hosting | Reseller Hosting | Cloud Hosting
gib99
Member
148 Points
69 Posts
Re: The Page Cannot be Found error
Jan 29, 2013 03:23 AM|LINK
Yes, all the files are there. I have nuts_and_bolts.aspx at the top of the list under Documents. I have directory browsing on. The target framework is 4.0 and that's what it's set to under the ASP.NET tab and also in web extensions.