I have moved my server from win2000 to win 2003. A small ASP.NET page that
ran fine on 2000. Now on 2003 I can not get it to execute.
If I go in and exectuer permisions are set to none, I get
HTTP Error 403.1 - Forbidden: Execute access is denied.
Setting the permissiong ot script only produces
HTTP Error 404 - File or directory not found.
I have a default.aspx in the directory, I have default.aspx as default
document type.
(and it fails if the default.aspx is epxplicitly specified)

creating clicking the Create button to create and application has no
different effect. At one point with my poking around to try and figure this
out I did start getting a 403.2 error, but I have not been able to replicate
that.

Suggestions?

Re: IIS on 2003 ASP.NET configuration issues by Kristofer

Kristofer
Mon May 29 09:36:02 CDT 2006

Did you enable the ASP.NET web service extension?

Click Start->Programs->Administrative Tools->Internet Information Services
Manager
Expand <servername> and click Web Service Extensions
In the right pane, allow the ASP.NET web service extension

Please do not randomly change things from now on as this makes it more
difficult for us to help you. We base our help on what you write here and
if you have changed a setting, a new problem may arise. My help is now
based on that you get a 404 (so change everything back so we are working
with the original problem).

If this suggestion does not solve your issue, please open the IIS log file
(C:\Windows\System32\LogFiles\W3SVCNNN where NNN is the website ID) and
tell us the status code, substatus code and sc-win32 status code reported
in the log file (or better yet, paste the relevant entry in the log file
here).

Thanks!


--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


Don Glover wrote:

>I have moved my server from win2000 to win 2003. A small ASP.NET page that
>ran fine on 2000. Now on 2003 I can not get it to execute.
>If I go in and exectuer permisions are set to none, I get
>HTTP Error 403.1 - Forbidden: Execute access is denied.
>Setting the permissiong ot script only produces
>HTTP Error 404 - File or directory not found.
>I have a default.aspx in the directory, I have default.aspx as default
>document type.
>(and it fails if the default.aspx is epxplicitly specified)
>
>creating clicking the Create button to create and application has no
>different effect. At one point with my poking around to try and figure this
>out I did start getting a 403.2 error, but I have not been able to
>replicate
>that.
>
>Suggestions?

Re: IIS on 2003 ASP.NET configuration issues by corwyn

corwyn
Mon May 29 10:09:02 CDT 2006

Kristofer,
Thanks for the response. Yes the ASP.NET web extensions are enabled.

Just to clarify a couple things on my side and in relation to your
suggestions:
My 'out of the box' error was 403.1 with the read check box checked and
execute permissions set to None, with no application created.
Changing to Execute script only (or script and executables) produces the 404
error.

From you message below you want me to start from the scripts only 404 error
state.
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port
cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2006-05-29 15:04:20 W3SVC1 216.173.206.178 GET /video/default.aspx - 80 -
216.173.206.179
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+Maxthon;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 404 2 0
2006-05-29 15:04:36 W3SVC1 216.173.206.178 GET /video/default.aspx - 80 -
216.173.206.179
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+Maxthon;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 404 2 0
2006-05-29 15:04:41 W3SVC1 216.173.206.178 GET /Default.htm - 80 -
216.173.206.179
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+Maxthon;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0
2006-05-29 15:04:43 W3SVC1 216.173.206.178 GET /video/default.aspx - 80 -
216.173.206.179
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+Maxthon;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 404 2 0


"Kristofer Gafvert" wrote:

> Did you enable the ASP.NET web service extension?
>
> Click Start->Programs->Administrative Tools->Internet Information Services
> Manager
> Expand <servername> and click Web Service Extensions
> In the right pane, allow the ASP.NET web service extension
>
> Please do not randomly change things from now on as this makes it more
> difficult for us to help you. We base our help on what you write here and
> if you have changed a setting, a new problem may arise. My help is now
> based on that you get a 404 (so change everything back so we are working
> with the original problem).
>
> If this suggestion does not solve your issue, please open the IIS log file
> (C:\Windows\System32\LogFiles\W3SVCNNN where NNN is the website ID) and
> tell us the status code, substatus code and sc-win32 status code reported
> in the log file (or better yet, paste the relevant entry in the log file
> here).
>
> Thanks!
>
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> Don Glover wrote:
>
> >I have moved my server from win2000 to win 2003. A small ASP.NET page that
> >ran fine on 2000. Now on 2003 I can not get it to execute.
> >If I go in and exectuer permisions are set to none, I get
> >HTTP Error 403.1 - Forbidden: Execute access is denied.
> >Setting the permissiong ot script only produces
> >HTTP Error 404 - File or directory not found.
> >I have a default.aspx in the directory, I have default.aspx as default
> >document type.
> >(and it fails if the default.aspx is epxplicitly specified)
> >
> >creating clicking the Create button to create and application has no
> >different effect. At one point with my poking around to try and figure this
> >out I did start getting a 403.2 error, but I have not been able to
> >replicate
> >that.
> >
> >Suggestions?
>

Re: IIS on 2003 ASP.NET configuration issues by Kristofer

Kristofer
Mon May 29 10:42:16 CDT 2006

Hi,

Execute permissions should be set to "Scripts" (or "Scripts and
Executables", but "Scripts" is more suitable if only scripts are supposed
to be executed, which is the case with ASP.NET).

The substatus of the failed requests are 2, which means that a "lockdown
policy prevented the request" (the web service extension is not enabled).
Do you have both ASP.NET 1.1 and 2.0 installed on the server, and you have
enabled the wrong one?

In IIS Manager, right click the folder "Video" and click properties. On
the directory tab, click Configuration button if you can. If you cannot,
right click the website instead, and click properties. On the "Home
Directory" tab, click the Configuration button. Scroll down to ".aspx" and
write down the executable path.

In the Web Service Extension node, right click the ASP.NET web service
extension and select properties. On the "Required Files" tab, is the path
the very same as the one you wrote down?

If they are the same, is it possible for you to restart IIS (it is not in
production)? If it is possible, please restart IIS, and after it has
restarted, check again that the ASP.NET Web Service extension is enabled
(this will make sure that the setting is correctly read by IIS). Does it
work now?

If it still does not work:

Is this a fresh install or an upgrade of Windows Server 2003?
Have you imported any metabase setting(s)?


--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


Don Glover wrote:

>Kristofer,
>Thanks for the response. Yes the ASP.NET web extensions are enabled.
>
>Just to clarify a couple things on my side and in relation to your
>suggestions:
>My 'out of the box' error was 403.1 with the read check box checked and
>execute permissions set to None, with no application created.
>Changing to Execute script only (or script and executables) produces the
>404
>error.
>
>From you message below you want me to start from the scripts only 404 error
>state.
>#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query
>s-port
>cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
>2006-05-29 15:04:20 W3SVC1 216.173.206.178 GET /video/default.aspx - 80 -
>216.173.206.179
>Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+Maxthon;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
>404 2 0
>2006-05-29 15:04:36 W3SVC1 216.173.206.178 GET /video/default.aspx - 80 -
>216.173.206.179
>Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+Maxthon;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
>404 2 0
>2006-05-29 15:04:41 W3SVC1 216.173.206.178 GET /Default.htm - 80 -
>216.173.206.179
>Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+Maxthon;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
>200 0 0
>2006-05-29 15:04:43 W3SVC1 216.173.206.178 GET /video/default.aspx - 80 -
>216.173.206.179
>Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+Maxthon;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
>404 2 0
>
>
>"Kristofer Gafvert" wrote:
>
>>Did you enable the ASP.NET web service extension?
>>
>>Click Start->Programs->Administrative Tools->Internet Information Services
>>Manager
>>Expand <servername> and click Web Service Extensions
>>In the right pane, allow the ASP.NET web service extension
>>
>>Please do not randomly change things from now on as this makes it more
>>difficult for us to help you. We base our help on what you write here and
>>if you have changed a setting, a new problem may arise. My help is now
>>based on that you get a 404 (so change everything back so we are working
>>with the original problem).
>>
>>If this suggestion does not solve your issue, please open the IIS log file
>>(C:\Windows\System32\LogFiles\W3SVCNNN where NNN is the website ID) and
>>tell us the status code, substatus code and sc-win32 status code reported
>>in the log file (or better yet, paste the relevant entry in the log file
>>here).
>>
>>Thanks!
>>
>>
>>--
>>Regards,
>>Kristofer Gafvert
>>http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>>Don Glover wrote:
>>
>>>I have moved my server from win2000 to win 2003. A small ASP.NET page
>>>that
>>>ran fine on 2000. Now on 2003 I can not get it to execute.
>>>If I go in and exectuer permisions are set to none, I get
>>>HTTP Error 403.1 - Forbidden: Execute access is denied.
>>>Setting the permissiong ot script only produces
>>>HTTP Error 404 - File or directory not found.
>>>I have a default.aspx in the directory, I have default.aspx as default
>>>document type.
>>>(and it fails if the default.aspx is epxplicitly specified)
>>>
>>>creating clicking the Create button to create and application has no
>>>different effect. At one point with my poking around to try and figure
>>>this
>>>out I did start getting a 403.2 error, but I have not been able to
>>>replicate
>>>that.
>>>
>>>Suggestions?
>>

Re: IIS on 2003 ASP.NET configuration issues by corwyn

corwyn
Mon May 29 11:37:02 CDT 2006


Kristofer,
Thanks for your help. I have figured out what the problem was, it turned out
whenI was looking at the web services extensions I was looking at ASP >NOT<
ASP.NET. ASP.NET was not listed at all. I added it allong using the file from
the configuratios and now it it is trying to execute the application.
(Now I have a different problem to reseach and address "The current identity
(NT AUTHORITY\NETWORK SERVICE) does not have write access to
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'. ")

Once again thank your for your help.
"Kristofer Gafvert" wrote:

> Hi,
>
> Execute permissions should be set to "Scripts" (or "Scripts and
> Executables", but "Scripts" is more suitable if only scripts are supposed
> to be executed, which is the case with ASP.NET).
>
> The substatus of the failed requests are 2, which means that a "lockdown
> policy prevented the request" (the web service extension is not enabled).
> Do you have both ASP.NET 1.1 and 2.0 installed on the server, and you have
> enabled the wrong one?
>
> In IIS Manager, right click the folder "Video" and click properties. On
> the directory tab, click Configuration button if you can. If you cannot,
> right click the website instead, and click properties. On the "Home
> Directory" tab, click the Configuration button. Scroll down to ".aspx" and
> write down the executable path.
>
> In the Web Service Extension node, right click the ASP.NET web service
> extension and select properties. On the "Required Files" tab, is the path
> the very same as the one you wrote down?
>
> If they are the same, is it possible for you to restart IIS (it is not in
> production)? If it is possible, please restart IIS, and after it has
> restarted, check again that the ASP.NET Web Service extension is enabled
> (this will make sure that the setting is correctly read by IIS). Does it
> work now?
>
> If it still does not work:
>
> Is this a fresh install or an upgrade of Windows Server 2003?
> Have you imported any metabase setting(s)?
>
>
> --
> Regards,
> Kristofer Gafvert
> http://www.gafvert.info/iis/ - IIS Related Info
>
>
> Don Glover wrote:
>
> >Kristofer,
> >Thanks for the response. Yes the ASP.NET web extensions are enabled.
> >
> >Just to clarify a couple things on my side and in relation to your
> >suggestions:
> >My 'out of the box' error was 403.1 with the read check box checked and
> >execute permissions set to None, with no application created.
> >Changing to Execute script only (or script and executables) produces the
> >404
> >error.
> >
> >From you message below you want me to start from the scripts only 404 error
> >state.
> >#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query
> >s-port
> >cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
> >2006-05-29 15:04:20 W3SVC1 216.173.206.178 GET /video/default.aspx - 80 -
> >216.173.206.179
> >Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+Maxthon;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> >404 2 0
> >2006-05-29 15:04:36 W3SVC1 216.173.206.178 GET /video/default.aspx - 80 -
> >216.173.206.179
> >Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+Maxthon;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> >404 2 0
> >2006-05-29 15:04:41 W3SVC1 216.173.206.178 GET /Default.htm - 80 -
> >216.173.206.179
> >Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+Maxthon;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> >200 0 0
> >2006-05-29 15:04:43 W3SVC1 216.173.206.178 GET /video/default.aspx - 80 -
> >216.173.206.179
> >Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+Maxthon;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727)
> >404 2 0
> >
> >
> >"Kristofer Gafvert" wrote:
> >
> >>Did you enable the ASP.NET web service extension?
> >>
> >>Click Start->Programs->Administrative Tools->Internet Information Services
> >>Manager
> >>Expand <servername> and click Web Service Extensions
> >>In the right pane, allow the ASP.NET web service extension
> >>
> >>Please do not randomly change things from now on as this makes it more
> >>difficult for us to help you. We base our help on what you write here and
> >>if you have changed a setting, a new problem may arise. My help is now
> >>based on that you get a 404 (so change everything back so we are working
> >>with the original problem).
> >>
> >>If this suggestion does not solve your issue, please open the IIS log file
> >>(C:\Windows\System32\LogFiles\W3SVCNNN where NNN is the website ID) and
> >>tell us the status code, substatus code and sc-win32 status code reported
> >>in the log file (or better yet, paste the relevant entry in the log file
> >>here).
> >>
> >>Thanks!
> >>
> >>
> >>--
> >>Regards,
> >>Kristofer Gafvert
> >>http://www.gafvert.info/iis/ - IIS Related Info
> >>
> >>
> >>Don Glover wrote:
> >>
> >>>I have moved my server from win2000 to win 2003. A small ASP.NET page
> >>>that
> >>>ran fine on 2000. Now on 2003 I can not get it to execute.
> >>>If I go in and exectuer permisions are set to none, I get
> >>>HTTP Error 403.1 - Forbidden: Execute access is denied.
> >>>Setting the permissiong ot script only produces
> >>>HTTP Error 404 - File or directory not found.
> >>>I have a default.aspx in the directory, I have default.aspx as default
> >>>document type.
> >>>(and it fails if the default.aspx is epxplicitly specified)
> >>>
> >>>creating clicking the Create button to create and application has no
> >>>different effect. At one point with my poking around to try and figure
> >>>this
> >>>out I did start getting a 403.2 error, but I have not been able to
> >>>replicate
> >>>that.
> >>>
> >>>Suggestions?
> >>
>