Usuário com melhor resposta
Rodar pagina ASP no IIS 7 do vista

Pergunta
-
Ola a todos,
Alguem sabe como eu faco para rodar paginas ASP no meu vista em modo local?
Eu ja instalei o IIS dele e quando eu rodo uma pagina de teste mesmo em htm ele me da um erro falando q tem erros no arquivo web.config, mas eu nao criei este arquivo pois nao uso ASPX e sim ASP.
Erro:
Server Error
--------------------------------------------------------------------------------
HTTP Error 500.19 - Internal Server Error
Description: The requested page cannot be accessed because the related configuration data for the page is invalid.Error Code: 0x80070005
Notification: BeginRequest
Module: IIS Web Core
Requested URL: http://localhost:8080/ASF/defaut.htm
Physical Path: C:\Users\XXXXXX\wwwroots\ASF\web\defaut.htm
Logon User: Not yet determined
Logon Method: Not yet determined
Handler: Not yet determined
Config Error: Cannot read configuration file
Config File: \\?\C:\Users\XXXXXX\wwwroots\ASF\web\web.config
Config Source: -1:
0:
More Information... This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
--------------------------------------------------------------------------------Server Version Information: Internet Information Services 7.0.
Obrigado
Joao
Respostas
-
Joao,
você tem que habilitar o ASP, como explicado em:
http://blog.krisvandermast.com/SettingUpClassicASPOnWindowsVistaAndIIS7.aspx
Ricardo Oneda
http://oneda.mvps.org/blog
Todas as Respostas
-
Joao,
você tem que habilitar o ASP, como explicado em:
http://blog.krisvandermast.com/SettingUpClassicASPOnWindowsVistaAndIIS7.aspx
Ricardo Oneda
http://oneda.mvps.org/blog -
o meu da o seguinte erro:
Server Error in Application "Default Web Site/intranet"
HTTP Error 500.0 - Internal Server Error
Description: This application is running in an application pool that uses the Integrated .NET mode. This is the preferred mode for running ASP.NET applications on the current and future version of IIS.
In this mode, the application should not specify ASP.NET handler mappings in the <system.web>/<httpHandlers> configuration section. Instead, it should use the <system.webServer>/<handlers> configuration section to configure ASP.NET handler mappings. You have the following options:1) Migrate the application to work with the Integrated .NET mode (PREFERRED).
You can migrate the application configuration, including the contents of the <httpHandlers> configuration section, by using the following from a command line window (the window must be running as Administrator):
%systemroot%\system32\inetsrv\APPCMD.EXE migrate config "Default Web Site/intranet"
After you migrate your application, it will run in both Classic and Integrated .NET modes, as well as on downlevel platforms.2) Move this application to an application pool using the Classic .NET mode.
You can move the application to an application pool that uses the Classic .NET mode by using the following from a command line window (the window must be running as Administrator):
%systemroot%\system32\inetsrv\APPCMD.EXE set app "Default Web Site/intranet" /applicationPool:"Classic .NET AppPool"
Alternatively, you can use any other application pool on your system that is running in the Classic .NET mode. You can also use the IIS Administration tool to move this application to another application pool.
It is preferred that you migrate this application by using option 1 to take advantage of the benefits provided by the Integrated .NET mode.Error Code: 0x80070032
Notification: BeginRequest
Module: ConfigurationValidationModule
Requested URL: http://localhost:80/intranet/index.asp
Physical Path: C:\SNPTEE\Flag.Snptee.Furnas\FONTES\Snptee.Web.UI.Intranet\index.asp
Logon User: Not yet determined
Logon Method: Not yet determined
Handler: ASPClassic
Most likely causes:
- IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
- IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
- IIS was not able to process configuration for the Web site or application.
- The authenticated user does not have permission to use this DLL.
- The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
What you can try:
- Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
- Check the event logs to see if any additional information was logged.
- Verify the permissions for the DLL.
- Install the .NET Extensibility feature if the request is mapped to a managed handler.
- 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.
More Information...
This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.Microsoft Knowledge Base Articles:
- 294807
Server Version Information: Internet Information Services 7.0.
-
No meu eu configurei tudo, pra rodar asp, asp.net, html...
+ quando eu tento acessar da erro 404.4, alguem sabe o que esta errado:
o + estranho é q da erro de pagina nao encontrada
, sendo q pelomenos a pagina inicial do IIS teria que ter, + eu criei os paginas e em todas esta dando este erro.
ai vai a pagina de erro:
Erro do Servidor no Aplicativo "Default Web Site"
Erro HTTP 404.4 - Not Found
Descrição: O recurso que você está procurando não tem um manipulador associado.
Código de Erro: 0x80070002
Notificação: MapRequestHandler
Módulo: IIS Web Core
URL Solicitada: http://localhost:80/
Caminho Físico: C:\inetpub\wwwroot
Usuário de Logon: Anônimo
Método de Logon: Anônimo
Manipulador: Ainda não determinado
Causas mais prováveis:
- A extensão de arquivo da URL solicitada não tem um manipulador configurado para processar a solicitação no servidor Web.
O que você pode tentar:
- Se a extensão de arquivo não tiver um manipulador associado, adicione um mapeamento de manipulador para a extensão.
- Verifique se o manipulador associado à extensão de arquivo está instalado e configurado adequadamente.
- Crie uma regra de rastreamento para controlar as solicitações com falha desse código de status HTTP. Para obter mais informações sobre como criar uma regra de rastreamento para solicitações com falha, clique aqui.
Mais Informações...
Este erro significa que o servidor Web não reconhece a extensão de arquivo do recurso solicitado. Um manipulador de módulo não está configurado no servidor Web para essa extensão. Se a extensão de arquivo que está sendo negada for necessária para o servidor Web, adicione o manipulador adequado para a extensão de arquivo.
Informações de Versão do Servidor: Internet Information Services 7.0.
Valeu...
-
-
-