Questions tagged [u2netdk]

U2NETDK is the short name for U2 Toolkit for .NET

U2 Toolkit for .NET (U2NETDK) provides an ADO.NET provider, LINQ to Entity 4.0, and the native UniObjects for .NET API for the UniData and UniVerse databases.

40 questions
1
vote
0 answers

U2 Toolkit Insert function creating blank multi-values

I'm seeing some odd behavior in the Insert function. First, the code segment: AFEMItem.Insert((int)XXX_amcs.ConvData,iPos,sTemp); By the time this is executed, AFEMItem has several attributes defined. (int)XXX_amcs.ConvData resolves to 26; iPos is…
Scott Marshall
  • 169
  • 1
  • 7
1
vote
1 answer

Looking for U2.NET Toolkit equivalent for FMT function

In UniBasic, I can use the FMT function with a format spec like '30T', to insert Text Marks at appropriate places in a long string (think Remarks/Comments). I don't see the equivalent in the U2.NET Toolkit. I know I could create a UniBasic…
Scott Marshall
  • 169
  • 1
  • 7
1
vote
2 answers

Using the U2 toolkit for .Net / UniObjects in Windows Powershell?

I'm a developer at a university in Chicago supporting Ellucian/Datatal Colleague on Unidata 7.2. We recently converted from Unidata on Unix to Windows Server and had a number of extract cron jobs that had to be converted to the new OS. During that…
1
vote
3 answers

How do I move U2 Database into SQL Server 2012 using U2 Toolkit for .NET, SSIS and Import/Export Wizard?

Can I use U2 Toolkit for .NET (32-bit/64-bit) to load and transfer U2 Database into SQL Server 2012? I would like to use Import/Export Wizard and Visual Studio 2010 SQL Server Business Intelligence Development Studio (SSIS).
1
vote
2 answers

U2 Toolkit for .NET - Entity Framework Sample "EntityFramework_CodeFirst2" not connecting

I get this error when trying to modify the EntityFramework_CodeFirst and EntityFramework_CodeFirst2 projects: Opening Connection [U2][UCINET-UO] [U2][UCINET-UO]WIN32 API Error:10053 An established connection was aborted by the software in your host…
Daniel E
  • 529
  • 1
  • 4
  • 18
1
vote
1 answer

U2 Toolkit for .NET - Entity Framework Sample "EntityFramework_CodeFirst" not working

When we try to run "EntityFramework_CodeFirst" and "EntityFramework_CodeFirst2" samples, we get the following error: Unable to determine the provider name for connection of type 'U2.Data.Client.U2Connection'
Rajan Kumar
  • 718
  • 1
  • 4
  • 9
1
vote
1 answer

How do I access MultiValue data from U2 Toolkit for .NET?

I am getting the following message when trying to select * from the U2 data files. [U2][UCINET][UNIDATA]:Multi-value or multi-subvalue are not supported in this version\r\n" Is there a version that does not get this error, if I select only one field…
0
votes
1 answer

Connection using uniobject.NET connection to unidata account does not work and transaction fails

I am using Uniobject.Net for connection to unidata account. Connection is successful but while using the transaction processing it fails during transaction commit. It says "No Transaction is in progress" in the client side message. We used user with…
Sandy
  • 1
  • 1
0
votes
1 answer

How to use U2.Data.Client for .NET Core Web API?

I am looking to create a connection with Universe DB using .NET Core Web API and run SELECT queries but I am getting an error and have heard that U2.Data.Client cannot be used for .NET Core. Is there any workaround for this? Below is the code which…
usafder
  • 791
  • 5
  • 17
0
votes
1 answer

UniSubroutine Exception

I am getting following UniSubroutineException on following line of code while executing the Call() of UniSubroutine. try { if ((txtEmail.Text != "") && (txtPass.Text != "")) { if (txtPass.Text ==…
0
votes
1 answer

Move UniVerse data into SQL Server 2014 using u2 Toolkit

I am attempting to migrate a UniVerse database into SQL Server 2014. I have downloaded and installed the U2 toolkit for .net from Rocket software. The U2 provider is displayed in the dropdown list and I have entered all the required info in the…
Rod
  • 3
  • 3
0
votes
1 answer

UniObjects - Write vs WriteField Difference?

Can someone please explain the difference in the following: string RecordID = "123456"; string AttribNum = "120"; UniFile myUniFile = myUniSession.CreateUniFile("myFileName"); UniDynArray uda = myUniFile.Read(RecordID); uda.Replace(AttribNum, "New…
Jeff Brady
  • 1,454
  • 7
  • 35
  • 56
0
votes
2 answers

What is the most efficient way to copy UniDataSet to SQL Server?

I have a U2/UniVerse database, and need to copy the data in one table into a SQL Server table. The table in question has approx 600,000 rows and just under 200 columns. I didn't create the table, and can't change it. For other tables, I'm looping…
Jeff Brady
  • 1,454
  • 7
  • 35
  • 56
0
votes
2 answers

How to Install visual studio add in for U2 toolkit for .NET v1.3.0

I got the Install for .Net Provider 1.3.0, Even after installing 64 bit version, I could not get visual studio add in for U2, so that I can choose ".Net Framework Provider for U2 Database" when adding data source. Most of the questions over web says…
user3456546
  • 109
  • 1
  • 9
0
votes
2 answers

Execute simple select query using Rocket U2 Toolkit for .NET

Executing the following code fails on command.ExecuteReader() with exception: "ERROR [] [U2] [UCINET-UO] ERROR [] [U2] [UCINET-UO] [U2][UCINET-UO] [U2][UCINET-UO] XTOOLSUB Subroutine failed. Log to Account (2). Invalid account name /data/TSSA9.…
Gary Brunton
  • 1,840
  • 1
  • 22
  • 33