Problem when default page is MainPage.aspx not Default.aspx?

Check you web. Config and make sure the default. Aspx is not listed as one the default pages.

Recycle the app pool and restart IIS.

Up vote 0 down vote favorite share g+ share fb share tw.

I have very strange problem. I'm using IIS 7.0 Integrated mode for my application. (pool is ASP 2.0 integrated) It's working fine when I type xyz.com/MainPage.aspx" rel="nofollow">xyz.com/MainPage.aspx.

But when I used simple xyz.com then its not working. 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. Requested URL: /intranet/default.

Aspx I have mapped default document to MainPage. Aspx still its not working... I don't have default. Aspx page in root.

Only Mainpage. Aspx and I can't change it... my web. Config looks like this (only part of it :): asp.net config integrated link|improve this question edited Sep 22 '11 at 12:03 asked Sep 22 '11 at 11:46chorpo33.

Part of web. Config: so default. Aspx should be cleared... when I open IIS manager and open my website/default document I see only MainPage.

Aspx in the list – chorpo Sep 22 '11 at 11:53.

You need to add MainPage. Aspx as default page through IIS's document facility. You may also add a default document with IIS7 web.config.

I did this but no change... – chorpo Sep 22 '11 at 11:49.

I think this setting is locked in IIS7 on applicationHost. Config level. You have to change the root config gile or use IIS Administration API do complete this task.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions