Subject: RE: [xsl] Fwd: XSLISAPI filter for IIS - "..installtest.pasp" error From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Fri, 22 Jun 2001 10:54:06 +0100 |
**Darryl, **I didn't have it installed **I have now **It looks like the error is comming from here var requestPath = Request.ServerVariables("HTTP_SSXSLSRCFILE:"); var preprocessor = Application("ASPPreprocessor"); var processedFile; var errDescrip = null; var errCode = null; if (preprocessor != null) { try { processedFile = preprocessor.Process(requestPath); Server.Transfer(processedFile); } catch (exception) { errDescrip = exception.description; errCode = "404 Not Found"; } **Server.Transfer is only available on iis5 so it errors **From the docs Server.Transfer acts as an efficient replacement for Response.Redirect. Response.Redirect tells the browser to request a different page. Since a redirect forces a new page request, the browser has to make two round trips to the Web server, and the Web server has to handle an extra request. IIS 5.0 introduced a new function, Server.Transfer, which transfers execution to a different ASP page on the server. This avoids the extra round trip, resulting in better overall system performance, as well as a better user experience. **The reason for this is you haven't followed the installation instructions If you want to dynamically generate XML on NT 4, you must perform the following steps: Open the NT4 folder in the distribution. Copy the RedirectorPASP.asp file from the NT4 folder and replace all copies of the Windows 2000 RedirectorPASP.asp files (including those in the Samples directories). A copy of the correct RedirectorPASP.asp file must reside in every directory that will contain .pasp files. In the IIS Admin utility, perform the following steps: Bring up the properties page of Default Web Site or the corresponding Virtual Directory. Go to the Home Directory tab, click the Configuration button. Go to the App Options tab, and make sure that Enable buffering is checked. **The NT4 version is var requestPath = Request.ServerVariables("HTTP_SSXSLSRCFILE:"); var preprocessor = Application("ASPPreprocessor"); var processedFile; var errDescrip = null; var errCode = null; if (preprocessor != null) { try { var queryString = Request.ServerVariables("Query_String"); processedFile = preprocessor.Process(requestPath); if (queryString != "") { processedFile = processedFile + "?" + queryString; } Response.Redirect(processedFile); } catch (exception) { errDescrip = exception.description; errCode = "404 Not Found"; } **Using the Response.Redirect(processedFile); instead of the Response.Transfer **Ciao Chris **XML/XSL Portal **http://www.bayes.co.uk/xml >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of >gpk17@xxxxxxxxxxxxxx >Sent: 22 June 2001 09:43 >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >Subject: Re: [xsl] Fwd: XSLISAPI filter for IIS - "..installtest.pasp" >error > > > >After trying all the major search engines and MS, I cannot find any >troubleshooting information for the MS XSLISAPI filter for IIS. > >Does anyone use this filter in a production environment? > >~Darryl > > >> Date: Thu, 21 Jun 2001 12:29:50 +0000 >> From: gpk17@xxxxxxxxxxxxxx >> Subject: [xsl] Fwd: XSLISAPI filter for IIS - "..installtest.pasp" error >> >> I am cannot get the XSLISAPI filter to work on my NT4 SP6a box running >> MMC 1.0 >> with IIS: >> >> - -- xslisapi.dll was registered successfully; >> - -- The filter is setup in IIS (I have a green arrow on the isapi >> filters >> property page); >> - -- The virtual directory is correctly configured (I can see the files >> from the >> distribution, access permission is "read" and app setting is "Script". >> >> When I try to verify the from the same NT4 box using IE5.5 (with version >> 3 of >> MSXML2 in "Replace" mode) as MS suggests, I get the following: >> >> At: >> http://localhost/xslisapi/samples/install/installtest.xml >> I get, "Your XSL ISAPI 2 installation is successfully processing xml >> files" >> >> But at: >> http://localhost/xslisapi/samples/install/installtest.pasp >> I get the following error: >> "XSL ISAPI Error >> Description: Object doesn't support this property or method >> URL: /xslisapi/samples/install/installtest.pasp >> Status Code: 404 Not Found" >> >> Any ideas what the problem is? >> TIA >> ~Darryl Lucas > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Fwd: XSLISAPI filter for , gpk17 | Thread | [no subject], guru prasad |
[xsl] HOWTO : Lookup tables, Benoit_Aumars | Date | [xsl] Re: creating mutiple columns, Dimitre Novatchev |
Month |