Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

unable to debug a VS2012 project

Posted on 2012-08-19
14
Medium Priority
?
1,082 Views
Last Modified: 2012-11-12
I've installed the new release of VS2012 on a new Windows 8 machine.

For some reason I'm unable to debug my project. I don't problem building a release, but every time I try to debug, I get the following messages.

I have no problem debugging THE SAME project with VS2010 !!

First error
second error
0
Comment
Question by:or1969
  • 8
  • 3
  • 3
14 Comments
 
LVL 45

Expert Comment

by:AndyAinscow
ID: 38309450
>>I have no problem debugging THE SAME project with VS2010 !!

From the Windows 8 machine ?  (In other words you have both VS2010 and VS2012 installed).  If it is from a different machine it could be a firewall problem.
0
 

Author Comment

by:or1969
ID: 38309468
sorry. I wasn't clearer enough.

Machine I with VS2010 and VS2012
Machine 2 with VS2012

On both machine I get the same debug problem.
Disabling the FW didn't solve the problem.
0
 
LVL 45

Expert Comment

by:AndyAinscow
ID: 38309525
So #1 can perform a remote debug with VS2010 but not with VS2012 and #2 can't do a remote debug either.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 20

Expert Comment

by:informaniac
ID: 38309558
I'm not aware of WIndows 8. But does your situation have anything to do with the Run As Admnistrator mode.
0
 

Author Comment

by:or1969
ID: 38309581
I'm running with the administrator account
0
 

Author Comment

by:or1969
ID: 38309590
also, double-click the .sln project file will start VS2012 and I get the same error (First Error) following with this message

msg3
0
 
LVL 45

Expert Comment

by:AndyAinscow
ID: 38309593
I'm still not clear of your situation.
Are you trying to perform a remote debug of your app running on another PC ?
0
 
LVL 20

Expert Comment

by:informaniac
ID: 38309596
Yes. I guess for Wiindows Vista and above. You have to Right Click and select Run as Administrator even if you are logged in using Administrator account.
0
 

Author Comment

by:or1969
ID: 38309620
I have no idea what is the connection between the remote debugger and my application as it is a local winform solution with no connection to any remote machines.

and, I tried starting with the 'run as administrator' but it didn't solve the problem.
0
 
LVL 20

Expert Comment

by:informaniac
ID: 38309648
Start Visual Studio by typing

devenv /resetskippkgs
0
 

Author Comment

by:or1969
ID: 38309676
thanks but this option didn't solve the problem
0
 

Author Comment

by:or1969
ID: 38309703
I think I found the solution.
My project is set to build using 'Any CPU'. Changing to x86 solved the problem.

Now I'm having a new problem, how can I keep using the 'Any CPU' option without this problem?
0
 

Accepted Solution

by:
or1969 earned 0 total points
ID: 38577635
after running many tests, the problem (in my case) was the antivirus on my machine (Bitdefender). Removing it solved the problem.

During writing this post, Bitdefender solved the issue.
0
 

Author Closing Comment

by:or1969
ID: 38590311
found the solution
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question