473,756 Members | 3,973 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 #1
15 2895
I have hat to wait up to 10 mins for VS to Compile interop classes when loading a solution with references to some large com objects.

During this time VS.net appears to have died, but as long as you don't recompile your com dll it should only need to do this once.

Perhapse this is what you are experiencing

Nov 22 '05 #2
Hi Simon,

In addition to b.reese1's suggestion.
First of all, I would like to confirm my understanding of your issue.
From your description, I understand that you have three projects in a
solution. When you load the solution not all of the projects will be loaded.
1. Managed C++ .NET (which kind of the project type, a class library, a
windows application or others?)
2. C++ lib( it is a ATL,MFC or just a legacy DLL)
3. VB library(It is a VB.NET class library, is it?)
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.

Also is there any project dependent between the three projects?
Please post more detailed reproduce steps for us to reproduce the produce,
also can you create a new solution and add the projects one by one to see
if the problem persists. If you can package the reproduce solution and send
it to me by removing the online from my email will be helpful for us to
reproduce 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 #3
Hello and Thanks for replying,

In answer to your questions:-

[1] It is a Managed C++ .NET Windows application
[2] It is a standard C++ Library (.lib), no ATL or MFC usage.
[3] Yes, it is a Visual Basic class library containing user controls

Yes, project [1] is dependent on both projects [2] and [3]. Project [2] is
selected through the Project dependencies option, whereas project [3] is
referenced.

I've tried to create a new solution with the same projects and have had no
problems. I did find that adding a setup project tended to cause the
solution not load. When I removed the setup project it was fine. But, on one
PC it fails to load with just the three projects.

I can try to package up the solution if it would be helpful to you.

Regards
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:jA******** ******@cpmsftng xa10.phx.gbl...
Hi Simon,

In addition to b.reese1's suggestion.
First of all, I would like to confirm my understanding of your issue.
From your description, I understand that you have three projects in a
solution. When you load the solution not all of the projects will be
loaded.
1. Managed C++ .NET (which kind of the project type, a class library, a
windows application or others?)
2. C++ lib( it is a ATL,MFC or just a legacy DLL)
3. VB library(It is a VB.NET class library, is it?)
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.

Also is there any project dependent between the three projects?
Please post more detailed reproduce steps for us to reproduce the produce,
also can you create a new solution and add the projects one by one to see
if the problem persists. If you can package the reproduce solution and
send
it to me by removing the online from my email will be helpful for us to
reproduce 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 #4
Hi Simon,

Is the Setup Project a new one or the original one?
I think there may be something wrong with the setup project, so I think you
may try to add a new setup project to see if the problem persists and let
me know the result.

Also on the PC that has problem to load a solution with just the three
projects, I think we may try to do the same steps as before, i.e. create a
new blank solution and add the project one by one to see if the problem
persists, so that we can isolate 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 #5
Hello,

Yes the setup project is a new one, it tended to cause problems when I added
it to the solution of three.

I've created a new solution and it appears to be okay. I did a comparison
between the two solution files and noticed these lines were not in the test
solution:

GlobalSection(D PCodeReviewSolu tionGUID) = preSolution
DPCodeReviewSol utionGUID = {00000000-0000-0000-0000-000000000000}
EndGlobalSectio n

Do you think having these lines in would cause this problem? I've removed
from my original solution and so far it appears to be happy.

But when .NET crashes (black box with white writing in it) or locks up after
a while and have to restart .NET this is when it fails to reload the
solution.

Regards
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:21******** *****@cpmsftngx a10.phx.gbl...
Hi Simon,

Is the Setup Project a new one or the original one?
I think there may be something wrong with the setup project, so I think
you
may try to add a new setup project to see if the problem persists and let
me know the result.

Also on the PC that has problem to load a solution with just the three
projects, I think we may try to do the same steps as before, i.e. create a
new blank solution and add the project one by one to see if the problem
persists, so that we can isolate 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 #6
Hi Simon,

Is the Setup Project a new one or the original one?
I think there may be something wrong with the setup project, so I think you
may try to add a new setup project to see if the problem persists and let
me know the result.

Also on the PC that has problem to load a solution with just the three
projects, I think we may try to do the same steps as before, i.e. create a
new blank solution and add the project one by one to see if the problem
persists, so that we can isolate 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 #7
Hello,

Yes the setup project is a new one, it tended to cause problems when I added
it to the solution of three.

I've created a new solution and it appears to be okay. I did a comparison
between the two solution files and noticed these lines were not in the test
solution:

GlobalSection(D PCodeReviewSolu tionGUID) = preSolution
DPCodeReviewSol utionGUID = {00000000-0000-0000-0000-000000000000}
EndGlobalSectio n

Do you think having these lines in would cause this problem? I've removed
from my original solution and so far it appears to be happy.

But when .NET crashes (black box with white writing in it) or locks up after
a while and have to restart .NET this is when it fails to reload the
solution.

Regards
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:21******** *****@cpmsftngx a10.phx.gbl...
Hi Simon,

Is the Setup Project a new one or the original one?
I think there may be something wrong with the setup project, so I think
you
may try to add a new setup project to see if the problem persists and let
me know the result.

Also on the PC that has problem to load a solution with just the three
projects, I think we may try to do the same steps as before, i.e. create a
new blank solution and add the project one by one to see if the problem
persists, so that we can isolate 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 #8
Further to my post,

Removing these lines does not have any effect, as when my .NET studio
crashes I have trouble reloading the solution.

Further research into this and I have found that the trouble loading my
solution is caused by a .NET studio crash.

Once studio crashes I have to rename the project etc and load the solution,
then rename the project back etc and click reload project...

Then if I close studio down and load it back again, it happily loads the
solution.

I get a lockup after a certain number of runs of the program and sometimes I
get a black DOS style box come up for a split second but its random and
doesn't occur that frequently.

Any ideas on these issues?

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 TNGP12.phx.gbl. ..
Hello,

Yes the setup project is a new one, it tended to cause problems when I
added it to the solution of three.

I've created a new solution and it appears to be okay. I did a comparison
between the two solution files and noticed these lines were not in the
test solution:

GlobalSection(D PCodeReviewSolu tionGUID) = preSolution
DPCodeReviewSol utionGUID = {00000000-0000-0000-0000-000000000000}
EndGlobalSectio n

Do you think having these lines in would cause this problem? I've removed
from my original solution and so far it appears to be happy.

But when .NET crashes (black box with white writing in it) or locks up
after a while and have to restart .NET this is when it fails to reload the
solution.

Regards
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:21******** *****@cpmsftngx a10.phx.gbl...
Hi Simon,

Is the Setup Project a new one or the original one?
I think there may be something wrong with the setup project, so I think
you
may try to add a new setup project to see if the problem persists and let
me know the result.

Also on the PC that has problem to load a solution with just the three
projects, I think we may try to do the same steps as before, i.e. create
a
new blank solution and add the project one by one to see if the problem
persists, so that we can isolate 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 #9
Further to my post,

Removing these lines does not have any effect, as when my .NET studio
crashes I have trouble reloading the solution.

Further research into this and I have found that the trouble loading my
solution is caused by a .NET studio crash.

Once studio crashes I have to rename the project etc and load the solution,
then rename the project back etc and click reload project...

Then if I close studio down and load it back again, it happily loads the
solution.

I get a lockup after a certain number of runs of the program and sometimes I
get a black DOS style box come up for a split second but its random and
doesn't occur that frequently.

Any ideas on these issues?

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 TNGP12.phx.gbl. ..
Hello,

Yes the setup project is a new one, it tended to cause problems when I
added it to the solution of three.

I've created a new solution and it appears to be okay. I did a comparison
between the two solution files and noticed these lines were not in the
test solution:

GlobalSection(D PCodeReviewSolu tionGUID) = preSolution
DPCodeReviewSol utionGUID = {00000000-0000-0000-0000-000000000000}
EndGlobalSectio n

Do you think having these lines in would cause this problem? I've removed
from my original solution and so far it appears to be happy.

But when .NET crashes (black box with white writing in it) or locks up
after a while and have to restart .NET this is when it fails to reload the
solution.

Regards
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:21******** *****@cpmsftngx a10.phx.gbl...
Hi Simon,

Is the Setup Project a new one or the original one?
I think there may be something wrong with the setup project, so I think
you
may try to add a new setup project to see if the problem persists and let
me know the result.

Also on the PC that has problem to load a solution with just the three
projects, I think we may try to do the same steps as before, i.e. create
a
new blank solution and add the project one by one to see if the problem
persists, so that we can isolate 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 #10

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
12830
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
15582
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
3376
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
1228
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
1320
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
9271
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10031
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...
1
9838
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,...
1
7242
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6534
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
5140
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...
1
3805
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3354
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2665
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.