Access 2007 and Visual Web Developer

H

Hesham Sakr

I am getting the error below when I try insert a table on a web page using
ASP.net from an Access 2007 Database...

Can any one help!??

Unrecognized database format 'E:\New Folder\STN-DMS VER 4.0-with SC-LATEST
UPDATE-TUESDAY.accdb'.
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.Data.OleDb.OleDbException: Unrecognized database
format 'E:\New Folder\STN-DMS VER 4.0-with SC-LATEST UPDATE-TUESDAY.accdb'.

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.
 
M

Mike Mueller

From the ExpressionWeb Newsgroup, similiar issue:

1- Set up the the data source as an old style mdb, you will need to view all
files to select the db
2- Manually edit the provider portion of the connection string in the
web.config file to reflect the accdb format:
Provider=Microsoft.ACE.OLEDB.12.0;
 
H

Hesham Sakr

I getting this message " Provider attribute not declared" how can I declare it?
 
H

Hesham Sakr

I manually added this [<connectionStrings
configSource="Provider=Microsoft.ACE.OLEDB.12.0"/> to the web.config file...


Stille Getting this "Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.
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.Data.OleDb.OleDbException: Unrecognized database
format 'E:\WebMIS\App_Data\STN-DMS.accdb'.

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:


[OleDbException (0x80004005): Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.]
System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
constr, OleDbConnection connection) +1125745

System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions
options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection
owningObject) +53

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.OleDb.OleDbConnection.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.AccessDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +74
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments,
DataSourceViewSelectCallback callback) +17
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
+69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +50
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint""

I NEED HELP AND FULL GUIDANCE PLEASE!!!
 
M

Mike Mueller

What flavor of the framework are you using?


Hesham Sakr said:
I manually added this [<connectionStrings
configSource="Provider=Microsoft.ACE.OLEDB.12.0"/> to the web.config
file...


Stille Getting this "Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.
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.Data.OleDb.OleDbException: Unrecognized database
format 'E:\WebMIS\App_Data\STN-DMS.accdb'.

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:


[OleDbException (0x80004005): Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.]
System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
constr, OleDbConnection connection) +1125745

System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions
options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection
owningObject) +53

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.OleDb.OleDbConnection.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.AccessDataSourceView.ExecuteSelect(DataSourceSelectArguments
arguments) +74
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments,
DataSourceViewSelectCallback callback) +17
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82

System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
+69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +50
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint""

I NEED HELP AND FULL GUIDANCE PLEASE!!!


Hesham Sakr said:
I getting this message " Provider attribute not declared" how can I
declare it?
 
H

Hesham Sakr

..net 3.5!

Mike Mueller said:
What flavor of the framework are you using?


Hesham Sakr said:
I manually added this [<connectionStrings
configSource="Provider=Microsoft.ACE.OLEDB.12.0"/> to the web.config
file...


Stille Getting this "Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.
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.Data.OleDb.OleDbException: Unrecognized database
format 'E:\WebMIS\App_Data\STN-DMS.accdb'.

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:


[OleDbException (0x80004005): Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.]
System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
constr, OleDbConnection connection) +1125745

System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions
options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection
owningObject) +53

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.OleDb.OleDbConnection.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.AccessDataSourceView.ExecuteSelect(DataSourceSelectArguments
arguments) +74
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments,
DataSourceViewSelectCallback callback) +17
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82

System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
+69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +50
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint""

I NEED HELP AND FULL GUIDANCE PLEASE!!!


Hesham Sakr said:
I getting this message " Provider attribute not declared" how can I
declare it?


:

From the ExpressionWeb Newsgroup, similiar issue:

1- Set up the the data source as an old style mdb, you will need to
view all
files to select the db
2- Manually edit the provider portion of the connection string in the
web.config file to reflect the accdb format:
Provider=Microsoft.ACE.OLEDB.12.0;



I am getting the error below when I try insert a table on a web page
using
ASP.net from an Access 2007 Database...

Can any one help!??

Unrecognized database format 'E:\New Folder\STN-DMS VER 4.0-with
SC-LATEST
UPDATE-TUESDAY.accdb'.
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.Data.OleDb.OleDbException: Unrecognized
database
format 'E:\New Folder\STN-DMS VER 4.0-with SC-LATEST
UPDATE-TUESDAY.accdb'.

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.
 
J

John Smith

Mike said:
What flavor of the framework are you using?


I manually added this [<connectionStrings
configSource="Provider=Microsoft.ACE.OLEDB.12.0"/> to the web.config
file...


Stille Getting this "Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.
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.Data.OleDb.OleDbException: Unrecognized
database
format 'E:\WebMIS\App_Data\STN-DMS.accdb'.

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:


[OleDbException (0x80004005): Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.]
System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
constr, OleDbConnection connection) +1125745

System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions

options, Object poolGroupProviderInfo, DbConnectionPool pool,
DbConnection
owningObject) +53

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.OleDb.OleDbConnection.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.AccessDataSourceView.ExecuteSelect(DataSourceSelectArguments
arguments) +74
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments
arguments,
DataSourceViewSelectCallback callback) +17
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82

System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
+69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +50
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint""

I NEED HELP AND FULL GUIDANCE PLEASE!!!


Hesham Sakr said:
I getting this message " Provider attribute not declared" how can I
declare it?


:

From the ExpressionWeb Newsgroup, similiar issue:

1- Set up the the data source as an old style mdb, you will need to
view all
files to select the db
2- Manually edit the provider portion of the connection string in the
web.config file to reflect the accdb format:
Provider=Microsoft.ACE.OLEDB.12.0;



I am getting the error below when I try insert a table on a web
page > >using
ASP.net from an Access 2007 Database...

Can any one help!??

Unrecognized database format 'E:\New Folder\STN-DMS VER 4.0-with
SC-LATEST
UPDATE-TUESDAY.accdb'.
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.Data.OleDb.OleDbException: Unrecognized
database
format 'E:\New Folder\STN-DMS VER 4.0-with SC-LATEST
UPDATE-TUESDAY.accdb'.

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.
 
J

John Smith

Mike said:
What flavor of the framework are you using?


I manually added this [<connectionStrings
configSource="Provider=Microsoft.ACE.OLEDB.12.0"/> to the web.config
file...


Stille Getting this "Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.
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.Data.OleDb.OleDbException: Unrecognized
database
format 'E:\WebMIS\App_Data\STN-DMS.accdb'.

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:


[OleDbException (0x80004005): Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.]
System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
constr, OleDbConnection connection) +1125745

System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions

options, Object poolGroupProviderInfo, DbConnectionPool pool,
DbConnection
owningObject) +53

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.OleDb.OleDbConnection.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.AccessDataSourceView.ExecuteSelect(DataSourceSelectArguments
arguments) +74
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments
arguments,
DataSourceViewSelectCallback callback) +17
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82

System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
+69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +50
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint""

I NEED HELP AND FULL GUIDANCE PLEASE!!!


Hesham Sakr said:
I getting this message " Provider attribute not declared" how can I
declare it?


:

From the ExpressionWeb Newsgroup, similiar issue:

1- Set up the the data source as an old style mdb, you will need to
view all
files to select the db
2- Manually edit the provider portion of the connection string in the
web.config file to reflect the accdb format:
Provider=Microsoft.ACE.OLEDB.12.0;



I am getting the error below when I try insert a table on a web
page > >using
ASP.net from an Access 2007 Database...

Can any one help!??

Unrecognized database format 'E:\New Folder\STN-DMS VER 4.0-with
SC-LATEST
UPDATE-TUESDAY.accdb'.
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.Data.OleDb.OleDbException: Unrecognized
database
format 'E:\New Folder\STN-DMS VER 4.0-with SC-LATEST
UPDATE-TUESDAY.accdb'.

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.
 
O

oskar.bogacz

Mike said:
What flavor of the framework are you using?


I manually added this [<connectionStrings
configSource="Provider=Microsoft.ACE.OLEDB.12.0"/> to the web.config
file...


Stille Getting this "Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.
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.Data.OleDb.OleDbException: Unrecognized
database
format 'E:\WebMIS\App_Data\STN-DMS.accdb'.

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:


[OleDbException (0x80004005): Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.]
System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
constr, OleDbConnection connection) +1125745

System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions

options, Object poolGroupProviderInfo, DbConnectionPool pool,
DbConnection
owningObject) +53

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.OleDb.OleDbConnection.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.AccessDataSourceView.ExecuteSelect(DataSourceSelectArguments
arguments) +74
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments
arguments,
DataSourceViewSelectCallback callback) +17
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82

System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
+69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +50
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint""

I NEED HELP AND FULL GUIDANCE PLEASE!!!


Hesham Sakr said:
I getting this message " Provider attribute not declared" how can I
declare it?


:

From the ExpressionWeb Newsgroup, similiar issue:

1- Set up the the data source as an old style mdb, you will need to
view all
files to select the db
2- Manually edit the provider portion of the connection string in the
web.config file to reflect the accdb format:
Provider=Microsoft.ACE.OLEDB.12.0;



I am getting the error below when I try insert a table on a web
page > >using
ASP.net from an Access 2007 Database...

Can any one help!??

Unrecognized database format 'E:\New Folder\STN-DMS VER 4.0-with
SC-LATEST
UPDATE-TUESDAY.accdb'.
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.Data.OleDb.OleDbException: Unrecognized
database
format 'E:\New Folder\STN-DMS VER 4.0-with SC-LATEST
UPDATE-TUESDAY.accdb'.

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.
 
J

John Smith

Mike said:
What flavor of the framework are you using?


I manually added this [<connectionStrings
configSource="Provider=Microsoft.ACE.OLEDB.12.0"/> to the web.config
file...


Stille Getting this "Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.
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.Data.OleDb.OleDbException: Unrecognized
database
format 'E:\WebMIS\App_Data\STN-DMS.accdb'.

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:


[OleDbException (0x80004005): Unrecognized database format
'E:\WebMIS\App_Data\STN-DMS.accdb'.]
System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
constr, OleDbConnection connection) +1125745

System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions

options, Object poolGroupProviderInfo, DbConnectionPool pool,
DbConnection
owningObject) +53

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.OleDb.OleDbConnection.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.AccessDataSourceView.ExecuteSelect(DataSourceSelectArguments
arguments) +74
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments
arguments,
DataSourceViewSelectCallback callback) +17
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82

System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
+69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +50
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint""

I NEED HELP AND FULL GUIDANCE PLEASE!!!


Hesham Sakr said:
I getting this message " Provider attribute not declared" how can I
declare it?


:

From the ExpressionWeb Newsgroup, similiar issue:

1- Set up the the data source as an old style mdb, you will need to
view all
files to select the db
2- Manually edit the provider portion of the connection string in the
web.config file to reflect the accdb format:
Provider=Microsoft.ACE.OLEDB.12.0;



I am getting the error below when I try insert a table on a web
page > >using
ASP.net from an Access 2007 Database...

Can any one help!??

Unrecognized database format 'E:\New Folder\STN-DMS VER 4.0-with
SC-LATEST
UPDATE-TUESDAY.accdb'.
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.Data.OleDb.OleDbException: Unrecognized
database
format 'E:\New Folder\STN-DMS VER 4.0-with SC-LATEST
UPDATE-TUESDAY.accdb'.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top