Solved

ERROR :

Posted on 2008-10-30
3
567 Views
Last Modified: 2012-06-27
HI ,
when i am building my windows service here is ther error message
and whe n i tryed to install the serive installationfailled andmsg in the event log is as shown



Error      1      Unable to copy file "obj\Debug\WindowsService2.pdb" to "bin\Debug\WindowsService2.pdb". The process cannot access the file 'bin\Debug\WindowsService2.pdb' because it is being used by another process.      MaximoPagingService



Event Type:      Error
Event Source:      Service1
Event Category:      None
Event ID:      0
Date:            10/30/2008
Time:            3:30:55 PM
User:            N/A
Computer:      WW-2UA7220P97
Description:
The description for Event ID ( 0 ) in Source ( Service1 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Service cannot be started. The service process could not connect to the service controller.


and earlier i got and build warning msg  

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly.

can any one solve this for me i am at the nick of movement .....
0
Comment
Question by:Swetha_aJaX
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Expert Comment

by:DarrenD
ID: 22845169
Hi,

Just some suggestions:

If the file is being used by another process. The first thing I would do is restart my machine to see if this removes the lock on the file.

Are you using any source control software such as Visual Source Safe or Vault Client. If so are the dll and pdb files added to the source control and are they checked in?

Do you have different versions of an assembly that you are loading?

Hope this helps,

Darren
0
 

Author Comment

by:Swetha_aJaX
ID: 22845441
restart worked fine no errors but  the warning is still the same
what about that and is there
i am hitting the 1053 error (i.e time out )
is there any way i can find out at which point of tim ethe service is failing
i am suspecting the warning mesg is the one effecting the service

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly.

0
 
LVL 15

Accepted Solution

by:
angus_young_acdc earned 500 total points
ID: 22848405
You could create a logging library, and at certain points have your code create a log of whats happening.  If it doesn't get past a certain point you can then narrow it down.

As for that error message about differing versions; its because the project has references to two assemblies that, in turn, depend on two different versions of the same assembly identity.
0

Featured Post

Containers and Docker for Everyone

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

729 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