ASP.NET ODBC Oracle Error IM003

Hello,

I have an ASP.NET application. I use the .NET ODBC Driver addon: http://www.microsoft.com/downloads/details.aspx?FamilyID=6ccd8427-1017-4f33-a062-d165078e32b1&displaylang=en
When I connect tot the Oracle via ASP.NET, it gives me this error:

ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.Data.Odbc.OdbcException: ERROR [IM003] Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).

Now I have made a small VB.NET application with just the same parameters and this works fine... The system DSN works also fine.

Can somebody help me out of this?

Kind Regards,
Kris
Dim cnODBC As New Microsoft.Data.Odbc.OdbcConnection("dsn=FionaExpert;UID=athena;PWD=athena")
cnODBC.Open()

Open in new window

KrissirkAsked:
Who is Participating?
 
KrissirkAuthor Commented:
I found it...I think.
First of all I changed the connection string to "Driver={Oracle in CIPAL_OH92};DBQ=SLEU;Uid=athena;Pwd=athena"
and
give full access to the dir ORA92 to the user IIS_WPG
but my query does not give any results...the structure is different than the one in SQL Server I suppose.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.