Solved

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

Posted on 2004-10-07
8
501 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now