PDA

View Full Version : قراردادن روی سرور



hamidr
پنج شنبه 28 مهر 1384, 09:19 صبح
سلام
من برای اولین بار که یک صفحه با vb.net نوشتم و میخوام روی سرور قرار دهم اما با پیغام خطا
مواجه می شوم . روی سیستم خودم درست کار میکنه:

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>

hamidr
یک شنبه 01 آبان 1384, 08:43 صبح
کمک کنید نیاز فوری دارم

Hamedm
یک شنبه 01 آبان 1384, 21:49 عصر
سلام

منظورتون از اینکه گفتید "میخوام روی سرور قرار دهم" چیه؟
چه موقعی این پیغام ظاهر میشه؟

در پناه حق موفق باشید و پرتوان

Behrouz_Rad
یک شنبه 01 آبان 1384, 23:06 عصر
این سوال به بخشASP.NET مربوط میشه.
خاصیت mode المنت customErrors را به Off تنظیم کنید.

hamidr
چهارشنبه 04 آبان 1384, 21:39 عصر
یک لینک در یک سایت است میخوام لینک به این صفحه متصل باشه

((خاصیت mode المنت customErrors را به Off تنظیم کنید)) این کار رو هم کردم نشد

در ضمن این برنامه هم در vb.net نوشته ام

Behrouz_Rad
پنج شنبه 05 آبان 1384, 22:23 عصر
ما که نفهمیدیم چی شد!
در ضمن، یک چیز رو در خاطر داشته باشید:
ASP.NET یک تکنولوژی است و VB.NET یک زبان مبتنی بر دات نت.