مرجع تخصصی برنامه نویسان

انجمن تخصصی برنامه نویسان فارسی زبان

کاربر سایت

علیرضا5

عضویت از 1395/01/03

خطای باز شدن سایت بعد از اضافه کردن دیتابیس

  • پنجشنبه 5 فروردین 1395
  • 23:28
تشکر میکنم

با سلام یک سایت رو بارگذاری کردم روی هاست برای اجرا هیچ مشکلی نداشت
حالا که یک دیتا بیس اکسس بهش اضافه کردم تو سیستم خودم درست نشون میده ولی روی هاست ارور میده
اینم متن ارورش
اساتید محترم لطفا راهنمایی کنن
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>

پاسخ های این پرسش

تعداد پاسخ ها : 2 پاسخ
کاربر سایت

ایمان مدائنی

عضویت از 1392/01/20

  • پنجشنبه 5 فروردین 1395
  • 23:32

کد زیر را در وب کانفیگ قرار دهید تا متن خطای اصلی را ببینید

<customErrors mode="Off"/>

 

کاربر سایت

علیرضا5

عضویت از 1395/01/03

  • جمعه 6 فروردین 1395
  • 03:19

خیلی ممنوم 

همین کار رو کردم

و خطای اصلی رو هم موفق شدم و برطرف شد باتشکر

فقط با توجه به مبتدی بودنم در بحث asp.net لطفا اگه منبع خوبی برای ارتباط با دیتابیس سراغ دارین بهم معرفی بکنید
منظورم کد های find + filter +move و ... هست
باز هم تشکر
موفق باشید ان شاالله

کاربرانی که از این پست تشکر کرده اند

هیچ کاربری تا کنون از این پست تشکر نکرده است

اگر نیاز به یک مشاور در زمینه طراحی سایت ، برنامه نویسی و بازاریابی الکترونیکی دارید

با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)