أرجو المساعدة
استخدم برنامج Microsoft Visual Studio .NET 2003 لإنشاء
ASP.net web application
location http://localhost/WebAppTest
و أريد ربط البرنامج بداتا بيز (أكسيس)
وعملت ذلك كالتالي :
إنشاء OleDbDataAdapter
provider :Microsoft jet 4.0 OLE DB Provider
اختبرت الاتصال تمام علماً بأن الداتا بيز موجودة في bin
إضافة Data Set
Data - Generate Dataset
وتم اختيار الجدول
تعبئة Dataset
OleDbDataAdapter1.fill(dataset11)
ثم تم عمل databinding مع الكونرول المراد
لكن المشكلة تكمن في التالي :
في عملية fill
حيث يظهر التالي :
Server Error in '/WebAppTest' Application.
--------------------------------------------------------------------------------
Could not find file 'C:\WINDOWS\system32\Topic3.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:\WINDOWS\system32\Topic3.mdb'.
Source Error:
Line 123: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Line 124: 'Put user code to initialize the page here
Line 125: OleDbDataAdapter1.Fill(DataSet11)
Line 126:
Line 127: End Sub
Source File: C:\Inetpub\wwwroot\WebAppTest\WebForm1.aspx.vb Line: 125
Stack Trace:
[OleDbException (0x80004005): Could not find file 'C:\WINDOWS\system32\Topic3.mdb'.]
System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
System.Data.OleDb.OleDbConnection.InitializeProvider()
System.Data.OleDb.OleDbConnection.Open()
System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState)
System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
WebAppTest.WebForm1.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\WebAppTest\WebForm1.aspx.vb:125
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
أرجو المساعدة هل هو إعدادات أم ماذا؟


