Subject | Re: [firebird-support] PROGRAMDATA Error while trying to write to file |
---|---|
Author | Fulvio Senore |
Post date | 2008-02-20T18:10:40Z |
I solved a similar problem installing application and database (an
Access file) in C:\MyCompany\MyApp.
Not the best of solutions, but it is an old application that expects the
db to be in the same folder as the program, and it worked.
Fulvio Senore
Peter Morris ha scritto:
Access file) in C:\MyCompany\MyApp.
Not the best of solutions, but it is an old application that expects the
db to be in the same folder as the program, and it worked.
Fulvio Senore
Peter Morris ha scritto:
> I install my database.gdb file to the CommonAppData folder, on Vista
> this is
>
> C:\ProgramData\MyCompany\MyApp\database.gdb
>
> When I start my app I experience the following exception. Where on
> Vista should I install my DB? I really need all users to share the
> same DB. Note that I have the embeddedfb dll in my app folder so that
> all DB access is local and no DB server is required.
>
> How do I solve this? My restrictions are
> 01: I can't install a DB server (it's a single user app)
> 02: The file must be in a shared location so that multiple users can
> install the app and use the same database.
>
>
> Thanks
>
>
> Pete
>
>
>
>
> An unhandled exception of type
> 'FirebirdSql.Data.FirebirdClient.FbException' occurred in
> FirebirdSql.Data.FirebirdClient.dll
>
> Additional information: I/O error for file WriteFile
> "C:\PROGRAMDATA\AIR SOFTWARE LTD\VELOCITY\DATABASE.GDB"
> Error while trying to write to file
>
> <stackTrace>
>
> FirebirdSql.Data.FirebirdClient.dll!FirebirdSql.Data.FirebirdClient.FbTransaction.BeginTransaction()
> + 0xc2 bytes
>
> FirebirdSql.Data.FirebirdClient.dll!FirebirdSql.Data.FirebirdClient.FbConnectionInternal.BeginTransaction(System.Data.IsolationLevel
> level = Unspecified, string transactionName = null) + 0xb1 bytes
>
> FirebirdSql.Data.FirebirdClient.dll!FirebirdSql.Data.FirebirdClient.FbConnection.BeginTransaction(System.Data.IsolationLevel
> level = Unspecified, string transactionName = null) + 0x5f bytes
>
> FirebirdSql.Data.FirebirdClient.dll!FirebirdSql.Data.FirebirdClient.FbConnection.BeginTransaction(System.Data.IsolationLevel
> level = Unspecified) + 0x20 bytes
>
> FirebirdSql.Data.FirebirdClient.dll!FirebirdSql.Data.FirebirdClient.FbConnection.BeginDbTransaction(System.Data.IsolationLevel
> isolationLevel = Unspecified) + 0x1e bytes
>
> System.Data.dll!System.Data.Common.DbConnection.System.Data.IDbConnection.BeginTransaction()
> + 0xb bytes
> </stackTrace>
>
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>
>
>
>