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

Recommended Answers

All 7 Replies

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.

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

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

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

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

add to my reputation :)

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.