473,395 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Application domain unloads

Hi

I get an System.AppDomainUnloadedException: Automation error
error when the webserver has been running for a while.

I'm running on windows 2000 Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573.

I've changed in machine config <processmodel>, it will not time out.
The page header <%@ Page Language="vb" validateRequest=false aspcompat=true AutoEventWireup="false" ...

On one server it occurs randomly, while on the other server it fails everytime after the first time.

Its accessing an vb 6 dll through interop using early binding.

here is a stack trace for one of them

[AppDomainUnloadedException: Automation error]
Microsoft.VisualBasic.CompilerServices.LateBinding .LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) +895
IS4Wrapper.IS4Wrapper.GetUserName(String strUserGuid)
StepEditor.WebForm1.rptStep_ItemDataBound(Object sender, RepeaterItemEventArgs e)
System.Web.UI.WebControls.Repeater.OnItemDataBound (RepeaterItemEventArgs e) +110
System.Web.UI.WebControls.Repeater.CreateItem(Int3 2 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +139
System.Web.UI.WebControls.Repeater.CreateControlHi erarchy(Boolean useDataSource) +475
System.Web.UI.WebControls.Repeater.OnDataBinding(E ventArgs e) +49
System.Web.UI.WebControls.Repeater.DataBind() +23
StepEditor.WebForm1.initPage()
StepEditor.WebForm1.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
What could be wrong?

regards Pelle

Nov 18 '05 #1
3 1732
as your VB6 component run in STA mode ,
you must declare
<%@ page AspCompat = true %>
on head of your .aspx file;

or you can set "this.AspCompatMode = true" in page OnInit event handler

"Pelle" <pe***@intrasuite.net> ????
news:#n*************@TK2MSFTNGP11.phx.gbl...
Hi

I get an System.AppDomainUnloadedException: Automation error
error when the webserver has been running for a while.

I'm running on windows 2000 Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.573.

I've changed in machine config <processmodel>, it will not time out.
The page header <%@ Page Language="vb" validateRequest=false aspcompat=true
AutoEventWireup="false" ...

On one server it occurs randomly, while on the other server it fails
everytime after the first time.

Its accessing an vb 6 dll through interop using early binding.

here is a stack trace for one of them

[AppDomainUnloadedException: Automation error]
Microsoft.VisualBasic.CompilerServices.LateBinding .LateGet(Object o, Type
objType, String name, Object[] args, String[] paramnames, Boolean[]
CopyBack) +895
IS4Wrapper.IS4Wrapper.GetUserName(String strUserGuid)
StepEditor.WebForm1.rptStep_ItemDataBound(Object sender,
RepeaterItemEventArgs e)
System.Web.UI.WebControls.Repeater.OnItemDataBound (RepeaterItemEventArgs
e) +110
System.Web.UI.WebControls.Repeater.CreateItem(Int3 2 itemIndex,
ListItemType itemType, Boolean dataBind, Object dataItem) +139
System.Web.UI.WebControls.Repeater.CreateControlHi erarchy(Boolean
useDataSource) +475
System.Web.UI.WebControls.Repeater.OnDataBinding(E ventArgs e) +49
System.Web.UI.WebControls.Repeater.DataBind() +23
StepEditor.WebForm1.initPage()
StepEditor.WebForm1.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
What could be wrong?

regards Pelle


Nov 18 '05 #2
Hi
well its already there
<%@ Page Language="vb" validateRequest=false aspcompat=true
AutoEventWireup="false"

"coollzh" <co*****@hotmail.com> wrote in message
news:OK****************@TK2MSFTNGP09.phx.gbl...
as your VB6 component run in STA mode ,
you must declare
<%@ page AspCompat = true %>
on head of your .aspx file;

or you can set "this.AspCompatMode = true" in page OnInit event handler

"Pelle" <pe***@intrasuite.net> ????
news:#n*************@TK2MSFTNGP11.phx.gbl...
Hi

I get an System.AppDomainUnloadedException: Automation error
error when the webserver has been running for a while.

I'm running on windows 2000 Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.573.

I've changed in machine config <processmodel>, it will not time out.
The page header <%@ Page Language="vb" validateRequest=false aspcompat=true AutoEventWireup="false" ...

On one server it occurs randomly, while on the other server it fails
everytime after the first time.

Its accessing an vb 6 dll through interop using early binding.

here is a stack trace for one of them

[AppDomainUnloadedException: Automation error]
Microsoft.VisualBasic.CompilerServices.LateBinding .LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[]
CopyBack) +895
IS4Wrapper.IS4Wrapper.GetUserName(String strUserGuid)
StepEditor.WebForm1.rptStep_ItemDataBound(Object sender,
RepeaterItemEventArgs e)
System.Web.UI.WebControls.Repeater.OnItemDataBound (RepeaterItemEventArgs e) +110
System.Web.UI.WebControls.Repeater.CreateItem(Int3 2 itemIndex,
ListItemType itemType, Boolean dataBind, Object dataItem) +139
System.Web.UI.WebControls.Repeater.CreateControlHi erarchy(Boolean
useDataSource) +475
System.Web.UI.WebControls.Repeater.OnDataBinding(E ventArgs e) +49
System.Web.UI.WebControls.Repeater.DataBind() +23
StepEditor.WebForm1.initPage()
StepEditor.WebForm1.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
What could be wrong?

regards Pelle

Nov 18 '05 #3
maybe you should check your vb6 component.
do the components work well in classic asp application?

"Pelle" <pe***@intrasuite.net> дÈëÏûÏ¢
news:Ou*************@TK2MSFTNGP11.phx.gbl...
Hi
well its already there
<%@ Page Language="vb" validateRequest=false aspcompat=true
AutoEventWireup="false"

"coollzh" <co*****@hotmail.com> wrote in message
news:OK****************@TK2MSFTNGP09.phx.gbl...
as your VB6 component run in STA mode ,
you must declare
<%@ page AspCompat = true %>
on head of your .aspx file;

or you can set "this.AspCompatMode = true" in page OnInit event handler

"Pelle" <pe***@intrasuite.net> ????
news:#n*************@TK2MSFTNGP11.phx.gbl...
Hi

I get an System.AppDomainUnloadedException: Automation error
error when the webserver has been running for a while.

I'm running on windows 2000 Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573.

I've changed in machine config <processmodel>, it will not time out.
The page header <%@ Page Language="vb" validateRequest=false

aspcompat=true
AutoEventWireup="false" ...

On one server it occurs randomly, while on the other server it fails
everytime after the first time.

Its accessing an vb 6 dll through interop using early binding.

here is a stack trace for one of them

[AppDomainUnloadedException: Automation error]
Microsoft.VisualBasic.CompilerServices.LateBinding .LateGet(Object o,

Type
objType, String name, Object[] args, String[] paramnames, Boolean[]
CopyBack) +895
IS4Wrapper.IS4Wrapper.GetUserName(String strUserGuid)
StepEditor.WebForm1.rptStep_ItemDataBound(Object sender,
RepeaterItemEventArgs e)

System.Web.UI.WebControls.Repeater.OnItemDataBound (RepeaterItemEventArgs
e) +110
System.Web.UI.WebControls.Repeater.CreateItem(Int3 2 itemIndex,
ListItemType itemType, Boolean dataBind, Object dataItem) +139
System.Web.UI.WebControls.Repeater.CreateControlHi erarchy(Boolean
useDataSource) +475
System.Web.UI.WebControls.Repeater.OnDataBinding(E ventArgs e) +49
System.Web.UI.WebControls.Repeater.DataBind() +23
StepEditor.WebForm1.initPage()
StepEditor.WebForm1.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
What could be wrong?

regards Pelle


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: robert | last post by:
How do I get a remote XP Pro computer user on one domain to access and run a ..NET application on a different domain? Scenario: I was given a .NET application on domain (B) that I need to allow...
2
by: Keith Jakobs, MCP | last post by:
Greetings: I had seen several posts around the Internet about this issue from a few months back, but have been unable to find a resolution ... I have a user who is trying to get started with...
6
by: Marios | last post by:
Hi, I want to have in a application i have created the feature of application recycling, similar to the aspnet_wp, and the new COM+ service. The reason i want to do this is because of being able...
0
by: Striped | last post by:
<crosspost in dotnet.framework.remoting> I have a remote configuration: a client and a server that hosts a library. This library unloads/loads another dynamic assembly in a separate domain each...
3
by: Pelle | last post by:
Hi I get an System.AppDomainUnloadedException: Automation error error when the webserver has been running for a while. I'm running on windows 2000 Microsoft .NET Framework...
2
by: James Hunter Ross | last post by:
Friends, We have been experiencing unexpected Application Timeout issues in our ASP 1.1 application. We eventually read-up on aspnet_wp (or w3wp) "recycling" and various related concepts...
2
by: =?Utf-8?B?Q2hhcmxpZQ==?= | last post by:
I have written an ASP.Net web application in C#. On Appplication_Start the code loads some data from the database into memory. It stores the data in Application State variables. The data is read...
2
by: Lloyd Sheen | last post by:
While using VS 2005 Pro I get this about 50% of the time. I run the app. See whats wrong. Stop the app (stop debugging button). Make changes and then click the start debugging button. If I...
1
by: Sriram Srivatsan | last post by:
Hi We are trying to build an application where we render some of the .aspx pages from the database using a class derived from System.Web.Hosting.VirtualPathProvider. Users configure the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.