Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Database connection problem

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-02-20 : 08:20:40
bhagvat writes "Hi
I am writing an application in asp.net using C#.net.
I connected to database sql server through Server Explorer but
I can't through programmically.
I have tried so many connection string but its not working
I tried following
"Persist Security Info=False;Integrated Security=SSPI;database=Info;server=localhost;Connect Timeout=30"

but it shows problem like
Login failed for user 'SIRIUS\ASPNET'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'SIRIUS\ASPNET'.
so please help me out

bhagvat"

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2006-02-20 : 08:35:21
see www.connectionstrings.com

Also did you assign permissions to that user SIRIUS\ASPNET'?
Go to Top of Page
   

- Advertisement -