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