Page 1 of 1

.Net Framework 3.5 SP 1 Problem

Posted: Tue 12 Aug 2008 11:30
by darth_bug
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

Posted: Tue 12 Aug 2008 11:56
by fsalbrechter
Confirming the Problem, having the same issues here...

kind regards,
flo

Posted: Tue 12 Aug 2008 12:19
by AndreyR
New, compatible with the Visual Studio 2008 SP1 RTM builds will be available in several days.

Posted: Thu 21 Aug 2008 08:57
by Shalex
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