10/10/2018, 00:18

LOI_ASP.NET rất rất là kỳ cục

Mình làm Web bằng ASP.NET cơ sở dữ liệu là SQL SERVER,
web mình làm đã hoàn thành, nhưng mà khi cho duyệt thì lúc nó chạy rất tôt nhưng khi up lên host thì bị thông báo như sau :

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:domainsductanlong.comwwwrootweb.config line 80)

Source Error:


Line 78: <httpModules>
Line 79: <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
Line 80: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 81: </httpModules>
Line 82: </system.web>


Source File: c:domainsductanlong.comwwwrootweb.config Line: 80


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
__________________________________________________ ___________________________
Minh đóng những dòng báo lỗi vào thì kết quả là như thế này:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source 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.

Source Error:


[No relevant source lines]


Source File: none Line: 0

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].




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

Trường hợp như vậy là sao,cứu mình với người ta đang giục gấp gấp....
Mình rất mong sự giúp đỡ của các bạn
Mình cảm ơn các bạn rất nhiều
vistaboy viết 02:26 ngày 10/10/2018
mình lâu wá k đụng đến asp.net , mình nghĩ k biết bạn clear catch chưa và xoá dữ liệu vùng đệm chưa..........
Mahakaruna viết 02:22 ngày 10/10/2018
Lỗi timeout thôi.
Bạn có thể set thông qua connectString lúc init connect( vd : "Server=.\\SQLEXPRESS ;Integrated security=sspi;connection timeout=0") hoặc set thuộc tính SqlCommand->CommandTimeout

Tính bằng giây, set về 0 là vô hạn
ketnoibanbe viết 02:31 ngày 10/10/2018
Được gửi bởi Mahakaruna
Lỗi timeout thôi.
Bạn có thể set thông qua connectString lúc init connect( vd : "Server=.\\SQLEXPRESS ;Integrated security=sspi;connection timeout=0") hoặc set thuộc tính SqlCommand->CommandTimeout

Tính bằng giây, set về 0 là vô hạn
Ok,Mahakaruna trả lời rất đúng bạn hãy xem lại và có gì liên hệ lại ngay nhé. Nơi đem đến cho bạn một cộng đồng NET ở đây các bạn hãy thử vào tham khảo http://forum.dichvucongdong.net/


Tuổi trẻ tài cao
boys_gaby viết 02:28 ngày 10/10/2018
Bạn xem trang bị lỗi có cái ID nào trùng với ID của MasterPage ko? (cái này chỉ với trang hiển thị dữ liệu thôi nhé)
Bimbim2005 viết 02:29 ngày 10/10/2018
Lõi này thuốc về Timeout mà, vào phần WebCongfig set lai TimeOut =0 như Mahakaruna nói lá ok !
Bài liên quan
0