PDA

View Full Version : سوال: دلیل بوجود آمدن این اشکال چیست و چگونه آنرا رفع نمایم؟



didaaa
سه شنبه 12 مرداد 1389, 21:47 عصر
سلام من هستمو از ايران هاست گرفتم با اينكه .net 2.0 رو ساپورت ميكنه ولي باز اين ارور ميده كمك كنيد لطفا. :ناراحت::ناراحت::ناراحت::گری :





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>

Vahid_moghaddam
سه شنبه 12 مرداد 1389, 22:04 عصر
این error عجیب نیست! به خاطر تنظیمات web.config برای امنیت، متن خطا نمایش داده نمی شه.
این تغییرات رو در web.config بدید تا متن خطا رو ببینید. بعد از رفع خطا اونها رو به حالت اول بر گردونید.



<compilation debug="true">
.
.
.
<customErrors mode="Off"/>

VB.NET 2010
سه شنبه 12 مرداد 1389, 23:20 عصر
این خطا عجیب نیست
اول خطا ها رو مدیریت کن دوم بسته به کاریه که داری انجام میدی
مثلا خصوصیات read , write , ... یک فولدر

didaaa
دوشنبه 18 مرداد 1389, 09:36 صبح
دوستان اين مشكل از تنظيمات هاستم بود كه روي دات نت 1 تنظيم بود بعد از درست كردن تنظيمات درست شد.