PDA

View Full Version : سوال: error after upload



ugd2010
جمعه 18 شهریور 1390, 23:59 عصر
سلام دوستان

من سایتمو که با دیتا بی اکسس هست آپ کردم

همه چیش خوب کار میکنه جز جاهایی که آپذیت و اینسرت دیتا بیس هست

این ارورو میده :
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>

اون رو هم آف میکنم کلا ارور اینترنال 500 میده کل سایت .

چیکار کنم؟

Saman Hashemi
شنبه 19 شهریور 1390, 09:45 صبح
تنظيمات connection string براي بانكي كه آپلود كردي،انجام دادي؟

ugd2010
شنبه 19 شهریور 1390, 10:23 صبح
na-anjam nadadam-man az roo local yeksare avordam roo host-mamnun misham begin chikar konam

bebakhshid computeram keybord farsi nadare

Saman Hashemi
شنبه 19 شهریور 1390, 10:54 صبح
شما يا توي برنامه يا توي وب كانفيگ از رشته اتصال به بانك اكسس استفاده كرديد،هنگامي كه ميخواهيد روي سرور قرار بديد بايد آدرسي كه روي سرور قرار گرفته جايگزين رشته اتصال قبلي كنيد...!
روش مختلف اتصال بانك اكسس اينجا (http://www.connectionstrings.com/)ميتونيد ببينيد...!

ugd2010
شنبه 19 شهریور 1390, 11:04 صبح
khob alan ru host be in soorat neveshte shode:

<connectionStrings>
<add name="con" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\database.mdb"/>
</connectionStrings>

in moshkeli dare?

Saman Hashemi
شنبه 19 شهریور 1390, 11:27 صبح
نه اين مشكلي نداره...!