Home > microsoft vbscript > microsoft vbscript runtime error '800a01fa

Microsoft Vbscript Runtime Error '800a01fa

Web Platform Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 7 and Above Classic ASP 'Microsoft VBScript runtime error '800a01fa' Classic asp in IIS 7 'Microsoft VBScript runtime error '800a01fa' Classic asp in IIS 7 [Answered]RSS 4 replies Last post May 06, 2012 04:31 AM by Gazcon ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Advanced Search Reply tajkhan 3 Posts 'Microsoft VBScript runtime error '800a01fa' Classic asp in IIS 7 Mar 26, 2012 06:55 AM|tajkhan|LINK

Hi All I had developed classic asp page with my asp.net application. When I am trying to run asp page it is giving me this error: Microsoft VBScript runtime error '800a01fa' Class not defined: 'PostLib' and .asp code is <% 'Response.Write "test" Dim oPostLib Set oPostLib = New PostLib Dim oMerchant, oBTA, oSTA ,oReserveData Dim oPGResp 'Set oCI = New CardInfo 'Set oMPI = New MPIData Set oMerchant = New Merchant Set oBTA = New BillToAddress Set oSTA = New ShipToAddress Set oReserveData = New PGReserveData Set oPGResp=oPostLib.postNBSSL(oMerchant,oBTA,oSTA,oReserveData) If oPGResp.getRedirectionUrl() <> "" Then strResponseURL=oPGResp.getRedirectionUrl() Response.Redirect strResponseURL else Response.Write "Response code:" & oPgResp.getRespCode() & "
" Response.Write "Response message:" & oPgResp.getRespMessage() & "
" Response.Write "Merchant TxnID:" & oPgResp.getTxnID() & "
" Response.Write "Epg Transaction ID:" & oPgResp.getePGTxnID() & "
" Response.Write "Issuer Ref. No.:" & oPgResp.getRRN() & "
" Response.Write "AuthIdCode:" & oPgResp.getAuthIdCode() & "
" Response.Write "CV Response Code " & oPgResp.getCVRespCode() & "
" End If %> Any Idea what is going wrong? Thanks Ali Asgar Reply lextm 6639 Posts MVP Re: 'Microsoft VBScript runtime error '800a01fa' Classic asp in IIS 7 Mar 26, 2012 09:06 AM|lextm|LINK The error message says it all. When there is no definition for PostLib, it is impossible to create oPostLib using New PostLib Lex Li http://lextudio.com --------------------------- This posting is provided "AS IS" with no warranties, and confers no rights. Reply tajkhan 3 Posts Re: 'Microsoft VBScript runtime error '800a01fa' Classic asp in IIS 7 Mar 27, 2012 01:51 AM

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Class not defined error when mixing scripting languages up vote 0 https://forums.iis.net/t/next/1188697 down vote favorite The following code: <% Response.Write("VB comes second!") 'page1() Dim p Set p = New Page %> Gives the error: Error Type: Microsoft VBScript runtime (0x800A01FA) Class not defined: 'Page' /website/index.asp, http://stackoverflow.com/questions/9290399/class-not-defined-error-when-mixing-scripting-languages line 6 But why? If I call the function page1() from within the VBScript, then it works as expected. Thanks, Barry EDIT 1: This: <% Dim p Set p = server.createobject("Page") %> Gives the error: Invalid class string If I use: Set p = New Page instead, then I get: Class not defined: 'Page' asp-classic vbscript share|improve this question edited Feb 16 '12 at 9:35 asked Feb 15 '12 at 9:00 Baz 1,327945120 add a comment| 5 Answers 5 active oldest votes up vote 1 down vote You are hitting a asp engine limitation right there. Code in

 

© Copyright 2019|winbytes.org.