[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to track the Detected dependencies in the setup project

Posted on 2008-11-11
8
Medium Priority
?
1,302 Views
Last Modified: 2013-11-14
HI ,
I am having terrible problem , with my windows service
when i tryed to create a set up project for my service i am getting the two dependencies of the same dll
i even tryed to check all the refeneces and everything is  fine i am referencing to the same one is there any way i can where is it searching this dependency from .
i guess this is causing me an exception like

This is the error:
.NET Runtime 2.0 Error
unhandled exception being thrown out of the application.
EventType clr20r3, P1 windowsservice2.exe, P2 1.0.0.0, P3 4919b7ab, P4
system.configuration, P5 2.0.0.0, P6 4889de74, P7 9d, P8 48, P9
ioibmurhynrxkw0zxkyrvfn0boyyufow, P10 NIL.



solution.bmp
0
Comment
Question by:Swetha_aJaX
  • 5
  • 3
8 Comments
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22939009
1. No, since unhandled exception occurs in your own windowsservice2.exe, it only means that there's a statement in your code that is not within try-catch, and the statement fails.

2. in your picture, I don't see primary output from your windows service project. I suggest you look at some walkthrough like http://msdn.microsoft.com/en-us/library/zt39148a(VS.80).aspx

3. finally, whenever you want to share a picture with others, it's good idea to make the picture in compressed format such as JPG or PNG -rather than uncompressed BMP - the picture would become hundred times smaller.
0
 

Author Comment

by:Swetha_aJaX
ID: 22939121
I have the primary output , i know it doesnt showed up on the picture and the other main thing was did you see that there are two DLL referencing (i.e enterprise library .common ) i wish to know where exctley they are using i tryed checkong alla the DLL referencing the service
my issue here is that i wish to find the strong names and versions of the DETECTED REFERNCES
it would be help full to track that
for the exception i wraped up a try catch block in my onstart i guess it may leave me some clues.
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22939383
I think the only way to find that out is to open the compiled msi with ORCA and look inside at the included dll's - there will be versions in Files table and probably strong names somewhere as well - this I don't know.

I think though you shouldn't worry about those, if there are no clear signs of any version mismatch. The error is in your code and is quite trivial, better concentrate on that.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22939448
actually, if you double-click those dependencies on the picture, they will show up in the file system on the target machine, and the properties will be shown, including the version.
0
 

Author Comment

by:Swetha_aJaX
ID: 22940573
versions are matching but the thing is some have a strong nameing keys and some doesnot have so i want to figure it out where it is exactly detecting that from
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 22940809
maybe not the best solution, but if there's nothing else, copy the project elsewhere and then start deleting one piece after another, and see what's detected has disappeared after removal of each piece.
0
 

Author Comment

by:Swetha_aJaX
ID: 22943979
is there any tool or some thing by whichi can find those dependies ?
0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 2000 total points
ID: 22944339
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

834 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