Sửa lỗi server error in application runtime error năm 2024

Sau đó ,có thể bạn sẽ thấy nguồn gốc gây ra thông báo lỗi như trên,nếu những ứng dụng mà bạn đã cài đặt không cùng làm việc với nhau.

Lối này do Visual Studio .NET không phiên dịch đúng Double Byte Character Set (DBCS) characters

Server Error in ‘/' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1026: ) expected

Lỗi này do nâng cấp Microsoft .NET Framework version 1.0 đến version 1.1 và chưa cấp quyền trên thư mục

Server Error in ‘/ApplicationName' Application.

Unspecified error Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: 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)

Bạn đã bao giờ gặp tình trạng website của mình đang chạy ngon lành thì thấy xuất hiện lỗi server error in ‘/’ application chưa? Nếu bạn đang đi tìm các fix lỗi này thì sau đây là hướng dẫn cách khắc phục lỗi server error in ‘/’ application nhanh nhất cho bạn. Lỗi server error in ‘/’ application khiến website bạn lúc vào được lúc không và sẽ có thông báo như sau:

Sửa lỗi server error in application runtime error năm 2024

khắc phục lỗi server error in ‘/’ application

\>>>> Có thể bạn quan tâm: 4 nguyên nhân và 3 cách sửa lỗi 502 Bad Gateway Nghinx

Nguyên nhân và cách khắc phục lỗi server error in ‘/’ application

Trường hợp 1: Lỗi xuất hiện như hình trên

Lỗi này chủ yếu là do lỗi kỹ thuật của bên cung cấp tên miền. Bạn không thể làm gì được cho dù có lập web mới, thay tên miền này vào hay sử dụng web cũ đều không cải thiện được. Tình trạng này sẽ lặp đi lặp lại nhiều lần. Do vậy tốt nhất hãy liên hệ với bộ phận kỹ thuật xử lý tên miền setup lại tên miền.

Xử lý lỗi server error in ‘/’ application:

Nếu bạn có tài khoản quản lý host hãy làm các sau:

Vào trang quản lý host (HELM Control Hosting) —> vào mục Domain —> chọn Domain —> mục Web Site Settings. Tại dòng Website Extensions có ASP.Net bạn sẽ thấy có 2 version, hãy di chuyển sang vesion khác rồi Save, sau đó lại di chuyển về như cũ chọn Save là được

Trường hợp 2:

Lỗi server error in ‘/’ application nếu xuất hiện cùng thông báo “Value cannot be null” là do record trong database ràng buộc điều kiện đang bị để trống. Tham số này bắt buộc phải có giá trị, bạn cần kiểm tra theo các bước sau:

Bước 1: Rà soát lại database có đúng thiết kế hay không và có cần để ràng buộc not null không

Bước 2: Nếu database thiết kế đúng hãy xem lại code của web app xem có ràng buộc nhập (input) của field đó đúng như yêu cầu của database không

Fix được lỗi này website sẽ truy cập bình thường

Chúc bạn thành công khi khắc phục lỗi server error in ‘/’ application. Nếu các bạn đang thuê hosting / thuê server để chạy website mà gặp lỗi server error in ‘/’ application thì liên hệ ngay với kỹ thuật của VDO để được hỗ trợ nhé.

Home Partition Manager 4 Ways to Fix “Server Error in ‘/’ Application”

By Linda | Follow | Last Updated July 11, 2023

Have you encountered "Server Error in '/' Application"? The causes of the error may be various. In this post, MiniTool Partition Wizard lists some common reasons of this error and offers you corresponding solutions.

On This Page :

About “Server Error in ‘/’ Application”

“Server error in ‘/’ application” issue is an application error on the server that prevents the website from running. And this error is usually related to IIS and ASP.NET.

IIS (Internet Information Services): It is an extensible web server service created by Microsoft for use with the Windows NT family. It is a kind of web server. Once a website is created, it must have a web server. Thus, others can browse your website. NET: It is a category library provided by Microsoft in the .NET Framework for developing Web applications. It can run on the IIS server with .NET Framework installed, and use HTML, CSS, JavaScript and server scripts to create web pages and websites.

“Server error in ‘/’ application” issue may be caused by various reasons. Some of the most common reasons include:

IIS has some problems and needs to be restarted. It’s just a 404 error. The resource you are looking for is missing or has been renamed. You are accessing a file with a file extension that does not have permissions to be run on the server You are using a version of .NET Framework incompatible with some programs, features, and file types.

If you don’t know what causes your “Server error in ‘/’ application”, please check the error description on the error page.

[Solved] 9anime Server Error, Please Try Again on Windows

How to Fix “Server Error in ‘/’ Application”

To fix the “server error in ‘/’ application”, you can use the following methods.

Fix 1. Restart IIS

Click the Start button in the lower left-hand corner and then choose Administrative Tools Click Internet Information Services (IIS) Managerto launch it. In the IIS manager, select the server in the left-hand window pane and then click Restart on the left-hand side.

Fix 2. Update the URL

If the “server error in ‘/’ application” is a 404 error, you just need to correct the URL in the link that triggers this error.

Search Google or Type a URL, What Is It & Which to Choose?

Fix 3. Add the MIME Type

If a file does not have permissions to be run on the server, you should first check if you are calling the correct file name. For example, is there a typo in the file extension? If the file name is correct, then you may need to add the MIME type of the file extension to the server.

If don’t know the MIME Type of a file extension, you can search it online. Then, you can add the MIME type in the IIS Manager through the following steps:

Open the IIS Manager In the left-hand window panel, expand your server > Sites > Default Web Site. In the central pane, double-click MIME Types. Under the Actions column on the right, click .. button. This will open a window. In the pop-up window, fill in the File name extensionand MIME Type, and then click OK.

Fix 4. Verify the .NET Version

Open IIS Manager Expand the server in the left-hand window panel and choose Application Pools. Right-click on an app and choose Basic Settings…
  • In the pop-up window, select the .NET version from the drop-down menu, and then click OKto confirm your choice.

Top 5 Ways to Fix .NET Framework 3.5 Missing in Windows 10

About The Author

Sửa lỗi server error in application runtime error năm 2024

Position: Columnist

Linda has been working as an editor at MiniTool for 5 years. She is always curious about computer knowledge and learns it crazily. Her articles are simple and easy to understand. Even people who do not understand computer can gain something. By the way, her special focuses are disk management, data recovery and PDF editing.