When using DA .net API 2.3 Beta under IIS6, I got this error:
Operation is not supported on this platform.
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.PlatformNotSupportedException: Operation is not supported on this platform.
Stack Trace:
[PlatformNotSupportedException: Operation is not supported on this platform.]
System.Web.HttpHeaderCollection.Add(String name, String value) +2684384
Mobi.Mtld.DA.Web.DeviceHttpModule.PreRequestHandlerExecute_Process(Object source, EventArgs e) +705
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +7
IIS7 works fine in integrated mode but my colleagues still works under XP, so we have to sort it out for IIS6. Also, IIS7 under classic mode would give me the same error.
I check the web.config and make sure the Mobi.Mtld.DA.Web.DeviceHttpModule is in the <httpModules> section for IIS6 and <modules> section in IIS7. But the problem is still there.
Does anyone know what is the problem?