Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ASP.NET ODBC Oracle Error IM003

Posted on 2009-05-18
1
Medium Priority
?
777 Views
Last Modified: 2013-11-16
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
Comment
Question by:Krissirk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
Krissirk earned 0 total points
ID: 24411363
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

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question