Yuda
02-17-2004, 12:13 PM
Hi,
I used the "copy project" command to upload my project to the web site. ( It is a IBuySpy based )
I changed the web.config file in the web site to point to the database and also used the web application tool to install the directory as app dir.
When trying to browse it I get the error that shows below.
One strange thing is that after the "copy project" command finished, I noticed that a lot of the project's files were not uploaded at all. For example the "Components" directory was empty even though it has many files in my machine as well as the database directory and the db itself.. So I uploaded just everything manually. I am sure I missed a huge thing here but I am new to this stuff so .... :)
please note that I moved the Access DB to the application root for testing only.
Any response will be highly appreciated,
Thanks.
Yuda.
Here is the error:
Here is the error:
Here is the error:
Server Error in '/Makolet/IBS' Application.
--------------------------------------------------------------------------------
Could not find file 'c:\store2002.mdb'.
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: Could not find file 'c:\store2002.mdb'.
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): Could not find file 'c:\store2002.mdb'.]
System.Data.OleDb.OleDbConnection.ProcessResults(I nt32 hr) +20
System.Data.OleDb.OleDbConnection.InitializeProvid er() +57
System.Data.OleDb.OleDbConnection.Open() +203
IBuySpy.IBuySpy.ProductsDB.GetProductCategories() in C:\StoreVBVS\StoreVBVS\Components\ProductsDB.vb:65
IBuySpy.C_Menu.Page_Load(Object sender, EventArgs e) in C:\StoreVBVS\StoreVBVS\_Menu.ascx.vb:44
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +731
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.903
I used the "copy project" command to upload my project to the web site. ( It is a IBuySpy based )
I changed the web.config file in the web site to point to the database and also used the web application tool to install the directory as app dir.
When trying to browse it I get the error that shows below.
One strange thing is that after the "copy project" command finished, I noticed that a lot of the project's files were not uploaded at all. For example the "Components" directory was empty even though it has many files in my machine as well as the database directory and the db itself.. So I uploaded just everything manually. I am sure I missed a huge thing here but I am new to this stuff so .... :)
please note that I moved the Access DB to the application root for testing only.
Any response will be highly appreciated,
Thanks.
Yuda.
Here is the error:
Here is the error:
Here is the error:
Server Error in '/Makolet/IBS' Application.
--------------------------------------------------------------------------------
Could not find file 'c:\store2002.mdb'.
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: Could not find file 'c:\store2002.mdb'.
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): Could not find file 'c:\store2002.mdb'.]
System.Data.OleDb.OleDbConnection.ProcessResults(I nt32 hr) +20
System.Data.OleDb.OleDbConnection.InitializeProvid er() +57
System.Data.OleDb.OleDbConnection.Open() +203
IBuySpy.IBuySpy.ProductsDB.GetProductCategories() in C:\StoreVBVS\StoreVBVS\Components\ProductsDB.vb:65
IBuySpy.C_Menu.Page_Load(Object sender, EventArgs e) in C:\StoreVBVS\StoreVBVS\_Menu.ascx.vb:44
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +731
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.903