SECURITY EXCEPTION

USUARIO.EXCLUIDOS 29/11/2006 16:38:08
#187012
Oi pessoal, Estou com um Problema, instalei meu site feito em asp.net no micro e esta dando o seguinte erro:

Server Error in '/PC' Application.
--------------------------------------------------------------------------------

Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.]
System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly) +706
System.Diagnostics.EventLog.SourceExists(String source, String machineName) +101
System.Diagnostics.EventLog.SourceExists(String source) +9
Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.PerformanceCounterInstances.ReportCounterFailure(String message) +74
Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.PerformanceCounterInstances..ctor(String categoryName, String counterName, Boolean createNewInstance) +264
Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.InstrumentedEvent.AddPerformanceCounter(String category, String[] counterNames, Boolean createNewInstance) +101
Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.InstrumentedEvent.Initialize(String counterCategory, String[] counterNames, Boolean createNewInstance, String eventLogSource, EventLogIdentifier[] eventIds) +102
Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.InstrumentedEvent..ctor(String counterCategory, String[] counterNames, Boolean createNewInstance, String eventLogSource, EventLogIdentifier[] eventIds) +23
Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataServiceEvent..ctor(String[] counterNames, EventLogIdentifier[] eventLogIds) +135
Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent..ctor(String[] counterNames, EventLogIdentifier[] eventLogIDs) +8
Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent..cctor() +161




--------------------------------------------------------------------------------


Se alguem ja passou por isso e dar uma mao agradeço muito.

Abraços,
Luiz.
CLAUDIOLUCROCHA 05/02/2007 16:35:00
#202078
Voce provavelmente esta sem permissao.

Entre em contato com o adm do provedor e fale com ele.
A permissao envolve desde banco de dados ate a execucao da pagina asp.
WEBER 08/04/2007 11:57:07
#210724
Se tu ta hospedando o site em um provedor, verifica se eles te deram as permissoes ou como esta o nivel de segurança na grande maioria o pessoal deixa o nivel de seguranca no limite ou seja tu precisa pedir q eles abram um pouco esses parametros.
Tópico encerrado , respostas não são mais permitidas