10/10/2018, 09:38

Giúp mình về việc thiết kế web

Sau khi mình thiết kế thử một trang có kiểu là ASP JAVASCRIPT trên nền Adobe Dreamwaver CS3 có tên index.asp xong, sau khi chạy thử thì hiện ra thông báo sau đây:


Server Error in Application "DEFAULT WEB SITE"

Internet Information Services 7.0
Error Summary
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
Detailed Error Information
Module StaticFileModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x80070032
Requested URL http://localhost:80/HTML/index.asp
Physical Path C:inetpubwwwrootHTMLindex.asp
Logon Method Anonymous
Logon User Anonymous
Most likely causes:

* It is possible that a handler mapping is missing. By default, the static file handler processes all content.
* The feature you are trying to use may not be installed.
* The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.)
* If ASP.NET is not installed.

Things you can try:

* In system.webServer/handlers:
o Ensure that the expected handler for the current page is mapped.
o Pay extra attention to preconditions (for example, runtimeVersion, pipelineMode, bitness) and compare them to the settings for your application pool.
o Pay extra attention to typographical errors in the expected handler line.
* Please verify that the feature you are trying to use is installed.
* Verify that the MIME map is enabled or add the MIME map for the Web site using the command-line tool appcmd.exe.
1. To set a MIME type, use the following syntax: %SystemRoot%windowssystem32inetsrvappcmd set config /section:staticContent /+[fileExtension='string',mimeType='string']
2. The variable fileExtension string is the file name extension and the variable mimeType string is the file type description.
3. For example, to add a MIME map for a file which has the extension ".xyz": appcmd set config /section:staticContent /+[fileExtension='.xyz',mimeType='text/plain']
Warning: Ensure that this MIME mapping is needed for your Web server before adding it to the list. Configuration files such as .CONFIG or dynamic scripting pages such as .ASP or .ASPX, should not be downloaded directly and should always be processed through a handler. Other files such as database files or those used to store configuration, like .XML or .MDF, are sometimes used to store configuration information. Determine if clients can download these file types before enabling them.
* Install ASP.NET.
* Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.

Links and More Information This error occurs when the file extension of the requested URL is for a MIME type that is not configured on the server. You can add a MIME type for the file extension for files that are not dynamic scripting pages, database, or configuration files. Process those file types using a handler. You should not allows direct downloads of dynamic scripting pages, database or configuration files.

View more information »



Mình đã cài IIS, SQL Sever 2000, đã thiết kế một datbase và kết nối với trang web. Chỉ không hiểu tại sao nó không chạy thôi. Đọc mấy dòng thông báo lỗi mình không biết phải làm cách nào. Có ai biết xin vui lòng chỉ giúp với.
toannet viết 11:52 ngày 10/10/2018
hinh như trong ASP : đặt tên file mặc định thường là : default.asp / default.aspx

trong php : index.php
blackrose1505 viết 11:53 ngày 10/10/2018
Được gửi bởi toannet
hinh như trong ASP : đặt tên file mặc định thường là : default.asp / default.aspx

trong php : index.php
Đó chỉ là cái tên thôi, mình muốn đặt tên sao cũng được mà. Ví như đặt là home.asp thì sao? Bình thường nó vẫn chạy chứ.

Chỉ không hiểu là thiếu hoặc làm sai chỗ nào nên không chạy thôi. Ai giúp mình với ....
vlinht viết 11:52 ngày 10/10/2018
theo đặt tên thì tên gì cũng dc , còn index hay default thì nó sẽ ưu tiên thôi chứ đâu phải bắt buộc là default
vantien152 viết 11:51 ngày 10/10/2018
ai co bai tap phan tich & thiet ke he thong ve lap trinh 1 trang web thi` bó len giup tui voi
vantien123 viết 11:53 ngày 10/10/2018
ai co bai tap phan tich va thiet ke he thong ve` quản lý đội bóng :giup minh với nhé!!!thanks

[=========> Bổ sung bài viết <=========]

neu co' thì gui vao mail vantien152@gmail.com.vn giup minh voi nhe'!!!
Bài liên quan
0