banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành Windows Cài đặt Internet Information Services để chạy file .asp  XML
  [Question]   Cài đặt Internet Information Services để chạy file .asp 01/09/2008 22:10:36 (+0700) | #1 | 149251
[Avatar]
mkp
Member

[Minus]    0    [Plus]
Joined: 14/04/2008 02:00:15
Messages: 21
Offline
[Profile] [PM]
Mọi người ơi, cho em hỏi chút, em đang cố cài đặt IIS để chạy file .asp, em làm đúng theo các bước sau:
[code]
1. Insert the Windows XP Professional CD-Rom into your CD-Rom Drive
2. From your Start Button, go to Settings, and Control Panel
3. In the Control Panel window select Add/Remove Programs
4. In the Add/Remove window select Add/Remove Windows Components
5. In the Wizard window check Internet Information Services, click OK
6. An Inetpub folder will be created on your harddrive
7. Open the Inetpub folder, and find a folder named wwwroot
8. Create a new folder, like "MyWeb", under wwwroot.
9. Use a text editor to write some ASP code, save the file as "test1.asp" in the "MyWeb" folder
10. Make sure your Web server is running - its status can be checked by going into the Control Panel, then Administrative Tools, and double-click the "IIS Manager" icon
11. Open your browser and type in "http://localhost/MyWeb/test1.asp", to view your first ASP page


Nhưng khi test 1 file asp, luôn thông báo lỗi 404, em không thể hiểu tại sao.
Và khi em vào Control Panel > Adminis Tools > IIS... thì status không có trạng thái nào cả
Em đang dùng XamPP (em đang thực hành với PHP mà)
Mọi người giúp em với.
Em rất cảm ơn!
[Up] [Print Copy]
  [Question]   Re: Cài đặt Internet Information Services để chạy file .asp 02/09/2008 02:16:19 (+0700) | #2 | 149285
protectHat
Member

[Minus]    0    [Plus]
Joined: 09/08/2008 11:02:35
Messages: 176
Location: DMZ
Offline
[Profile] [PM]
Xamp chạy ở port bao nhiêu, vấn đề của bạn có thể do đụng port 80. Bạn thử để Apache chạy 8080 và iis để mặc định, tạo file default.htm trong wwwroot có vài dòng text rồi mở trình duyệt gõ localhost thử xem
[Up] [Print Copy]
  [Question]   Re: Cài đặt Internet Information Services để chạy file .asp 02/09/2008 08:03:39 (+0700) | #3 | 149337
[Avatar]
mkp
Member

[Minus]    0    [Plus]
Joined: 14/04/2008 02:00:15
Messages: 21
Offline
[Profile] [PM]
Bạn à, mình đã thử làm rồi, và không được. Bạn biết làm cách nào để khởi động IIS không hả bạn?
[Up] [Print Copy]
  [Question]   Re: Cài đặt Internet Information Services để chạy file .asp 02/09/2008 09:14:32 (+0700) | #4 | 149345
[Avatar]
TheShinichi
Member

[Minus]    0    [Plus]
Joined: 25/03/2005 01:40:31
Messages: 182
Offline
[Profile] [PM]

mkp wrote:
Bạn à, mình đã thử làm rồi, và không được. Bạn biết làm cách nào để khởi động IIS không hả bạn? 


"Thử làm rồi" là đã làm gì ? Bạn nói cụ thể từng bước xem nào !
[Up] [Print Copy]
  [Question]   Re: Cài đặt Internet Information Services để chạy file .asp 02/09/2008 09:30:05 (+0700) | #5 | 149347
[Avatar]
mkp
Member

[Minus]    0    [Plus]
Joined: 14/04/2008 02:00:15
Messages: 21
Offline
[Profile] [PM]
Cảm ơn các bạn, mình làm sai một bước, bây giờ thì được rùi.
Rất cảm ơn các bạn đã gợi ý nhé!
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|