Array
(
)

Erro ao executar página compilada com Vs2005/iis

Saulopms
   - 26 mai 2008

boa tarde pessoal,

no momento só consigo rodar minhas páginas asp.net se o vs2005 estiver aberto(na opção ´run´).

se eu tentar executar no iis dá esse erro:(obs: eu creio que os erros ocorreram após ter instalado o sp3 do winxp).

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0016: Could not write to output file ´c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\impressora_webapplication3\fc1c1a24\58762ed\App_Web_default.aspx.cdcab7d2.o0lmqiwb.dll´ -- ´Acesso negado. ´

Source Error:

[No relevant source lines]

Source File: Line: 0

Show Detailed Compiler Output:

C:\WINDOWS\system32> ´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe´ /t:library /utf8output /R:´C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll´ /R:´C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll´ /R:´C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll´ /R:´C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll´ /R:´C:\WINDOWS\assembly\GAC_MSIL\Borland.dbkasp\10.5.0.0__b0524c541232aae7\Borland.dbkasp.dll´ /R:´C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll´ /R:´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\impressora_webapplication3\fc1c1a24\58762ed\assembly\dl3\5d16fba5\648ea832_a2bbc801\WebApplication3.DLL´ /R:´C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll´ /R:´C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll´ /R:´C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll´ /R:´C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll´ /R:´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll´ /out:´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\impressora_webapplication3\fc1c1a24\58762ed\App_Web_default.aspx.cdcab7d2.o0lmqiwb.dll´ /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699 ´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\impressora_webapplication3\fc1c1a24\58762ed\App_Web_default.aspx.cdcab7d2.o0lmqiwb.0.cs´ ´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\impressora_webapplication3\fc1c1a24\58762ed\App_Web_default.aspx.cdcab7d2.o0lmqiwb.1.cs´

Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

error CS0016: Could not write to output file ´c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\impressora_webapplication3\fc1c1a24\58762ed\App_Web_default.aspx.cdcab7d2.o0lmqiwb.dll´ -- ´Acesso negado. ´

System.StackOverflowException was unhandled

alguém pode me ajudar?

muito grato.

Ricardo Silva
   - 26 mai 2008

veio tenta o registrar o iis novamente
provavelmente vai estar aki:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

ai tera um arquivo xamado:
aspnet_regiis.exe

executa ele que eu axo q funciona...

a microsoft pede pra fazer isso pelo command do Dos... mas eu dei 2 clique la e resolveu...

tenta lah e depois diz se funfun...

na duvida soh posta

Saulopms
   - 27 mai 2008

amigo, já fiz esse procedimento.

grato

Saulopms
   - 28 mai 2008

o problema ainda persiste

alguém sabe?

Ricardo Silva
   - 29 mai 2008

entaum pode ser que seu fireWall pode estar bloquiando.

aki na empresa tava com esse problema...
ai eu tive que abilitar as porta FTP, HTTP e HTTPS.... logico com a altorização do tecnico de rede.

se tiver dando erro manda ele pra nois ai veio....

Saulopms
   - 30 mai 2008

desabilitei o firewall mas o problema ainda persiste.

C:\WINDOWS\system32> ´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe´ /t:library /utf8output /R:´C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll´ /R:´C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll´ /R:´C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll´ /R:´C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll´ /R:´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll´ /R:´C:\WINDOWS\assembly\GAC_MSIL\Borland.dbkasp\10.5.0.0__b0524c541232aae7\Borland.dbkasp.dll´ /R:´C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll´ /R:´C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll´ /R:´C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll´ /R:´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\vortice_simples\6671a52d\677a90e0\assembly\dl3\d3edeafc\92739587_a5bdc801\vs_vortex_simples.DLL´ /R:´C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll´ /R:´C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll´ /out:´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\vortice_simples\6671a52d\677a90e0\App_Web_default.aspx.cdcab7d2.iosscazj.dll´ /D:DEBUG /debug+ /optimize- /win32res:´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary A

Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

error CS0016: Could not write to output file ´c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\vortice_simples\6671a52d\677a90e0\App_Web_default.aspx.cdcab7d2.iosscazj.dll´ -- ´Acesso negado. ´

Saulopms
   - 30 mai 2008

SP.NET Files\vortice_simples\6671a52d\677a90e0\5gefp4qf.res´ /w:4 /nowarn:1659;1699 ´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\vortice_simples\6671a52d\677a90e0\App_Web_default.aspx.cdcab7d2.iosscazj.0.cs´ ´C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\vortice_simples\6671a52d\677a90e0\App_Web_default.aspx.cdcab7d2.iosscazj.1.cs´

Danibruxinha
   - 30 mai 2008

Olá!

Embora eu use o Vista, tive este problema e resolvi ativando o manipulador ASP.NET do IIS...

1- Vá ao Painel de Controle;
2- Instalar Componentes do Windows (no Vista está como Ativar ou desativar Recursos do Windows)
3- Deve ter algo do ASP.NET
4- É só vc checar a opção ASP.NET (ou ASPX).

Desculpe não informar corretamente todos os passos, porém aqui o Painel de Controle é bloqueado..rsrs e eu tive q seguir a memória!!!

Espero ter ajudado!!!

[]´s

Saulopms
   - 02 jun 2008

acessei o adicionar/remover componentes do windows no painel de controle mas não encontrei nada do asp.net no iis.

Sbtbua
   - 27 jun 2008

e ae saulo
ja conseguiu resolver o problema do IIS?

isto tambem acontecia comigo

[]´s
sylvio