Solved

Server.CreateObject("Access.Application") created password for .mdf file

Posted on 2004-10-07
8
507 Views
Last Modified: 2008-03-06
following code in asp created password for access database file

Set objAccess = Server.CreateObject("Access.Application")
objAccess.Visible = True
objAccess.OpenCurrentDatabase ("Path_to_your_.mdb_file")

there was no password defined at all neither in past nor current... the problem is really ugly and strange :)
0
Comment
Question by:davidlars99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 19

Expert Comment

by:peh803
ID: 12250152
What is your question?
0
 
LVL 13

Author Comment

by:davidlars99
ID: 12250336
the question is: where the hell did password come from? and how do I get rid of it? as there was no password before...
0
 
LVL 19

Expert Comment

by:peh803
ID: 12250411
what do you mean, it created a password?  

Does it prompt you for a password when you try to open the file on your server, or when you try to open it via your ASP page?

Thanks,
peh803

0
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
LVL 13

Author Comment

by:davidlars99
ID: 12250541
the whole problem behind this came from here
http://www.experts-exchange.com/Web/Q_21159371.html
0
 

Expert Comment

by:Totosh
ID: 12250658
@peh803
yes it seemed to have created a password. When I try to open the mdb-file on the server it prompts for a password (that was never generated or entered).
The asp page that is accessing that same mdb-file for another reason is now erroring out with code 'invalid password'.
Where the hell did that password come from and how can I get my mdb-file back?
T.
0
 
LVL 13

Author Comment

by:davidlars99
ID: 12250723
does anybody else have access to your .mdf file?
0
 

Expert Comment

by:Totosh
ID: 12250746
Nope - this is on my dev - domain.
T.
0
 
LVL 15

Accepted Solution

by:
joeposter649 earned 500 total points
ID: 12252745
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question