not using the service, embedded. Zvjezdan Tomicevic escribió: > Perhaps you are trying to acces database before firebird service is > started. > > On Thu, Oct 30, 2008 at 9:19 AM, Philipp Sumi <[EMAIL PROTECTED]> wrote: > > Hi there > > We're using FB embedded (2.1.1, .NET provider 2.1.0), and strangely, > connecting to the database fails *if* the application is started > automatically through the AutoStart folder (see stack trace below). > Subsequent manual reconnect attempts (or manually restarting the > application) at a later point work just fine - it's as if embedded > still had > dependencies on something that that hasn't been initialized at > this point. > Any ideas? > > Cheers > Philipp > > > > > FirebirdSql.Data.FirebirdClient.FbException: operating system > directive > CreateFile failed ---> FirebirdSql.Data.Common.IscException: > Exception of > type 'FirebirdSql.Data.Common.IscException' was thrown. > at > FirebirdSql.Data.Client.Embedded.FesDatabase.ParseStatusVector(Int32[] > statusVector) > at > > FirebirdSql.Data.Client.Embedded.FesDatabase.Attach(DatabaseParameterBuffer > dpb, String dataSource, Int32 port, String database) > at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() > --- End of inner exception stack trace --- > at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() > at FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create() > at FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut() > at FirebirdSql.Data.FirebirdClient.FbConnection.Open() > at > SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.OpenConnection() > at > > SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.ExecuteMultiRowRetrie > valQuery(IRetrievalQuery queryToExecute, IEntityFactory2 > entityFactory, > IEntityCollection2 collectionToFill, IFieldPersistenceInfo[] > fieldsPersistenceInfo, Boolean allowDuplicates, IEntityFields2 > fieldsUsedForQuery) > at > > SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollection > Internal(IEntityCollection2 collectionToFill, > IRelationPredicateBucket& > filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression > sortClauses, > ExcludeIncludeFieldsList excludedIncludedFields, Int32 pageNumber, > Int32 > pageSize) > at > > SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollection > (IEntityCollection2 collectionToFill, IRelationPredicateBucket > filterBucket, > Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, > IPrefetchPath2 > prefetchPath, ExcludeIncludeFieldsList excludedIncludedFields, Int32 > pageNumber, Int32 pageSize) > at > > SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollection > (IEntityCollection2 collectionToFill, IRelationPredicateBucket > filterBucket, > Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses) > at CT.Core.DataAccess.Util.EntityUtil.ReadLocales(DataAccessAdapter > adapter) > at CT.Core.DataAccess.EntityHandlerBase..ctor(String databaseFile, > Boolean embeddedMode) > at CT.Core.DataAccess.DataPointEntityHandler..ctor(String > databaseFile, > Boolean embeddedMode) > at CT.Devices.AC800Pec.PecDataProvider.InitDatabaseProvider(String > databaseFile) > at CT.Devices.AC800Pec.PecDataProvider..ctor(PecManager manager, > OpcConnectionManager opcManager, SimulinkDataHandler > simulinkDataHandler) > at CT.Devices.AC800Pec.PecManager.Connect() > at > > CT.Win.UI.DeviceConfiguration.TouchPanel.DeviceInitializer.ConnectTarget(Obj > ect sender, DoWorkEventArgs e) > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > <http://moblin-contest.org/redirect.php?banner_id=100&url=/> > _______________________________________________ > Firebird-net-provider mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Firebird-net-provider mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider >
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Firebird-net-provider mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
