Problem with SQL Login Box

Hello All

I have just converted a application from MS-Access to SQL-Server.

Although I have embedded the password and user name in a ODBC connection string.  Users occansionally still get a SQL Server Login Box.  It looks like the ODBC loses connection with the server.

Is anyone aware of any possible solution for this.

I look forward to a reply.

Best Regards

Asif Mughal
AsifMughalAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pcainCommented:
Win 95 and 98 clients need to use SQL authentication, NT clients can use NT authentication.  
0
Jon_RaymondCommented:
How are you connecting.  Is it through linked tables?  I prefer to create the string in code and then set the connection to a pass through query property. In Access if you don't choose to save the password with every table and query connection, then you will be prompted whenever the password is missing.  It is also insecure to save the password to linked tables and queries without encryption.
0
simonsabinCommented:
Access takes the connect string and removes password when it stores it. If you want no login box to appear you have to select the save password option when you create the link table.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jon_RaymondCommented:
simonsabin: open an Access mdb file as text in notepad.  Then search for the password in a saved password connection.  You will find the entire connect string including the password.
0
simonsabinCommented:
Sorry din't read you comment fully. I agree with you totally.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.