Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
Tuổi 07-11-2013, 02:18 PM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
Fix lỗi " ASP.net Parser Error Message: Could not load type Global_asax"
Fix lỗi " ASP.net Parser Error Message: Could not load type Global_asax"


Đôi khi bạn bị lỗi load file: Global_asax, với các lỗi như sau:


Lỗi 1:

Trích dẫn:

Parser Error Message: Could not load type 'evaluation.Global'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="evaluation.Global" %>



Source File: D:\projects\evaluation\web\global.asax Line: 1



Lỗi 2:



Trích dẫn:


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 type 'WebService.Global'.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="WebService.Global" Language="C#" %>

Source File: /global.asax Line: 1


In my case I solved the problem in changing the build output path from bin\x68\Debug to : bin

hope this helps anyone





Lỗi 3:


Trích dẫn:


Parser Error Message: Could not load type 'WebApp1.Global_asax'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="WebApp1.Global_asax" Language="vb" %>



Cách fix lổi:

1. bạn có thể chuyển đổi kiểu Application Pool từ Intergrates sang Classic


---> IIS --> Application Pool --> Chuyển application mà website đang chạy tự Intergrates sang Classic

2. Phần quyền cho everyone có quyền đọc, ghi trong thư mục source web

3. tham khảo giải pháp


In my case I solved the problem in changing the build output path from bin\x68\Debug to : bin
hope this helps anyone



Chúc các bạn thành công!


  Trả lời ngay kèm theo trích dẫn này
Gửi trả lời


Công Cụ
Xếp Bài

Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 05:13 AM. Giờ GMT +7



Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.