webservice Security Exception
Jeg har lavet en webservice (WSGetTopN). Når jeg åbner .asmx-filen i en browser får jeg en security exeption."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."
Koden er noget fra framework'et - det er ihvertfald ikke noget jeg har lavet:
Line 36:
Line 37: Public Sub New()
Line 38: MyBase.New
Line 39: If (ASP.Global_asax.__intialized = false) Then
Line 40: ASP.Global_asax.__intialized = true
Hvorfor kommer denne fejl ? Og hvad gør jeg får at slippe af med den ?
