PDA

View Full Version : سوال: خطا بعد از آپلود سايت



farshad22
جمعه 31 اردیبهشت 1389, 18:55 عصر
سلام.من سايتي دارم كه روي سيستم خودم با كانكشن راه دور به ديتابيس كه روي هاسته اجرا ميشه ولي از روي خود سايت خطاي معروف زير را ميده:
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".
من دراينباره جستجو هم كردم ولي پست هاي قبلي به كارم نيومد.چون ميدونم كانكشن استرينگم درسته و همينطور custom error در وب كانفيگ off است.چطوري ميشه فهميد خطاي واقعي چيه؟
در ضمن ريشه ي (root) اين هاست يه فولدر از پيش ساخته شده است و من سايت را توي اون آپلود كردم.

raziee
جمعه 31 اردیبهشت 1389, 22:09 عصر
متن این خطا که چیزی رو نشون نمیده و هز رمان که خطایی رخ داده که کنترل نشده باشه و در وب کانفیگ هم errorpage تنظیم نشده.

------------
اما چیزی که در آپلود فایل ها مهم هست دسترسی دادن به اون پوشه هست که در زمان ایجاد فایل خطای عدم دسترسی نده.