Profile existing WCF services
Ninosd
Posts: 5
I have two WCF services that I want to profile, I saw this link but it's not helpful, as the installUtil is failing with the below exception, note I added the SVC files in the bin folder which contains all required DLLs.
http://www.red-gate.com/supportcenter/C ... htm#o11695
C:\Program Files\Microsoft Visual Studio 10.0\VC>installutil -LogToConsole=true -ShowCallStack C:\Te
stPublish\From2010\bin\MyService.svc
Microsoft (R) .NET Framework Installation utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Exception occurred while initializing the installation:
System.BadImageFormatException: Could not load file or assembly 'file:///C:\TestPublish\From2010\bin
\MyService.svc' or one of its dependencies. The module was expected to contain an assembly
manifest..
Thanks,
Ninos
http://www.red-gate.com/supportcenter/C ... htm#o11695
C:\Program Files\Microsoft Visual Studio 10.0\VC>installutil -LogToConsole=true -ShowCallStack C:\Te
stPublish\From2010\bin\MyService.svc
Microsoft (R) .NET Framework Installation utility Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Exception occurred while initializing the installation:
System.BadImageFormatException: Could not load file or assembly 'file:///C:\TestPublish\From2010\bin
\MyService.svc' or one of its dependencies. The module was expected to contain an assembly
manifest..
Thanks,
Ninos
Comments
http://msdn.microsoft.com/en-us/library/ff649818.aspx
But, as the above URL says to copy the app.config from the WCF project, I assume it means the web.config, so that's what I have copied.
I have a service installed now, Service1, but every time I try to start it, it fails with Error 5: Access is denied.
So, can you please direct me as how I can profile a WCF service with your profiler?
Thanks.
I see that you didn't even read the post. I gave some extra info on the things I've tried to profile a WCF service with your profiler.
I hope my question is clear.
How do you profile a WCF service with your profiler? And I have version 5.2
And I'm not sure what you have - is it hosted in a Windows Service? Then you would use the option to profile a Windows Service.
However, there is also information about web.config and .svc files, so I can't tell if your code is a Windows Service or a WCF hosted in IIS.