Re: How to debug this?



My client and listener can connect fine on 127.0.0.1 port 9005. However,
once I upload the listener to my webserver and change to the web server IP,
I get the error below:

An unhandled exception of type 'System.Net.Sockets.SocketException' occurred
in system.dll

Additional information: No connection could be made because the target
machine actively refused it


I tried the IP address TcpListener() (on the server) as the remote server
and also as my local computer public IP. No luck. What could be causing
the above and how can I correct it?

Thanks,
Brett

"Stephany Young" <noone@localhost> wrote in message
news:O$5WlplNFHA.4052@xxxxxxxxxxxxxxxxxxxxxxx
> As you said, the app runs fine.
>
> In short, yes - you can quite confidently ignore the messages about
> 'symbols' in this context.
>
>
> "Brett" <no@xxxxxxxx> wrote in message
> news:OABfcjlNFHA.2728@xxxxxxxxxxxxxxxxxxxxxxx
>> Does that basically mean everything is ok?
>>
>> Thanks,
>> Brett
>> "Stephany Young" <noone@localhost> wrote in message
>> news:eBj3IebNFHA.3336@xxxxxxxxxxxxxxxxxxxxxxx
>>> The 'symbols' referred to here are modules with symbolic debbugging
>>> information in them. They are the 'things' that allow you to single step
>>> code and set breakpoints in the IDE.
>>>
>>> When you compile a program in 'debug' configuration these 'symbols' are
>>> placed in the <yourapp>.pdb file.
>>>
>>> In certain 'debug' versions of VS.NET which are not made available to
>>> 'joe blow' the 'debug' versions of Framework DLL's are included which
>>> allow for richer information to be displayed when an exception occurs.
>>>
>>> Note that 'No Symbols loaded' is displayed appears when mscorlib.dll is
>>> loaded but 'Symbols loaded' is displayed when your own client.exe is
>>> loaded.
>>>
>>> These 'symbols' are not related in any way shape or form to unicode or
>>> any other character set.
>>>
>>> If you were of a mind to you could:
>>>
>>> write a program that throws an exception
>>>
>>> compile it for debug
>>>
>>> run the program and note the information displayed when the exception
>>> is thrown
>>>
>>> compile it for release
>>>
>>> run the program and note the information displayed when the exception
>>> is thrown
>>>
>>> You will see that the information displayed in 'debug' is much richer
>>> thatn that displayed in 'release'.
>>>
>>> The additional information is derived from the .pdb file which is known
>>> as the 'symbols'.
>>>
>>>
>>> <snip>
>>>
>>>>
>>>> Back to the application, what does it mean if I get this in my output
>>>> window everytime the app loads:
>>>>
>>>> 'DefaultDomain': Loaded
>>>> 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols
>>>> loaded.
>>>> 'client': Loaded 'C:\Inetpub\VB.NET\client\bin\client.exe', Symbols
>>>> loaded.
>>>> 'client.exe': Loaded
>>>> 'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll',
>>>> No symbols loaded.
>>>> 'client.exe': Loaded
>>>> 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll',
>>>> No symbols loaded.
>>>> 'client.exe': Loaded
>>>> 'c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll',
>>>> No symbols loaded.
>>>> 'client.exe': Loaded
>>>> 'c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll',
>>>> No symbols loaded.
>>>> 'client.exe': Loaded
>>>> 'c:\windows\assembly\gac\microsoft.visualbasic\7.0.5000.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll',
>>>> No symbols loaded.
>>>>
>>>> The app seems to run fine despite the "No symbols loaded" lines.
>>>>
>>>> Thanks,
>>>> Brett
>>>>
>>>
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: C# app works perfectly on XP but not on 2003 server
    ... In production/release mode on Windows 2003 production server where you have many things going on, the GC is probably doing it's job more efficiently and getting rid of objects that you closed/disposed or set to nothing. ... I have a application that I have written on a Windows XP SP2 machine, and tuned to near-perfection - then I copied the program to the target system, a Windows 2003 standard server, the program works fine for 5-10 minutes, and then comes up with an exception. ... The problem is, that whenever I put any debug code in the code that generates the exception, the exception does not come again, but another exception comes. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Issue with openssh 3.5p1-6
    ... My Linux server running Redhat 9 suddenly stopped accepting ssh connections!!! ... Server side debug output: ... debug: Creating listener ... Event Log: Writing new session log to file: putty.log ...
    (SSH)
  • Debugging .Net 1.1 Web Parts in Sharepoint 2007
    ... I have installed .Net 2.2 SDK on the Sharepoint 2007 server. ... debugger to stop if an exception is thrown. ... Any hint how to debug 1.1 Web Parts in Sharepoint 2007? ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Got error installing COM component using regsvr32 on Win2003 serve
    ... Then you should either get an exception you can debug or ... LoadLibrary will return an error code. ... both Win2003 server and Win2000 server with no problem. ...
    (microsoft.public.win32.programmer.ole)
  • Re: HttpWebRequest/Response problem - HELP
    ... but how can i know what is the exception? ... I can not debug the ... > server side (or i dont know how!). ...
    (microsoft.public.dotnet.languages.csharp)