Esta mensagem ocorre no DOTNET quando as referências a controles, como os web user controls, são feitos com o uso de mapeamento relativo como "../" e "../../". O ideal, em dotnet, é sempre, aliás, o CORRETO é SEMPRE usar o caminho absoluto de tudo!! Para tanto, basta colocar um "~" antes da pasta raiz.
Cannot use a leading .. to exit above the top directory
Postado por ANDERSON BUENO Marcadores: bug, c# às 22:06 1 comentários
CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\xxxxxx\xxxx
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\wholesales\xxxxx\xxxxx\App_Code.xxxxxxx.dll' -- 'Access is
denied. '
After some antivirus activities, my partner development machine face
issue above.
This may due to some permission setting in Temp folder. To solve it,
1. Go to %Systemroot%, normally C:\WINDOWS or C:\WINNT
2. Right-click the Temporary folder (mine is C:\WINDOWS\Temp) and
select Sharing and Security. Select the Security tab and take a look
at the list of "Group or user names:"
3. NETWORK SERVICE should be in the list. If it is not, click Add and
type Network Service in the text box:
4. Make sure NETWORK SERVICE have Full Control in the Permissions list.
5. Click OK.
6. Restart IIS (Run iisreset)
Test on the web, and it solved.
Postado por ANDERSON BUENO Marcadores: bug, c# às 19:26 0 comentários
Site SubmarinoViagens = lixo
Já experimentou fazer uma pesquisa de preços de passagens no site do
Submarino Viagens ( www.submarinoviagens.com.br ) ? Por incrivel que
pareça, a pesquisa funciona bem. Mas após apresentar os resultados, a
lista de preços das passagens disponíveis, experimente simplesmente
mudar a data da viagem e refazer a pesquisa. PANZ! Erro de script.
Será que o pessoal da Submarino não testa as páginas. Fala-se tanto em
usabilidade, navegabilidade, web 2.0, blablabla.. e ainda continuam
erros amadores como este, visíveis simplesmente ao testar a
funcionalidade?
ps. vale lembrar que este erro persiste há semanas!
Postado por ANDERSON BUENO Marcadores: bug, fail, news às 11:11 0 comentários