0
Vote

DB3D: Failed to upload wireframe to database using bulkcopy on DEU platform.

description

This issue only repro on DEU platform (x86\x64), that should be language issue

Environment:

1. Windows 2003 ENT DEU
2. Yukon DEV DEU 09.00.3028.00
  1. Sample MSI 61201
    4. Whidbey 8.0.50727.42
     

Presteps:

  1. Build the db3d.sln.
  2. Run scipt InstallCS.sql.
     

Repro Steps:

  1. Run db3dwin.exe.
  2. Click "File" -> "Open from file...", browse to a wireframe model file and load it into the DB3D sample application.
  3. Click "Database" -> "Connect..." and the the "Connect to database" dialog prompts.
  4. Fill Server as "(local)", Database as "db3d" then click OK.
  5. Click "Database" -> "Copy wrireframe to database..." and open the dialog "Copy wrireframe to database"
  6. Check "Use bulk-copy" and set the New wireframe name as default, then click OK.
     

Expectations:

Upload the wrieframe to database using bulkcopy.
 

Actual Results:

  1. An exception is thrown out and failed to upload the wireframe to database using bulkcopy. For the detailed exception message,pls see the attached screenshot.
  2. An unhandled exception also occures (the exception dialog is behind the sample main window.), details are as below:
    System.ArgumentException: Scale
    bei Microsoft.Samples.SqlServer.DB3D.Wireframe.set_Scale(Double value) in C:\Program Files\Microsoft SQL Server\90\Samples\Integrated Samples\DB3D\CS\db3dlib\Wireframe.cs:Zeile 70.
    bei Microsoft.Samples.SqlServer.DB3D.WireframeControl.ScaleToFit() in C:\Program Files\Microsoft SQL Server\90\Samples\Integrated Samples\DB3D\CS\db3dwin\WireframeControl.cs:Zeile 75.
    bei Microsoft.Samples.SqlServer.DB3D.WireframeControl.WireframeControl_SizeChanged(Object sender, EventArgs e) in C:\Program Files\Microsoft SQL Server\90\Samples\Integrated Samples\DB3D\CS\db3dwin\WireframeControl.cs:Zeile 101.
    bei System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
    bei System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
    bei System.Windows.Forms.Control.UpdateBounds()
    bei System.Windows.Forms.Control.WndProc(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

file attachments

comments