[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

12/23/2007 at 03:47PM PST, ID: 23040997
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

The .Net Framework Odbc Data Provider requires Microsoft Data Access Components(MDAC) version 2.6 or later.

Asked by BobCSD in Programming for ASP.NET, MS SQL Server, .NET Framework 2.x

Tags: version, error, framework, later, remote

Using ODBC in asp.net to a sql 2000 database, my asp classic works fine, but adding files to the same directory and project in aspx, the pages with odbc connections fail.

(Yes, I would rather use sqlclient, but that's another post on here that I can't get working:
http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_22992208.html

Meanwhile, back to this one. As a result of the sqlclient connection not working (works locally on the exact same pages and connection to the remote database), if I upload my files to the server, from the server it errors with the attached error.

What must I do to get the 2.6 or later on here? (or preferably the sqlclient to work from the other task)....

I'm using sql server 2000 database and MS web server 2000. Both are on the same network with the same firewall.

I've tried with 3 types of connections:

' the remote IP address (which works on the localhost development):
      <add name="ffDBFConnectionString" connectionString="Data Source=xx.xx.xx.xx;Initial Catalog=ffDBF;Integrated Security=True"
            providerName="System.Data.SqlClient" />

' the local IP from the server (this is how the classic connects
      <add name="ffDBFConnectionString1" connectionString="Data Source=192.168.xx.xx;Initial Catalog=ffDBF;Integrated Security=True"
          providerName="System.Data.SqlClient" />

' and the odbc
      <add name="ffODBCConnectionString" connectionString="Dsn=ffDBF"
            providerName="System.Data.Odbc" />

None of the above 3 work on the web server. But the 1st and 3rd work on the localhost (not the webserver's local IP of course).

Please help. thanks.

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
Server Error in '/' Application.
--------------------------------------------------------------------------------
 
The .Net Framework Odbc Data Provider requires Microsoft Data Access Components(MDAC) version 2.6 or later.  Version 2.53.6307.0 was found currently installed. 
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.InvalidOperationException: The .Net Framework Odbc Data Provider requires Microsoft Data Access Components(MDAC) version 2.6 or later.  Version 2.53.6307.0 was found currently installed.
 
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: 
 
 
[InvalidOperationException: The .Net Framework Odbc Data Provider requires Microsoft Data Access Components(MDAC) version 2.6 or later.  Version 2.53.6307.0 was found currently installed.]
   System.Data.Common.ADP.CheckVersionMDAC(Boolean ifodbcelseoledb) +1465318
   System.Data.Odbc.OdbcEnvironment.GetGlobalEnvironmentHandle() +72
   System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +69
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +27
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +47
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
   System.Data.Odbc.OdbcConnection.Open() +37
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83
   System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1770
   System.Web.UI.WebControls.BaseDataList.GetData() +53
   System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +284
   System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +56
   System.Web.UI.WebControls.BaseDataList.DataBind() +72
   System.Web.UI.WebControls.BaseDataList.EnsureDataBound() +55
   System.Web.UI.WebControls.BaseDataList.CreateChildControls() +63
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.Control.PreRenderRecursiveInternal() +41
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
[+][-]12/23/07 03:53 PM, ID: 20522923

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Programming for ASP.NET, MS SQL Server, .NET Framework 2.x
Tags: version, error, framework, later, remote
Sign Up Now!
Solution Provided By: debuggerau
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20090824-EE-VQP-74 / EE_QW_EXPERT_20070906