.Net Framework 3.5 SP 1 Problem

.Net Framework 3.5 SP 1 Problem

Postby darth_bug » Tue 12 Aug 2008 11:30

Hello,

i'm successfully using 'PostgreSQLDirect .NET version 3.70.29' with 'ADO .Net Entity Framework' from '.Net Framework 3.5 SP 1 (beta)'.
When i updated to '.Net Framework 3.5 SP 1 (release)', i experience the following error by updating my model or running an entity linq query:

Code: Select all
---------------
      Type : System.Data.EntityCommandCompilationException, System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
      Message : Fehler bei der Vorbereitung der Befehlsdefinition. Details finden Sie in der internen Ausnahme.
      Source : System.Data.Entity
      Help link :
      Data : System.Collections.ListDictionaryInternal
      TargetSite : Void .ctor(System.Data.Common.DbProviderFactory, System.Data.Common.CommandTrees.DbCommandTree)
      Stack Trace :    bei System.Data.EntityClient.EntityCommandDefinition..ctor(DbProviderFactory storeProviderFactory, DbCommandTree commandTree)
         bei System.Data.EntityClient.EntityProviderServices.CreateCommandDefinition(DbProviderFactory storeProviderFactory, DbCommandTree commandTree)
         bei System.Data.EntityClient.EntityProviderServices.CreateDbCommandDefinition(DbProviderManifest providerManifest, DbCommandTree commandTree)
         bei System.Data.Common.DbProviderServices.CreateCommandDefinition(DbCommandTree commandTree)
         bei System.Data.Objects.Internal.ObjectQueryExecutionPlan.Prepare(ObjectContext context, DbQueryCommandTree tree, Type elementType, MergeOption mergeOption, Span span)
         bei System.Data.Objects.ELinq.ELinqQueryState.GetExecutionPlan(Nullable`1 forMergeOption)
         bei System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
         bei System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator()
         bei System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
         bei System.Data.Objects.ELinq.ObjectQueryProvider.b__2[TResult](IEnumerable`1 sequence)
         bei System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
         bei System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[S](Expression expression)
         bei System.Linq.Queryable.Count[TSource](IQueryable`1 source)
         bei WoVModel.WoVConfiguration.GetSetting(String key) in [PATH]
         bei WoVModel.WoVConfiguration.get_AdsConnection() in [PATH]
         bei WoVModel.WoVConfiguration.get_AdsKatalogDB() in [PATH]
         bei WoVModules.ListGenerator.Services.ExportADSService..ctor(IExcelExport excelExport, WorkItem workitem) in [PATH]

         Inner Exception
         ---------------
         Type : System.MethodAccessException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
         Message : System.Data.Common.CommandTrees.DbCommandTree.Validate()
         Source : CoreLab.PostgreSql.Entity
         Help link :
         Data : System.Collections.ListDictionaryInternal
         TargetSite : System.String a(System.Data.Common.CommandTrees.DbQueryCommandTree, System.Collections.Generic.List`1[System.String] ByRef)
         Stack Trace :    bei CoreLab.Common.Entity.i.a(DbQueryCommandTree A_0, List`1& A_1)
            bei CoreLab.PostgreSql.Entity.c.a(DbCommandTree A_0, DbConnection A_1)
            bei CoreLab.PostgreSql.Entity.PgSqlEntityProviderServices.b(DbProviderManifest A_0, DbCommandTree A_1)
            bei System.Data.Common.DbProviderServices.CreateCommandDefinition(DbCommandTree commandTree)
            bei System.Data.EntityClient.EntityCommandDefinition..ctor(DbProviderFactory storeProviderFactory, DbCommandTree commandTree)


Have You already tested PostgreSQLDirect .NET against Net Framework 3.5 SP 1 (release)? I'm looking forward to deploy my application with this release.

best regards,
Johannes
darth_bug
 
Posts: 4
Joined: Tue 12 Aug 2008 11:11

Postby fsalbrechter » Tue 12 Aug 2008 11:56

Confirming the Problem, having the same issues here...

kind regards,
flo
fsalbrechter
 
Posts: 1
Joined: Tue 12 Aug 2008 11:55

Postby AndreyR » Tue 12 Aug 2008 12:19

New, compatible with the Visual Studio 2008 SP1 RTM builds will be available in several days.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby Shalex » Thu 21 Aug 2008 08:57

PostgreSQLDirect .NET version 3.75 is released. It supports Visual Studio 2008 Service Pack 1. You can download it from http://www.devart.com/pgsqlnet/download.html

More about new release: http://www.devart.com/forums/viewtopic.php?t=12707
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for PostgreSQL