473,406 Members | 2,713 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,406 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 1068
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

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...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.