Search found 6 matches

by bbjosh
Thu 27 May 2010 15:28
Forum: dotConnect for Oracle
Topic: Trial has expired
Replies: 2
Views: 1202

Wow! Thanks for the quick response and great support!
by bbjosh
Tue 25 May 2010 22:00
Forum: dotConnect for Oracle
Topic: Trial has expired
Replies: 2
Views: 1202

Trial has expired

I installed an old demo version of dotConnect for Oracle which has since expired (< 5.5).

After uninstalling the old version and installing the *new* 5/21/2010 trial version, I receive the error "trial has expired". The splash screen on Entity Developer states I have 30 of 30 days left on my trial. Is there some trick I must do to completely remove the old version?

I have purchased a new license, but I am waiting for the official channels to go through. Usually I can get by using the trial until I get the real license, but it doesn't work this time.
by bbjosh
Wed 28 Apr 2010 21:58
Forum: dotConnect for Oracle
Topic: GetObjectByKey in linq to oracle
Replies: 4
Views: 1839

This link has a SelectByPK() method which can be carefully adapted

http://www.c-sharpcorner.com/UploadFile ... SinCS.aspx
by bbjosh
Tue 27 Apr 2010 20:01
Forum: dotConnect for MySQL
Topic: Membership not login me in
Replies: 23
Views: 11014

I seem to be having a similar problem. After upgrading to the latest release of dotConnect for Oracle (5.60.124.0) + VS 2010 Ultimate, I cannot use the web membership provider.


If I create a web application and put "int i = Membership.Providers.Count;" it throws an exception "Unknown connection string parameter ."


Filename: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
Source: Devart.Data.Oracle

StackTrace:

at Devart.Common.j.a(Hashtable A_0)
at Devart.Common.j..ctor(String A_0, Hashtable A_1, Boolean A_2)
at Devart.Data.Oracle.u..ctor(String A_0)
at Devart.Data.Oracle.b1.a(String A_0, j A_1)
at Devart.Common.DbConnectionFactory.a(String A_0, j& A_1)
at Devart.Common.DbConnectionBase.set_ConnectionString(String value)
at Devart.Common.Web.Providers.DbMembershipProvider.a()
at Devart.Common.Web.Providers.DbMembershipProvider.Initialize(String name, NameValueCollection config)
at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)


I can work around the issue by adding this to the connection strings section of the web.config:


by bbjosh
Fri 07 Nov 2008 20:28
Forum: LinqConnect (LINQ to SQL support)
Topic: Aggregate functions require lamba transform
Replies: 2
Views: 3941

Aggregate functions require lamba transform

This code fails with an ArgumentNullException 'Error the value cannot be null: Parameter name : value"

Code: Select all

var results = (from U in DataContext.USERs select U.USER_ID).Min();

This code works:

Code: Select all

var results = (from U in DataContext.USERs select U.USER_ID).Min(x => x);

Why does the aggregate function require the lambda function parameter? Both ways work OK under MS SQL Server and their LINQ driver.
by bbjosh
Fri 07 Nov 2008 19:58
Forum: LinqConnect (LINQ to SQL support)
Topic: Cannot assign Devart.Data.Linq.Table<T> to ListBox.ItemSourc
Replies: 1
Views: 3856

Cannot assign Devart.Data.Linq.Table<T> to ListBox.ItemSourc

I cannot assign Devart.Data.Linq.Table to ListBox.ItemSource (IEnumerable). Doing so results in a "Not Implemented" exception. Im using the OraDirect.NET driver and Oracle 11.


The same code works using the default LINQ driver for SQL Server and a corrisponding SQL server database.

Code: Select all

         DataContext DB = new DataContext(myConnectionString);


            // This code fails using Devart LINQ driver, but works correctly 
            //with SQL server driver.  The USER.ToString() function has been
            //overridden to display 'Name'

            //lbCustomers.ItemsSource = DB.USERs;

           
           //this code works for both drivers
           foreach (var User in DB.USERs)
           {
               lbCustomers.Items.Add(User.Name);
           }