Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS 7: value does not fall within the expected range

When I tried to start my IIS server on my local machine (which is running on Windows 7), it is giving me an error saying:

value does not fall within the expected range

I have tried number of thing to correct this issue, but no success. then finally I re-installed the IIS server on my machine but issue is still persist.

Does anyone have any idea about this error? And how can I resolve it?

like image 785
Geeky Ninja Avatar asked Jun 16 '14 05:06

Geeky Ninja


1 Answers

I have found that, this issue was coming due to incorrect virtual directory was created by visual studio in IIS due to which default web site was unable to start.

What I'd done to resolve this, I'd deleted my Default Web Site and created again in IIS. After that I'd created my application's specific virtual directories. This resolve my problem. Still not know why default web site stop working after incorrect virtual directory created by Visual Studio.

Hope this helps for those who are facing this issue.

like image 175
Geeky Ninja Avatar answered Oct 21 '22 15:10

Geeky Ninja