Microsoft Vbscript Runtime Error 0x800a01a8
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 Error Type: Microsoft VBScript runtime (0x800A01A8) Object required in asp up vote 0 down vote favorite I m new asp.. And tried to access with code But it shows error like this., Error Type: Microsoft VBScript runtime (0x800A01A8) Object required: '' on line 163 The error showed because of this lines, <% do while not getgroups2.eof pkOrgGroups2=getgroups2("pkOrgGroups") ogGroup2=getgroups2("ogGroup") ogLogo2 =getgroups2("ogLogo") %> May i know for which reason of my code it shows like this? Thanks in advance. vbscript asp-classic share|improve this question edited May 30 '15 at 7:14 asked May 30 '15 at 6:35 sandhu 5211 Pretty sure that's classic ASP, not ASP.NET. They are two different things.... –Tim May 30 '15 at 6:39 @Tim: i edited my post.. –sandhu May 30 '15 at 7:14 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted There are two sure ways to get an "Object required" error: Trying to use Set when assigning a non-object: >> Set x = "non-object/string" >> Error Number: 424 Error Description: Object required Trying to call a method on a non-object: >> WScript.Echo TypeName(x) >> If x.eof Then x = "whatever" >> Empty Error Number: 424 Error Description: Object required or: >> x = "nix" >> WScript.Echo TypeN
New? Today's Posts FAQ Rules Guidelines Search Advanced Search Forum :: Server side development ASP Microsoft VBScript runtime (0x800A01A8) Object required: "" ERROR If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Enjoy an ad free experience by logging in. Not a member yet? Register. Results 1 to 12 of 12 Thread: Microsoft VBScript runtime (0x800A01A8) Object required: "" ERROR Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Rate This Thread Current Rating Excellent Good Average Bad Terrible 01-26-2004,08:28 AM #1 yapjiwen View http://stackoverflow.com/questions/30543119/error-type-microsoft-vbscript-runtime-0x800a01a8-object-required-in-asp Profile View Forum Posts New Coder Join Date Jan 2004 Posts 35 Thanks 0 Thanked 0 Times in 0 Posts Microsoft VBScript runtime (0x800A01A8) Object required: "" ERROR Hi, Anybody knows why whenever I submit my form and insert my data into Access i get this error? Microsoft VBScript runtime (0x800A01A8) Object required: '' The line that VBScript has detected an error (which im not quite sure there is) is line 290: conn.Execute "insert into CustomerParticularsDB(name,division,projectName, " _ ... There shouldnt be a http://www.codingforums.com/asp/32181-microsoft-vbscript-runtime-0x800a01a8-object-required-error.html problem with my codes as they have been tested before...This error came out just after I have added a header and left nav bar.... hope someone is able to help THanks alot. Reply With Quote 01-26-2004,08:51 AM #2 glenngv View Profile View Forum Posts Supreme Master coder! Join Date Jun 2002 Location Philippines Posts 11,075 Thanks 0 Thanked 256 Times in 252 Posts It seems that the connection object conn is not set. Can we see some relevant codes? Glenn vBulletin Mods That Rock! Reply With Quote 01-27-2004,01:35 AM #3 whammy View Profile View Forum Posts Senior Coder Join Date Jun 2002 Location 41° 8' 52" N -95° 53' 31" W Posts 3,660 Thanks 0 Thanked 0 Times in 0 Posts I agree with GlennGV... that definitely sounds like the problem. But we need to see more code to see what you're doing and fix it. Former ASP Forum Moderator - I'm back! If you can teach yourself how to learn, you can learn anything. ;) Reply With Quote 01-27-2004,02:41 AM #4 yapjiwen View Profile View Forum Posts New Coder Join Date Jan 2004 Posts 35 Thanks 0 Thanked 0 Times in 0 Posts Thanks pple...the problem was with the conn...Thanks for the help! Reply With Quote 06-08-2006,05:06 PM #5 amazon View Profile View Forum Posts New to the CF scene Join Date Jun 2006 Posts 1 Thanks 0 Thanked 0 Times in 0 Posts help me i get the same error can someone help me t
Unanswered Topics Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Databases VBScript runtime (0x800A01A8) Object required User Name Remember http://p2p.wrox.com/classic-asp-databases/10664-vbscript-runtime-0x800a01a8-object-required.html Me? Password Reminder Password Register Register | FAQ | Members List | Calendar https://bytes.com/topic/asp-classic/answers/671895-asp-error-microsoft-vbscript-runtime-0x800a01a8-object-required | Today's Posts | Search Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or microsoft vbscript 2.0. Search Forums Show Threads Show Posts Advanced Search Find All Thanked Posts Go to Page... Welcome to the p2p.wrox.com Forums. You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any microsoft vbscript runtime forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free . Thread Tools Display Modes #1 (permalink) March 17th, 2004, 03:02 PM SeanW Authorized User Join Date: Mar 2004 Location: , , . Posts: 16 Thanks: 0 Thanked 0 Times in 0 Posts VBScript runtime (0x800A01A8) Object required Evening ( morning. ahh shucks... Hi. Learning ASP but been VB programmer and I think some habits die hard... can someone please explain the error of my ways.. I want to have a connection opened in a function or subroutine as follows it's in a seperate include file and yes included.... Function SetConn(db) Set Conn = Server.CreateObject("ADODB.Connection") MdbFilePath = "D:\Inetpub\wwwroot\Database\" & DB & ".mdb" Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & MdbFilePath & ";User Id=admin;Password=" SetConn = Conn end Function db is passed to it by calling it such as Set MyConn = SetConn("Helpdesk") after 'set'ing the RS and msql for the sql statement RS.Open msql, MyConn works fine...... however, you can't use MyConn.Close as the object doesn't exist... I h
'' + Ask a Question Need help? Post your question and get tips & solutions from a community of 418,590 IT Pros & Developers. It's quick & easy. Asp Error: Microsoft VBScript runtime (0x800A01A8) Object required: '' P: 16 Genken Hi can anybody help me i get this error when running this code. Error Type: Microsoft VBScript runtime (0x800A01A8) Object required: '' And then a line number indicating where the error is, i cant see any errors with this code please assist. Thanks in advance. Expand|Select|Wrap|Line Numbers <%@LANGUAGE="VBSCRIPT"CODEPAGE="1252"%> <% DimQryDisplay__MMColParam QryDisplay__MMColParam="1" If(Request.QueryString("Application_id")<>"")Then QryDisplay__MMColParam=Request.QueryString("Application_id") EndIf %> <% Setobjconn=Server.CreateObject("ADODB.Connection") objconn.ConnectionString="DRIVER=MicrosoftAccessDriver(*.mdb);DBQ="&Server.MapPath("myPath") objconn.Open %> <% DimQryDisplay DimQryDisplay_numRows SetQryDisplay=Server.CreateObject("ADODB.Recordset") QryDisplay.ActiveConnection=objconn QryDisplay.Source="SELECT*FROMQueryDisplayFieldsWHEREApplication_id="+Replace(QryDisplay__MMColParam,"'","''")+"" QryDisplay.CursorType=0 QryDisplay.CursorLocation=2 QryDisplay.LockType=1 QryDisplay.Open() QryDisplay_numRows=0 %> Jul 3 '07 #1 Post Reply Share this Question 4 Replies P: 13 cyberdawg999 unfortunately this is not a help response but I am also having the same problem with the following code the error is on line 29 i hate to do this but i just saw the heading and I didnt want to start a new thread with this same problem code: (asp) Expand|Select|Wrap|Line Numbers <%@Language="VBScript"%> <%OptionExplicit%> <%dimconnection%> <%dimsSQL,sConnString,obj_connection%> <%ifrequest.form("isSubmitted")="yes"then sConnString="DRIVER={MicrosoftA