|
-
Dec 12th, 2014, 04:02 AM
#1
Thread Starter
Hyperactive Member
DisconnectedContext was detected:Exception setting can be set for a project?
When i run one of my vb project i get below warning message.
Code:
DisconnectedContext was detected
Message: Context 0x21b448' is disconnected. Releasing the interfaces from the current context (context 0x21b2d8).This may cause corruption or data loss. To avoid this problem, please ensure that all contexts/apartments stay alive until the applicationis completely done with the RuntimeCallableWrappers that represent COM components that liveinside them.
A quick google search gave me result like it can be solved by disabling the exception "disconnectedContext ". So I did in menu->debug->exception, under manage debug assistants deselect disconnectedContext and it solved the problem too.
But this setting is not project wise or visual studio wise. I found like this setting is saved in .suo file.Now I want this setting I made to be available for all users using the project. So how it can be set project wise so that all users using the project will be able to get disconnectedContext setting disabled
-
Dec 12th, 2014, 07:54 AM
#2
Re: DisconnectedContext was detected:Exception setting can be set for a project?
Maybe I'm being a bit naive but, shouldn't the question you should be asking "how do I fix this error so it doesn't happen in the first place?" ???
-tg
-
Dec 12th, 2014, 08:15 AM
#3
Thread Starter
Hyperactive Member
Re: DisconnectedContext was detected:Exception setting can be set for a project?
 Originally Posted by techgnome
Maybe I'm being a bit naive but, shouldn't the question you should be asking "how do I fix this error so it doesn't happen in the first place?" ???
-tg
Yes. You are right. But most of the links i got suggested to disable that exception, so i thought it may be a minor warning or can ignore it.
In our case we didn't get that error for that project till now(from last one year). suddenly we got it now. So why does this error comes?
-
Dec 12th, 2014, 08:44 AM
#4
Re: DisconnectedContext was detected:Exception setting can be set for a project?
well, hard to say. could be two things that were talking to each other stopped. Could be a cut cable. Could be eels in your hovercraft.
-tg
-
Dec 12th, 2014, 09:54 AM
#5
Re: DisconnectedContext was detected:Exception setting can be set for a project?
-
Dec 15th, 2014, 06:02 AM
#6
Thread Starter
Hyperactive Member
Re: DisconnectedContext was detected:Exception setting can be set for a project?
So how can i disable those exception for that project , so that everyone accessing that project will get same settings.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|