2012-10-08 4 views
0

웹 응용 프로그램의 호환성을 확인하기 위해 Windows Server 2012에서 응용 프로그램 테스트를하고 있습니다 (.NET 4). ASPX 페이지를로드하는 데 문제가 있습니다. 나는 여러 번 서버 관리자에서 .Net, IIS 및 ASP.Net 역할을 모두 제거하고 다시 설치해 보았습니다. 또한 aspnet_regiis이 더 이상 Server 2012에서 작동하지 않는다는 사실을 알게되었습니다. 대신 역할/기능 페이지를 사용하라는 메시지 만 표시됩니다. 내가 잃어 버렸어, 다른 누구도 IIS 8을 아직 사용해 보지 못했습니까? 나는 OS가 설치 완료 후 즉시했다 기본 스냅 샷으로 VM을 다시 지난 몇 일 동안이 문제를 싸움 후,ASP.Net 페이지가 IIS 8에로드되지 않습니다.

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. 

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: ◦Ensure that the expected handler for the current page is mapped. 
    ◦Pay extra attention to preconditions (for example, runtimeVersion, pipelineMode, bitness) and compare them to the settings for your application pool. 
    ◦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%\windows\system32\inetsrv\appcmd 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. 

Detailed Error Information: 

Module 
    StaticFileModule 

Notification 
    ExecuteRequestHandler 

Handler 
    StaticFile 

Error Code 
    0x80070032 

Requested URL 
    http://localhost:80/login.aspx 

Physical Path 
    C:\Inetpub\WEBSITE\login.aspx 

Logon Method 
    Anonymous 

Logon User 
    Anonymous 

답변

0

음 :

나는 다음과 같은 메시지가 나타납니다. 나는 IIS와 앱 개발 기능을 설치하기위한 첫 번째 단계에서 문서화 한 것과 똑같은 단계를 밟았으며 이제는 내 앱을 설치했고 이제는 작동합니다. 나는 그것이 이전에 없었던이 시간이 왜 또는 어떻게 작동했는지 모르지만 적어도 지금은 작동 중이다.

관련 문제