Tại sao sau khi cài Microsoft .NET Framework 1.1 nó lại như vậy ?

  • Thread starter Thread starter thang20
  • Ngày gửi Ngày gửi

thang20

Legend of Zelda
Tham gia ngày
2/10/04
Bài viết
992
Reaction score
0
Site ảnh lớp của tui, lúc dùng bình thường, update dữ liệu + ảnh thì ko sao, từ khi cài Microsoft .NET Framework 1.1 rồi chạy cái localhost folder (tên là thu, đã sharing web rôi) thì nó hiện ra cái thông báo này mà mặc dù nó đã copy ảnh rồi, nhưng CSDL nó chưa update đc, bác nào có cao kiến gì bảo em với ?
HTTP ERROR: 500
Returned:

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

Server cannot access application directory 'C:\Documents and Settings\Nguyen Tat Thang\Desktop\thu\'. The directory does not exist or is not accessible because of security settings.
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.Web.HttpException: Server cannot access application directory 'C:\Documents and Settings\Nguyen Tat Thang\Desktop\thu\'. The directory does not exist or is not accessible because of security settings.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpException (0x80004005): Server cannot access application directory 'C:\Documents and Settings\Nguyen Tat Thang\Desktop\thu\'. The directory does not exist or is not accessible because of security settings.]
System.Web.HttpRuntime.EnsureAccessToApplicationDirectory() +72
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +263

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +965
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
 
Security Exception

Cái đường dẫn tới "C:\Documents and Settings\Nguyen Tat Thang\Desktop\thu" không tồn tại, hoặc không có quyền truy cập do NTFS permission
 
Không hiểu có vấn đề gì? Error của nó thông báo lý do lỗi rất rõ ràng rồi mà?
Chỉ việc đọc hết đoạn đó là fix được.
DO IT YOURSELF!
 
Trời đất, tui đã check lại hết rồi, có vấn đề gì đâu, folder thì đã sharing web rồi, data ngon rồi, cứ cài là lại ko chạy đc, bóc đi là lại chạy ngon lành, vào cả IIS để thiết lập cho permit tất cả đến folder đó rồi, thế mà ko đc ?
Bác nào có biện pháp nào ko ?
 
Theo suy nghĩ của tui thì .NET framework chỉ cho phép IIS access những folder trong webroot thôi.
=> Thử cut folder thu vào trong đó đi.
 
ac , đc mới đau :D !
Thanks Dark_XIII nha, mình cảm ơn lắm lắm lắm :D !
 
Đã nói rồi cái đó là do NTFS permission đó
 
Back
Top