I have created a WebSite in IIS, with the following correct full pathname:
d:\inetpub\wwwroot\nameofsite
When I try and browse for this site, I get a 404 resource missing error. From the webserver, the error states it is looking for the resource in d:\inetpub\webmail\nameofsite. When I move the resource to this location, it works. I don't understand why it would claim the resources are in inetpub\webmail dir, when I never specified it there. I deleted the site, and created it again, in case I did it by accident, but it still does it.
What is going wrong?
Related
I am trying to change the content of my site (it is a help site and I have gone from using one software package to another for creating it) and usually, I would just make sure that the content was in the root folder and all is good.
The issue is that when I change the content I get a 404 error, so I did some googling and put some code in the web.config file and now I get a 403 error! Then I tried everything I could and still get the 403.
If I change the content in the root folder back to the original, there is no problem and on another site I have, I can just add a folder then navigate to www.site.com/newfolder and it works fine.
I've been facing this problem in the last hours, I can no longer open orchard cms, it always prompt me an error saying
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make
sure that it is spelled correctly.
But Strangely I still can open my Admin Page/Dashboard.
I use a page as a Home Page, now when I view this page from the Admin area I can open the webpage successfully! e.g http://domain:9999/homepage
but when I click on the home domain http://domain:9999/
i always get this error
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make
sure that it is spelled correctly
I hope my question is not too confusing, the summary is that I cannot Access the main root webpage domain:9999 but still can access all it's pages domain:9999/page
Please help
Thanks
I had the same error but the cause was a MySQL database that could not be reached.
My web browser displayed the same error: The resource cannot be found.
If you check the logfile you may find the error: Access denied for user ''#'localhost' (using password: YES)
Solution: Check the connection string. You can find it in:
~\App_Data\Sites\Default\Settings.txt
ANSWERED THIS MYSELF, BELOW.
I'm buying an SSL Certificate from TheSSLStore.
To authorize my request they need to be able to resolve mydomain.net/randomstring.htm.
The "actual" site is at afunnydomainname.azurewebsites.net.
The specific problem is that I can access the randomstring.htm file in www.mydomain.net but not mydomain.net. And it's got to be mydomain.net/randomstring.htm, because TheSSLStore has a robot that looks for it there.
I have the following DNS records at my domain registrar that point to Azure, shown here.
www.mydomain.net => afunnydomainname.azurewebsites.net ("CNAME" record)
*.mydomain.net => 999.999.999.99 ("A" record, pointing to the real IP address)
mydomain.net => 999.999.999.99 ("A" record, pointing to the real IP address)
These have all propagated, and both www.mydomain.net and mydomain.net are listed in the "Bring External Domains" for afunnydomainname at Azure
When I point FileZilla at afunnydomainname.azurewebsites.net, I see this directory structure:
/
LogFiles
site
wwwroot
In the "/", "site", and "wwwroot" directories, I have placed the randomstring.htm file, along with a web.config file that has <directoryBrowse enabled="true" />;
I can see both files in all three levels in FileZilla.
When I put www.mydomain.net in a browser address bar, I can see the directory with randomstring.htm and web.config.
When I put www.mydomain.net/randomstring.htm in a browser address bar the file opens and I can see the authorization code that TheSSLStore is looking for.
If I put mydomain.net in the address bar I get 404.
If I put mydomain.net/randomstring.htm in the address bar I get 404.
SO, it seems like
a) mydomain.net may not be DNS'ing properly to the "real" root directory on Azure,
b) OR, I don't understand where the "real root directory" is in this scenario,
c) or something else.
Question: What might be the problem and how might I fix it to get 'mydomain.net/randomstring.htm' to resolve?
My Answer:
Was found at this site, from google search "azure A record 404"
http://blogs.msdn.com/b/benjaminperkins/archive/2013/10/01/404-file-or-directory-not-found-when-mapping-custom-domain-to-a-windows-azure-web-site-server-error.aspx
In short, going through the management console in the link above, instead of the new portal, I was able to get the mydomain.net exeternal domain associated with the afunnydomainname.azurewebsites.net site.
So, what happened with the portal "Bring External Domains" function? Did I not press the "save" button? Not likely, since I went in and checked that mydomain.net was there, at least a couple of times, while trying to figure this out.
I hate to think that the management console could do that function more reliably than the portal, but you never know...
I use IIS 8 on windows server 2012 R2 .
when I Browse pages on IIS, some of them was shown, and some of them has occurred to 404 error:
The resource cannot be found.
Description: HTTP 404. The resource
you are looking for (or one of its dependencies) could have been
removed, had its name changed, or is temporarily unavailable. Please
review the following URL and make sure that it is spelled correctly.
I know that pages are exist and the name is correct.
I have this site on another computer too, that works well and open all pages correctly, but in this computer some pages have the above error. both computer have the same role and features on IIS .
what should I do ?
I have to move a site from one server to another. I saved the site as a template and uploaded to the site templates of another server. Now when i try to create a site in the destination server using that template then it redirects me to a 404 error page which says
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
I dont have any access to the destination server but the site which i am working in I am the site collection admin.
Any Suggestions are highly appreciated.....
Check the root path you have declared.
Maybe you left the old one.