Sean
3/24/2005 7:18:00 PM
And the exact error message is...
Server Error in ''/Test'' Application.
--------------------------------------------------------------------------------
''test.dbf'' is not a valid path. Make sure that the path name is spelled
correctly and that you are connected to the server on which the file
resides.
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: ''test.dbf'' is not a
valid path. Make sure that the path name is spelled correctly and that you
are connected to the server on which the file resides.
Source Error:
Line 27:
Line 28: Dim dBaseCommand As New Data.OleDb.OleDbCommand("SELECT *
FROM test", dBaseConnection)
Line 29: dBaseConnection.Open()
Line 30: Dim dBaseDataReader As Data.OleDb.OleDbDataReader
Line 31:
Source File: D:\Test\Default.aspx Line: 29
Stack Trace:
[OleDbException (0x80004005): ''test.dbf'' is not a valid path. Make sure
that the path name is spelled correctly and that you are connected to the
server on which the file resides.]
System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString
constr, OleDbConnection connection) +933090
System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions
options, Object providerInfo, DbConnection owningObject) +54
System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection
owningConnection, DbConnectionPoolGroup poolGroup) +25
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
owningConnection) +49
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory) +106
System.Data.OleDb.OleDbConnection.Open() +37
ASP.Default_aspx.Button2_Click(Object sender, EventArgs e) in
D:\Test\Default.aspx:29
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +72
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
+78
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4207
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50110.28; ASP.NET
Version:2.0.50110.28
"Paul Clement" <UseAdddressAtEndofMessage@swspectrum.com> wrote in message
news:f3g541d3vuffm1q32n684jdbt9bnrqg7to@4ax.com...
> On Wed, 23 Mar 2005 13:08:47 -0800, "Sean" <spam_I_hate@whenu.com> wrote:
>
> ¤ Unfortunatly no that did not work. I recieved the same error
> message
> ¤ when I tried to connect. I seem to be able to open an excel file but
> every
> ¤ time I try and open a DBASE IV file it blows up on me. I have been
> using a
> ¤ DBASE IV database file created with Excel 2003 for testing.
> ¤
>
> Can you could post your code and identify the error and where is
> occurring?
>
>
> Paul
> ~~~~
> Microsoft MVP (Visual Basic)