• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 782
  • Last Modified:

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

0
Krissirk
Asked:
Krissirk
1 Solution
 
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now