PDA

View Full Version : سوال: مشکل شناسایی پایگاه داده



niloofar-co
پنج شنبه 05 آبان 1390, 13:31 عصر
با سلام
برای سایتم از پایگاه داده اکسس استفاده کرده ام در اجرای سایت با iis پایگاه رو نمی تونه شناسایی کنه و ایراد می گیره لطفا راهنمایی کنید
اخطار :

Server Error in '/' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="Off"/> </system.web></configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web></configuration>

میلاد قاضی پور
پنج شنبه 05 آبان 1390, 13:52 عصر
برید قسمت asp.net هاستتون و کاستو ارور مد رو روی آف بذارید تا ارور اصلی رو مشاهده کنید .

niloofar-co
پنج شنبه 05 آبان 1390, 14:52 عصر
این ارور رو داد
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): Operation must use an updateable query.] System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(OleDbHResult hr) +1070856 System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS dbParams, Object& executeResult) +247 System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult) +194 System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior behavior, Object& executeResult) +58 System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior behavior, String method) +167 System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +113 siam_madaress.Addstudent.btn_AddData_Click(Object sender, EventArgs e) in C:\Users\Modir\Documents\Visual Studio 2010\Projects\siam-madaress\siam-madaress\Addstudent.aspx.vb:19 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118 System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +112 System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

niloofar-co
پنج شنبه 05 آبان 1390, 18:31 عصر
لطفا راهنمایی کنید