Solved

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

Posted on 2004-10-07
8
505 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

828 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