tags:

views:

71

answers:

1

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.

A: 

Is the Pre-Production server using the same exact Oracle client as your development machine? Could there be characterset differences between what you are doing on your Dev machine vs. the pre-production machine?

Which XSD mapping tool are you using (or is it homegrown)?

Dougman
Same versions (as far as I'm aware, web config references the same binaries), XSD tool is the built in Visual Studio one (works fine with oracle), and the only difference between the server and my machine is the server is 64bit.
Ed Woodcock
@Ed Woodcock: I believe the 64bit Oracle client is different than the 32bit one. I've seem some postings about various things not being supported in the 64bit client but am not sure if that is what you are encountering.
Dougman