asp.net failure on IIS 7.0

asp.net failure on IIS 7.0

am 18.07.2007 15:04:02 von chaz

Hi,
This application works fine on IIS 6 - 2003 or IIS 5 - XP .
It fails on IIS 7 Vista or 2008 .
The text of the event log entry is below .

Basic processing is classic ASP page starts up , invokes an ASP.Net page
using XMLHTTP which results in HTTP error 400 and the log entry below -
ASP.Net never calls the global.aspx app start event . If then the ASP page
is refreshed all is well , the ASP.Net page gets HTTP 200 .

Obviously we can't ask our users to "hit refresh" so what can do to further
diagnose and fix this issue ?

thanks ,
chaz


Application event log entry:




Log Name: Application
Source: ASP.NET 2.0.50727.0
Date: 7/17/2007 3:12:58 PM
Event ID: 1334
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: win-gojma6i8741
Description:
An error occurred while initializing the default application domain.

Exception: System.InvalidOperationException

Message: The configuration system has already been initialized.

StackTrace: at
System.Configuration.ConfigurationManager.SetConfigurationSy stem(IInternalConfigSystem configSystem, Boolean initComplete)
at
System.Configuration.Internal.InternalConfigSettingsFactory. System.Configuration.Internal.IInternalConfigSettingsFactory .SetConfigurationSystem(IInternalConfigSystem configSystem, Boolean initComplete)
at
System.Web.Configuration.HttpConfigurationSystem.EnsureInit( IConfigMapPath
configMapPath, Boolean listenToFileChanges, Boolean initComplete)
at System.Web.Hosting.ProcessHost..ctor(IProcessHostSupportFunc tions
functions)
at
System.Web.Hosting.ProcessHost.GetProcessHost(IProcessHostSu pportFunctions
functions)
at
System.Web.Hosting.ProcessHostFactoryHelper.GetProcessHost(I ProcessHostSupportFunctions functions)
Event Xml:



1334
2
0
0x80000000000000

771
Application
win-gojma6i8741



An error occurred while initializing the default application domain.

Exception: System.InvalidOperationException

Message: The configuration system has already been initialized.

StackTrace: at
System.Configuration.ConfigurationManager.SetConfigurationSy stem(IInternalConfigSystem configSystem, Boolean initComplete)
at
System.Configuration.Internal.InternalConfigSettingsFactory. System.Configuration.Internal.IInternalConfigSettingsFactory .SetConfigurationSystem(IInternalConfigSystem configSystem, Boolean initComplete)
at
System.Web.Configuration.HttpConfigurationSystem.EnsureInit( IConfigMapPath
configMapPath, Boolean listenToFileChanges, Boolean initComplete)
at System.Web.Hosting.ProcessHost..ctor(IProcessHostSupportFunc tions
functions)
at
System.Web.Hosting.ProcessHost.GetProcessHost(IProcessHostSu pportFunctions
functions)
at
System.Web.Hosting.ProcessHostFactoryHelper.GetProcessHost(I ProcessHostSupportFunctions functions)


Re: asp.net failure on IIS 7.0

am 19.07.2007 12:51:12 von David Wang

Looks like a bug in IIS7, so you can only report it to PSS to try and
get it fixed.

You want to provide really concrete steps to reproduce the issue.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//



On Jul 18, 6:04 am, chaz wrote:
> Hi,
> This application works fine on IIS 6 - 2003 or IIS 5 - XP .
> It fails on IIS 7 Vista or 2008 .
> The text of the event log entry is below .
>
> Basic processing is classic ASP page starts up , invokes an ASP.Net page
> using XMLHTTP which results in HTTP error 400 and the log entry below -
> ASP.Net never calls the global.aspx app start event . If then the ASP p=
age
> is refreshed all is well , the ASP.Net page gets HTTP 200 .
>
> Obviously we can't ask our users to "hit refresh" so what can do to furth=
er
> diagnose and fix this issue ?
>
> thanks ,
> chaz
>
> Application event log entry:
>
> Log Name: Application
> Source: ASP.NET 2.0.50727.0
> Date: 7/17/2007 3:12:58 PM
> Event ID: 1334
> Task Category: None
> Level: Error
> Keywords: Classic
> User: N/A
> Computer: win-gojma6i8741
> Description:
> An error occurred while initializing the default application domain.
>
> Exception: System.InvalidOperationException
>
> Message: The configuration system has already been initialized.
>
> StackTrace: at
> System.Configuration.ConfigurationManager.SetConfigurationSy stem(IInterna=
lC=ADonfigSystem configSystem, Boolean initComplete)
> at
> System.Configuration.Internal.InternalConfigSettingsFactory. System.Config=
ur=ADation.Internal.IInternalConfigSettingsFactory.SetConfig urationSystem(I=
Inter=ADnalConfigSystem configSystem, Boolean initComplete)
> at
> System.Web.Configuration.HttpConfigurationSystem.EnsureInit( IConfigMapPath
> configMapPath, Boolean listenToFileChanges, Boolean initComplete)
> at System.Web.Hosting.ProcessHost..ctor(IProcessHostSupportFunc tions
> functions)
> at
> System.Web.Hosting.ProcessHost.GetProcessHost(IProcessHostSu pportFunctions
> functions)
> at
> System.Web.Hosting.ProcessHostFactoryHelper.GetProcessHost(I ProcessHostSu=
pp=ADortFunctions functions)
> Event Xml:
>
>
>
> 1334
> 2
> 0
> 0x80000000000000
>
> 771
> Application
> win-gojma6i8741
>
>

>
> An error occurred while initializing the default application do=
main.
>
> Exception: System.InvalidOperationException
>
> Message: The configuration system has already been initialized.
>
> StackTrace: at
> System.Configuration.ConfigurationManager.SetConfigurationSy stem(IInterna=
lC=ADonfigSystem configSystem, Boolean initComplete)
> at
> System.Configuration.Internal.InternalConfigSettingsFactory. System.Config=
ur=ADation.Internal.IInternalConfigSettingsFactory.SetConfig urationSystem(I=
Inter=ADnalConfigSystem configSystem, Boolean initComplete)
> at
> System.Web.Configuration.HttpConfigurationSystem.EnsureInit( IConfigMapPath
> configMapPath, Boolean listenToFileChanges, Boolean initComplete)
> at System.Web.Hosting.ProcessHost..ctor(IProcessHostSupportFunc tions
> functions)
> at
> System.Web.Hosting.ProcessHost.GetProcessHost(IProcessHostSu pportFunctions
> functions)
> at
> System.Web.Hosting.ProcessHostFactoryHelper.GetProcessHost(I ProcessHostSu=
pp=ADortFunctions functions)

>

>

Re: asp.net failure on IIS 7.0

am 19.07.2007 12:52:34 von David Wang

Looks like a bug in IIS7, so you can only report it to PSS to try and
get it fixed.

You want to provide really concrete steps to reproduce the issue.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//



On Jul 18, 6:04 am, chaz wrote:
> Hi,
> This application works fine on IIS 6 - 2003 or IIS 5 - XP .
> It fails on IIS 7 Vista or 2008 .
> The text of the event log entry is below .
>
> Basic processing is classic ASP page starts up , invokes an ASP.Net page
> using XMLHTTP which results in HTTP error 400 and the log entry below -
> ASP.Net never calls the global.aspx app start event . If then the ASP p=
age
> is refreshed all is well , the ASP.Net page gets HTTP 200 .
>
> Obviously we can't ask our users to "hit refresh" so what can do to furth=
er
> diagnose and fix this issue ?
>
> thanks ,
> chaz
>
> Application event log entry:
>
> Log Name: Application
> Source: ASP.NET 2.0.50727.0
> Date: 7/17/2007 3:12:58 PM
> Event ID: 1334
> Task Category: None
> Level: Error
> Keywords: Classic
> User: N/A
> Computer: win-gojma6i8741
> Description:
> An error occurred while initializing the default application domain.
>
> Exception: System.InvalidOperationException
>
> Message: The configuration system has already been initialized.
>
> StackTrace: at
> System.Configuration.ConfigurationManager.SetConfigurationSy stem(IInterna=
lC=ADonfigSystem configSystem, Boolean initComplete)
> at
> System.Configuration.Internal.InternalConfigSettingsFactory. System.Config=
ur=ADation.Internal.IInternalConfigSettingsFactory.SetConfig urationSystem(I=
Inter=ADnalConfigSystem configSystem, Boolean initComplete)
> at
> System.Web.Configuration.HttpConfigurationSystem.EnsureInit( IConfigMapPath
> configMapPath, Boolean listenToFileChanges, Boolean initComplete)
> at System.Web.Hosting.ProcessHost..ctor(IProcessHostSupportFunc tions
> functions)
> at
> System.Web.Hosting.ProcessHost.GetProcessHost(IProcessHostSu pportFunctions
> functions)
> at
> System.Web.Hosting.ProcessHostFactoryHelper.GetProcessHost(I ProcessHostSu=
pp=ADortFunctions functions)
> Event Xml:
>
>
>
> 1334
> 2
> 0
> 0x80000000000000
>
> 771
> Application
> win-gojma6i8741
>
>

>
> An error occurred while initializing the default application do=
main.
>
> Exception: System.InvalidOperationException
>
> Message: The configuration system has already been initialized.
>
> StackTrace: at
> System.Configuration.ConfigurationManager.SetConfigurationSy stem(IInterna=
lC=ADonfigSystem configSystem, Boolean initComplete)
> at
> System.Configuration.Internal.InternalConfigSettingsFactory. System.Config=
ur=ADation.Internal.IInternalConfigSettingsFactory.SetConfig urationSystem(I=
Inter=ADnalConfigSystem configSystem, Boolean initComplete)
> at
> System.Web.Configuration.HttpConfigurationSystem.EnsureInit( IConfigMapPath
> configMapPath, Boolean listenToFileChanges, Boolean initComplete)
> at System.Web.Hosting.ProcessHost..ctor(IProcessHostSupportFunc tions
> functions)
> at
> System.Web.Hosting.ProcessHost.GetProcessHost(IProcessHostSu pportFunctions
> functions)
> at
> System.Web.Hosting.ProcessHostFactoryHelper.GetProcessHost(I ProcessHostSu=
pp=ADortFunctions functions)

>

>