473,769 Members | 2,346 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DevStudio locks up loading solution.

Hello,

I'm getting a strange problem where when I load up my solution that has
three projects:-

a managed C++ .NET, one C++ lib, and a VB library.

It locks up and doesn't load completely, I have to do the following to work
around it.

Rename the vcproj file, load the solution, rename the vcproj back and then
get the visual studio to reload the project.

Any ideas what causes this?

TIA
Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
www.callofcthulhu.com www.deadlandsgame.com
-
Nov 22 '05
15 2897
Hi Simon,

Based on my understanding your senario so far, the problem will occur just
after the VS.NET IDE crash because of a certain cause. And if you close the
VS.NET IDE and reopen the solution, the solution will work again?
Am I right?

But I am confusion that if the VS.NET IDE is crashed, then why we need to
close it and reopen it again.
If we close the VS.NET IDE and reopen the solution, all will work, I think
in this moment the solution file and the project should be OK, i.e. they
are not corrupted, so we do not need to create a new blank solution and add
the new project.

In all, I think the senario may be as follows.
We open a solution with three projects and when we work on it, all of a
sudden it crash for some reason, and now the solution file or the project
files may be corrupted. That is why we need to create a new blank solution
and add the projects to recreate a healthy solution file. Or the VS.NET may
hold the reference to the projects because of its crash(improper
termination), so we need to change its name for it to be loaded again.

Also you may try to delete the .suo file (please backup first,it is a
hidden file) and then open the solution file to see if the problem
persists. I assume that the problem will not persist if the VS.NET did not
crash, if I have any misunderstandin g, please feel free to tell me. If so,
now I think we need to troubleshooting , why the IDE will crash?
Did you add any addin, which is possible to cause the IDE crash.
Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 22 '05 #11
Thanks for your reply,
In all, I think the senario may be as follows.
We open a solution with three projects and when we work on it, all of a
sudden it crash for some reason, and now the solution file or the project
files may be corrupted. That is why we need to create a new blank solution
and add the projects to recreate a healthy solution file. Or the VS.NET
may
hold the reference to the projects because of its crash(improper
termination), so we need to change its name for it to be loaded again.
This is exactly what is happening...
Also you may try to delete the .suo file (please backup first,it is a
hidden file) and then open the solution file to see if the problem
persists. I assume that the problem will not persist if the VS.NET did not
crash, if I have any misunderstandin g, please feel free to tell me. If so,
now I think we need to troubleshooting , why the IDE will crash?
Did you add any addin, which is possible to cause the IDE crash.
The problem doesn't persist if the VS.NET didn't crash.
I have the following addins:

"Generate XML documentation"
"VBCommente r"
"Visual Assist.NET"
"Xbox Direct3D State Viewer"

I have noticed VB Commenter does tend be a bit fussy on forms and brings up
a dialog box, and can make the IDE completely disappear as well if you type
a comment in the wrong location. I will try removing this addin to see if it
improves the stability of the IDE.

Thanks
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
www.callofcthulhu.com www.deadlandsgame.com
-
""Peter Huang"" <v-******@online.m icrosoft.com> wrote in message
news:3k******** *****@cpmsftngx a10.phx.gbl... Hi Simon,

Based on my understanding your senario so far, the problem will occur just
after the VS.NET IDE crash because of a certain cause. And if you close
the
VS.NET IDE and reopen the solution, the solution will work again?
Am I right?

But I am confusion that if the VS.NET IDE is crashed, then why we need to
close it and reopen it again.
If we close the VS.NET IDE and reopen the solution, all will work, I think
in this moment the solution file and the project should be OK, i.e. they
are not corrupted, so we do not need to create a new blank solution and
add
the new project.

In all, I think the senario may be as follows.
We open a solution with three projects and when we work on it, all of a
sudden it crash for some reason, and now the solution file or the project
files may be corrupted. That is why we need to create a new blank solution
and add the projects to recreate a healthy solution file. Or the VS.NET
may
hold the reference to the projects because of its crash(improper
termination), so we need to change its name for it to be loaded again.

Also you may try to delete the .suo file (please backup first,it is a
hidden file) and then open the solution file to see if the problem
persists. I assume that the problem will not persist if the VS.NET did not
crash, if I have any misunderstandin g, please feel free to tell me. If so,
now I think we need to troubleshooting , why the IDE will crash?
Did you add any addin, which is possible to cause the IDE crash.
Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.

Nov 22 '05 #12
Hi Simon,

Based on my understanding your senario so far, the problem will occur just
after the VS.NET IDE crash because of a certain cause. And if you close the
VS.NET IDE and reopen the solution, the solution will work again?
Am I right?

But I am confusion that if the VS.NET IDE is crashed, then why we need to
close it and reopen it again.
If we close the VS.NET IDE and reopen the solution, all will work, I think
in this moment the solution file and the project should be OK, i.e. they
are not corrupted, so we do not need to create a new blank solution and add
the new project.

In all, I think the senario may be as follows.
We open a solution with three projects and when we work on it, all of a
sudden it crash for some reason, and now the solution file or the project
files may be corrupted. That is why we need to create a new blank solution
and add the projects to recreate a healthy solution file. Or the VS.NET may
hold the reference to the projects because of its crash(improper
termination), so we need to change its name for it to be loaded again.

Also you may try to delete the .suo file (please backup first,it is a
hidden file) and then open the solution file to see if the problem
persists. I assume that the problem will not persist if the VS.NET did not
crash, if I have any misunderstandin g, please feel free to tell me. If so,
now I think we need to troubleshooting , why the IDE will crash?
Did you add any addin, which is possible to cause the IDE crash.
Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 22 '05 #13
Thanks for your reply,
In all, I think the senario may be as follows.
We open a solution with three projects and when we work on it, all of a
sudden it crash for some reason, and now the solution file or the project
files may be corrupted. That is why we need to create a new blank solution
and add the projects to recreate a healthy solution file. Or the VS.NET
may
hold the reference to the projects because of its crash(improper
termination), so we need to change its name for it to be loaded again.
This is exactly what is happening...
Also you may try to delete the .suo file (please backup first,it is a
hidden file) and then open the solution file to see if the problem
persists. I assume that the problem will not persist if the VS.NET did not
crash, if I have any misunderstandin g, please feel free to tell me. If so,
now I think we need to troubleshooting , why the IDE will crash?
Did you add any addin, which is possible to cause the IDE crash.
The problem doesn't persist if the VS.NET didn't crash.
I have the following addins:

"Generate XML documentation"
"VBCommente r"
"Visual Assist.NET"
"Xbox Direct3D State Viewer"

I have noticed VB Commenter does tend be a bit fussy on forms and brings up
a dialog box, and can make the IDE completely disappear as well if you type
a comment in the wrong location. I will try removing this addin to see if it
improves the stability of the IDE.

Thanks
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
www.callofcthulhu.com www.deadlandsgame.com
-
""Peter Huang"" <v-******@online.m icrosoft.com> wrote in message
news:3k******** *****@cpmsftngx a10.phx.gbl... Hi Simon,

Based on my understanding your senario so far, the problem will occur just
after the VS.NET IDE crash because of a certain cause. And if you close
the
VS.NET IDE and reopen the solution, the solution will work again?
Am I right?

But I am confusion that if the VS.NET IDE is crashed, then why we need to
close it and reopen it again.
If we close the VS.NET IDE and reopen the solution, all will work, I think
in this moment the solution file and the project should be OK, i.e. they
are not corrupted, so we do not need to create a new blank solution and
add
the new project.

In all, I think the senario may be as follows.
We open a solution with three projects and when we work on it, all of a
sudden it crash for some reason, and now the solution file or the project
files may be corrupted. That is why we need to create a new blank solution
and add the projects to recreate a healthy solution file. Or the VS.NET
may
hold the reference to the projects because of its crash(improper
termination), so we need to change its name for it to be loaded again.

Also you may try to delete the .suo file (please backup first,it is a
hidden file) and then open the solution file to see if the problem
persists. I assume that the problem will not persist if the VS.NET did not
crash, if I have any misunderstandin g, please feel free to tell me. If so,
now I think we need to troubleshooting , why the IDE will crash?
Did you add any addin, which is possible to cause the IDE crash.
Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.

Nov 22 '05 #14
Futher to my previous message,

By Renaming/Deleting the .suo file it helped to load the project without
having to rename my project etc as previous described. Although, this is
still frustrating.

Also, I get studio lockups when closing code windows too.

Regards
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
www.callofcthulhu.com www.deadlandsgame.com
-
"Simon Jefferies" <si****@headfir st.co.uk> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Thanks for your reply,
In all, I think the senario may be as follows.
We open a solution with three projects and when we work on it, all of a
sudden it crash for some reason, and now the solution file or the project
files may be corrupted. That is why we need to create a new blank
solution
and add the projects to recreate a healthy solution file. Or the VS.NET
may
hold the reference to the projects because of its crash(improper
termination), so we need to change its name for it to be loaded again.


This is exactly what is happening...
Also you may try to delete the .suo file (please backup first,it is a
hidden file) and then open the solution file to see if the problem
persists. I assume that the problem will not persist if the VS.NET did
not
crash, if I have any misunderstandin g, please feel free to tell me. If
so,
now I think we need to troubleshooting , why the IDE will crash?
Did you add any addin, which is possible to cause the IDE crash.


The problem doesn't persist if the VS.NET didn't crash.
I have the following addins:

"Generate XML documentation"
"VBCommente r"
"Visual Assist.NET"
"Xbox Direct3D State Viewer"

I have noticed VB Commenter does tend be a bit fussy on forms and brings
up a dialog box, and can make the IDE completely disappear as well if you
type a comment in the wrong location. I will try removing this addin to
see if it improves the stability of the IDE.

Thanks
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
www.callofcthulhu.com www.deadlandsgame.com
-
""Peter Huang"" <v-******@online.m icrosoft.com> wrote in message
news:3k******** *****@cpmsftngx a10.phx.gbl...
Hi Simon,

Based on my understanding your senario so far, the problem will occur
just
after the VS.NET IDE crash because of a certain cause. And if you close
the
VS.NET IDE and reopen the solution, the solution will work again?
Am I right?

But I am confusion that if the VS.NET IDE is crashed, then why we need to
close it and reopen it again.
If we close the VS.NET IDE and reopen the solution, all will work, I
think
in this moment the solution file and the project should be OK, i.e. they
are not corrupted, so we do not need to create a new blank solution and
add
the new project.

In all, I think the senario may be as follows.
We open a solution with three projects and when we work on it, all of a
sudden it crash for some reason, and now the solution file or the project
files may be corrupted. That is why we need to create a new blank
solution
and add the projects to recreate a healthy solution file. Or the VS.NET
may
hold the reference to the projects because of its crash(improper
termination), so we need to change its name for it to be loaded again.

Also you may try to delete the .suo file (please backup first,it is a
hidden file) and then open the solution file to see if the problem
persists. I assume that the problem will not persist if the VS.NET did
not
crash, if I have any misunderstandin g, please feel free to tell me. If
so,
now I think we need to troubleshooting , why the IDE will crash?
Did you add any addin, which is possible to cause the IDE crash.
Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.


Nov 22 '05 #15
Hi Simon,

Thank you for you response.
We can not guarantee the behavior when the VS.NET IDE is crash not closed
properly, because crash may cause the VS.NET IDE did not write the correct
information into the underlying files which may cause the solution will not
opened correctly next time.

So I think we would better to close the VS.NET IDE normally so that we can
avoid the problem.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 22 '05 #16

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

Similar topics

6
3802
by: Bruno Barberi Gnecco | last post by:
I'm developing a collaborative application in PHP which accesses local files and may modify them. How can I synchronize the multiple accesses? Note that I'm not worried about the algorithmic part of the problem, or how to avoid conflicts, which I know how to solve; I just need a few atomic primitive shared among any PHP processes that may be running. I could even have a separate process serializing all operations if such a thing is...
10
510
by: Simon Jefferies | last post by:
Hello, I'm getting a strange problem where when I load up my solution that has three projects:- a managed C++ .NET, one C++ lib, and a VB library. It locks up and doesn't load completely, I have to do the following to work around it.
17
12831
by: Dr NoName | last post by:
Help! I have a table that multiple processes must be able to write to concurrently. However, it for some reason gets locked in exclusive mode. I narrowed it down to one SQL statement + some weirdness with foreign keys. To debug this, I opened two psql sessions and typed in the sql statements manually. Here is the situation: CREATE TABLE take2
1
3098
by: Darius | last post by:
I was having an issue inserting data into a table in an I-Series DB2 database. The Insert statement itself is very simple: Insert into Table1 select * from Table2 These two tables have identical structures. What happens is that the process gets locked and one cannot kill it regardless of what one does. The only solution seems to be to IPL the
10
15586
by: boris.litvak | last post by:
We are looking for a command/SQL statement that cancels all table/row locks in DB2. The reason for this is: 1) computer A was a sole client of DB2, and crashed 2) computer B automatically (in our scenario) becomes the new and only DB2 client, and executes the same application as A. 3) at this time, DB2 still holds locks from transactions started on A, untill certain timeout expires, AFAIK. We would like to cancel this timeout time.
3
2299
by: Rob Mayo | last post by:
I am working in an environment with 4 developers. 2 groups of 2 people working on the same server on the same web project with no version control management on the web server. Programmers A & B servername/project1 Programmers C & D servername/project2 All programmers have solutions that have their respective web projects, accessed over file share. Programmers A & B so far are fine. Programmers C & D have a problem.
4
1655
by: Robert W. Eckert | last post by:
As the title suggests, I am experiencing a problem, originally on a production server machine and now on other machines where internet explorer and other processes that use windows script (cscript in particular) hang on loading. Today I found that when I kill aspnet_wp.exe, the other processes load and continue as expected. (Found this while working on a new web service) However our second production machine does not have this problem....
1
3377
by: mfanny | last post by:
Hi, We have SQL 7 running on Windows 2000 Server. For some reason we are unable to view Locks / Process ID from workstations running Windows XP SP2 with Enterprise Manager. Nothing shows up in the window on the right. All it's says at the top of the window is "There are no items to show in this view" If we use Enterprise Manager on the server, we can view the Locks / Process ID. We can view both, Process Info and Locks / Object from the...
1
1229
by: =?Utf-8?B?bWRuaXRldG9rZXI=?= | last post by:
everything in yahoo locks up when i use my webcam. I tried what yahoo reccomends and it did not work. A friend said yahoo was bad about not loading all the drivers or i have a driver missing. Please help as this cam is a present for my wife and i cant make it work right.
6
1322
by: CJ | last post by:
Hello Friends - I've run across the following situation. I have two threads, say T1 and T2 which access shared data - each locks a mutex before doing so. Now I have a hard-to-find bug which means that periodically T1 gets killed unexpectedly. But if it holds the mutex at that point, T2 blocks for ever! How can I get T1 to release any locks it's holding when it gets killed?
0
9586
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
10210
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10043
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
9990
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,...
0
9861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8869
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
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...
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.