Reply
dreamweaver and Acess
Old 06-20-2005, 12:25 PM dreamweaver and Acess
Junior Talker

Posts: 2
any one help me to get rid of this problem. After making connection with ms Access Database when I try to run my asp page it shows me this error
Error Type:ADODB.Recordset(0x800A0E7A)
Provider cannot be found.It may not ne properly installed
/Dreamweaverremote/path1_gcwyidw5h.asp,line 8
I have no idea what is wrong. I installed SP8 jet too but it did not work
This is my code

Attach Code

<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/connKnowledgeBase.asp" -->
<%
Dim Recordset2
Dim Recordset2_numRows

Set Recordset2 = Server.CreateObject("ADODB.Recordset")
Recordset2.ActiveConnection = MM_connKnowledgeBase_STRING
Recordset2.Source = "SELECT GroupName, subject, email, detail FROM tbldetails, tblGroup"
Recordset2.CursorType = 0
Recordset2.CursorLocation = 2
Recordset2.LockType = 1
Recordset2.Open()

Recordset2_numRows = 0
%>
<HTML>
<HEAD>
<TITLE>Untitled Document</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</HEAD>

<BODY BGCOLOR="#FFFFFF" onLoad="MM_preloadImages('logo.JPG')">
<p><a href="javascript:;" onMouseOver="MM_swapImage('Image1','','logo.JPG',1 )" onMouseOut="MM_swapImgRestore()"><img src="paths/images/moontile2.gif" name="Image1" width="392" height="129" border="0" id="Image1"></a>
</p>
<table width="75%" border="1">
<tr>
<td><%=(Recordset2.Fields.Item("GroupName").Value) %></td>
<td><%=(Recordset2.Fields.Item("email").Value)%> </td>
</tr>
<tr>
<td colspan="2"><%=(Recordset2.Fields.Item("subject"). Value)%></td>
</tr>
<tr>
<td colspan="2"><%=(Recordset2.Fields.Item("detail").V alue)%></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
<p>&nbsp; </p>
</BODY>
</HTML>
<%
Recordset2.Close()
Set Recordset2 = Nothing
%>
khan is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-20-2005, 01:42 PM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Make sure the latest version of MDAC is installed on the server

http://msdn.microsoft.com/data/mdac/...s/default.aspx
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Inoxia Pyrotechnics Supplies | Surrey Angels Cheerleading Squad
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 06-21-2005, 08:12 AM
Junior Talker

Posts: 2
now it says, "Error Type:Microsoft OLE DB Provider for ODBC Drivers(0x800A0E7A)[Microsoft][ODBC Microsoft Access Driver] The Mcrosoft jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data."
/remote/path1_chodifp 72.asp,line 8

Now what to do?
khan is offline
Reply With Quote
View Public Profile
 
Old 06-21-2005, 12:07 PM
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
Check the permissions on the folder that has the database in it, the database itself, and that you do not have the access database open when you run the page. Check out this page for more info.

http://webthang.co.uk/tuts/tuts_asp/...k_errors.asp#2

D
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
Reply     « Reply to dreamweaver and Acess
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13849 seconds with 12 queries