Oracle reference error

  • 11 May 2007
  • 1 reply
  • 3 views

Badge +1
Hi All,

Actually m trying to access a method from K2 which fetches data from Oracle,i have given the reference of Oracle.DataAccess.dll then also every time i am getting the same error...Can anyone plz help me in fixing this error.


Error Description-

.

1 reply

Badge +5
Hi Sanjeev,
This error normally gets thrown when the assembly you are looking for is found but the version numbers are not the same. One thing to remember is that when the an assembly is loaded, Fusion will first search in the GAC and if it finds an assembly with the same SIMPLE name and the versions do not match it will throw the error. It will assume that there is only one assembly in the GAC with that name and will not continue searching. One way to get past this one will be to specify the full path to the assembly you need to K2 by using browse when adding the reference and browsing into the gac('%systemroot%assemblygac...').

If this did not help I would recommend contacting your local K2 Support.

Regards
Gert

Reply