PDA

View Full Version : sql server access


psujinder
09-08-2003, 02:21 AM
hi,

i am having a problem accessing the sql server from my asp.net application. i am using the connection string provided by discountasp.net and i keep getting an error - SQL SERVER DOES NOT EXIST OR ACCESS DENIED. when i contacted tech support they created a test code for me and it woeks fine but my application does not. i have tried accessing the sql server using the enterprise manager and query analyser and it works fine.

does any one have an idea what th problem migth be.

p.sujinder

p.sujinder

bruce
09-08-2003, 07:04 AM
pls post code.

THis error , SQL SERVER DOES NOT EXIST OR ACCESS DENIED, means that the SQL server is not found. This is before the client even connect to the database (so focus on that rather then the username and password)



[b]quote:Originally posted by psujinder

hi,

i am having a problem accessing the sql server from my asp.net application. i am using the connection string provided by discountasp.net and i keep getting an error - SQL SERVER DOES NOT EXIST OR ACCESS DENIED. when i contacted tech support they created a test code for me and it woeks fine but my application does not. i have tried accessing the sql server using the enterprise manager and query analyser and it works fine.

does any one have an idea what th problem migth be.

p.sujinder

p.sujinder
</blockquote id="quote"></font id="quote">