PDA

View Full Version : خطا ورود به سایت !!!



razeghaik1
سه شنبه 14 دی 1389, 18:57 عصر
دوستان سلام
من یه مشکل دارم
اگه می شه کمکم کنین ...

وقتی سایتم رو می می خوام باز کنم یا به هر صفحه ای برم که اطلاعات از دیتا بیس خونده می شه با این ارور مواجه می شم.
یکی راهنماییم کنه ...



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>

mahmood1000
سه شنبه 14 دی 1389, 20:05 عصر
شما کانکشن استرینگت مشکل داره دوست عزیز

razeghaik1
سه شنبه 14 دی 1389, 20:11 عصر
خدا پدرتون رو بیامرزه.
باید کانکشن استرینگ هام رو چجوری بنویسم؟
اگه می شه فرمتش رو بگین؟

razeghaik1
سه شنبه 14 دی 1389, 21:24 عصر
آقا محمود می شه فرمت connection strig رو بگین؟؟؟؟!!!

parsidev
سه شنبه 14 دی 1389, 22:21 عصر
سلام
اینو ببینید فکر کنم به دردتون بخوره
http://barnamenevis.org/showthread.php?268476-%D8%AA%D9%81%D8%A7%D9%88%D8%AA-sql-server-expres-sel-server-develope&p=1187588&viewfull=1#post1187588

javad.nic63
سه شنبه 14 دی 1389, 22:22 عصر
Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;

mahmood1000
چهارشنبه 15 دی 1389, 01:49 صبح
آقا محمود می شه فرمت connection strig رو بگین؟؟؟؟!!!
بهترین منبع
www.connectionstrings.com/