Question : SQL 2008 Express and Classic ASP

Hello:

I am trying to migrate a Classic ASP / Access DB website to SQL 2008.  I've got most of it done, but when I move it to the production server, I'm getting this:

Microsoft SQL Server Native Client 10.0 error '80004005'
Cannot open database "Intranet" requested by the login. The login failed.

I really don't understand SQL server security.  I setup a Logon that we'll call "webuser".  I've also setup a user called "Webuser".  Someone once explained to me that you have to have both.

Here is my connection string:

objConnection.open = "Provider=SQLNCLI10;Server=apdserver\SQLEXPRESS;Database=Intranet;Uid=webuser;Pwd=password;Trusted_Connection=Yes;DataTypeCompatibility=80"

So here's the question(s):

1) Can you point me to a site that will explain the Logon and User thing to me?
2) How should I setup SQL Server?

Thanks for your help.  Let me know if I need to clarify anything.

Dan

Answer : SQL 2008 Express and Classic ASP

Try changing

objConnection.open = "Provider=SQLNCLI10;Server=apdserver\SQLEXPRESS;Database=Intranet;Uid=webuser;Pwd=password;Trusted_Connection=Yes;DataTypeCompatibility=80"

to

objConnection.open = "Provider=SQLNCLI10;Server=apdserver\SQLEXPRESS;Database=Intranet;Uid=webuser;Pwd=password;Trusted_Connection=No;DataTypeCompatibility=80"

You can find more information here

http://www.connectionstrings.com/sql-server-2008
Random Solutions  
 
programming4us programming4us