Solved

ASP.NET ODBC Oracle Error IM003

Posted on 2009-05-18
1
766 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Note: You must have administrative privileges in order to configure lead or case queues. Salesforce.com (http://www.Salesforce.com) is a cloud-based customer relationship management (CRM) system. It is widely used around the world by sales and ma…
"Disruption" is the most feared word for C-level executives these days. They agonize over their industry being disturbed by another player - most likely by startups.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

786 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