Hello, I'm uploading an application in my Locaweb hosting and I stopped in this error, does anyone know how to solve this permission problem?
[SecurityException: Request for the permission of type 'System.Diagnostics.PerformanceCounterPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) +31
System.Security.CodeAccessPermission.Demand() +48
System.Diagnostics.PerformanceCounter.InitializeImpl() +1093
System.Diagnostics.PerformanceCounter.Initialize() +29
System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly) +128
Microsoft.AspNet.SignalR.Infrastructure.PerformanceCounterManager.LoadCounter(String categoryName, String counterName, String instanceName, Boolean isReadOnly) +58
Microsoft.AspNet.SignalR.Infrastructure.PerformanceCounterManager.SetCounterProperties(String instanceName) +88
Microsoft.AspNet.SignalR.Infrastructure.PerformanceCounterManager.Initialize(String instanceName, CancellationToken hostShutdownToken) +121
Microsoft.AspNet.SignalR.Hosting.HostDependencyResolverExtensions.InitializePerformanceCounters(IDependencyResolver resolver, String instanceName, CancellationToken hostShutdownToken) +35
Microsoft.AspNet.SignalR.Hosting.HostDependencyResolverExtensions.InitializeHost(IDependencyResolver resolver, String instanceName, CancellationToken hostShutdownToken) +38
Owin.OwinExtensions.UseType(IAppBuilder builder, Object[] args) +121
Owin.OwinExtensions.MapHubs(IAppBuilder builder, String path, HubConfiguration configuration) +72
System.Web.Routing.<>c__DisplayClassc.<MapHubs>b__a(IAppBuilder map) +38
Microsoft.Owin.Host.SystemWeb.OwinAppContext.Initialize(Action'1 startup) +397
Microsoft.Owin.Host.SystemWeb.OwinBuilder.Build(Action'1 startup) +46
System.Web.Routing.RouteCollectionExtensions.MapOwinPath(RouteCollection routes, String name, String pathBase, Action'1 startup) +40
System.Web.Routing.SignalRRouteExtensions.MapHubs(RouteCollection routes, String name, String path, HubConfiguration configuration, Action'1 build) +267
System.Web.Routing.SignalRRouteExtensions.MapHubs(RouteCollection routes, String path, HubConfiguration configuration) +117
System.Web.Routing.SignalRRouteExtensions.MapHubs(RouteCollection routes, HubConfiguration configuration) +12
System.Web.Routing.SignalRRouteExtensions.MapHubs(RouteCollection routes) +36
UI.Web.MvcApplication.Application_Start() +15