PDA

View Full Version : Cannot use a leading .. to exit above the top directory



jikjik87
یک شنبه 10 خرداد 1388, 16:41 عصر
سلام

وقتی سایت رو آپلود میکنم این پیغام رو میده.

Cannot use a leading .. to exit above the top directory.

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.Web.HttpException: Cannot use a leading .. to exit above the top directory.

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.


البته صفحه اول میاد اما وقتی میرم تو صفحات دیگه این پیغام رو میده (صفحات توی یک پوشه دیگه هستن)

با تشکر

iman_22a
یک شنبه 10 خرداد 1388, 17:37 عصر
شاید توی مسیردادن نسبی یا آدرس دهی اشتباه کرده باشید (توی کاربرد .. یا ~) حتی توی فراخوانی فایلهای CSS . چون ممکنه صفحه شما آدرسی رو فراخوانی کنه که یه Level بالاتر از ریشه وب سایت باشه (مثلا wwwroot)