Server Error in '/WAMswf40' Application.

Cannot open database "TEEmiliaRomagna" requested by the login. The login failed.

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.OleDb.OleDbException: Cannot open database "TEEmiliaRomagna" requested by the login. The login failed.

Source Error:

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.

Stack Trace:


[OleDbException (0x80004005): Cannot open database "TEEmiliaRomagna" requested by the login. The login failed.]
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +520
   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +109
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions) +57
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +274
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +307
   System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +22
   System.Data.OleDb.OleDbConnection.Open() +50
   System.Data.Common.DbDataAdapter.FillSchemaInternal(DataSet dataset, DataTable datatable, SchemaType schemaType, IDbCommand command, String srcTable, CommandBehavior behavior) +178
   System.Data.Common.DbDataAdapter.FillSchema(DataSet dataSet, SchemaType schemaType, IDbCommand command, String srcTable, CommandBehavior behavior) +170
   System.Data.Common.DbDataAdapter.FillSchema(DataSet dataSet, SchemaType schemaType) +281
   Berenice.DataAccess.DBOFuncs.SqlOledbDBObjFuncs.FillSchema(String sql, Object[] params, CommandType cmdType) in C:\Web\TrasportiEccezionali40\BigDBObjFuncs40\SqlOledbDBObjFuncs.vb:191

[DBObjFuncsException: Errore in FillSchema!]
   Berenice.DataAccess.DBObject.LoadFromPKImpl(DBOLoadContext loadContext) in C:\Web\TrasportiEccezionali40\ClientDBObject40\DBObject.vb:376
   WASkelta.DBObjectTE.LoadFromPK(DBOLoadContext loadContext) +22
   DBObjectSync.LoadFromPK(DBOLoadContext loadContext) +256
   WASkelta.EnteGestoreConfig.GetEnteGestorePratica(Int32 pk_anagrafica) +443

[Exception: Unable to load config: PK = 14005 key = 'PortalRootPath_14005', file = 'E:\Web\TEEmiliaRomagna\WAMswf40\Portals\RegioneEmiliaRomagna\Config.xml'!]
   WASkelta.Global.Application_Start(Object sender, EventArgs e) +2597

[HttpException (0x80004005): Unable to load config: PK = 14005 key = 'PortalRootPath_14005', file = 'E:\Web\TEEmiliaRomagna\WAMswf40\Portals\RegioneEmiliaRomagna\Config.xml'!]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +517
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +185
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369

[HttpException (0x80004005): Unable to load config: PK = 14005 key = 'PortalRootPath_14005', file = 'E:\Web\TEEmiliaRomagna\WAMswf40\Portals\RegioneEmiliaRomagna\Config.xml'!]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +724


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