473,699 Members | 2,331 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ObjectDisposedE xception - Ansychronous WS on CF 2.0

I have developed an application in VS 2005 for the Compact Framework. This
application makes asynchronous web service calls on a timer. If the
application is closed at a random time it will throw an unhandled
ObjectDisposedE xception. The exception comes up in the debugger with no line
information. I think this is an uncatchable exception.

The only thing I can find on the web about this is from CF 1 before the
release of service pack 3 apparently this was a problem.

Any help would be appreciated.

Thanks,
KJA
Feb 7 '06 #1
2 1610
Hello,

For such a question on Compact Framework, the best group is
"microsoft.publ ic.dotnet.frame work.compactfra mework.
"microsoft.publ ic.windowsce.ap p.development". You may be luck to have more
experienced people there.

Thank you for the understanding!

Luke Zhang
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Feb 8 '06 #2
Thanks, I couldn't find the compactframewor k newsgroup. I will look more
closely.

Thanks again!
Feb 8 '06 #3

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

Similar topics

0
298
by: Kevin Smith | last post by:
I ran across a problem after installing the .NET framework Service Pack 1 on both XP and Server 2003, so I thought I would post the solution here in case anyone else ran across it. After installing the service pack on my development machine, I started getting an ObjectDisposedException every time I hit the enter button while in a TextBox. The top of the call stack said the errant method was System.Windows.Forms.Control.CreateHandle(),...
0
1295
by: TomPel | last post by:
I have various processes that are all logging to the same file using the same function. In order to ensure nobody logs at the same time, I am using mutex. The code I am using is listed below: mut.WaitOne() Dim l_fstream As New StreamWriter(l_logfile, True) l_fstream.WriteLine(stringtolog) l_fstream.Flush() l_fstream.Close() mut.ReleaseMutex()
0
3783
by: Richard Blewett [DevelopMentor] | last post by:
In theory there is nothing wrong with the Windows Forms part of your application (using your code as a start I mocked up the app and can happily press the connect and disconnect buttons ad-infinitum). So can you put a try catch handler in the Disconnect_Click handler to trap the exception so you can, say, write the exception yttace out to a file. You need to know which obejct is generating the exception, whether it is one of your Windows Forms...
0
2594
by: Naveen | last post by:
Hello all, Environment - Winforms app calling into a webservice Exception returned - "A first chance exception of type 'System.ObjectDisposedException' occurred in system.dll" Additional information: Cannot access a disposed object named "System.Net.Sockets.NetworkStream". We are making a webmethod call that gets back a simple ID
0
938
by: Darrell Wesley | last post by:
I'm getting at the end of the application a "ObjectDisposedException was unhandled" warning with the statement that "safe handle has been closed". What does that mean? The application is building a Excel spreadsheet and it's not allowing the Excel application to terminate. Ths is a different behavior then in VS2003. Any help out there on this?
3
8746
by: Martin Pöpping | last post by:
Hello, I´ve a problem with a small line of code. For my Windows Application I designed a form for exporting data into xml files. I´m opening the dialog with: ExportDialog export = new ExportDialog(); export.Show();
6
17134
by: J055 | last post by:
Hi I have the following code. I upload an XML file using the FileUpload object, store the stream in a session so the user gets the chance to confirm some options then pass the stream from the Session to an XmlReader. if (performImport == false) { Session = fileUpload1.FileContent; //... some other code
2
3937
by: Bernard Borsu | last post by:
Hi ! My website breakdown at least 20 times per day with a System.ObjectDisposedException. The only information available are those given by the httpmodule treating the unhandledexception causing breakdown. Here are these information : Type de l'événement : Erreur Source de l'événement : ASP.NET 2.0.50727.0
5
4967
by: Brian | last post by:
Hello all. I have a simple application that I was using to test and understand the System.Timers.Timer and noticed that when I stop the application, on occasion, it throughs the following exception. An exception of type 'System.ObjectDisposedException' occurred in System.Windows.Forms.dll but was not handled in user code Additional information: Cannot access a disposed object.
0
8700
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9048
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 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...
1
8931
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6539
isladogs
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...
0
4386
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...
0
4635
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3064
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2359
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2014
bsmnconsultancy
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...

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.