ExecuteCommand Error

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
rick.duarte
Posts: 35
Joined: Fri 23 Jan 2009 23:07
Location: Rio de Janeiro, Brazil

ExecuteCommand Error

Post by rick.duarte » Mon 04 May 2009 15:07

Guys,

I'm using the version 5.20.29.0 pro and still getting error when using ExecuteCommand:

Code: Select all

dc.ExecuteCommand("TRUNCATE TABLE GRD_DADO_OBJ");

System.NullReferenceException

[NullReferenceException: Referência de objeto não definida para uma instância de um objeto.]
   Devart.Data.Linq.Provider.Query.a.a(bp A_0) +266
   Devart.Data.Linq.Provider.Query.SqlVisitor.a(SqlNode A_0) +2981
   Devart.Data.Linq.Provider.Query.a2.a(SqlNode A_0, DataSourceInfo A_1) +119
   Devart.Data.Linq.Provider.DataProvider.a(b A_0, Type A_1, SqlNode A_2, IList`1 A_3) +1338
   Devart.Data.Linq.Provider.DataProvider.a(Expression A_0) +236
   Devart.Data.Linq.Provider.DataProvider.h(Expression A_0) +168
   Devart.Data.Linq.DataContext.ExecuteMethodCall(Object instance, MethodInfo methodInfo, Object[] parameters) +220
   Devart.Data.Linq.DataContext.ExecuteCommand(String command, Object[] parameters) +294
   web.Global.Application_Start(Object sender, EventArgs e) in C:\Documents and Settings\Administrador\Meus documentos\Visual Studio 2008\Projects\ARGUS\web\Global.asax.cs:12

Regards,

Henrique

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 05 May 2009 13:18

Thank you for the report, we have reproduced the problem.
I will let you know about the results of our investigation.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Thu 07 May 2009 12:26

Thanks for your help, we have fixed the problem. Look forward to the next build.

Post Reply