XSD data set with Oracle database
Posted
by Ed Woodcock
on Stack Overflow
See other posts from Stack Overflow
or by Ed Woodcock
Published on 2010-04-08T09:44:15Z
Indexed on
2010/04/08
13:23 UTC
Read the original article
Hit count: 328
Hi folks,
I'm having a major issue with an XSD dataset mapping thingy that I'm using within my current project. We are using XSDs for some data abstraction (it's quicker and debatably more maintainable that using Parameterised SQL or a StoredProc), and on my machine (running in the VS development environment) thy're working fine.
However, on the Pre-production server we use for our testing, the XSDs are not working correctly: some method calls will fail with the following error:
System.ArgumentException: Value does not fall within the expected range.
at Oracle.DataAccess.Client.OracleParameter.set_DbType(DbType value)
Has anyone ever encountered this issue before? The methods being called are simple select statements using 1-3 parameters, and as I said before they work fine on my machine.
© Stack Overflow or respective owner