473,324 Members | 2,356 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,324 software developers and data experts.

Application object lost?

OsD
I'm having trouble with the workflow described bellow:

1. Asp page 1 on server A contains an iframe.
2. Asp page 1 submits a form targeted to the iframe, to Asp page 2 on
server B.
3. Asp page 2 runs in the iframe and at some point might decide to submit a
form targeted to the _top frame, to page 3 on Server B.
4. Page 3 loads in the top frame.

This usually works well, but occasionally when page 3 loads various asp
errors occur, in the manner of "Object not found" and "Object does not
support this method". The objects referred to are always objects held in the
Application object, and were put there by the global.asa file. Once it was
the Application object itself that was not found, when a direct call to it
failed.

Server A and server B are not necessarily different servers, but they are
always different virtual directories. Page 2 and Page 3 always run in the
same virtual directory, under the same application scope.

Any help on figuring out why these errors occur would be appreciated. At
least an idea why sometimes it works and sometimes not.
Jul 19 '05 #1
3 1540
i would think you couldnt share application objects accross different
applications. besides, you shouldnt be storing objects in application scope.
"OsD" <o@d.com> wrote in message
news:ep**************@TK2MSFTNGP09.phx.gbl...
I'm having trouble with the workflow described bellow:

1. Asp page 1 on server A contains an iframe.
2. Asp page 1 submits a form targeted to the iframe, to Asp page 2 on
server B.
3. Asp page 2 runs in the iframe and at some point might decide to submit a form targeted to the _top frame, to page 3 on Server B.
4. Page 3 loads in the top frame.

This usually works well, but occasionally when page 3 loads various asp
errors occur, in the manner of "Object not found" and "Object does not
support this method". The objects referred to are always objects held in the Application object, and were put there by the global.asa file. Once it was
the Application object itself that was not found, when a direct call to it
failed.

Server A and server B are not necessarily different servers, but they are
always different virtual directories. Page 2 and Page 3 always run in the
same virtual directory, under the same application scope.

Any help on figuring out why these errors occur would be appreciated. At
least an idea why sometimes it works and sometimes not.

Jul 19 '05 #2
OsD
Yes, I know storing objects in the application scope is bad, but until the
development team decides to rewrite a few hundred asp pages, I don't have
much choice.

As for application object sharing, I guess I didn't explain myself too well.
There is no sharing.
Page 1 uses one application object, while Pages 2 and 3 use a different
application object. They both should use the same application object, since
they are both in the same application, but for some reason even though Page
2 always processes without errors, Page 3 sometimes cannot access the
application object.
"thorpe" <te**@tpg.com.au> wrote in message
news:eE**************@TK2MSFTNGP09.phx.gbl...
i would think you couldnt share application objects accross different
applications. besides, you shouldnt be storing objects in application scope.

"OsD" <o@d.com> wrote in message
news:ep**************@TK2MSFTNGP09.phx.gbl...
I'm having trouble with the workflow described bellow:

1. Asp page 1 on server A contains an iframe.
2. Asp page 1 submits a form targeted to the iframe, to Asp page 2 on
server B.
3. Asp page 2 runs in the iframe and at some point might decide to submit
a
form targeted to the _top frame, to page 3 on Server B.
4. Page 3 loads in the top frame.

This usually works well, but occasionally when page 3 loads various asp
errors occur, in the manner of "Object not found" and "Object does not
support this method". The objects referred to are always objects held in

the
Application object, and were put there by the global.asa file. Once it

was the Application object itself that was not found, when a direct call to it failed.

Server A and server B are not necessarily different servers, but they are always different virtual directories. Page 2 and Page 3 always run in the same virtual directory, under the same application scope.

Any help on figuring out why these errors occur would be appreciated. At
least an idea why sometimes it works and sometimes not.


Jul 19 '05 #3
OsD wrote:
Yes, I know storing objects in the application scope is bad, but
until the development team decides to rewrite a few hundred asp
pages, I don't have much choice.


Time to bite the bullet ...
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #4

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

Similar topics

8
by: Chau Johnthan | last post by:
I have two applications, and they use the same xml doc as a data exchange channel. I mean each application holds a reference of this xml doc. each can change the xml doc, in the mean time the...
3
by: Grinninger | last post by:
Hello, I am using ASP.NET, C# under W2K. I try to keep some important information in application- and session-state Objects. With the recycling of the ASPNet_WP.EXE my application- and...
0
by: Chris | last post by:
Please help. I have written an application in VB.NET that communicates to an XML Web Service (a Web Sphere site). The WSDL client class where created using WSDL command. (wsdl /language:VB...
9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
2
by: Mel | last post by:
This may be a stupid question, but here goes... I have created a NameValueCollection in my website's application state. If, during a page request, I add a string key and string value to the...
3
by: msteinwender | last post by:
Here is the scoop and any help is appreciated! In my Global.asax file I am creating an object and setting that object to an Application("obj") variable. The object gets created with no problems...
6
by: TPI | last post by:
I wrote application wich i working on IntPtr. Whole thing is using Marshal.ReadInt32 and Marshal.WriteInt32. And sometimes the application shuts down with out any wornings and exceptions. With...
15
by: =?Utf-8?B?TVNU?= | last post by:
To demonstrate my problem, I have a very simple VB Windows application. It has a text box that is used to display a counter, a button to reset the counter, and a timer that increments the counter...
0
by: Pheasant Plucker® | last post by:
Hi there, Not sure if this is the correct ng and I am not a programmer so excuse me but here goes...:-) We have a custom application that has a hook or calls either the Outlook calendar or...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.