Context works in Console, but not in Web

Context works in Console, but not in Web

Postby mr_fsx » Tue 18 Nov 2008 16:05

Hello,

I have generated a context with Entity Developer.

I use the context as follows:
using (MyContext c = new MyContext())
{
// Some code here...
}

The problem is that the method above works fine in a ConsoleApp, but not in a WebApp.

When I try to use the context in my WebApp it throws the following exception on the using(.....) line:
"Metoden a i typen Devart.Data.Oracle.Linq.Provider.OracleDataProvider från sammansättningen Devart.Data.Oracle.Linq, Version=1.0.2.0, Culture=neutral, PublicKeyToken=09af7300eec23701 saknar implementering."

It's swedish and means something like this: "The method a in the type Devart.Data.Oracle.Linq.Provider.OracleDataProvider from the composition Devart.Data.Oracle.Linq is missing implementation".

Any suggestons on how to solve this?
mr_fsx
 
Posts: 6
Joined: Wed 24 Sep 2008 12:43

Postby mr_fsx » Tue 18 Nov 2008 16:17

Problem solved!
I uninstalled previous version of OraDirect.NET and now it works.
mr_fsx
 
Posts: 6
Joined: Wed 24 Sep 2008 12:43


Return to dotConnect for Oracle