Server Error in '/' Application.

ERRORE: Cannot open database "Castelfranco_ecm10_servizi" requested by the login. The login failed.
Login failed for user 'webuser'. COMANDO: select descrizione, Keywords from T_struttura where id = 17306

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: PDI.QueryException: ERRORE: Cannot open database "Castelfranco_ecm10_servizi" requested by the login. The login failed.
Login failed for user 'webuser'. COMANDO: select descrizione, Keywords from T_struttura where id = 17306

Source Error:


Line 37:             string sql = string.Format("select descrizione, Keywords from {0} where id = {1}", query.Config.NomeTabellaPerSql("T_struttura"), idPagina);
Line 38: 
Line 39:             query.EseguiSelect(sql);
Line 40: 
Line 41:             if (query.TabellaCustom.Rows.Count > 0)

Source File: f:\web\mo46.sassuolo.info\servizi\menu\dinamica.aspx    Line: 39

Stack Trace:


[QueryException: ERRORE: Cannot open database "Castelfranco_ecm10_servizi" requested by the login. The login failed.
Login failed for user 'webuser'. COMANDO: select descrizione, Keywords from T_struttura where id = 17306]
   PDI.Query.EseguiSelectIDbParameter(String Sql, IDbDataParameter[] parametri) in F:\FrameworkPDI-Core-PDI\Query.cs:1197
   PDI.Query.EseguiSelect(String Sql) in F:\FrameworkPDI-Core-PDI\Query.cs:1088
   ASP.servizi_menu_dinamica_aspx.ConfigurazioneTemplate(Hashtable& Config) in f:\web\mo46.sassuolo.info\servizi\menu\dinamica.aspx:39
   TemplateW3C.PaginaBase.LoadTemplate() in F:\FrameworkPDI-Core-TemplateW3C\sorgente\TemplateW3C\PaginaBase.cs:445
   TemplateW3C.PaginaBase.AddParsedSubObject(Object control) in F:\FrameworkPDI-Core-TemplateW3C\sorgente\TemplateW3C\PaginaBase.cs:383
   System.Web.UI.Control.System.Web.UI.IParserAccessor.AddParsedSubObject(Object obj) +10
   ASP.servizi_menu_dinamica_aspx.__BuildControlTree(servizi_menu_dinamica_aspx __ctrl) in f:\web\mo46.sassuolo.info\servizi\menu\dinamica.aspx:1
   ASP.servizi_menu_dinamica_aspx.FrameworkInitialize() in g:\Microsoft.NET\v2.0.50727\Temporary ASP.NET Files\root\fd771b9a\71b19fda\App_Web_g9w63fsu.2.cs:0
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +56
   System.Web.UI.Page.ProcessRequest() +80
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.servizi_menu_dinamica_aspx.ProcessRequest(HttpContext context) in g:\Microsoft.NET\v2.0.50727\Temporary ASP.NET Files\root\fd771b9a\71b19fda\App_Web_g9w63fsu.2.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8974