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 FROM T_eventi WHERE ID=2674 ConnectionString:  user id=webuser;password=;server=LOCALHOST;Initial Catalog='Castelfranco_ecm10_servizi'

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 FROM T_eventi WHERE ID=2674 ConnectionString:  user id=webuser;password=;server=LOCALHOST;Initial Catalog='Castelfranco_ecm10_servizi'

Source Error:


Line 20:         config["CartellaFogliDiStile"] = "/stile/eventi";
Line 21: 		
Line 22: 		object scalar = new Query().EseguiScalar("SELECT Descrizione FROM T_eventi WHERE ID=" + Convert.ToInt32(Request.QueryString["ID"]));
Line 23: 		
Line 24:         config["MetatagDescription"] = StripHTML(scalar.ToString());

Source File: f:\web\mo46.sassuolo.info\servizi\eventi\cerca_fase03.aspx    Line: 22

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 FROM T_eventi WHERE ID=2674 ConnectionString:  user id=webuser;password=;server=LOCALHOST;Initial Catalog='Castelfranco_ecm10_servizi']
   PDI.Query.EseguiScalar(String Sql, IDbDataParameter[] parametri) in F:\FrameworkPDI-Core-PDI\Query.cs:1316
   PDI.Query.EseguiScalar(String Sql) in F:\FrameworkPDI-Core-PDI\Query.cs:1270
   ASP.servizi_eventi_cerca_fase03_aspx.ConfigurazioneTemplate(Hashtable& config) in f:\web\mo46.sassuolo.info\servizi\eventi\cerca_fase03.aspx:22
   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_eventi_cerca_fase03_aspx.__BuildControlTree(servizi_eventi_cerca_fase03_aspx __ctrl) in f:\web\mo46.sassuolo.info\servizi\eventi\cerca_fase03.aspx:1
   ASP.servizi_eventi_cerca_fase03_aspx.FrameworkInitialize() in g:\Microsoft.NET\v2.0.50727\Temporary ASP.NET Files\root\fd771b9a\71b19fda\App_Web_s9aqgv5n.8.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_eventi_cerca_fase03_aspx.ProcessRequest(HttpContext context) in g:\Microsoft.NET\v2.0.50727\Temporary ASP.NET Files\root\fd771b9a\71b19fda\App_Web_s9aqgv5n.8.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