IIS Settings

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
11/16/2011 1:02:44 AM
Gravatar
Total Posts 17

IIS Settings

Hi All,

We know that on IIS 6.0 to allow dynamic content we need to turn off the 404. For this we need to check allow "All Unknown CGI Extensions" under web service extensions in IIS manager right or do we add a web service extension? In case we allow "All Unknown CGI Extensions" security issues creep in i suppose? How do i resolve this?

Thanks,

Reena

11/16/2011 6:39:37 AM
Gravatar
Total Posts 18439

Re: IIS Settings

Hi,

I'm not aware of any need to allow "All Unknown CGI Extensions".

What you need to do is get to this screen and uncheck the box for "Verify that file exists".

uncheck verify file exists

If that box is checked then IIS will return a 404 before asp.net can get involved in handling the request.

Hope that helps,

Joe

11/16/2011 7:50:56 AM
Gravatar
Total Posts 17

Re: IIS Settings

Hi Joe,

I have already adopted this but didn't help. Any other suggestion?? :(

 

 

Thanks,

Reena

11/16/2011 8:11:42 AM
Gravatar
Total Posts 18439

Re: IIS Settings

Note that the screen shot example is for .NET 4, if you are using .NET 3.5 aka 2.0 then you need to uncheck the same thing for that version.

Hope that helps,

Joe

11/16/2011 8:52:48 PM
Gravatar
Total Posts 17

Re: IIS Settings

Hi Joe,

I agree with you. For Asp.net 3.5 and 2.0 the screenshot is different but yes ofcourse i have followed your suggestion and have unchecked the box for "Verify that file exists", but this too didn't help me.  :(

Thanks,

Reena

12/1/2011 7:55:09 AM
Gravatar
Total Posts 2

Re: IIS Settings

Reena/Joe,

Any progress on this issue.  We are having the same problem.  "Verify File Exists" box unchecked, correct version of ASP.Net, what else?

Thanks,

Marguerite

12/1/2011 8:10:43 AM
Gravatar
Total Posts 2

Re: IIS Settings

I was just able to get the application to work by allowing all unknown ISAPI extensions.  But as Reena pointed out, this could be a security issue...is there a way around this?

Marguerite

12/1/2011 8:17:36 AM
Gravatar
Total Posts 18439

Re: IIS Settings

The only other thing I can think of is you might try removing the runAllManagedModulesForAllRequests attribute:

<modules runAllManagedModulesForAllRequests="true">

since that is an IIS 7 only thing. I think it should be ignored on IIS 6 anyway but its worth a try.

 

12/8/2011 11:30:00 AM
Gravatar
Total Posts 17

Re: IIS Settings

Hi Marguerite/Joe,

I am not still being able to resolve the above issue. Will try to host my website on another server and see if the same error exists.

If any progress please do let me know.

 

Thanks,

Reena

You must sign in to post in the forums. This thread is closed to new posts.