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

Cannot Change threading mode

I am able to add an exisiting office addin project to a blank solution in
VS.NET 2003. When I attempt to add it's setup project I get the following
error in VS.NET "Cannot change threading mode after it has been set" and
the project add fails. Does anyone know why this is occuring?

Thanks.
Jul 21 '05 #1
2 1662
I should clarify a bit I think:

This is a brand new build (WinXP, Office XP, VS.NET 2003 EA). I had the
same issue with the previous build except it was Office 2k3 so I rebuilt the
machine last night. Also Once when creating a new blank solution I was able
to add both projects but when I attempted to compile it locked up VS.NET, I
killed the process and when I reopened the solution the Setup project was
unabavailable and when I tried to either reload it or delete it I get the
same error message "cannot change threading mode once it has been set". I
am unable to find any info regarding this behaviour.
"c duden" <cd****@netfusionservices.com> wrote in message
news:uE****************@TK2MSFTNGP11.phx.gbl...
I am able to add an exisiting office addin project to a blank solution in
VS.NET 2003. When I attempt to add it's setup project I get the following
error in VS.NET "Cannot change threading mode after it has been set" and
the project add fails. Does anyone know why this is occuring?

Thanks.

Jul 21 '05 #2
Hi duden,

Thank you for posting in MSDN managed newsgroup!

I have tested this issue for you in one WinXP box. However, I can't
reproduce this issue for you. I write my repro steps below. If it is not
the same to your scenario, it will be appreciated you post one for me. I
will test this for you.
1) Windows XP, Office XP and Visual Studio.net 2003 installed

2) Create one bland solution and then add one add-in project into this
solution. Keep all the default settings.

3) in the OnStartupComplete event handler, I write one line to popup one
window:
MessageBox.Show("Hello");

4) compile. Everything works very smoothly.

If my repro steps are the same to yours, I'd suggest you can reboot your
machine into safe mode and then create one solution with a added add-in
project, compile it. If it can work very well, based on my experience, I'd
suggest you can troubleshoot this issue with the clean boot method to
narrow down this issue. This will help us to locate the culprit.Perhaps
this issue is caused by some mal-function processes or services. The kb
article 310353 will introduce the clean boot method for you. Please go to:
310353 How to Perform a Clean Boot in Windows XP
http://support.microsoft.com/?id=310353

Please feel free to let me know if you have any further questions.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 21 '05 #3

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

Similar topics

22
by: Jorge Godoy | last post by:
Hi! I must have been searching in the wrong places or with the wrong keywords but I couldn't find out how to implement something such as what is done by the threading module on Windows (95, 98...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
10
by: Jean-David Beyer | last post by:
I have some programs running on Red Hat Linux 7.3 working with IBM DB2 V6.1 (with all the FixPacks) on my old machine. I have just installed IBM DB2 V8.1 on this (new) machine running Red Hat...
4
by: Hagay Lupesko | last post by:
Hi, I've encountered a strange phenomena which appears to me as a bug: I have an engine that uses a System.Threading.Timer to invoke a delegate every X minutes. The code looks something...
2
by: Julien | last post by:
When trying to run this code, I get the following error message : Unhandled Exception: System.Runtime.InteropServices.COMException (0x80010106): Cannot change thread mode after it is set. 1....
0
by: Pawan Narula via DotNetMonster.com | last post by:
hi all, i'm using VB.NET and trying to code for contact management in a tree. all my contacts r saved in a text file and my C dll reads them one by one and sends to VB callback in a sync mode...
2
by: c duden | last post by:
I am able to add an exisiting office addin project to a blank solution in VS.NET 2003. When I attempt to add it's setup project I get the following error in VS.NET "Cannot change threading mode...
1
by: Robert.R.Emmel | last post by:
Hello, I am using the threading module and the Queue module in python to to send out shipment tracking URL requests. Is there a way to timeout a thread within a Queue? I think the way I...
0
by: Czechtim | last post by:
Hello, I have problem with databinding. I created small application using structure that I need to demonstrate problem. I need to change content of label when changing content of property...
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: 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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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.