qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] ..NET/ASP.NET web interface error


From: David Durham
Subject: [Qemu-discuss] ..NET/ASP.NET web interface error
Date: Tue, 27 Oct 2015 13:10:46 -0400
User-agent: Roundcube Webmail/1.0.2

Hello,

I am trying to run a .NET 2.0/ASP.NET application in Windows 7 running in qemu-system-i386 which runs fine in a regular Windows 7 system, but not in Qemu. I have tried using the following run commands:
 
qemu-system-i386 -m $((128*15)) -hda Win7.vmdk -vnc :0 -cpu core2duo -net nic -net user,hostfwd=::33330-:33330 -rtc driftfix=slew
 
qemu-system-i386 -m $((128*15)) -hda Win7.vmdk -vnc :0 -cpu core2duo -net nic -net user,hostfwd=::33330-:33330 -rtc driftfix=slew,base=localtime
 
qemu-system-i386 -m $((128*15)) -hda Win7.vmdk -vnc :0 -cpu core2duo -net nic -net user,hostfwd=::33330-:33330 -rtc clock=rt
 
qemu-system-i386 -m $((128*15)) -hda Win7.vmdk -vnc :0 -cpu core2duo -net nic -net user,hostfwd=::33330-:33330 -rtc driftfix=slew,base=localtime
 
qemu-system-i386 -m $((128*15)) -hda Win7.vmdk -vnc :0 -cpu core2duo -net nic -net user,hostfwd=::33330-:33330 -rtc base=localtime
 
I am getting the following error when trying to access the service's web interface:
 

Server Error in '/' Application.



The time span value must be positive.

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.ArgumentException: The time span value must be positive.

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:


 

[ArgumentException: The time span value must be positive.]

System.Configuration.PositiveTimeSpanValidator.Validate(Object value) +179

System.Configuration.ConfigurationProperty.Validate(Object value) +41

 

[ConfigurationErrorsException: The value for the property 'cookieTimeout' is not valid. The error is: The time span value must be positive.]

System.Configuration.ConfigurationProperty.Validate(Object value) +166

System.Configuration.ConfigurationProperty.SetDefaultValue(Object value) +126

System.Configuration.ConfigurationProperty..ctor(String name, Type type, Object defaultValue, TypeConverter typeConverter, ConfigurationValidatorBase validator, ConfigurationPropertyOptions options) +34

System.Web.Configuration.AnonymousIdentificationSection..cctor() +281

 

[TypeInitializationException: The type initializer for 'System.Web.Configuration.AnonymousIdentificationSection' threw an exception.]

System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(IntPtr type) +0

System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) +4

System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +141

System.Reflection.ConstructorInfo.Invoke(Object[] parameters) +17

System.Configuration.TypeUtil.InvokeCtorWithReflectionPermission(ConstructorInfo ctor) +35

System.Configuration.RuntimeConfigurationFactory.CreateSectionImpl(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader) +32

System.Configuration.RuntimeConfigurationFactory.CreateSectionWithFullTrust(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader) +49

System.Configuration.RuntimeConfigurationFactory.CreateSection(Boolean inputIsTrusted, RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader) +33

System.Configuration.RuntimeConfigurationRecord.CreateSection(Boolean inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader) +71

System.Configuration.BaseConfigurationRecord.CallCreateSection(Boolean inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader, String filename, Int32 line) +70

 

[ConfigurationErrorsException: An error occurred creating the configuration section handler for system.web/anonymousIdentification: The type initializer for 'System.Web.Configuration.AnonymousIdentificationSection' threw an exception.]

System.Configuration.BaseConfigurationRecord.CallCreateSection(Boolean inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader, String filename, Int32 line) +285

System.Configuration.BaseConfigurationRecord.CreateSectionDefault(String configKey, Boolean getRuntimeObject, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object& result, Object& resultRuntimeObject) +80

System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +1346

System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +1346

System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +1346

System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission) +43

System.Configuration.BaseConfigurationRecord.GetSection(String configKey) +9

System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName) +38

System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index) +54

System.Web.Configuration.RuntimeConfig.get_AnonymousIdentification() +31

System.Web.Security.AnonymousIdentificationModule.Initialize() +102

System.Web.Security.AnonymousIdentificationModule.Init(HttpApplication app) +24

System.Web.HttpApplication.InitModulesCommon() +66

System.Web.HttpApplication.InitModules() +46

System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +614

System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +264

System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +104

System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +290



Version Information: Microsoft .NET Framework Version:2.0.50727.5420; ASP.NET Version:2.0.50727.5420


The system clock is set correctly when I use the -rtc base=localtime option, but that does not fix the error. Using driftfix=slew along with it doesn't fix the problem either. This is a third-party application. The company that developed the software said it is something with the virtual machine that is causing the problem.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]