Mình code web ASP.net trên Microsoft Visual Studio 2010
Nhưng giờ để chạy trên IIS thì phải làm sao?
Các bác biết hướng dẫn giúp
Thanks
Mình code web ASP.net trên Microsoft Visual Studio 2010
Nhưng giờ để chạy trên IIS thì phải làm sao?
Các bác biết hướng dẫn giúp
Thanks
IIS mình đã cài ok. Nhưng Mình code web ASP.net trên Microsoft Visual Studio 2010
Giờ chạy trên IIS ko được.
Mặ dù mình tạo file.aspx chạy trên IIS thì ok
Ở IIS, bạn có thể tạo một cái virtual directory và point nó đến cái foler chứa ASPNET homepage của bạn.
Mình đã tạo rồi. Không biết có cần Convert gì ko?
Chạy lỗi
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: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS
Có 1 vài chuyện dưới đây bạn nên làm thử:
1. In Visual Studio, open the solution you are working on. Right click on the website project, choose Convert to Web Application. Save and Build the solution.
2. Bạn chỉ có 1 web.config ở main foler thôi. Có nghĩa là bạn fải remove tất cả những web.config file ở những sub-directory nếu có.
Cách 1 của bạn thì chạy ok
Cách 2 Project chỉ có 1 web.config
Vậy khắc phục như thế nào
Thanks
Lỗi
Error Summary
HTTP Error 500.21 - Internal Server Error
Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list
Được sửa bởi webasp lúc 16:49 ngày 03-03-2011
Mình có làm research về cái problem of bạn. Bạn có thể follow instructions on the link below to see if it works.
http://www.gotknowhow.com/articles/f...andler-in-iis7
Mình cũng muốn xem nó có work không. Có gì cho biết.
Bạn build web trên VS 2010 thì phải cái .NET Framework 4 vào thì mới chạy với IIS dc.
Bookmarks