I am trying to attach to a WCF Web Service running in virtual directory in
my local dev box, but not sure how to do it. I tried setting a breakpoint on
the .svc and attaching to the Inetinfo process, but it doesn't break. I am
getting a SQL connection error, but the message is rather vague. The
web.config connecton string looks fine. 2 11941
Bill,
Have you seen these threads that are returned from google? They might
be of some use (I'm not sure what version of IIS you are running, so some
things are applicable, some might not be): http://forums.microsoft.com/MSDN/Sho...01010&SiteID=1 http://dotnet.org.za/willy/archive/2...-services.aspx
You might have the best luck by creating a console host which uses your
service library and just debugging that, but of course, it will run under a
different user, which, if I had to guess in this case, is the issue in
connecting to your SQL Server.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Bill Fuller" <so*****@nospam .comwrote in message
news:up******** ******@TK2MSFTN GP04.phx.gbl...
>I am trying to attach to a WCF Web Service running in virtual directory in my local dev box, but not sure how to do it. I tried setting a breakpoint on the .svc and attaching to the Inetinfo process, but it doesn't break. I am getting a SQL connection error, but the message is rather vague. The web.config connecton string looks fine.
These can help:
<system.diagnos tics>
<trace autoflush="true " />
<sources>
<source name="System.Se rviceModel"
switchValue="In formation, ActivityTracing "
>
<listeners>
<add name="sdt"
type="System.Di agnostics.XmlWr iterTraceListen er"
initializeData= "c:\wutemp\Host 1.svclog" />
</listeners>
</source>
</sources>
</system.diagnost ics>
That'll at least give you the things to google to set it up.
You can setup a HOST and a CLIENT version(entry in app.config or web.config)
as well.
You'll also want to famaliarize yourself with this program:
"C:\Program Files\Microsoft SDKs\Windows\v6 .0\Bin\SvcTrace Viewer.exe"
Google
SvcTraceViewer
and that'll get you on the right path as well.
"Bill Fuller" <so*****@nospam .comwrote in message
news:up******** ******@TK2MSFTN GP04.phx.gbl...
>I am trying to attach to a WCF Web Service running in virtual directory in my local dev box, but not sure how to do it. I tried setting a breakpoint on the .svc and attaching to the Inetinfo process, but it doesn't break. I am getting a SQL connection error, but the message is rather vague. The web.config connecton string looks fine. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gijs Korremans |
last post by:
Hi,
I'm trying to debug a multithreaded windowsNT service with Boa Constructor but it's not working.
I don't know how to debug a service (there's nothing on the internet about that) so I've made an extra module espacially for the debugger which startsall my threads. (if anyone knows how to debug a service, you're welcome totell me)
This module is working fine and I can debug it but when I want to debug thethreads it's not working.
I used...
|
by: ÎÒÃνÄϺà |
last post by:
how to debug a running service?
I can use "debug processes" to attach a running service,
but the program doesn't break at my break points.
|
by: SiD` |
last post by:
when starting a windows service writte in vb.net, a messagebox appears:
cannot start service from the command line or a debugger. A windows
service must first be installed using installutil.exe and then startede
with the serverexpl, windows services or the NET START command.
tryed also installing with installutil: it says there is no install packs.
how can I make my service work in design mode and in normal runtime mode?
|
by: Rob R. Ainscough |
last post by:
I've created several DLL's that I use in other projects. I "Add Reference"
to these other projects pointing to my DLL. Probelm is, I can't seem to be
able to step into my DLL code (from these other projects) -- I've tried
adding the source code project (that was used to build the DLL) into my
current solution, but I still can't seem to step into the code of my DLL.
Any suggestion?
I must be missing something simple?
|
by: greg.merideth |
last post by:
I'm working on a service for a project that is producing some bizarre
behavior. In debug mode while the service is running, the memory usage
of the service (watching with process explorer) goes from 18MB to 34MB
to 711+MB back down to 51MB then down to 18MB every 1-2 minutes. The
service maintains a List<t,v> of 4400 objects that are being processed
throughout the services life. No secondary objects are created nor
released.
I can...
| |
by: JohnH |
last post by:
Does any one now how to create a .net service thet when run from the command
line with say a -D argument will run as a console app and be able to output
to that console window. The same .exe would start as a normal service wihout
the -D argument and require use of the NET START command or other.
|
by: Sunil Varma |
last post by:
Hello all,
I wrote a Windows Service in VC.NET 2005
I want to debug the solution.
I tried as mentioned in the following link.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconintroductiontontserviceapplications.asp
But, when I started the service I got a message box saying that the
service is being stopped.
|
by: Alan Silver |
last post by:
Hello,
Sorry if this is a FAQ, but I couldn't find an answer by searching.
I have been using VWB Express for a while, and have just installed
VS2005 Professional. I tried to open an existing web site as an IIS
project instead of a file-based one. I want to debug it in VS via IIS,
using the correct host header name.
Anyway, when I hit f5, I got a message saying... "Unable to start
|
by: Jeff |
last post by:
..NET 2.0
I'm working on 3 projects in VS2005:
- a windows application project
- dll library project
- windows service
This works like this:
The window form call some methods in the dll library project (.net remoting)
which again calls the actual objects running in the windows service...
|
by: steven |
last post by:
hi
i've got a web app that calls a web service, both of which i've
written and are available on localhost. i've added a web reference in
my web app to http://localhost/mywebservice. i've set a breakpoint in
my web app that calls one of the web service methods and try to step
into it, but am unable to step into the web service. i've also tried
running two instances of VS2003 at the same time. the second instance
of VS opens my web...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |