473,396 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

connection string to connect ms-access with password protected

Hi All,
I have developed an application in ASP.NET and everything went fine till i
found a need to use Crystal Reports, after surfing I found that Crystal
Reports can only be used when I have a pwd assigned to my access db.

my previous connection string goes as follows:

<add key="constring" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:/inetpub/wwwroot/myApplication/database/myDB.mdb;" />

1)now when I run the application it gives error sayin Invalid Password
2)Then I changed my connection string to :
<add key="constring" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:/inetpub/wwwroot/AECLighting/database/lighting.mdb;UID=Admin;PWD=somepwd"/>

I gives an error saying Could not find Installable ISAM.

Any help will be greatly appreciated.

Thanks in Advance.

Regards
Naveen
Nov 19 '05 #1
2 4690
Hi Naveen,

I have great news fro you. There is a web site that has Connection Strings
for most databases, and it is very comprehensive. See
http://www.connectionstrings.com/ to find your Connection String. I checked,
and they have one for an Access database using password. And the next time
you have a Connection String issue, you can just go there and find the one
you need! :-D

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"Naveen" <Na****@discussions.microsoft.com> wrote in message
news:93**********************************@microsof t.com...
Hi All,
I have developed an application in ASP.NET and everything went fine till
i
found a need to use Crystal Reports, after surfing I found that Crystal
Reports can only be used when I have a pwd assigned to my access db.

my previous connection string goes as follows:

<add key="constring" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:/inetpub/wwwroot/myApplication/database/myDB.mdb;" />

1)now when I run the application it gives error sayin Invalid Password
2)Then I changed my connection string to :
<add key="constring" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:/inetpub/wwwroot/AECLighting/database/lighting.mdb;UID=Admin;PWD=somepwd"/>

I gives an error saying Could not find Installable ISAM.

Any help will be greatly appreciated.

Thanks in Advance.

Regards
Naveen

Nov 19 '05 #2
Hi kevin,
Thank for ur reply.

regards
Naveen

"Kevin Spencer" wrote:
Hi Naveen,

I have great news fro you. There is a web site that has Connection Strings
for most databases, and it is very comprehensive. See
http://www.connectionstrings.com/ to find your Connection String. I checked,
and they have one for an Access database using password. And the next time
you have a Connection String issue, you can just go there and find the one
you need! :-D

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"Naveen" <Na****@discussions.microsoft.com> wrote in message
news:93**********************************@microsof t.com...
Hi All,
I have developed an application in ASP.NET and everything went fine till
i
found a need to use Crystal Reports, after surfing I found that Crystal
Reports can only be used when I have a pwd assigned to my access db.

my previous connection string goes as follows:

<add key="constring" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:/inetpub/wwwroot/myApplication/database/myDB.mdb;" />

1)now when I run the application it gives error sayin Invalid Password
2)Then I changed my connection string to :
<add key="constring" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:/inetpub/wwwroot/AECLighting/database/lighting.mdb;UID=Admin;PWD=somepwd"/>

I gives an error saying Could not find Installable ISAM.

Any help will be greatly appreciated.

Thanks in Advance.

Regards
Naveen


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Georg Gerber | last post by:
Hello, I use an Apache-Web-Server 1.3 with PHP 5 under Windows 2000. With a PHP-script I want to get data from a MS-SQL-Server. Therefore is within my php.ini: extension=php_mssql.dll ...
0
by: Jonas | last post by:
Currently I connect to MySql using the following vbscript: set conn = createobject("ADODB.Connection") conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};"_ & "SERVER=localhost;"_ &...
6
by: Andy Wawa | last post by:
Hi, on a simple HTML (not an ASP!)-Site I try to connect to a sql server (MS): <html> <title>Test</title> <head> <script language="javascript"> <!-- Function showForm(){
1
by: Suchen Chodankar | last post by:
Hello, I am doing the web based project for the final year of my couse in Information Technology using Asp.net and ms-sql server.But to start with that I need to connect my web pages to the...
2
by: Raghu Raman | last post by:
Hi, * I used sql server7.0 with sqlserver authentcation.Now we are migrated to sqlserver2000. We are using windows2000. we go into the sqlserver2000 by windows authentication. I tried to...
1
by: Vikram S | last post by:
Hi All, I have an ASP.NET 2.0 web application on a web server and a separate machine for SQL Server 2000 Database. I am using a Connectionstring based on Sql Authentication to connect to the...
1
by: MegaVoice | last post by:
Hello, I am just starting to get back into using Perl after a few years away from it. I am running under Windows XP and trying to connect to MS-SQL server using the DBI module, but without using a...
9
by: =?Utf-8?B?Vmlua2k=?= | last post by:
Hello Everyone, I have a question about storing the connection strings to the database in a config file or database. My manager wants me to store all the connection strings in a database, but I...
4
by: =?Utf-8?B?VGhlIERpZXA=?= | last post by:
I hope someone can help me. I'm try to find a C# statement that will let me connect to the new CRM 4.0. I have a UI that was programed in C# that was connected to SQL Server but I would now like...
10
by: Elaine121 | last post by:
Hi i've been batteling for hours and can't seem to find the problem. When my server runs and I press the connect button the gui freezes until the client gui is terminated.. only then the gui becomes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.