Microsoft.Data.Odbc.dll

  • Thread starter Thread starter J. Marshall Latham
  • Start date Start date
J

J. Marshall Latham

I have a simple page trying to enter three pieces of information into a
database using ODBC on a web site that has .NET Framework 1.0, so I have to
use this Microsoft.Data.Odbc.dll which has been working just fine on another
web server. Well the web server/web site that I am having trouble with is
receiving the following error. Can anyone help me with this? Thanks. JML


Access is denied: 'Microsoft.Data.Odbc'.
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: System.IO.FileLoadException: Access is denied:
'Microsoft.Data.Odbc'.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Stack Trace:

[FileLoadException: Access is denied: 'Microsoft.Data.Odbc'.]
danvillefarms.WebForm1.btnSubmit_Click(Object sender, EventArgs e) +0
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePo
stBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1263
 
Hi Marshall,

Since the web page works fine on another web server, this issue is could be
probably caused by the configuration and permission on the web server.
Please check the following points:

1. Make sure the account running ASP.NET has enough permission to access
the MDAC folder.

2. Check the web.config file

3. Check the mode of accessing the IIS (Windows authentication, anonymous,
etc;)

For more information, please refer to the following article:

817033.KB.EN-US PRB: "Access denied" Error Message When You Run an ASP.NET
1.0
http://support.microsoft.com/default.aspx?scid=KB;EN-US;817033



Sincerely,

Kevin
Microsoft Support

This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! - www.microsoft.com/security

--------------------
| From: "J. Marshall Latham" <[email protected]>
| Subject: Microsoft.Data.Odbc.dll
| Date: Sun, 12 Oct 2003 23:07:46 -0500
| Lines: 42
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.general
| NNTP-Posting-Host: 112-181.klgr-a5.cablelynx.com 24.204.112.181
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:111548
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| I have a simple page trying to enter three pieces of information into a
| database using ODBC on a web site that has .NET Framework 1.0, so I have
to
| use this Microsoft.Data.Odbc.dll which has been working just fine on
another
| web server. Well the web server/web site that I am having trouble with is
| receiving the following error. Can anyone help me with this? Thanks.
JML
|
|
| Access is denied: 'Microsoft.Data.Odbc'.
| 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: System.IO.FileLoadException: Access is denied:
| 'Microsoft.Data.Odbc'.
|
| Source Error:
|
| An unhandled exception was generated during the execution of the
| current web request. Information regarding the origin and location of the
| exception can be identified using the exception stack trace below.
|
| Stack Trace:
|
| [FileLoadException: Access is denied: 'Microsoft.Data.Odbc'.]
| danvillefarms.WebForm1.btnSubmit_Click(Object sender, EventArgs e) +0
| System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
|
|
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePo
| stBackEvent(String eventArgument) +57
| System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
| sourceControl, String eventArgument) +18
| System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
| System.Web.UI.Page.ProcessRequestMain() +1263
|
|
|
|
----------------------------------------------------------------------------
| ----
| Version Information: Microsoft .NET Framework Version:1.0.3705.288;
ASP.NET
| Version:1.0.3705.288
|
|
|
 
Back
Top