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 3 1731
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
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
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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: 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...
| |