0

Hi,

While trying to connect MSSql Server 2000 databse through ASP .Net application using c# I got below errror. Please help.

Sql Server does not exist or access denied.

Mubin

3
Contributors
7
Replies
8
Views
8 Years
Discussion Span
Last Post by n4naeem
0

change your sql server authentication from mixed mode to windows authentication, then you dont have to mess with passwords. this might be the cause for the error.

0

change your sql server authentication from mixed mode to windows authentication, then you dont have to mess with passwords. this might be the cause for the error.

Thanx for your reply.

Actually, my SQL Server have Windows Aunthentication mode.

Please help me out.

Mubin

0

ok then right click my computer, click manage, select users and groups, add asp.net user to databaseadministrators group.

Thanx serkansendur,

I will try it, hope so it will work.

I will reply the same if it works.

Best regards,
Mubin

0

Thanx serkansendur,

I will try it, hope so it will work.

I will reply the same if it works.

Best regards,
Mubin

Hi,

Its working .......

Thanks a lot..

Mubin

0

Check yours connection string it must have password.

from web.config.

change the connection string without password.


Thanx for your reply.

Actually, my SQL Server have Windows Aunthentication mode.

Please help me out.

Mubin

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.