PDA

View Full Version : Error?



ساران سافت
دوشنبه 09 مهر 1386, 10:29 صبح
با سلام من یک برنامه AJAXEnabledWebApplication نوشتم که یک VIEWgrid هستش توی یک Updatepanel توی کامپیوتر من درست کار میکنه ولی وقتی پروژه و فایل هاشو فرستادم روی سرورم این پیغام خطا رو میده چرا؟
با اومدن اون روی سرورم بقیه فایلهای asp.net1.1 هم که کار می کردند از کار افتادند؟؟؟!!!

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>

web developer
دوشنبه 09 مهر 1386, 10:41 صبح
دوست عزیز اول تو فایل Web.Config این تغییر رو ایجاد کن تا ایراد کار معلوم بشه بعد.



<system.web>
<customErrors mode="Off"/>
</system.web>


موفق باشید.

ساران سافت
دوشنبه 09 مهر 1386, 17:17 عصر
بعد از تغییرات این پیام رو به من داد:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (c:\inetpub\wwwroot\web.config line 45)

Source Error:


Line 43:
Line 44: <httpModules>
Line 45: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 46: </httpModules>
Line 47: </system.web>


Source File: c:\inetpub\wwwroot\web.config Line: 45


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

shahab_ksh
دوشنبه 09 مهر 1386, 20:47 عصر
احتمالا با توجه این به error


Could not load file or assembly 'System.Web.Extensions,


اگه از Ajax استفاده کردید ASP.NET 2.0 AJAX Extensions 1.0 رو نصب کنید

اگه ندارید از اینجا بگیرید http://www.asp.net/ajax/downloads/