No announcements
Found 3688986 threads
-
1 Votes
Disposing SPSite Object
You don't need to worry about disposing object here as you have used using block.Answered | 5 Replies | 4881 Views | Created by RK Naik - Wednesday, May 20, 2009 7:41 PM | Last reply by Sanjay Patel from Neudesic LLC - Thursday, May 21, 2009 5:00 PM -
2 Votes
Open Disposed Objects
You can not open it again because Dispose has been called.Answered | 4 Replies | 2830 Views | Created by Metroidn1f - Wednesday, October 5, 2011 12:51 AM | Last reply by Metroidn1f - Friday, October 7, 2011 12:23 AM -
0 Votes
Cannot access a disposed object.
User-1838255255 posted Hi lappel, According to your description and error message, this issue maybe caused by you close the stream when you want to ...Answered | 5 Replies | 3767 Views | Created by Anonymous - Thursday, October 19, 2017 5:15 AM | Last reply by Anonymous - Tuesday, October 24, 2017 8:02 AM -
1 Votes
Disposing objects in a timer job
When accessing SPSite.AllWebs collection from SPContext.Current it's official guidance to dispose the SPWeb objects because each call into the indexer opens a new ...Answered | 6 Replies | 2995 Views | Created by preambleMe - Wednesday, January 23, 2013 8:35 AM | Last reply by preambleMe - Wednesday, January 23, 2013 11:57 PM -
2 Votes
Disposing object collected in List (Of Object)
This thread has me thinking, how could you check to see if an object has a Dispose method please ?Answered | 7 Replies | 15402 Views | Created by jc1712 - Thursday, July 29, 2010 9:38 AM | Last reply by Cor Ligthert - Saturday, July 31, 2010 7:22 AM -
3 Votes
Dispose of Application Settings Object
The dispose method from compenents is only meant to release unmanaged resources like pens and win32 objects.Answered | 5 Replies | 2864 Views | Created by jonlee107 - Monday, December 28, 2009 3:09 PM | Last reply by jonlee107 - Wednesday, December 30, 2009 1:45 PM -
0 Votes
Disposing of objects
Hi Bakre, There is not really a difference here; the GC will in both cases just dispose of the DatabaseManager.Answered | 1 Replies | 4755 Views | Created by bakre - Wednesday, November 17, 2010 4:16 PM | Last reply by Tom de Koning - Wednesday, November 17, 2010 7:57 PM -
0 Votes
SharePoint 2010 Webpart - cannot dispose site objects
First of all you should not dispose the objects which you get from SPContext. and second if you have used Using with any of the object it would be ...Answered | 2 Replies | 7750 Views | Created by Dhamith - Wednesday, June 1, 2011 6:16 AM | Last reply by Dhamith - Thursday, June 2, 2011 9:13 AM -
0 Votes
HttpClient - System.NullReferenceException: Object reference not set to an instance of an object.
All you code to initialize the HttpClient is in there.Answered | 1 Replies | 7742 Views | Created by Melih Şimşek - Wednesday, January 23, 2013 6:44 PM | Last reply by RenaudDumont - Wednesday, January 23, 2013 7:57 PM -
0 Votes
Disposing object in sharepoint
You need to dispose the web object first and then dispose site object.Answered | 2 Replies | 5181 Views | Created by ok76 - Sunday, November 9, 2008 5:42 AM | Last reply by ok76 - Sunday, November 9, 2008 6:58 AM -
1 Votes
Object disposed but still in memory
You can implement an event (Disposing or your custom event Disposing) to notify all clients that they must annihilate (set nothing) their reference.Answered | 6 Replies | 3995 Views | Created by raju40 - Sunday, February 7, 2010 3:13 PM | Last reply by DiegoCattaruzza - Monday, February 8, 2010 1:05 PM -
0 Votes
Making an Object Disposable (Syntax)
Well - as it says, you don't need to worry about disposing of most of their objects any more.Answered | 10 Replies | 1350 Views | Created by Syed_Sajid - Wednesday, March 30, 2016 4:07 PM | Last reply by Christopher84 - Thursday, March 31, 2016 3:49 PM -
0 Votes
Dispose datarow object
This interface is designed to assist in having both managed and unmanaged resources "cleaned up" before the object is deallocated.Answered | 1 Replies | 4043 Views | Created by stylish16 - Tuesday, March 6, 2012 2:44 AM | Last reply by Dig-Boy - Tuesday, March 6, 2012 3:19 AM -
0 Votes
Disposing COM objects.
As opposed to the opinion of Reed Copsey, I personally don't liked the idea that the CG will eventually clean up my COM objects.Answered | 2 Replies | 9961 Views | Created by kicaj - Tuesday, January 25, 2011 7:15 PM | Last reply by ib.d - Wednesday, January 26, 2011 6:28 AM -
0 Votes
Dispose Form Object
In other words, after you have disposed your managed resources (it's considered a best practice to always call the Dispose method ...Answered | 5 Replies | 1141 Views | Created by RamyaRam - Thursday, January 2, 2014 10:18 AM | Last reply by Cor Ligthert - Thursday, January 2, 2014 3:14 PM -
1 Votes
Dispose Multiple Objects
MemoryStream doesn't use any native resources, so calling "Dispose" actually doesn't really do anything (in that specific class).Answered | 4 Replies | 1498 Views | Created by MDMoura - Tuesday, March 26, 2013 6:47 PM | Last reply by MDMoura - Tuesday, March 26, 2013 7:20 PM -
0 Votes
How does one deal with the "Cannot acces a disposed object" error?
PrintPreviewDialog is a dialogue box - the clue is in the name.Answered | 7 Replies | 6405 Views | Created by PRS99 - Sunday, February 26, 2012 12:17 AM | Last reply by Frank L. Smith - Sunday, February 26, 2012 12:53 AM -
2 Votes
Sharepoint Object disposal
As using statement will dispose the objects with it closed.Answered | 5 Replies | 3096 Views | Created by RK Senthil - Sunday, November 4, 2012 3:13 AM | Last reply by varun.atluri - Wednesday, November 7, 2012 8:13 PM -
0 Votes
Cannot access a disposed object.
Example: //this is the temproary storage varriable //It is in scope for both input and output blocks byte[] Temp; //Input phase using(/*Whatever ...Answered | 7 Replies | 11631 Views | Created by Pradip26 - Thursday, November 14, 2013 4:44 AM | Last reply by Christopher84 - Friday, November 15, 2013 12:02 PM -
2 Votes
Disposing Stream Reader Objects
No, you cannot. you have to unlock it first.Answered | 4 Replies | 1645 Views | Created by Shanthi dhanus - Monday, February 18, 2013 10:31 AM | Last reply by Mike Feng - Thursday, February 21, 2013 7:38 PM
No announcements