473,414 Members | 1,720 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,414 software developers and data experts.

fatal error CS0042: Unexpected error creating debug information fi

Hi all

I keep getting this error while building a solution with more than 10
projects.

The solution/projects are open only in one instance of Visual Studio 2003
and the application (Windows Forms) isn't runnig.

How can I see what's loocking the files?

--
Paulo Morgado
MCAD.NET (charter member)
MVP .NET (http://support.microsoft.com/default...=fh;pt;MVPdev2)

Responda para os grupos de discussão para toda a comunidade partilhar

Jul 21 '05 #1
4 7146

"Paulo Morgado [MVP]" <pa***********@community.nospam> wrote in message
news:3D**********************************@microsof t.com...
Hi all

I keep getting this error while building a solution with more than 10
projects.

The solution/projects are open only in one instance of Visual Studio 2003
and the application (Windows Forms) isn't runnig.

How can I see what's loocking the files?

You can use http://www.sysinternals.com/ntw2k/fr.../procexp.shtml to
determine what app has a given file open(Find->Find Handle).

--
Paulo Morgado
MCAD.NET (charter member)
MVP .NET (http://support.microsoft.com/default...=fh;pt;MVPdev2)

Responda para os grupos de discussão para toda a comunidade partilhar

Jul 21 '05 #2
Thanks for Daniel's quick response!

Hi Paulo,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need some tool that can tell you
which process is using certain files. If there is any misunderstanding,
please feel free to let me know.

Daniel has provided us with a good link for Process Explorer. There is
another command line tool named handle on sysinternals site that can do the
same thing. It can be downloaded from the following link. The usage is
simple: handle filename.xxx

http://www.sysinternals.com/ntw2k/freeware/handle.shtml

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #3
Thanks Daniel and Kevin

Since I posted I never had this problem.

I'm having other problems with the designer which says that some object
constructers throw exceptions (which only occours in design time) even though
they are only used after:

if (this.DesignMode) return;

With the tools you directed me to I think I will be able to detect what's
blocking my files. As soon as I can find out the origin of the problem, if I
can't solve it, I'll start another thread.

--
Paulo Morgado

"Kevin Yu [MSFT]" wrote:
Thanks for Daniel's quick response!

Hi Paulo,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need some tool that can tell you
which process is using certain files. If there is any misunderstanding,
please feel free to let me know.

Daniel has provided us with a good link for Process Explorer. There is
another command line tool named handle on sysinternals site that can do the
same thing. It can be downloaded from the following link. The usage is
simple: handle filename.xxx

http://www.sysinternals.com/ntw2k/freeware/handle.shtml

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #4
You're welcome, Paulo. Thanks for sharing your experience with all the
people here. If you have any questions, please feel free to post them in
the community.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #5

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

Similar topics

1
by: Heinz | last post by:
Hello, I have a project that is used by other project in my solution. This common project is also used by a VB6 application (so it is placed in GAC). Since I did this (this is what I...
5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
1
by: Nitin | last post by:
i dont know , what's the reson of this, but if i complile my solution in release mode , it works , but give buid error in Debug mode -- "Unexpected error creating debug information file .pdb"....
6
by: rbazinet | last post by:
I have a VS 2003 C# project, web app with a bunch of DLL's. When I compile my project I often times get this message: Unexpected error creating debug information file 'C:\DevProjects\Allstar...
4
by: hb | last post by:
Hi, I have been working on the ASP.Net project for months with VS.Net 2003 in C#. But this afternoon I suddenly got the following error when I tied to compile the whole solution: === ------...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
1
by: David zhu | last post by:
fatal error CS0042: Unexpected error creating debug information file C:\Inetpub\wwwroot\HSBCS\Pages\HsWebBase\obj\Debug\HsWebBas e.PDB'--...
4
by: Paulo Morgado [MVP] | last post by:
Hi all I keep getting this error while building a solution with more than 10 projects. The solution/projects are open only in one instance of Visual Studio 2003 and the application (Windows...
0
by: Greg | last post by:
Hi, creating template1 database in /var/pgsql/data1/base/1... DEBUG: invoking IpcMemoryCreate(size=1081344) FATAL: shmat(id=1179648) failed: Invalid argument What's the problem why is shmat...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
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...
0
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,...
0
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...

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.