Re: Parser Error - Adding a new page to the project

  •  06-07-2006, 11:38 AM

    Re: Parser Error - Adding a new page to the project

    Can someone please help me with this...

    Not sure why but when I do it locally it gives me a more refined error:

    Missing appSetting:CuteChat.SqlClient.ConnectionString

    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.Exception: Missing appSetting:CuteChat.SqlClient.ConnectionString

    Source Error:

    Line 6:  
    Line 7: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Line 8: lblWelcome.Text &= ChatApi.GetUser(ChatWebUtility.CurrentIdentity.UniqueName).ToString
    Line 9: End Sub
    Line 10:




    So is it because of my web.config connectionstring?

    <appSettings>
        <!-- Connection String for SQL Server -->
        <add key="ConnectionString" value="server=stuffhere"/>
     </appSettings>

    I'm using VS.NET 2005... connection strings aren't accessed differently from web.config.

    Somebody please help!  Thanks.
View Complete Thread