Subject Re: FirebirdSql.Data.Firebird - FbException: No message for error code 152 found
Author Adam
Not too sure Scott, but the folk on the .NET list may have more ideas.

http://www.firebirdsql.org/index.php?op=lists

Adam


--- In firebird-support@yahoogroups.com, "Scott Price"
<scott.price@v...> wrote:
>
> Just trying to use the FbBackup class in an 1.7.1 RC4 build of the
> FirebirdSql.Data.Firebird.dll assembly, and I am getting a strange
> exception:
>
> FbException: No message for error code 152 found.
>
> It seems to be originating from the FbService.StartTask method.
This seems
> to be missing information related to the issue that has caused the
> exception. Is there any information available as to why this
exception is
> being raised?
>
> Searching through the error codes file seems to suggest the User ID and
> Password are incorrect, but I know this not to be the case, as I
have tried
> connecting with the same user credentials via another Firebird admin
> application, and they work just fine.
>
> I was just wondering if someone might have some information about
this, or
> about what the exception is trying to bring to my attention? Or is
this an
> unexpected error in the assembly?
>
> The application is running on a Windows 2003 Server Build, with the
1.1 .NET
> framework:
>
> 3790.srv03_sp1_rtm.050324-1447 : Service Pack 1
>
>
> Regards,
>
>
> Scott :)
>
>
>
> Stack Trace below:
> ========================================================
>
> See the end of this message for details on invoking
> just-in-time (JIT) debugging instead of this dialog box.
>
> ************** Exception Text **************
> FirebirdSql.Data.Firebird.FbException: No message for error code 152
found.
> at FirebirdSql.Data.Firebird.Services.FbService.StartTask() in
> h:\Development\FireBird\CVS
>
Archive\NETProvider\NETProvider_17\source\FirebirdSql.Data.Firebird\Services
> \FbService.cs:line 215
> at FirebirdSql.Data.Firebird.Services.FbBackup.Execute() in
> h:\Development\FireBird\CVS
>
Archive\NETProvider\NETProvider_17\source\FirebirdSql.Data.Firebird\Services
> \FbBackup.cs:line 115
> at BackupDatabase.TBackupDatabase.PerformBackup() in E:\Personal
> Projects\Firebird Utilities\Backup Utility\BackupDatabase.pas:line 319
> at TestClasses.TFbBackupTestClasses.btnTestBackup_Click(Object
sender,
> EventArgs e) in E:\Personal Projects\Firebird Utilities\Backup
> Utility\Tests\TestClasses.pas:line 296
> at System.Windows.Forms.Control.OnClick(EventArgs e)
> at System.Windows.Forms.Button.OnClick(EventArgs e)
> at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
> at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
> button, Int32 clicks)
> at System.Windows.Forms.Control.WndProc(Message& m)
> at System.Windows.Forms.ButtonBase.WndProc(Message& m)
> at System.Windows.Forms.Button.WndProc(Message& m)
> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
> at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
> IntPtr wparam, IntPtr lparam)
>
>
> ************** Loaded Assemblies **************
> mscorlib
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.2300
> CodeBase:
> file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
> ----------------------------------------
> TestFbBackupConsoleClasses
> Assembly Version: 1.0.2154.20459
> Win32 Version: 1.0.2154.20459
> CodeBase:
>
file:///F:/setups/Firebird/Backup%20Utility/FbBackup_Tests/TestFbBackupConso
> leClasses.exe
> ----------------------------------------
> System.Windows.Forms
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.2300
> CodeBase:
>
file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c56193
> 4e089/system.windows.forms.dll
> ----------------------------------------
> System
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.2300
> CodeBase:
>
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.d
> ll
> ----------------------------------------
> System.Drawing
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.2300
> CodeBase:
>
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/
> system.drawing.dll
> ----------------------------------------
> System.Xml
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.2300
> CodeBase:
>
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/syst
> em.xml.dll
> ----------------------------------------
> FirebirdSql.Data.Firebird
> Assembly Version: 1.7.1.0
> Win32 Version: 1.7.1.0
> CodeBase:
>
file:///c:/windows/assembly/gac/firebirdsql.data.firebird/1.7.1.0__fa843d180
> 294369d/firebirdsql.data.firebird.dll
> ----------------------------------------
> System.Data
> Assembly Version: 1.0.5000.0
> Win32 Version: 1.1.4322.2300
> CodeBase:
>
file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/sys
> tem.data.dll
> ----------------------------------------
>
> ************** JIT Debugging **************
> To enable just in time (JIT) debugging, the config file for this
> application or machine (machine.config) must have the
> jitDebugging value set in the system.windows.forms section.
> The application must also be compiled with debugging
> enabled.
>
> For example:
>
> <configuration>
> <system.windows.forms jitDebugging="true" />
> </configuration>
>
> When JIT debugging is enabled, any unhandled exception
> will be sent to the JIT debugger registered on the machine
> rather than being handled by this dialog.
>