PDA

View Full Version : سوال: خطا در هنگام کار با access در iis



r_khan
دوشنبه 27 شهریور 1391, 17:52 عصر
باسلام
در برنامم با بانک اطلاعاتی اکسس کارمیکنم در خود vs بدون هیچ مشکلی اجرا میشه ولی در iis اجرا میکنم ارور زیر را میده

Could not delete from specified tables.

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 delete from specified tables.
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.KH-SH
دوشنبه 27 شهریور 1391, 18:09 عصر
پوشه app_Data و یا پوشه ای که در اون بانک access هست رو به صورت shaere در بیارین

r_khan
دوشنبه 27 شهریور 1391, 18:41 عصر
یافتم
باید به جدول اکسس کلید اولیه میدادم که مشکل حل شد:لبخندساده: