HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 13th, 2004, 07:54 AM
Carlitosway Carlitosway is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 2 Carlitosway User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation Help!! ODBC Drivers error '80040e37'

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>

Reply With Quote
  #2  
Old August 15th, 2004, 03:57 PM
HippyWarlock HippyWarlock is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 3 HippyWarlock User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
As no one's responded to you, try this thread:

http://www.utteraccess.com/forums/access/access755271.html

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > Help!! ODBC Drivers error '80040e37'


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT