Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

SQL 2005 .NET Error When Printing Diagram Question.
Does anyone have any Ideas I can Try?

I am using the RTM Version of SQL Server 2005, and I am trying to print a
fairly large database diagram to my plotter.  When I try to print, or even
resize some of the table diagram elements, I get the following error in the
.NET Framework:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Image.get_Width()
at
Microsoft.SqlServer.Management.UI.Grid.GridBitmapColumn.DrawBitmap(Graphics
g, Brush bkBrush, Rectangle rect, Bitmap myBmp, Boolean bEnabled)
at
Microsoft.SqlServer.Management.UI.Grid.GridCheckBoxColumn.DrawCell(Graphics
g, Brush bkBrush, SolidBrush textBrush, Font textFont, Rectangle rect,
IGridStorage storage, Int64 nRowIndex)
at
Microsoft.SqlServer.Management.UI.Grid.GridControl. DoCellPainting(Graph
ics g
,
SolidBrush bkBrush, SolidBrush textBrush, Font textFont, Rectangle cellRect,
GridColumn gridColumn, Int64 rowNumber, Boolean enabledState)
at
Microsoft.SqlServer.Management.UI.Grid.GridControl. PaintOneCell(Graphic
s g,
Int32 nCol, Int64 nRow, Int32 nEditedCol, Int64 nEditedRow, Rectangle& rCell
,
Rectangle& rCurrentCellRect, Rectangle& rEditingCellRect)
at Microsoft.SqlServer.Management.UI.Grid.GridControl.PaintGrid(Graphics g)
at
Microsoft.SqlServer.Management.UI.Grid.GridControl. OnPaint(PaintEventAr
gs pe
)
at System.Windows.Forms.Control. PaintWithErrorHandli
ng(PaintEventArgs e,
Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Microsoft.SqlServer.Management.UI.Grid.GridControl.WndProc(Message& m)
at Microsoft.VisualStudio.DataTools.UI.Grid.GridControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at
System.Windows.Forms.Control.ActiveXImpl.System.Windows.Forms.IWindowTarget.
OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

........

Report this thread to moderator Post Follow-up to this message
Old Post
Greg Slagell
12-28-05 02:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:11 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006