F
fuzzyocelot
Hey everyone!
I have a bit of a mystery on my hands, and I hope someone may be able to
help me figure it out. This particular mystery involves an Access 2002 SP3
front end with a SQL Server 2000 SP3a back end. The operating system is
Windows XP Professional 2002 SP2. I wasn’t sure if I should post this in an
Office / Access forum or SQL Server. So I apologize if this isn’t the right
forum.
Anyway, I am a former programmer recently turned SQL Server DBA. Every day I
check the SQL Server error logs. For the last couple of days we’ve noticed
that a particular SQL login keeps failing. Some days it fails 20 to 30 times.
That’s how we noticed it. It’s called “admin†and it’s only used for one SQL
database. I’ll call it DatabaseA. The person who owns this database said only
two people know the password for that particular login and they haven’t been
using it lately. So I started a SQL Trace in order to try and figure out who
is using this login or at least what their computer name or IP address is. In
the trace, we noticed the hostname was either the generic/default computer
name we use at my work place or it was the web portal server name. Which
means we can’t track the SQL login failure to any particular computer or
person.
Today when I ran the trace, I noticed an actual computer name appeared with
the admin login failure. So I did some look-ups and was able to determine
that computer name belonged to one of my co-workers! So I “interrogated†her
about it. She’s a great person and a friend so I had to give her a hard time
about it, jokingly of course. It turns out that there was a certain MS Access
mdb that one of her clients was having a problem with and she ran it this
morning. It wasn’t returning the correct data. The back end is the same SQL
Server but a different database. I’ll call it DatabaseB. I obtained a copy of
the mdb and ran it myself. It prompted me for a database login and password,
which I entered. This login isn’t remotely related to the admin login, by the
way. The ODBC connection for this mdb is set up correctly on my computer. I
know because I’ve used it many times without problem. In this instance, it
defaulted to the correct login so I typed in the correct password. It was
accepted. No errors. So then I checked the SQL trace. Sure enough! My
friend’s computer name showed up! She wasn’t even at her computer so I know
it was because I ran it. I figured out why it shows her computer name and not
mine. I think that’s a separate issue which I won’t cover here.
Anyway, for giggles I created a new blank Access mdb. Then I linked to a
table in the same SQL database (DatabaseB) my friend was using with the same
ODBC connection. I linked to a table and clicked the OK button. I did not
show up in the trace. Then I closed Access completely, opened up the new mdb
I had created, and opened the linked table. It prompted me for the correct
login information. I entered the password, clicked okay, and it opened the
table. Guess what? I showed up in the trace results (my computer name showed
up)! How weird is that?
Does anyone have any ideas why this is happening and how to fix it?
Thanks in advance cuz it’s driving me nuts!
I have a bit of a mystery on my hands, and I hope someone may be able to
help me figure it out. This particular mystery involves an Access 2002 SP3
front end with a SQL Server 2000 SP3a back end. The operating system is
Windows XP Professional 2002 SP2. I wasn’t sure if I should post this in an
Office / Access forum or SQL Server. So I apologize if this isn’t the right
forum.
Anyway, I am a former programmer recently turned SQL Server DBA. Every day I
check the SQL Server error logs. For the last couple of days we’ve noticed
that a particular SQL login keeps failing. Some days it fails 20 to 30 times.
That’s how we noticed it. It’s called “admin†and it’s only used for one SQL
database. I’ll call it DatabaseA. The person who owns this database said only
two people know the password for that particular login and they haven’t been
using it lately. So I started a SQL Trace in order to try and figure out who
is using this login or at least what their computer name or IP address is. In
the trace, we noticed the hostname was either the generic/default computer
name we use at my work place or it was the web portal server name. Which
means we can’t track the SQL login failure to any particular computer or
person.
Today when I ran the trace, I noticed an actual computer name appeared with
the admin login failure. So I did some look-ups and was able to determine
that computer name belonged to one of my co-workers! So I “interrogated†her
about it. She’s a great person and a friend so I had to give her a hard time
about it, jokingly of course. It turns out that there was a certain MS Access
mdb that one of her clients was having a problem with and she ran it this
morning. It wasn’t returning the correct data. The back end is the same SQL
Server but a different database. I’ll call it DatabaseB. I obtained a copy of
the mdb and ran it myself. It prompted me for a database login and password,
which I entered. This login isn’t remotely related to the admin login, by the
way. The ODBC connection for this mdb is set up correctly on my computer. I
know because I’ve used it many times without problem. In this instance, it
defaulted to the correct login so I typed in the correct password. It was
accepted. No errors. So then I checked the SQL trace. Sure enough! My
friend’s computer name showed up! She wasn’t even at her computer so I know
it was because I ran it. I figured out why it shows her computer name and not
mine. I think that’s a separate issue which I won’t cover here.
Anyway, for giggles I created a new blank Access mdb. Then I linked to a
table in the same SQL database (DatabaseB) my friend was using with the same
ODBC connection. I linked to a table and clicked the OK button. I did not
show up in the trace. Then I closed Access completely, opened up the new mdb
I had created, and opened the linked table. It prompted me for the correct
login information. I entered the password, clicked okay, and it opened the
table. Guess what? I showed up in the trace results (my computer name showed
up)! How weird is that?
Does anyone have any ideas why this is happening and how to fix it?
Thanks in advance cuz it’s driving me nuts!