Enabling Active Server Pages in IIS 7

Enabling Active Server Pages in IIS 7

am 12.07.2007 18:03:29 von brandon

I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP is not
enabled by default. Can someone please clue me in on how to enable support
for Active Server Pages in IIS 7?

--
Brandon
http://www.presentationsdirect.com

Re: Enabling Active Server Pages in IIS 7

am 12.07.2007 18:51:48 von nomailreplies

Make sure IIS is installed with all the ASP features.
Once that's done, reboot.

Now, go into the IIS Manager and create a new Application Pool.

Name it whatever, but choose No Managed Code in the first drop down
and for Pipeline, choose Classic and start App Pool immediately.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================

"Brandon" wrote in message news:uQwjv4JxHHA.2432@TK2MSFTNGP04.phx.gbl...
> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP is not enabled by default. Can someone please
> clue me in on how to enable support for Active Server Pages in IIS 7?
>
> --
> Brandon
> http://www.presentationsdirect.com
>

Re: Enabling Active Server Pages in IIS 7

am 12.07.2007 19:43:55 von David Wang

On Jul 12, 9:03 am, "Brandon"
wrote:
> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP is not
> enabled by default. Can someone please clue me in on how to enable support
> for Active Server Pages in IIS 7?
>
> --
> Brandonhttp://www.presentationsdirect.com


IIS7 is not installed by default, and once installed the defaults only
supports static files (no ISAPI, no CGI, no ASP, no ASP.Net, no PHP,
no Perl, etc).

Go back to "Install Windows Features" where you installed IIS7 from,
drill down into the [+] list for Application Development under the Web
Server node, and select ASP.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

Re: Enabling Active Server Pages in IIS 7

am 12.07.2007 19:51:06 von brandon

Thanks for the instructions. I installed the ASP features for IIS and setup
the AppPool. I assume I should assign this AppPool to the ASP site? I
tried that, but I'm still getting a generic error saying, "An error occurred
on the server when processing the URL. Please contact the system
administrator."

--
Brandon


"Juan T. Llibre" wrote in message
news:Owy$2TKxHHA.1212@TK2MSFTNGP05.phx.gbl...
> Make sure IIS is installed with all the ASP features.
> Once that's done, reboot.
>
> Now, go into the IIS Manager and create a new Application Pool.
>
> Name it whatever, but choose No Managed Code in the first drop down
> and for Pipeline, choose Classic and start App Pool immediately.
>
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en español : http://asp.net.do/foros/
> ======================================
>
> "Brandon" wrote in message
> news:uQwjv4JxHHA.2432@TK2MSFTNGP04.phx.gbl...
>> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP is
>> not enabled by default. Can someone please
>> clue me in on how to enable support for Active Server Pages in IIS 7?
>>
>> --
>> Brandon
>> http://www.presentationsdirect.com
>>
>
>
>

Re: Enabling Active Server Pages in IIS 7

am 12.07.2007 20:01:02 von brandon

I did go back and install ASP support, but I'm still getting an error
saying, "An error occurred on the server when processing the URL. Please
contact the system administrator."
--
Brandon


"David Wang" wrote in message
news:1184262235.984164.119450@g4g2000hsf.googlegroups.com...
> On Jul 12, 9:03 am, "Brandon"
> wrote:
>> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP is
>> not
>> enabled by default. Can someone please clue me in on how to enable
>> support
>> for Active Server Pages in IIS 7?
>>
>> --
>> Brandonhttp://www.presentationsdirect.com
>
>
> IIS7 is not installed by default, and once installed the defaults only
> supports static files (no ISAPI, no CGI, no ASP, no ASP.Net, no PHP,
> no Perl, etc).
>
> Go back to "Install Windows Features" where you installed IIS7 from,
> drill down into the [+] list for Application Development under the Web
> Server node, and select ASP.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>

Re: Enabling Active Server Pages in IIS 7

am 12.07.2007 23:18:28 von nomailreplies

Can you check to see if the file : Drive:\Windows\System32\inetsrv\asp.dll exists ?





Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Brandon" wrote in message news:OUyV50KxHHA.4464@TK2MSFTNGP02.phx.gbl...
> Thanks for the instructions. I installed the ASP features for IIS and setup the AppPool. I assume I should assign
> this AppPool to the ASP site? I tried that, but I'm still getting a generic error saying, "An error occurred on the
> server when processing the URL. Please contact the system administrator."
>
> --
> Brandon
>
>
> "Juan T. Llibre" wrote in message news:Owy$2TKxHHA.1212@TK2MSFTNGP05.phx.gbl...
>> Make sure IIS is installed with all the ASP features.
>> Once that's done, reboot.
>>
>> Now, go into the IIS Manager and create a new Application Pool.
>>
>> Name it whatever, but choose No Managed Code in the first drop down
>> and for Pipeline, choose Classic and start App Pool immediately.
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en español : http://asp.net.do/foros/
>> ======================================
>>
>> "Brandon" wrote in message news:uQwjv4JxHHA.2432@TK2MSFTNGP04.phx.gbl...
>>> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP is not enabled by default. Can someone please
>>> clue me in on how to enable support for Active Server Pages in IIS 7?
>>>
>>> --
>>> Brandon
>>> http://www.presentationsdirect.com
>>>
>>
>>
>>
>

Re: Enabling Active Server Pages in IIS 7

am 12.07.2007 23:26:07 von nomailreplies

If you didn't install ASP via
Control Panel/Programs/Windows Features/Internet Information Services/Www services/Application Development Features/ASP

You can also install it manually by opening a command window and typing this :

start /w pkgmgr /iu:IIS-ASP

That assumes you have all the other IIS components installed.

If you want to make double-sure they are all installed,
copy the following into a text file, paste it into a command window...and run it :

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;I IS-StaticContent;IIS-DefaultDocument;
IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-Ap plicationDevelopment;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS -ISAPIFilter;
IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogg ing;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;
IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuth entication;IIS-WindowsAuthentication;IIS-DigestAuthenticatio n;
IIS-ClientCertificateMappingAuthentication;IIS-IISCertificat eMappingAuthentication;IIS-URLAuthorization;IIS-RequestFilte ring;
IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS -HttpCompressionDynamic;IIS-WebServerManagementTools;
IIS-ManagementScriptingTools;IIS-IIS6ManagementCompatibility ;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;
IIS-FTPPublishingService;IIS-FTPServer;WAS-WindowsActivation Service;WAS-ProcessModel




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Juan T. Llibre" wrote in message news:O$5R3oMxHHA.5068@TK2MSFTNGP05.phx.gbl...
> Can you check to see if the file : Drive:\Windows\System32\inetsrv\asp.dll exists ?
>
>
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en español : http://asp.net.do/foros/
> ======================================
> "Brandon" wrote in message news:OUyV50KxHHA.4464@TK2MSFTNGP02.phx.gbl...
>> Thanks for the instructions. I installed the ASP features for IIS and setup the AppPool. I assume I should assign
>> this AppPool to the ASP site? I tried that, but I'm still getting a generic error saying, "An error occurred on the
>> server when processing the URL. Please contact the system administrator."
>>
>> --
>> Brandon
>>
>>
>> "Juan T. Llibre" wrote in message news:Owy$2TKxHHA.1212@TK2MSFTNGP05.phx.gbl...
>>> Make sure IIS is installed with all the ASP features.
>>> Once that's done, reboot.
>>>
>>> Now, go into the IIS Manager and create a new Application Pool.
>>>
>>> Name it whatever, but choose No Managed Code in the first drop down
>>> and for Pipeline, choose Classic and start App Pool immediately.
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en español : http://asp.net.do/foros/
>>> ======================================
>>>
>>> "Brandon" wrote in message news:uQwjv4JxHHA.2432@TK2MSFTNGP04.phx.gbl...
>>>> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP is not enabled by default. Can someone
>>>> please
>>>> clue me in on how to enable support for Active Server Pages in IIS 7?
>>>>
>>>> --
>>>> Brandon
>>>> http://www.presentationsdirect.com
>>>>
>>>
>>>
>>>
>>
>
>

Re: Enabling Active Server Pages in IIS 7

am 13.07.2007 02:47:00 von David Wang

You will need to retrieve the actual error response/code. This can be
found in:
1. IIS Log file entry for the request (have to wait a minute for the
log buffer to flush to disk) at %systemdrive%\inetpub\logs\LogFiles
\W3SVC1\*.log
2. Turn off IE's "Show Friendly HTTP Errors" option to report the
actual error response
3. If you make the request to IIS7 from another machine, by default
the actual error response is masked. You will need to configure IIS7
to not do that.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//





On Jul 12, 11:01 am, "Brandon"
wrote:
> I did go back and install ASP support, but I'm still getting an error
> saying, "An error occurred on the server when processing the URL. Please
> contact the system administrator."
> --
> Brandon
>
> "David Wang" wrote in message
>
> news:1184262235.984164.119450@g4g2000hsf.googlegroups.com...
>
>
>
> > On Jul 12, 9:03 am, "Brandon"
> > wrote:
> >> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP is
> >> not
> >> enabled by default. Can someone please clue me in on how to enable
> >> support
> >> for Active Server Pages in IIS 7?
>
> >> --
> >> Brandonhttp://www.presentationsdirect.com
>
> > IIS7 is not installed by default, and once installed the defaults only
> > supports static files (no ISAPI, no CGI, no ASP, no ASP.Net, no PHP,
> > no Perl, etc).
>
> > Go back to "Install Windows Features" where you installed IIS7 from,
> > drill down into the [+] list for Application Development under the Web
> > Server node, and select ASP.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //- Hide quoted text -
>
> - Show quoted text -

Re: Enabling Active Server Pages in IIS 7

am 13.07.2007 15:45:59 von brandon

That file does exist.

--
Brandon


"Juan T. Llibre" wrote in message
news:O$5R3oMxHHA.5068@TK2MSFTNGP05.phx.gbl...
> Can you check to see if the file : Drive:\Windows\System32\inetsrv\asp.dll
> exists ?
>
>
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en español : http://asp.net.do/foros/
> ======================================
> "Brandon" wrote in message
> news:OUyV50KxHHA.4464@TK2MSFTNGP02.phx.gbl...
>> Thanks for the instructions. I installed the ASP features for IIS and
>> setup the AppPool. I assume I should assign this AppPool to the ASP
>> site? I tried that, but I'm still getting a generic error saying, "An
>> error occurred on the server when processing the URL. Please contact the
>> system administrator."
>>
>> --
>> Brandon
>>
>>
>> "Juan T. Llibre" wrote in message
>> news:Owy$2TKxHHA.1212@TK2MSFTNGP05.phx.gbl...
>>> Make sure IIS is installed with all the ASP features.
>>> Once that's done, reboot.
>>>
>>> Now, go into the IIS Manager and create a new Application Pool.
>>>
>>> Name it whatever, but choose No Managed Code in the first drop down
>>> and for Pipeline, choose Classic and start App Pool immediately.
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en español : http://asp.net.do/foros/
>>> ======================================
>>>
>>> "Brandon" wrote in message
>>> news:uQwjv4JxHHA.2432@TK2MSFTNGP04.phx.gbl...
>>>> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP
>>>> is not enabled by default. Can someone please
>>>> clue me in on how to enable support for Active Server Pages in IIS 7?
>>>>
>>>> --
>>>> Brandon
>>>> http://www.presentationsdirect.com
>>>>
>>>
>>>
>>>
>>
>
>

Re: Enabling Active Server Pages in IIS 7

am 13.07.2007 15:46:54 von brandon

I am able to see in IIS where ASP Classic has been installed . . . so there
must be something else I need to do. What AppPool should the ASP site be
set to run on?

--
Brandon


"Juan T. Llibre" wrote in message
news:u%23MnJtMxHHA.1208@TK2MSFTNGP05.phx.gbl...
> If you didn't install ASP via
> Control Panel/Programs/Windows Features/Internet Information Services/Www
> services/Application Development Features/ASP
>
> You can also install it manually by opening a command window and typing
> this :
>
> start /w pkgmgr /iu:IIS-ASP
>
> That assumes you have all the other IIS components installed.
>
> If you want to make double-sure they are all installed,
> copy the following into a text file, paste it into a command window...and
> run it :
>
> start /w pkgmgr
> /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;I IS-StaticContent;IIS-DefaultDocument;
> IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-Ap plicationDevelopment;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS -ISAPIFilter;
> IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogg ing;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;
> IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuth entication;IIS-WindowsAuthentication;IIS-DigestAuthenticatio n;
> IIS-ClientCertificateMappingAuthentication;IIS-IISCertificat eMappingAuthentication;IIS-URLAuthorization;IIS-RequestFilte ring;
> IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS -HttpCompressionDynamic;IIS-WebServerManagementTools;
> IIS-ManagementScriptingTools;IIS-IIS6ManagementCompatibility ;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;
> IIS-FTPPublishingService;IIS-FTPServer;WAS-WindowsActivation Service;WAS-ProcessModel
>
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en español : http://asp.net.do/foros/
> ======================================
> "Juan T. Llibre" wrote in message
> news:O$5R3oMxHHA.5068@TK2MSFTNGP05.phx.gbl...
>> Can you check to see if the file :
>> Drive:\Windows\System32\inetsrv\asp.dll exists ?
>>
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en español : http://asp.net.do/foros/
>> ======================================
>> "Brandon" wrote in message
>> news:OUyV50KxHHA.4464@TK2MSFTNGP02.phx.gbl...
>>> Thanks for the instructions. I installed the ASP features for IIS and
>>> setup the AppPool. I assume I should assign this AppPool to the ASP
>>> site? I tried that, but I'm still getting a generic error saying, "An
>>> error occurred on the server when processing the URL. Please contact the
>>> system administrator."
>>>
>>> --
>>> Brandon
>>>
>>>
>>> "Juan T. Llibre" wrote in message
>>> news:Owy$2TKxHHA.1212@TK2MSFTNGP05.phx.gbl...
>>>> Make sure IIS is installed with all the ASP features.
>>>> Once that's done, reboot.
>>>>
>>>> Now, go into the IIS Manager and create a new Application Pool.
>>>>
>>>> Name it whatever, but choose No Managed Code in the first drop down
>>>> and for Pipeline, choose Classic and start App Pool immediately.
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, asp.net MVP
>>>> asp.net faq : http://asp.net.do/faq/
>>>> foros de asp.net, en español : http://asp.net.do/foros/
>>>> ======================================
>>>>
>>>> "Brandon" wrote in message
>>>> news:uQwjv4JxHHA.2432@TK2MSFTNGP04.phx.gbl...
>>>>> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP
>>>>> is not enabled by default. Can someone please
>>>>> clue me in on how to enable support for Active Server Pages in IIS 7?
>>>>>
>>>>> --
>>>>> Brandon
>>>>> http://www.presentationsdirect.com
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>
>

Re: Enabling Active Server Pages in IIS 7

am 13.07.2007 16:09:10 von brandon

I do have "Show Friendly HTTP Errors" turned off . . . but I still get that
generic error. And I'm making the request from the same machine that IIS is
on. And I'm not seeing anything in the log files . . . so I guess I'm
stuck.

--
Brandon


"David Wang" wrote in message
news:1184287620.630780.235850@m3g2000hsh.googlegroups.com...
> You will need to retrieve the actual error response/code. This can be
> found in:
> 1. IIS Log file entry for the request (have to wait a minute for the
> log buffer to flush to disk) at %systemdrive%\inetpub\logs\LogFiles
> \W3SVC1\*.log
> 2. Turn off IE's "Show Friendly HTTP Errors" option to report the
> actual error response
> 3. If you make the request to IIS7 from another machine, by default
> the actual error response is masked. You will need to configure IIS7
> to not do that.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
>
>
>
> On Jul 12, 11:01 am, "Brandon"
> wrote:
>> I did go back and install ASP support, but I'm still getting an error
>> saying, "An error occurred on the server when processing the URL. Please
>> contact the system administrator."
>> --
>> Brandon
>>
>> "David Wang" wrote in message
>>
>> news:1184262235.984164.119450@g4g2000hsf.googlegroups.com...
>>
>>
>>
>> > On Jul 12, 9:03 am, "Brandon"
>> > wrote:
>> >> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP
>> >> is
>> >> not
>> >> enabled by default. Can someone please clue me in on how to enable
>> >> support
>> >> for Active Server Pages in IIS 7?
>>
>> >> --
>> >> Brandonhttp://www.presentationsdirect.com
>>
>> > IIS7 is not installed by default, and once installed the defaults only
>> > supports static files (no ISAPI, no CGI, no ASP, no ASP.Net, no PHP,
>> > no Perl, etc).
>>
>> > Go back to "Install Windows Features" where you installed IIS7 from,
>> > drill down into the [+] list for Application Development under the Web
>> > Server node, and select ASP.
>>
>> > //David
>> >http://w3-4u.blogspot.com
>> >http://blogs.msdn.com/David.Wang
>> > //- Hide quoted text -
>>
>> - Show quoted text -
>
>

Re: Enabling Active Server Pages in IIS 7

am 13.07.2007 21:58:44 von nomailreplies

Could you try re-registering asp.dll ?

Open a command window to that directory, make sure that
\WINDOWS\system32 is in your path and issue this command:

regsvr32 asp.dll

Then, try to run a sample asp file.



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Brandon" wrote in message news:O5CFnQVxHHA.3952@TK2MSFTNGP06.phx.gbl...
> That file does exist.
>
> --
> Brandon
>
>
> "Juan T. Llibre" wrote in message news:O$5R3oMxHHA.5068@TK2MSFTNGP05.phx.gbl...
>> Can you check to see if the file : Drive:\Windows\System32\inetsrv\asp.dll exists ?
>>
>>
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en español : http://asp.net.do/foros/
>> ======================================
>> "Brandon" wrote in message news:OUyV50KxHHA.4464@TK2MSFTNGP02.phx.gbl...
>>> Thanks for the instructions. I installed the ASP features for IIS and setup the AppPool. I assume I should assign
>>> this AppPool to the ASP site? I tried that, but I'm still getting a generic error saying, "An error occurred on the
>>> server when processing the URL. Please contact the system administrator."
>>>
>>> --
>>> Brandon
>>>
>>>
>>> "Juan T. Llibre" wrote in message news:Owy$2TKxHHA.1212@TK2MSFTNGP05.phx.gbl...
>>>> Make sure IIS is installed with all the ASP features.
>>>> Once that's done, reboot.
>>>>
>>>> Now, go into the IIS Manager and create a new Application Pool.
>>>>
>>>> Name it whatever, but choose No Managed Code in the first drop down
>>>> and for Pipeline, choose Classic and start App Pool immediately.
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, asp.net MVP
>>>> asp.net faq : http://asp.net.do/faq/
>>>> foros de asp.net, en español : http://asp.net.do/foros/
>>>> ======================================
>>>>
>>>> "Brandon" wrote in message news:uQwjv4JxHHA.2432@TK2MSFTNGP04.phx.gbl...
>>>>> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP is not enabled by default. Can someone
>>>>> please
>>>>> clue me in on how to enable support for Active Server Pages in IIS 7?
>>>>>
>>>>> --
>>>>> Brandon
>>>>> http://www.presentationsdirect.com
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>

Re: Enabling Active Server Pages in IIS 7

am 13.07.2007 22:49:14 von brandon

My asp.dll file is not located in that directory. Instead it's found at
C:\Windows\System32\inetsrv. Is this ok, or should I copy it to the
System32 dir?

--
Brandon


"Juan T. Llibre" wrote in message
news:eCqV%23gYxHHA.2432@TK2MSFTNGP04.phx.gbl...
> Could you try re-registering asp.dll ?
>
> Open a command window to that directory, make sure that
> \WINDOWS\system32 is in your path and issue this command:
>
> regsvr32 asp.dll
>
> Then, try to run a sample asp file.
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en español : http://asp.net.do/foros/
> ======================================
> "Brandon" wrote in message
> news:O5CFnQVxHHA.3952@TK2MSFTNGP06.phx.gbl...
>> That file does exist.
>>
>> --
>> Brandon
>>
>>
>> "Juan T. Llibre" wrote in message
>> news:O$5R3oMxHHA.5068@TK2MSFTNGP05.phx.gbl...
>>> Can you check to see if the file :
>>> Drive:\Windows\System32\inetsrv\asp.dll exists ?
>>>
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en español : http://asp.net.do/foros/
>>> ======================================
>>> "Brandon" wrote in message
>>> news:OUyV50KxHHA.4464@TK2MSFTNGP02.phx.gbl...
>>>> Thanks for the instructions. I installed the ASP features for IIS and
>>>> setup the AppPool. I assume I should assign this AppPool to the ASP
>>>> site? I tried that, but I'm still getting a generic error saying, "An
>>>> error occurred on the server when processing the URL. Please contact
>>>> the system administrator."
>>>>
>>>> --
>>>> Brandon
>>>>
>>>>
>>>> "Juan T. Llibre" wrote in message
>>>> news:Owy$2TKxHHA.1212@TK2MSFTNGP05.phx.gbl...
>>>>> Make sure IIS is installed with all the ASP features.
>>>>> Once that's done, reboot.
>>>>>
>>>>> Now, go into the IIS Manager and create a new Application Pool.
>>>>>
>>>>> Name it whatever, but choose No Managed Code in the first drop down
>>>>> and for Pipeline, choose Classic and start App Pool immediately.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, asp.net MVP
>>>>> asp.net faq : http://asp.net.do/faq/
>>>>> foros de asp.net, en español : http://asp.net.do/foros/
>>>>> ======================================
>>>>>
>>>>> "Brandon" wrote in message
>>>>> news:uQwjv4JxHHA.2432@TK2MSFTNGP04.phx.gbl...
>>>>>> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP
>>>>>> is not enabled by default. Can someone please
>>>>>> clue me in on how to enable support for Active Server Pages in IIS 7?
>>>>>>
>>>>>> --
>>>>>> Brandon
>>>>>> http://www.presentationsdirect.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
>

Re: Enabling Active Server Pages in IIS 7

am 13.07.2007 23:02:30 von brandon

BTW, I re-registered the dll in the inetsrv directory and that didn't fix
it.

--
Brandon


"Brandon" wrote in message
news:uHA3G9YxHHA.4916@TK2MSFTNGP04.phx.gbl...
> My asp.dll file is not located in that directory. Instead it's found at
> C:\Windows\System32\inetsrv. Is this ok, or should I copy it to the
> System32 dir?
>
> --
> Brandon
>
>
> "Juan T. Llibre" wrote in message
> news:eCqV%23gYxHHA.2432@TK2MSFTNGP04.phx.gbl...
>> Could you try re-registering asp.dll ?
>>
>> Open a command window to that directory, make sure that
>> \WINDOWS\system32 is in your path and issue this command:
>>
>> regsvr32 asp.dll
>>
>> Then, try to run a sample asp file.
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en español : http://asp.net.do/foros/
>> ======================================
>> "Brandon" wrote in message
>> news:O5CFnQVxHHA.3952@TK2MSFTNGP06.phx.gbl...
>>> That file does exist.
>>>
>>> --
>>> Brandon
>>>
>>>
>>> "Juan T. Llibre" wrote in message
>>> news:O$5R3oMxHHA.5068@TK2MSFTNGP05.phx.gbl...
>>>> Can you check to see if the file :
>>>> Drive:\Windows\System32\inetsrv\asp.dll exists ?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, asp.net MVP
>>>> asp.net faq : http://asp.net.do/faq/
>>>> foros de asp.net, en español : http://asp.net.do/foros/
>>>> ======================================
>>>> "Brandon" wrote in message
>>>> news:OUyV50KxHHA.4464@TK2MSFTNGP02.phx.gbl...
>>>>> Thanks for the instructions. I installed the ASP features for IIS and
>>>>> setup the AppPool. I assume I should assign this AppPool to the ASP
>>>>> site? I tried that, but I'm still getting a generic error saying, "An
>>>>> error occurred on the server when processing the URL. Please contact
>>>>> the system administrator."
>>>>>
>>>>> --
>>>>> Brandon
>>>>>
>>>>>
>>>>> "Juan T. Llibre" wrote in message
>>>>> news:Owy$2TKxHHA.1212@TK2MSFTNGP05.phx.gbl...
>>>>>> Make sure IIS is installed with all the ASP features.
>>>>>> Once that's done, reboot.
>>>>>>
>>>>>> Now, go into the IIS Manager and create a new Application Pool.
>>>>>>
>>>>>> Name it whatever, but choose No Managed Code in the first drop down
>>>>>> and for Pipeline, choose Classic and start App Pool immediately.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Juan T. Llibre, asp.net MVP
>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>> foros de asp.net, en español : http://asp.net.do/foros/
>>>>>> ======================================
>>>>>>
>>>>>> "Brandon" wrote in message
>>>>>> news:uQwjv4JxHHA.2432@TK2MSFTNGP04.phx.gbl...
>>>>>>> I'm running IIS 7 on Vista as a test machine for a ASP site. But
>>>>>>> ASP is not enabled by default. Can someone please
>>>>>>> clue me in on how to enable support for Active Server Pages in IIS
>>>>>>> 7?
>>>>>>>
>>>>>>> --
>>>>>>> Brandon
>>>>>>> http://www.presentationsdirect.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>

Re: Enabling Active Server Pages in IIS 7

am 14.07.2007 02:19:48 von nomailreplies

re:
!> My asp.dll file is not located in that directory. Instead it's found at C:\Windows\System32\inetsrv.

I know. It's regsvr32 which is in \WINDOWS\system32.
You need a path to it if you want to use it.

re:
!> Is this ok, or should I copy it to the System32 dir?

No! It should stay in the \WINDOWS\system32\inetsrv folder.



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Brandon" wrote in message news:uHA3G9YxHHA.4916@TK2MSFTNGP04.phx.gbl...
> My asp.dll file is not located in that directory. Instead it's found at C:\Windows\System32\inetsrv. Is this ok, or
> should I copy it to the System32 dir?
>
> --
> Brandon
>
>
> "Juan T. Llibre" wrote in message news:eCqV%23gYxHHA.2432@TK2MSFTNGP04.phx.gbl...
>> Could you try re-registering asp.dll ?
>>
>> Open a command window to that directory, make sure that
>> \WINDOWS\system32 is in your path and issue this command:
>>
>> regsvr32 asp.dll
>>
>> Then, try to run a sample asp file.
>>
>>
>>
>> Juan T. Llibre, asp.net MVP
>> asp.net faq : http://asp.net.do/faq/
>> foros de asp.net, en español : http://asp.net.do/foros/
>> ======================================
>> "Brandon" wrote in message news:O5CFnQVxHHA.3952@TK2MSFTNGP06.phx.gbl...
>>> That file does exist.
>>>
>>> --
>>> Brandon
>>>
>>>
>>> "Juan T. Llibre" wrote in message news:O$5R3oMxHHA.5068@TK2MSFTNGP05.phx.gbl...
>>>> Can you check to see if the file : Drive:\Windows\System32\inetsrv\asp.dll exists ?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, asp.net MVP
>>>> asp.net faq : http://asp.net.do/faq/
>>>> foros de asp.net, en español : http://asp.net.do/foros/
>>>> ======================================
>>>> "Brandon" wrote in message news:OUyV50KxHHA.4464@TK2MSFTNGP02.phx.gbl...
>>>>> Thanks for the instructions. I installed the ASP features for IIS and setup the AppPool. I assume I should
>>>>> assign this AppPool to the ASP site? I tried that, but I'm still getting a generic error saying, "An error
>>>>> occurred on the server when processing the URL. Please contact the system administrator."
>>>>>
>>>>> --
>>>>> Brandon
>>>>>
>>>>>
>>>>> "Juan T. Llibre" wrote in message news:Owy$2TKxHHA.1212@TK2MSFTNGP05.phx.gbl...
>>>>>> Make sure IIS is installed with all the ASP features.
>>>>>> Once that's done, reboot.
>>>>>>
>>>>>> Now, go into the IIS Manager and create a new Application Pool.
>>>>>>
>>>>>> Name it whatever, but choose No Managed Code in the first drop down
>>>>>> and for Pipeline, choose Classic and start App Pool immediately.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Juan T. Llibre, asp.net MVP
>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>> foros de asp.net, en español : http://asp.net.do/foros/
>>>>>> ======================================
>>>>>>
>>>>>> "Brandon" wrote in message news:uQwjv4JxHHA.2432@TK2MSFTNGP04.phx.gbl...
>>>>>>> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP is not enabled by default. Can someone
>>>>>>> please
>>>>>>> clue me in on how to enable support for Active Server Pages in IIS 7?
>>>>>>>
>>>>>>> --
>>>>>>> Brandon
>>>>>>> http://www.presentationsdirect.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>

Re: Enabling Active Server Pages in IIS 7

am 14.07.2007 02:22:07 von nomailreplies

Well, I'm fresh out of suggestions.
It looks like you have a bad install.

If I were you, I'd uninstall ASP, nuke the inetsrv folder, and reinstall ASP afterwards.
That'll give you a chance to get a good install.

You may want to seek alternate advice before you do that.

I wish I had better news for you.



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Brandon" wrote in message news:OgDfhEZxHHA.2180@TK2MSFTNGP06.phx.gbl...
> BTW, I re-registered the dll in the inetsrv directory and that didn't fix it.
>
> --
> Brandon
>
>
> "Brandon" wrote in message news:uHA3G9YxHHA.4916@TK2MSFTNGP04.phx.gbl...
>> My asp.dll file is not located in that directory. Instead it's found at C:\Windows\System32\inetsrv. Is this ok, or
>> should I copy it to the System32 dir?
>>
>> --
>> Brandon
>>
>>
>> "Juan T. Llibre" wrote in message news:eCqV%23gYxHHA.2432@TK2MSFTNGP04.phx.gbl...
>>> Could you try re-registering asp.dll ?
>>>
>>> Open a command window to that directory, make sure that
>>> \WINDOWS\system32 is in your path and issue this command:
>>>
>>> regsvr32 asp.dll
>>>
>>> Then, try to run a sample asp file.
>>>
>>>
>>>
>>> Juan T. Llibre, asp.net MVP
>>> asp.net faq : http://asp.net.do/faq/
>>> foros de asp.net, en español : http://asp.net.do/foros/
>>> ======================================
>>> "Brandon" wrote in message news:O5CFnQVxHHA.3952@TK2MSFTNGP06.phx.gbl...
>>>> That file does exist.
>>>>
>>>> --
>>>> Brandon
>>>>
>>>>
>>>> "Juan T. Llibre" wrote in message news:O$5R3oMxHHA.5068@TK2MSFTNGP05.phx.gbl...
>>>>> Can you check to see if the file : Drive:\Windows\System32\inetsrv\asp.dll exists ?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, asp.net MVP
>>>>> asp.net faq : http://asp.net.do/faq/
>>>>> foros de asp.net, en español : http://asp.net.do/foros/
>>>>> ======================================
>>>>> "Brandon" wrote in message news:OUyV50KxHHA.4464@TK2MSFTNGP02.phx.gbl...
>>>>>> Thanks for the instructions. I installed the ASP features for IIS and setup the AppPool. I assume I should
>>>>>> assign this AppPool to the ASP site? I tried that, but I'm still getting a generic error saying, "An error
>>>>>> occurred on the server when processing the URL. Please contact the system administrator."
>>>>>>
>>>>>> --
>>>>>> Brandon
>>>>>>
>>>>>>
>>>>>> "Juan T. Llibre" wrote in message news:Owy$2TKxHHA.1212@TK2MSFTNGP05.phx.gbl...
>>>>>>> Make sure IIS is installed with all the ASP features.
>>>>>>> Once that's done, reboot.
>>>>>>>
>>>>>>> Now, go into the IIS Manager and create a new Application Pool.
>>>>>>>
>>>>>>> Name it whatever, but choose No Managed Code in the first drop down
>>>>>>> and for Pipeline, choose Classic and start App Pool immediately.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Juan T. Llibre, asp.net MVP
>>>>>>> asp.net faq : http://asp.net.do/faq/
>>>>>>> foros de asp.net, en español : http://asp.net.do/foros/
>>>>>>> ======================================
>>>>>>>
>>>>>>> "Brandon" wrote in message news:uQwjv4JxHHA.2432@TK2MSFTNGP04.phx.gbl...
>>>>>>>> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP is not enabled by default. Can someone
>>>>>>>> please
>>>>>>>> clue me in on how to enable support for Active Server Pages in IIS 7?
>>>>>>>>
>>>>>>>> --
>>>>>>>> Brandon
>>>>>>>> http://www.presentationsdirect.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>

Re: Enabling Active Server Pages in IIS 7

am 14.07.2007 12:14:39 von David Wang

If you do not see requests in the IIS log file corresponding to your
issue, then are you sure your requests are actually coming to THIS
IIS7 web server and that the problem is with this IIS7 server? If it's
not even getting to the right server, then no matter what changes you
make to this IIS7 server, it won't appear to make a difference. First,
prove that you see errors with ASP because it is failing on THIS IIS7
webserver.

Basically, IIS does not send back any error response that looks like:
"An error occurred on the server when processing the URL. Please
contact the system administrator"

So, I suspect you are not having issues with ASP pages on IIS7.

There is nothing special to have ASP to work on IIS7 other than to
install its component. It basically installs asp.dll, adds a .asp
handler, and enables a isapiCgiRestriction for asp.dll, at which
point .asp pages will get processed as ASP.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//




On Jul 13, 7:09 am, "Brandon"
wrote:
> I do have "Show Friendly HTTP Errors" turned off . . . but I still get that
> generic error. And I'm making the request from the same machine that IIS is
> on. And I'm not seeing anything in the log files . . . so I guess I'm
> stuck.
>
> --
> Brandon
>
> "David Wang" wrote in message
>
> news:1184287620.630780.235850@m3g2000hsh.googlegroups.com...
>
>
>
> > You will need to retrieve the actual error response/code. This can be
> > found in:
> > 1. IIS Log file entry for the request (have to wait a minute for the
> > log buffer to flush to disk) at %systemdrive%\inetpub\logs\LogFiles
> > \W3SVC1\*.log
> > 2. Turn off IE's "Show Friendly HTTP Errors" option to report the
> > actual error response
> > 3. If you make the request to IIS7 from another machine, by default
> > the actual error response is masked. You will need to configure IIS7
> > to not do that.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //
>
> > On Jul 12, 11:01 am, "Brandon"
> > wrote:
> >> I did go back and install ASP support, but I'm still getting an error
> >> saying, "An error occurred on the server when processing the URL. Please
> >> contact the system administrator."
> >> --
> >> Brandon
>
> >> "David Wang" wrote in message
>
> >>news:1184262235.984164.119450@g4g2000hsf.googlegroups.com. ..
>
> >> > On Jul 12, 9:03 am, "Brandon"
> >> > wrote:
> >> >> I'm running IIS 7 on Vista as a test machine for a ASP site. But ASP
> >> >> is
> >> >> not
> >> >> enabled by default. Can someone please clue me in on how to enable
> >> >> support
> >> >> for Active Server Pages in IIS 7?
>
> >> >> --
> >> >> Brandonhttp://www.presentationsdirect.com
>
> >> > IIS7 is not installed by default, and once installed the defaults only
> >> > supports static files (no ISAPI, no CGI, no ASP, no ASP.Net, no PHP,
> >> > no Perl, etc).
>
> >> > Go back to "Install Windows Features" where you installed IIS7 from,
> >> > drill down into the [+] list for Application Development under the Web
> >> > Server node, and select ASP.
>
> >> > //David
> >> >http://w3-4u.blogspot.com
> >> >http://blogs.msdn.com/David.Wang
> >> > //- Hide quoted text -
>
> >> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

Re: Enabling Active Server Pages in IIS 7

am 21.08.2007 22:37:03 von LC

On 12 Jul, 18:51, "Brandon"
wrote:
> Thanks for the instructions. I installed the ASP features forIISand setup
> the AppPool. I assume I should assign this AppPool to the ASP site? I
> tried that, but I'm still getting a generic error saying, "An error occur=
red
> on the server when processing the URL. Please contact the system
> administrator."
>
> --
> Brandon
>
> "Juan T. Llibre" wrote in messagenews:Owy$2TK=
xHHA.1212@TK2MSFTNGP05.phx.gbl...
>
>
>
> > Make sureIISis installed with all the ASP features.
> > Once that's done, reboot.
>
> > Now, go into theIISManager and create a new Application Pool.
>
> > Name it whatever, but choose No Managed Code in the first drop down
> > and for Pipeline, choose Classic and start App Pool immediately.
>
> > Juan T. Llibre, asp.net MVP
> > asp.net faq :http://asp.net.do/faq/
> > foros de asp.net, en espa=F1ol :http://asp.net.do/foros/
> > ==================== ===3D=
===============3D
>
> > "Brandon" wrote in message
> >news:uQwjv4JxHHA.2432@TK2MSFTNGP04.phx.gbl...
> >> I'm runningIIS7 onVistaas a test machine for a ASP site. But ASP is
> >> not enabled by default. Can someone please
> >> clue me in on how to enable support for Active Server Pages inIIS7?
>
> >> --
> >> Brandon
> >>http://www.presentationsdirect.com- Hide quoted text -
>
> - Show quoted text -

I had the same thing and after checking in the logfile (where David
Wang suggested at %systemdrive%\inetpub\logs\LogFiles
\W3SVC1\*.log which for me was C:\inetpub\logs\LogFiles
\W3SVC1\u_ex070821.log) it showed I had not enabled parent paths for
an ASP site that required them.

...blah ASP_0131|Disallowed_Parent_Path ...etc.

After allowing parent paths, I got a 8004005 error in the log:
...blah 80004005|Unspecified_error 80 ...etc.

Which was down to code using an Access database, see:
http://support.microsoft.com/kb/926939/en-us

I didn't actually need the access DB so I removed it and the site
works :-)

HTH