PDA

View Full Version : upload کردن صفحات asp.net



shahabi
یک شنبه 29 بهمن 1385, 10:11 صبح
من می خوام یکسری صفحه را که در asp.net 2005 طراحی کردم و روی سیستم حودم هم اجرا می شود را در web هم upload کنم و ببینم.
اما وقتی در کنترل پنل سایت صفحات را uplod می کنم ، موقع load شدن صفحات با error زیر برخورد می کنم:


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>



من حتی صفحات را در asp.net 2003 هم طراحی کردم اما باز همین مشکل را دارم.
ممنون می شم اگر راهنمایی کنید.

behbah
یک شنبه 29 بهمن 1385, 10:28 صبح
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".[/

اگر به این قسمت از خطا توجه کنید گفته است که مقدار تگ CustomerError در Web.config
را Off کنید تا خطا نمایش داده شود.

shahabi
یک شنبه 29 بهمن 1385, 10:31 صبح
این کار را کردم اما فایده نداره بازهم همین error را نشان می دهد.

صابر
یک شنبه 29 بهمن 1385, 14:49 عصر
Off به بزرگی و کوچکی حروف حساس هست. O بزرگ و ff کوچک باید باشد.