I have a limited understanding of ArcGIS Server and Flex Viewer but am making it work. I had everything set up on our new server somewhat working fine. We had someone remote into the new box to set up some other stuff (contractor no longer working for us) and now things seem to have stopped working.
My googling led me to believe this was an ASP issue. I have ASP installed, I tried using aspnet_regiss and registered NETWORK SERVICE, ARCGISSOC, etc still to no avail. Any idea what is causing this? They all have write/read permissions on C:\Windows\Temp as well...
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 7/14/2014 9:16:16 AM
Event time (UTC): 7/14/2014 4:16:16 PM
Event ID: 113ef26e224447729583e929bf8b482a
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/ArcGIS/rest-1-130498281756414476
Trust level: Full
Application Virtual Path: /ArcGIS/rest
Application Path: C:\inetpub\wwwroot\ArcGIS\rest\
Machine name: gisserver
Process information:
Process ID: 4408
Process name: w3wp.exe
Account name: IIS APPPOOL\ArcGISServicesAppPool
Exception information:
Exception type: InvalidOperationException
Exception message: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\bgzuj9lf.0.cs' could not be found
error CS2008: No inputs specified
Request information:
Request URL: http://gisserver/ArcGIS/rest
Request path: /ArcGIS/rest
User host address: 192.168.0.39
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\ArcGISServicesAppPool
Thread information:
Thread ID: 6
Thread account name: IIS APPPOOL\ArcGISServicesAppPool
Is impersonating: False
Stack trace: at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type)
at ESRI.ArcGIS.REST.RestConfig.LoadRestConfig(String fileName)
at ESRI.ArcGIS.REST.RestConfig.GetCurrentConfig(HttpContext context)
at ESRI.ArcGIS.REST.RestAppConfig..ctor(HttpContext context)
at ESRI.ArcGIS.REST.RestUtils.GetRestAppConfig(HttpContext context)
at ESRI.ArcGIS.REST.RestModule.System.Web.IHttpModule.Init(HttpApplication app)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
Custom event details: