Consultor Eletrônico



Kbase P146984: Runtime errors in .NET OpenClient
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/18/2009
Status: Unverified

SYMPTOM(s):

Runtime errors in .NET OpenClient

Method not found: DataTableMetaData..ctor

.NET Stack trace:
Method not found: 'Void Progress.Open4GL.DynamicAPI.DataTableMetaData..ctor(Int32, System.String, Int32, Boolean, Int32, System.String, System.String, System.String, System.String)' " at TrialData..ctor(Connection connectObj) at ProDataSetTest.Form1.GetTrialData() in C:\\work\\Projects\\ProDataSetTest\\ProDataSetTest\\Form1.cs:line 27
at ProDataSetTest.Form1..ctor() in C:\\work\\Projects\\ProDataSetTest\\ProDataSetTest\\Form1.cs:line 21
at ProDataSetTest.Program.Main() in C:\\work\\Projects\\ProDataSetTest\\ProDataSetTest\\Program.cs:line 17at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()\r\n at System.Threading.ThreadHelper.ThreadStart_Context(Object state)at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)at System.Threading.ThreadHelper.ThreadStart()"

FACT(s) (Environment):

DataTableMetaData..ctor method resides in Progress.o4glrt.dll which is generated with each new client proxy
Windows
OpenEdge 10.1B

CHANGE:

Customer adding new proDataSet proxy to existing .NET project

CAUSE:

The Progress.o4glrt.dll in the .NET project was an old copy which came from a previous release of ProxyGen

FIX:

Moving the newly generated Progress.o4glrt.dll into the project and adding it as a reference fixed the problem