|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello All,
I've recently migrated servers (NT 4.0 sp6) to Win2k3 Standard, and I now have this error message on a webpage. The problem only occured after the server change. I dont' see where it is refering to the table/query 'Qry'. I'm not very well versed in ASP, so any help is greatly appreciated. Thanks Carlitosway -ERROR MESSAGE- Microsoft OLE DB Provider for ODBC Drivers error '80040e37' [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot find the input table or query 'Qry'. Make sure it exists and that its name is spelled correctly. /mmsdata/get_block.asp, line 17 -ASP Script- <!--METADATA TYPE="typelib" FILE="c:\program files\common files\system\ado\msado15.dll"--> <% Option Explicit Dim oCmd, oParam, oRst, intAreaID set oCmd = server.createObject("ADODB.Command") oCmd.ActiveConnection = "MMSDB" oCmd.CommandText = "Qry-Get_Block" oCmd.CommandType = adCmdStoredProc intAreaID = CInt(cstr(request.querystring("areaID"))) set oParam = oCmd.CreateParameter("The_Area", adInteger, adParamInput, , intAreaID) 'name of para, type, direction, size, value oCmd.Parameters.Append oParam set oRst = oCmd.Execute <!---THIS IS LINE 17 %> <HTML> <HEAD> <SCRIPT language ="javascript"> function GetStructureName(obj) { i = obj.selectedIndex; var strURL = new String; if (i>1) { parent.structure.ShowLoading(); strURL = "" + parent.pltdata.location; strURL.toLowerCase(); if (strURL.indexOf("dc.asp", 1) <1) { parent.pltdata.location = "pltdata.asp"; parent.structure.location = 'Get_Name.asp?UID=<%=request.querystring("UID")%>&BlockID=' + obj.options[i].value; } else parent.structure.location = 'Get_Name2.asp?UID=<%=request.querystring("UID")%>&BlockID=' + obj.options[i].value; } } function ShowLoading() { document.blockform.block.selectedIndex = 0; } </script> <TITLE>Twachtman Snyder & Byrd, Inc.</TITLE></HEAD> <BODY TOPMARGIN="5" leftmargin="2" BGCOLOR="FFFFFF"> <center> <form name="blockform"> <SELECT NAME="block" SIZE="1" onChange=GetStructureName(block) Style="font-size:8pt; width:80px"> <option value='-1' >Loading...</option> <option value='0' selected>[BLOCK]</option> <% do while not oRst.eof response.write "<option value='" & oRst.fields("Block ID") & "'>" & _ oRst.fields("Block") & "</option>" oRst.movenext Loop %> </select> </form> </center> </BODY> </HTML> |
|
#2
|
|||
|
|||
|
As no one's responded to you, try this thread:
http://www.utteraccess.com/forums/access/access755271.html |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Help!! ODBC Drivers error '80040e37' |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|