Database Error : System.Data.SqlClient.SqlException: SQL Server does not exist or access denied

  •  07-28-2004, 8:10 AM

    Database Error : System.Data.SqlClient.SqlException: SQL Server does not exist or access denied

    Hi guys,

    I just downloaded the CuteChat v1 and runs on a Win2003 Web Edition server and MSDE, no other dotnet forum softwareinstalled, so I used the CuteChatSample. I manually installed the CuteChat and when I enter the admin and password credential on the default page, it turns out these errors:
     
    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) +370
       System.Data.SqlClient.SqlConnection.Open() +384
       CuteChatSample.SiteConfig.OpenConnection()
       CuteChatSample.Login1.Button1_Click(Object sender, EventArgs e)
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
       System.Web.UI.Page.ProcessRequestMain() +1277
    
     
    My configurations on Web.Config are:
    server=MSDESQL;database=CuteChatSample;UID=websqlquiry;PWD=abcde;App=CuteChat (websqlquiry is made the dbo of the cutechatsample database)
    3. Configuration/cuteChat/Providers/Provider@
    name ="Sample" sqlDataProviderType="CuteChatSample.SQLOLEDB,CuteChatSample"
     
    Can you advise me any part of the configuration is wrong, or it is something else?
    Thanks in advance.
     
    Rgain
View Complete Thread