2014-09-22 3 views
0

'/ Court Case'응용 프로그램의 서버 오류.

키워드가 지원되지 않습니다 : 'userid'.오류 내 웹 사이트의 페이지를 여는 중

설명 : 현재 웹 요청을 실행하는 동안 처리되지 않은 예외가 발생했습니다. 오류 및 코드에서 시작된 위치에 대한 자세한 정보는 스택 추적을 검토하십시오.

예외 정보 : System.ArgumentException : 키워드가 지원되지 않습니다 : 'userid'.

소스 오류 :

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. 

스택 추적 :

[ArgumentException: Keyword not supported: 'userid'.] 
    System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) +6363422 
    System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules) +122 
    System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) +113 
    System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) +35 
    System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +221 
    System.Data.SqlClient.SqlConnection.ConnectionString_Set(String value) +64 
    System.Web.UI.WebControls.SqlDataSource.CreateConnection(String connectionString) +44 
    System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +150 
    System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +27 
    System.Web.UI.WebControls.DataBoundControl.PerformSelect() +261 
    System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82 
    System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +95 
    System.Web.UI.Control.EnsureChildControls() +146 
    System.Web.UI.Control.PreRenderRecursiveInternal() +61 
    System.Web.UI.Control.PreRenderRecursiveInternal() +224 
    System.Web.UI.Control.PreRenderRecursiveInternal() +224 
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394 

버전 정보 : 마이크로 소프트 .NET 프레임 워크 버전 : 2.0.50727.8009; ASP.NET 버전 : 2.0.50727.8010

답변

1

데이터베이스에 연결하기위한 연결 문자열에 오류가 있습니다. userid이 포함되어 있고, 그 사이에 공백이있는 user id이어야합니다.

예를 들어 connectionstrings.com을 참조하십시오.

+0

감사합니다 .. –

관련 문제