Difficulty debugging WCF service

Discussion in 'ASP .Net Web Services' started by Beth35, Nov 18, 2008.

  1. Beth35

    Beth35 Guest

    Hello,

    I have a WCF service hosted on IIS and a Windows Client. I am having the
    first chance exception problems while debugging the WCF service while single
    stepping into the service. Then after the error I am unable to debug any
    further. Here is what I see in my output window.

    However, if I don't debug and just run, I am able to run through the service
    fine. So, I am currently using Trace.Writeline because single stepping is a
    problem.

    Please let me know how to get rid of this problem.


    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\9.0.

    0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\Syste

    m.Windows.Forms.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Draw

    ing.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync

    \9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dl

    l'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\9.0.0.0__b03

    f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WebProTesT\WcfProTesTClient\WcfProTesTClient\bin\Debug\WcfProTesTClient.vshost

    ..exe'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC\EnvDTE\8.0.0.0__b03f5f7f11d50a3a\EnvDTE.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.Vsa\8.0.0.0__b03f5f7f11d50a3a\Microsoft.Vs

    a.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Syncfusion.Core\6.403.0.15__632609b4d040f6b4\Syncfus

    ion.Core.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Syncfusion.Grid.Base\6.403.0.15__3d67ed1f87d44c89\Sy

    ncfusion.Grid.Base.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Syncfusion.Grid.Windows\6.403.0.15__3d67ed1f87d44c89

    \Syncfusion.Grid.Windows.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Syncfusion.HTMLUI.Base\6.403.0.15__3d67ed1f87d44c89\

    Syncfusion.HTMLUI.Base.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Syncfusion.HTMLUI.Windows\6.403.0.15__3d67ed1f87d44c

    89\Syncfusion.HTMLUI.Windows.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Syncfusion.Scripting.Base\6.403.0.15__3d67ed1f87d44c

    89\Syncfusion.Scripting.Base.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Syncfusion.Shared.Base\6.403.0.15__3d67ed1f87d44c89\

    Syncfusion.Shared.Base.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Syncfusion.Shared.Windows\6.403.0.15__3d67ed1f87d44c

    89\Syncfusion.Shared.Windows.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Syncfusion.Tools.Base\6.403.0.15__3d67ed1f87d44c89\S

    yncfusion.Tools.Base.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Syncfusion.Tools.Windows\6.403.0.15__3d67ed1f87d44c8

    9\Syncfusion.Tools.Windows.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dl

    l'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Desig

    n.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e0

    89\System.Runtime.Serialization.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System

    ..ServiceModel.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml

    ..Linq.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e

    089\System.Data.DataSetExtensions.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Deployment\2.0.0.0__b03f5f7f11d50a3a\System.D

    eployment.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll'
    The thread 0xda0 has exited with code 0 (0x0).
    The thread 0xd58 has exited with code 0 (0x0).
    The thread '<No Name>' (0xbe0) has exited with code 0 (0x0).
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WebProTesT\WcfProTesTClient\WcfProTesTClient\bin\Debug\WcfProTesTClient.exe',

    Symbols loaded.
    The thread 0xb5c has exited with code 0 (0x0).
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\SMDiagnostics\3.0.0.0__b77a5c561934e089\SMDiagnostic

    s.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\Syste

    m.Configuration.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\Sy

    stem.WorkflowServices.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\Sy

    stem.ServiceModel.Web.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Diagnostics.ServiceModelSink\

    3.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll'
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\Syste

    m.IdentityModel.dll'
    A first chance exception of type

    'System.Configuration.ConfigurationErrorsException' occurred in

    System.Configuration.dll
    A first chance exception of type

    'System.Configuration.ConfigurationErrorsException' occurred in

    System.Configuration.dll
    A first chance exception of type

    'System.Deployment.Application.InvalidDeploymentException' occurred in

    System.Deployment.dll
    A first chance exception of type

    'System.Deployment.Application.InvalidDeploymentException' occurred in

    System.Deployment.dll
    'WcfProTesTClient.vshost.exe' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel.Selectors\3.0.0.0__b77a5c561934

    e089\System.IdentityModel.Selectors.dll'
    Step into: Stepping over method without symbols

    'System.ServiceModel.ClientBase<WcfProTesTClient.ProTesTServiceReference.IWcfProTe

    sTService>.Channel.get'
    Step into: Stepping over method without symbols

    'System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke'
    Auto-attach to process '[2480] WebDev.WebServer.EXE' on machine
    'DOBLE-DELLXP'

    succeeded.
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded 'C:\Program Files\Common
    Files\Microsoft

    Shared\DevServer\9.0\WebDev.WebServer.EXE'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_32\WebDev.WebHost\9.0.0.0__b03f5f7f11d50a3a\WebDev.WebHos

    t.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\Syste

    m.Windows.Forms.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Draw

    ing.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\Syste

    m.Configuration.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.JScript\8.0.0.0__b03f5f7f11d50a3a\Microsof

    t.JScript.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_32\VJSharpCodeProvider\2.0.0.0__b03f5f7f11d50a3a\VJSharpC

    odeProvider.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\CppCodeProvider\8.0.0.0__b03f5f7f11d50a3a\CppCodePro

    vider.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System

    ..Web.Services.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\Sy

    stem.EnterpriseServices.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.W

    eb.Mobile.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET

    Files\protestservice\8b357d95\6d895126\assembly\dl3\71384625\b6659990_a949c901\Com

    monLib.DLL', Symbols loaded.
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET

    Files\protestservice\8b357d95\6d895126\assembly\dl3\93a2494e\140ba967_ac49c901\Pro

    TesTLibrary.DLL', Symbols loaded.
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\Sy

    stem.ServiceModel.Web.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\Sy

    stem.WorkflowServices.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e0

    89\System.Runtime.Serialization.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\Syste

    m.IdentityModel.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System

    ..ServiceModel.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dl

    l'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml

    ..Linq.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\Syst

    em.Web.Extensions.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Abstractions\3.5.0.0__31bf3856ad364e35\Sy

    stem.Web.Abstractions.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e

    089\System.Data.DataSetExtensions.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET

    Files\protestservice\8b357d95\6d895126\App_Code.svmkkyp8.dll', Symbols loaded.
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\SMDiagnostics\3.0.0.0__b77a5c561934e089\SMDiagnostic

    s.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\System.Web.RegularExpressions\2.0.0.0__b03f5f7f11d50

    a3a\System.Web.RegularExpressions.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Diagnostics.ServiceModelSink\

    3.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll'
    'WebDev.WebServer.EXE' (Managed): Loaded 'n3yemscc'
    'WebDev.WebServer.EXE' (Managed): Loaded

    'C:\WINDOWS\assembly\GAC_32\System.Transactions\2.0.0.0__b77a5c561934e089\System.T

    ransactions.dll'
    The thread '<No Name>' (0xb9c) has exited with code 0 (0x0).
    Step into: Stepping over method without symbols
    'string.GetStringForStringBuilder'
    Step into: Stepping over method without symbols
    'System.Text.StringBuilder.Append'
    Step into: Stepping over method without symbols

    'System.Xml.XmlEncodedRawTextWriter.FlushBuffer'
    Step into: Stepping over method without symbols

    'System.Xml.XmlEncodedRawTextWriter.RawText'
    Step into: Stepping over method without symbols

    'System.Xml.XmlEncodedRawTextWriter.RawText'
    Step into: Stepping over method without symbols

    'System.Xml.XmlEncodedRawTextWriterIndent.WriteIndent'
    Step into: Stepping over method without symbols

    'System.Xml.XmlEncodedRawTextWriterIndent.WriteStartElement'
    Step into: Stepping over method without symbols

    'System.Xml.XmlWellFormedWriter.WriteStartElement'
    Step into: Stepping over method without symbols

    'System.Xml.Linq.ElementWriter.WriteStartElement'
    Step into: Stepping over method without symbols

    'System.Xml.Linq.ElementWriter.WriteElement'
    A first chance exception of type 'System.Threading.ThreadAbortException'
    occurred

    in mscorlib.dll
    A first chance exception of type 'System.Threading.ThreadAbortException'
    occurred

    in App_Code.svmkkyp8.dll
    A first chance exception of type 'System.Threading.ThreadAbortException'
    occurred

    in SMDiagnostics.dll
    A first chance exception of type 'System.Threading.ThreadAbortException'
    occurred

    in SMDiagnostics.dll
    A first chance exception of type 'System.Threading.ThreadAbortException'
    occurred

    in SMDiagnostics.dll
    A first chance exception of type 'System.Threading.ThreadAbortException'
    occurred

    in SMDiagnostics.dll
    A first chance exception of type 'System.Threading.ThreadAbortException'
    occurred

    in SMDiagnostics.dll
    A first chance exception of type 'System.Threading.ThreadAbortException'
    occurred

    in SMDiagnostics.dll
    A first chance exception of type 'System.Threading.ThreadAbortException'
    occurred

    in SMDiagnostics.dll
    A first chance exception of type 'System.Threading.ThreadAbortException'
    occurred

    in SMDiagnostics.dll
    The thread 0xbfc has exited with code 0 (0x0).
    The thread '<No Name>' (0xe9c) has exited with code 0 (0x0).
     
    Beth35, Nov 18, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Billy Zhang
    Replies:
    7
    Views:
    1,266
    Steven Cheng [MSFT]
    Jul 31, 2008
  2. Simon
    Replies:
    0
    Views:
    1,023
    Simon
    Oct 13, 2009
  3. Cindy Lee
    Replies:
    1
    Views:
    2,121
    Mr. Arnold
    Mar 19, 2010
  4. Curt K
    Replies:
    3
    Views:
    459
    John Saunders [MVP]
    Jun 15, 2007
  5. kellygreer1

    Web Service versus WCF Service (and Books)

    kellygreer1, Nov 8, 2007, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    159
    Andrew Faust
    Nov 9, 2007
Loading...

Share This Page