Hello Forum,
I have a 7.2 HF 2.0 setup with WBI loaded. I have no issue accessing the WBI from outside of my LAN but when I use either a Wifi or LAN connection it fails with the folowing screen (taken from Browse Application - “browse *:80” right in IIS)… I have adjusted the user accounts and access priveledges to try and help but now I get this lovely error
================================================================
Server Error in ‘/AyaNovaWBI’ Application.
Attempt by security transparent method ‘A.J.A()’ to access security critical method ‘System.AppDomain.add_ResourceResolve(System.ResolveEventHandler)’ failed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.MethodAccessException: Attempt by security transparent method ‘A.J.A()’ to access security critical method ‘System.AppDomain.add_ResourceResolve(System.ResolveEventHandler)’ failed.
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:
[MethodAccessException: Attempt by security transparent method ‘A.J.A()’ to access security critical method ‘System.AppDomain.add_ResourceResolve(System.ResolveEventHandler)’ failed.]
A.J.A() +80
[TypeInitializationException: The type initializer for ‘<Module>’ threw an exception.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) +117
System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) +247
System.Activator.CreateInstance(Type type, Boolean nonPublic) +106
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +12738733
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +28
System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +83
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +315
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375
[HttpException (0x80004005): The type initializer for ‘<Module>’ threw an exception.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11700896
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4869125
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
I have been fighting with this for a while and have not found a fix that will work. Does anyone have any suggestions?? I have multiple staff that are out in the field and have to turn off the wifi connects (Cellular Data connection works just fine) on their iPad to make it work. This is a HUGE pain when you are in a hurry and I know it does not have to be this way.