خطا در web config

mehrabadi

Member
با سلام
دوستان عزيز من يك سايت رو با ويژوال استوديو نوشتم وقتي رو سرور آپلود مي كنم با اين چند خط مشكل داره. لازم به ذكره كه فايل هاي مربوطه با آدرس صحيح در سرور وجود دارند.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
با تشكر . لطفا هرچه سريعتر جواب منو بدبد.
 

mehrabadi

Member
يا الله چه قدر نظر و راهنمايي ؟!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
گفتم شايد كسي اطلاعات دقيق تري بخواهد اينم كل پيام صفحه :




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>

اينم لينك پيام صفحه
http://www.forum.majidonline.com/attachment.php?attachmentid=12923&stc=1&d=1185820433


لطفا هرچه سريعتر راهنمايي كنيد.
در ضمن اگر بخواهم از fckeditor مقداري را در formview به بانك اطلاعاتي استفاده كنم چكار كنم ؟ توي uploadcommand هم دستكاري كردم نشد . حالا بفرماييد چه كنم.
با تشكر
 

پیوست ها

  • Runtime Error.rar
    1.3 کیلوبایت · بازدیدها: 10

mehrabadi

Member
كسي نبود جواب ما رو بده ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟
 

Tarahan-Web

New Member
من فکر میکنم که سرور شما ورژن برنامه تون رو ساپورت نمیکنه
حتما چک کنین (شاید توی asp.net 1 باشه و شما از asp.net 2.0 استفاده کردین)
 

mehrabadi

Member
با تشكر از شما .نه دات نت دو هست و اس كيو ال 2005 . در ضمن قابليت استفاده از دات نت allow هست .همچنين IIs هم تنظيمه يعني روي دات نت 2 ست شده.
 

mehrabadi

Member
با سلام
نکته اينجاست که اين پيام فقط در صفحاتي که به بانک اطلاعاتي وصل مي شن ديده مي شه و صفحات استاتيم رو کار نداره.
رو هاست لوکال هم به درستي جواب داده. بانک اطلاعاتي هم sql express هستش.
منتظر جوابتان هستم .ممنون
 

amirlol

Well-Known Member
ای ول ! مشکل پیدا شد !

SQL expere فقط باید رو جایی ریخته بشه دیتابیس اش که همون experes روش باشه
و experes همزمان با visual studio نصب میشه ولی رو سرور ها فقط .net freamwork رو میریزن!


نوع دیتابیس رو تغییر بدی حله
 

mehrabadi

Member
اي ول به شما ولي متاسفانه مشكل اين نيست.
من رفتم پشت سرور و روي خود اون برنامه رو تست كردم اينبار اشكال زير ظاهر شد.

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)


واقعا درمونده شدم. لطفا كمك كنيد.
 

mehrabadi

Member
و مشكل همچنان باقي

اي ول به شما ولي متاسفانه مشكل اين نيست.
من رفتم پشت سرور و روي خود اون برنامه رو تست كردم اينبار اشكال زير ظاهر شد.

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)


واقعا درمونده شدم. لطفا كمك كنيد.
 

جدیدترین ارسال ها

بالا