Login Skip Navigation LinksWilsonORMapper > Forums Search
Demo Version Demo Version
Download and try for yourself a fully working demo version, including sample apps and documentation.  The only limitation is that the demo version only works inside the debugger.

PayPal Subscribe
Get It All for $50 USD:
WebPortal, ORMapper,
Source Code, All Updates
PayPal

User Login User Login
Log In
 
 
Reset Password

Wilson ORMapper Forums Wilson ORMapper Forums : General Support : Strange Exception Being Thrown

Date Post
5/21/2007 3:35:37 PM I am receiving a really interesting exception in my error logs.

Exception: System.Data.OleDb.OleDbException: Invalid character value for cast spectification.
Source: Microsoft OLE DB Provider for SQL Server

It is happening when I call persist changes on a specific object.

I am trying to nail it down and I cannot reproduce it on my development or test boxes.  It only happens in production, isn't that the case with crazy bugs.

It is also very intermittent.  Do you have any idea where to start looking for resolution?

The persist changes is happening on a new object that is created and going to be inserted into the database.
5/21/2007 7:12:51 PM

Never seen it before, but there's a lot of things that come back on Google for that exception.  Probably unrelated question:  Why are you using OleDb with Sql Server?

Good luck, Paul Wilson