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
- Sample MSI 61201
4. Whidbey 8.0.50727.42
Presteps:
- Build the db3d.sln.
- Run scipt InstallCS.sql.
Repro Steps:
- Run db3dwin.exe.
- Click "File" -> "Open from file...", browse to a wireframe model file and load it into the DB3D sample application.
- Click "Database" -> "Connect..." and the the "Connect to database" dialog prompts.
- Fill Server as "(local)", Database as "db3d" then click OK.
- Click "Database" -> "Copy wrireframe to database..." and open the dialog "Copy wrireframe to database"
- 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:
- 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.
- 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)