Server Error in '/' Application.

ManBetX客户端|下载首页

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: ManBetX客户端|下载首页

Source Error:

Line 18: protected void Page_Load(object sender, EventArgs e){ Line 19: /*url变量赋值*/ Line 20: PageColumn = ServiceFactory.ColumnService.SingleOrDefault<Whir.Domain.Column>(0); Line 21: PageSiteInfo = ServiceFactory.SiteInfoService.SingleOrDefault<Whir.Domain.SiteInfo>(1); Line 22: Whir.Label.LabelHelper.Instance.SerColumnAndSiteInfoToChildControl(this, PageSiteInfo, PageColumn);

Source File: d:\gdyhsw201607011292\index.aspx    Line: 20

Stack Trace:

[SqlException (0x80131904): Cannot open database "Whir_ezEIP4_gdyhsw201607011292" requested by the login. The login failed. Login failed for user 'gdhwater'.] System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1065 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +108 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +126 System.Data.SqlClient.SqlConnection.Open() +125 Whir.Repository.Database.qrVa370pqMWKOjpCjE(Object ) +32 Whir.Repository.Database.OpenSharedConnection() +337 Whir.Repository.<Query>d__7`1.MoveNext() +306 System.Linq.Enumerable.SingleOrDefault(IEnumerable`1 source) +4206613 Whir.Repository.Database.SingleOrDefault(String sql, Object[] args) +141 Whir.Repository.Database.SingleOrDefault(Object primaryKey) +281 Whir.Service.DbBase`1.SingleOrDefault(Object primaryKey) in D:\01.工作专区\02.万户产品\03.ezEIP4\01.SVN\Project\branches\v412\Whir.Service\DbBase.cs:531 ASP.index_aspx.Page_Load(Object sender, EventArgs e) in d:\gdyhsw201607011292\index.aspx:20 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +91 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1016