Fejl i asp.net c# og mssql server
HejJeg har fået installet en 2003 web server og en ms sql 2000. På ms sql server har jeg lavet en bruger og den kan unden problemmer connect til en database som jeg har lavet igemmen Query Analyzer og igemmen Microsoft Visual Studio .NET 2003, men når jeg prøver at lave en asp.net side så laver den fejl. Min conn ser sådan her ud :
SqlConnection conn = new SqlConnection("data source=sqlserver; Database=turnering; Integrated Security=false; User ID=turnering; password=qwer1234;");
conn.Open();
Fejl:
Server Error in '/t2' Application.
--------------------------------------------------------------------------------
SQL Server does not exist or access denied.
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: SQL Server does not exist or access denied.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SqlException: SQL Server does not exist or access denied.]
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +472
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
t2.WebForm1.Page_Load(Object sender, EventArgs e) in \\sqlserver\wwwroot$\t2\webform1.aspx.cs:23
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Hvordan er det lige man løser det problem?
