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. 3 1560
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******** ******@TK2MSFTN GP09.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.
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.a u> wrote in message
news:eE******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP09.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.
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" This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 other can get
node-changed events.
how should I implement this senario?
|
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
session-state Objects get lost.
Therfore I have some questions:
-) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day?
-) What is the expected recyclingperiod for the ASPNet_WP.EXE ?
|
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
/out:myProxyClass.vb
http://hostServer/WebserviceRoot/WebServiceName.asmx?WSDL).
Here is the code for the class:
The http://hostServer/WebserviceRoot/WebServiceName.asmx replaced the
|
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 to a pool. If I assign only one
application to a applicaton pool and have multiple worker processes
assigned to that pool. Will my application be processed by many worker
processes?
|
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
collection, how are they stored? Strings are objects so I'm really only
passing references, right? Now I assume that request handlers run in
different threads with their own memory spaces, and when the request ends,
the memory space is unaloted,...
| |
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 and the application variable is set successfully to that
object.
Once the Global.asax page has finished the Application_Start routine
the startUp page (deploy.aspx) is loaded. On that page my application
variables are now null. Even application...
|
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 out worninigs and exceptions I do not know where to look up.
I need help with this problem.
|
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 every second.
I remote desktop to the computer hosting this application and run the
application. It starts up and displays the counter incrementing every
second. If I disconnect the network cable between the two computers for 10
seconds and...
|
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 looks in the Inbox
for a specific email and acts upon it if found.
This has worked great for over a year but when I updated using the usual
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |