473,320 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Microsoft.Data.Odbc.dll

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.IPo stBackEventHandler.RaisePo
stBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection 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
Jul 21 '05 #1
2 9920
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...B;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" <ma******@networkip.net>
| 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: <u7*************@tk2msftngp13.phx.gbl>
| 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!tk2msftn gp13.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.IPo stBackEventHandler.RaisePo
| stBackEvent(String eventArgument) +57
| System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
| sourceControl, String eventArgument) +18
| System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection 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
|
|
|

Jul 21 '05 #2
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...B;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" <ma******@networkip.net>
| 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: <u7*************@tk2msftngp13.phx.gbl>
| 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!tk2msftn gp13.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.IPo stBackEventHandler.RaisePo
| stBackEvent(String eventArgument) +57
| System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
| sourceControl, String eventArgument) +18
| System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection 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
|
|
|

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: M P | last post by:
What does this mean? I am accessing an ASP page that queries Access Database thru fileDSN. I'm using IIS 5.0 Win2K SP4 Microsoft OLE DB Provider for ODBC Drivers error '80004005' General...
1
by: matt (ziba) | last post by:
using the Microsoft.Data.Odbc component instead of System.Data.Odbc how do u get a row count using the Microsoft.Data.Odbc.OdbcDataReader ?? and is it best to use Microsoft.Data.Odbc OR...
0
by: Andy Lee | last post by:
System.Data.Odbc namespace is only available in .NET framework 1.1 while Microsoft.Data.Odbc is available in .NET framework 1.0. I heard that the System.Data.Odbc is exact the same as...
1
by: J. Marshall Latham | last post by:
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...
0
by: jwtulp | last post by:
Hello all, I receive the following error when updating MSAccess2003 Memo fields using an ODBC connection in ASP.Net 1.1 when the length of the text to be updated exceeds 255 characters....
1
by: somersbar | last post by:
hey, ive been trying to set up a web form in visual basic.net that can access a microsoft access database. i need to use odbc also. i can get it working using a windows form but not a web form....
5
by: somersbar | last post by:
hello all, im trying to connect to a microsoft access database from an ASP.NET web form. i keep getting the following error though: ERROR Could not use '(unknown)'; file already in use....
0
by: bazzer | last post by:
hey, i am using visual basic.net 2003 and have an ASP.NET webform application thats accessing a microsoft access 2003 database. i kept getting the following error when i tried to run it: ERROR ...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.