找不到可安装的ISAM。 [英] Could not find installable ISAM.

查看:102
本文介绍了找不到可安装的ISAM。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的asp.net c#app尝试使用

密码连接到Access数据库,我收到错误..找不到可安装的ISAM。 。如果

我连接到一个没有密码,它工作正常。我看过Q209805

,但我认为没有帮助。 Oledb连接。这是一个没有密码工作的


OleDbConnection connection = new

OleDbConnection(@" Provider = Microsoft.Jet.OLEDB .4.0;" +


@"数据源= C:\db2.mdb");


但是添加uid和pwd在一个密码,我得到错误。请帮忙。

Hi, my asp.net c# app is trying to connect to an Access database with a
password and am I getting the error.. Could not find installable ISAM. . If
I connect to one without a password it works fine. I''ve looked at Q209805
but I don''t think that helped. Oledb connection. Here is the one that works
without a password.
OleDbConnection connection = new
OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0 ;" +

@"Data Source=C:\db2.mdb");

but add uid and pwd on one with a password and I get the error. Please help.

推荐答案

你可以用UID和PWD发布cn字符串吗?

" Brent" < b@b.com>在消息中写道

news:10 ************* @ corp.supernews.com ...
can you post the cn string with the UID and PWD?
"Brent" <b@b.com> wrote in message
news:10*************@corp.supernews.com...
我的asp.net c#app尝试使用
密码连接到Access数据库,我收到错误..找不到可安装的ISAM。 。
如果我连接到没有密码的一个,它工作正常。我看过Q209805
但我认为没有帮助。 Oledb连接。这是
没有密码的工作。
OleDbConnection connection = new
OleDbConnection(@" Provider = Microsoft.Jet.OLEDB.4.0;" +

@"数据源= C:\db2.mdb");

但是在一个用密码添加uid和pwd我得到错误。请
help。
Hi, my asp.net c# app is trying to connect to an Access database with a
password and am I getting the error.. Could not find installable ISAM. . If I connect to one without a password it works fine. I''ve looked at Q209805
but I don''t think that helped. Oledb connection. Here is the one that works without a password.
OleDbConnection connection = new
OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0 ;" +

@"Data Source=C:\db2.mdb");

but add uid and pwd on one with a password and I get the error. Please help.



@" Provider = Microsoft.Jet.OLEDB.4.0; Data Source = C:\ abc.mdb;坚持安全

Info = True; Jet OLEDB:数据库PWD = abc;用户ID = Admin"

也尝试了

@" Provider = Microsoft.Jet.OLEDB.4.0;数据源= C:\ abc.mdb;持久安全

Info = True; PWD = abc;用户ID = Admin"

并且

@" Provider = Microsoft.Jet.OLEDB.4.0; Data Source = C:\ abc.mdb; Persist Security

Info = True; Jet OLEDB:数据库PWD = abc; UID = Admin"

" William Ryan eMVP" <做******** @ comcast.nospam.net>在消息中写道

新闻:eB ************** @ tk2msftngp13.phx.gbl ...
@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\abc.mdb;Persist Security
Info=True;Jet OLEDB:Database PWD=abc;User ID=Admin"
also tried
@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\abc.mdb;Persist Security
Info=True;PWD=abc;User ID=Admin"
and
@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\abc.mdb;Persist Security
Info=True;Jet OLEDB:Database PWD=abc;UID=Admin"
"William Ryan eMVP" <do********@comcast.nospam.net> wrote in message
news:eB**************@tk2msftngp13.phx.gbl...
你能发布cn吗UID和PWD的字符串?
Brent < b@b.com>在消息中写道
新闻:10 ************* @ corp.supernews.com ...
can you post the cn string with the UID and PWD?
"Brent" <b@b.com> wrote in message
news:10*************@corp.supernews.com...
我的asp.net c#app正在尝试使用
密码连接到Access数据库,我收到错误..找不到可安装的ISAM。 。
Hi, my asp.net c# app is trying to connect to an Access database with a
password and am I getting the error.. Could not find installable ISAM. .


如果

我连接到一个没有密码的它可以正常工作。我看过Q209805的
但是我认为没有帮助。 Oledb连接。这是
I connect to one without a password it works fine. I''ve looked at Q209805 but I don''t think that helped. Oledb connection. Here is the one that


工作

没有密码的那个。
OleDbConnection connection = new
OleDbConnection(@" Provider = Microsoft.Jet.OLEDB .4.0;" +

@"数据源= C:\db2.mdb");

但是用一个密码和我添加uid和pwd得到错误。请
without a password.
OleDbConnection connection = new
OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0 ;" +

@"Data Source=C:\db2.mdb");

but add uid and pwd on one with a password and I get the error. Please


帮助。




On Thu,29 2004年4月15:54:11 -0600,布伦特 < b@b.com>写道:

$ b $b¤@" Provider = Microsoft.Jet.OLEDB.4.0; Data Source = C:\ abc.mdb; Persist Security
$ b $b¤ Info = True; Jet OLEDB:数据库PWD = abc;用户ID = Admin"
$ b $b¤也尝试了
$ b $b¤@Provider = Microsoft.Jet.OLEDB.4.0;数据源= C:\ abc.mdb;持久安全
$ b $b¤Info= True; PWD = abc;用户ID = Admin"
$ b $b¤和
$ b $b¤@Provider = Microsoft.Jet.OLEDB.4.0; Data Source = C:\ abc.mdb; Persist Security
$ b $b¤Info= True; Jet OLEDB:Database PWD = abc ; UID = Admin"
$ b $b¤


看起来Jet OLEDB参数不完整(在两个示例中)和密码(不是PWD)

参数不正确:


@" Provider = Microsoft.Jet.OLEDB.4.0; Data Source = C:\ abc.mdb; Jet OLEDB:Engine Type = 5; Persist Security

Info = True;用户ID = Admin;密码= abc"


您可能还需要包含系统路径.mdw文件,如果您正在实现用户等级

安全。

Paul ~~~ pc ****** @ ameritech.net

Microsoft MVP(Visual Basic)
On Thu, 29 Apr 2004 15:54:11 -0600, "Brent" <b@b.com> wrote:

¤ @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\abc.mdb;Persist Security
¤ Info=True;Jet OLEDB:Database PWD=abc;User ID=Admin"
¤ also tried
¤ @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\abc.mdb;Persist Security
¤ Info=True;PWD=abc;User ID=Admin"
¤ and
¤ @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\abc.mdb;Persist Security
¤ Info=True;Jet OLEDB:Database PWD=abc;UID=Admin"
¤

Looks like the Jet OLEDB argument is incomplete (in two of your examples) and the Password (not PWD)
parameter is incorrect:

@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\abc.mdb;Jet OLEDB:Engine Type=5;Persist Security
Info=True;User ID=Admin;Password=abc"

You may also need to include the path to the System.mdw file if you are implementing user level
security.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)


这篇关于找不到可安装的ISAM。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆