Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Import and Export Data : cannot get the supported data types from the database connection

$
0
0

U2 Database Provider for .NET is ADO.NET Provider for U2 Databases (UniVerse and UniData) http://www.rocketsoftware.com/u2/products/u2-net

I would like to transfer U2 Database Data into SQL Server using Import and Export Data  Wizard tool. I get the following error:

cannot get the supported data types from the database connection "Database=.........." Additional Information : Object reference not set.........

When I debug the code, It first calls Connection Object to connect to U2 Database successfully and then it calls GetSchema("DataTypes"). We return the following DataTable.

After that I got the above error.

Where is my problem? Why I am getting this error?

<DocumentElement>
  <DataTypes>
    <SQL_TYPE_NAME>CHAR</SQL_TYPE_NAME>
    <SQL_TYPE>1</SQL_TYPE>
    <PRECISION>254</PRECISION>
    <LITERAL_PREFIX>""</LITERAL_PREFIX>
    <LITERAL_SUFFIX>""</LITERAL_SUFFIX>
    <CREATE_PARAMS>SIZE</CREATE_PARAMS>
    <NULLABLE>1</NULLABLE>
    <CASE_SENSITIVE>1</CASE_SENSITIVE>
    <SEARCHABLE>3</SEARCHABLE>
    <MONEY>0</MONEY>
    <LOCAL_TYPE_NAME>CHAR</LOCAL_TYPE_NAME>
    <IsFixedLength>false</IsFixedLength>
    <PROVIDER_TYPE>12</PROVIDER_TYPE>
    <PROVIDER_TYPE_NAME>Char</PROVIDER_TYPE_NAME>
    <ProviderDbType>12</ProviderDbType>
    <DataType>System.String</DataType>
    <TypeName>Char</TypeName>
    <FRAMEWORK_TYPE>System.String</FRAMEWORK_TYPE>
    <NativeDataType>Char</NativeDataType>
  </DataTypes>

..........................

...............................

..................................

</DataTypes>
</DocumentElement>


Rajan


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>