473,544 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is a solution for below problem.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.Sock ets.SocketExcep tion: No connection could be made because the target machine actively refused it

Server stack trace:
at System.Net.Sock ets.Socket.Conn ect(EndPoint remoteEP)
at System.Runtime. Remoting.Channe ls.RemoteConnec tion.CreateNewS ocket()
at System.Runtime. Remoting.Channe ls.SocketCache. GetSocket(Strin g machineAndPort)
at System.Runtime. Remoting.Channe ls.Tcp.TcpClien tTransportSink. SendRequestWith Retry(IMessage msg, ITransportHeade rs requestHeaders, Stream requestStream)
at System.Runtime. Remoting.Channe ls.Tcp.TcpClien tTransportSink. ProcessMessage( IMessage msg, ITransportHeade rs requestHeaders, Stream requestStream, ITransportHeade rs& responseHeaders , Stream& responseStream)
at System.Runtime. Remoting.Channe ls.BinaryClient FormatterSink.S yncProcessMessa ge(IMessage msg)

Exception rethrown at [0]:
at System.Runtime. Remoting.Proxie s.RealProxy.Han dleReturnMessag e(IMessage reqMsg, IMessage retMsg)
at System.Runtime. Remoting.Proxie s.RealProxy.Pri vateInvoke(Mess ageData& msgData, Int32 type)
at vb_RemoteDLL.Re moteParameter.S ingletonCustome r.get_ClientPar ameter() in C:\Documents and Settings\Admini strator\My Documents\Visua l Studio Projects\vb_Rem oteDLL\RemotePa rameter.vb:line 95
at vb_RemoteMaster .frmCaptureImag es.frmCaptureIm ages_Closed(Obj ect sender, EventArgs e) in C:\Documents and Settings\Admini strator\My Documents\Visua l Studio Projects\vb_Rem oteMaster\frmCa ptureImages.vb: line 284
at System.Windows. Forms.Form.OnCl osed(EventArgs e)
at System.Windows. Forms.Form.WmCl ose(Message& m)
at System.Windows. Forms.Form.WndP roc(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
rWinMaster
Assembly Version: 1.0.1665.24526
Win32 Version: 1.0.1665.24526
CodeBase: file:///C:/Documents%20and %20Settings/Administrator/My%20Documents/Visual%20Studio %20Projects/vb_RemoteMaster/bin/rWinMaster.exe
----------------------------------------
System.Windows. Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.windows. forms/1.0.5000.0__b77 a5c561934e089/system.windows. forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77 a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03 f5f7f11d50a3a/system.drawing. dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77 a5c561934e089/system.xml.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77 a5c561934e089/system.data.dll
----------------------------------------
Microsoft.Visua lBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.4133.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visua lbasic/7.0.5000.0__b03 f5f7f11d50a3a/microsoft.visua lbasic.dll
----------------------------------------
RemoteDLL
Assembly Version: 1.0.1655.33125
Win32 Version: 1.0.1655.33125
CodeBase: file:///C:/Documents%20and %20Settings/Administrator/My%20Documents/Visual%20Studio %20Projects/vb_RemoteMaster/bin/RemoteDLL.DLL
----------------------------------------
System.Runtime. Remoting
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.runtime. remoting/1.0.5000.0__b77 a5c561934e089/system.runtime. remoting.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config ) must have the
jitDebugging value set in the system.windows. forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuratio n>
<system.windows .forms jitDebugging="t rue" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
Nov 20 '05 #1
3 1950
Not much there to go on. Insure that the remote machine application (it appears to be a server application) is running. Check to insure that the ports that you are attempting to communication across are allowed by the firewall. Insure that the configuration of the two applications are referencing the same ports.

HTH
--
David Williams, VB.NET MVP
"fong01" wrote:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.Sock ets.SocketExcep tion: No connection could be made because the target machine actively refused it

Server stack trace:
at System.Net.Sock ets.Socket.Conn ect(EndPoint remoteEP)
at System.Runtime. Remoting.Channe ls.RemoteConnec tion.CreateNewS ocket()
at System.Runtime. Remoting.Channe ls.SocketCache. GetSocket(Strin g machineAndPort)
at System.Runtime. Remoting.Channe ls.Tcp.TcpClien tTransportSink. SendRequestWith Retry(IMessage msg, ITransportHeade rs requestHeaders, Stream requestStream)
at System.Runtime. Remoting.Channe ls.Tcp.TcpClien tTransportSink. ProcessMessage( IMessage msg, ITransportHeade rs requestHeaders, Stream requestStream, ITransportHeade rs& responseHeaders , Stream& responseStream)
at System.Runtime. Remoting.Channe ls.BinaryClient FormatterSink.S yncProcessMessa ge(IMessage msg)

Exception rethrown at [0]:
at System.Runtime. Remoting.Proxie s.RealProxy.Han dleReturnMessag e(IMessage reqMsg, IMessage retMsg)
at System.Runtime. Remoting.Proxie s.RealProxy.Pri vateInvoke(Mess ageData& msgData, Int32 type)
at vb_RemoteDLL.Re moteParameter.S ingletonCustome r.get_ClientPar ameter() in C:\Documents and Settings\Admini strator\My Documents\Visua l Studio Projects\vb_Rem oteDLL\RemotePa rameter.vb:line 95
at vb_RemoteMaster .frmCaptureImag es.frmCaptureIm ages_Closed(Obj ect sender, EventArgs e) in C:\Documents and Settings\Admini strator\My Documents\Visua l Studio Projects\vb_Rem oteMaster\frmCa ptureImages.vb: line 284
at System.Windows. Forms.Form.OnCl osed(EventArgs e)
at System.Windows. Forms.Form.WmCl ose(Message& m)
at System.Windows. Forms.Form.WndP roc(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
rWinMaster
Assembly Version: 1.0.1665.24526
Win32 Version: 1.0.1665.24526
CodeBase: file:///C:/Documents%20and %20Settings/Administrator/My%20Documents/Visual%20Studio %20Projects/vb_RemoteMaster/bin/rWinMaster.exe
----------------------------------------
System.Windows. Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.windows. forms/1.0.5000.0__b77 a5c561934e089/system.windows. forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77 a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03 f5f7f11d50a3a/system.drawing. dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77 a5c561934e089/system.xml.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77 a5c561934e089/system.data.dll
----------------------------------------
Microsoft.Visua lBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.4133.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visua lbasic/7.0.5000.0__b03 f5f7f11d50a3a/microsoft.visua lbasic.dll
----------------------------------------
RemoteDLL
Assembly Version: 1.0.1655.33125
Win32 Version: 1.0.1655.33125
CodeBase: file:///C:/Documents%20and %20Settings/Administrator/My%20Documents/Visual%20Studio %20Projects/vb_RemoteMaster/bin/RemoteDLL.DLL
----------------------------------------
System.Runtime. Remoting
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.runtime. remoting/1.0.5000.0__b77 a5c561934e089/system.runtime. remoting.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config ) must have the
jitDebugging value set in the system.windows. forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuratio n>
<system.windows .forms jitDebugging="t rue" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

Nov 20 '05 #2
i used to get this b4 when i had encounter problem. when i fixed code
properly i don't see nothing in debug ..so the code running properly.
i am doing irchat (rfc 1459) but working on color for richtextbox. i
used to do this from vb6 b4. but hard for vb.net
regards,

fong01 wrote:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************ ** Exception Text **************
System.Net.Soc kets.SocketExce ption: No connection could be made because the target machine actively refused it

Server stack trace:
at System.Net.Sock ets.Socket.Conn ect(EndPoint remoteEP)
at System.Runtime. Remoting.Channe ls.RemoteConnec tion.CreateNewS ocket()
at System.Runtime. Remoting.Channe ls.SocketCache. GetSocket(Strin g machineAndPort)
at System.Runtime. Remoting.Channe ls.Tcp.TcpClien tTransportSink. SendRequestWith Retry(IMessage msg, ITransportHeade rs requestHeaders, Stream requestStream)
at System.Runtime. Remoting.Channe ls.Tcp.TcpClien tTransportSink. ProcessMessage( IMessage msg, ITransportHeade rs requestHeaders, Stream requestStream, ITransportHeade rs& responseHeaders , Stream& responseStream)
at System.Runtime. Remoting.Channe ls.BinaryClient FormatterSink.S yncProcessMessa ge(IMessage msg)

Exception rethrown at [0]:
at System.Runtime. Remoting.Proxie s.RealProxy.Han dleReturnMessag e(IMessage reqMsg, IMessage retMsg)
at System.Runtime. Remoting.Proxie s.RealProxy.Pri vateInvoke(Mess ageData& msgData, Int32 type)
at vb_RemoteDLL.Re moteParameter.S ingletonCustome r.get_ClientPar ameter() in C:\Documents and Settings\Admini strator\My Documents\Visua l Studio Projects\vb_Rem oteDLL\RemotePa rameter.vb:line 95
at vb_RemoteMaster .frmCaptureImag es.frmCaptureIm ages_Closed(Obj ect sender, EventArgs e) in C:\Documents and Settings\Admini strator\My Documents\Visua l Studio Projects\vb_Rem oteMaster\frmCa ptureImages.vb: line 284
at System.Windows. Forms.Form.OnCl osed(EventArgs e)
at System.Windows. Forms.Form.WmCl ose(Message& m)
at System.Windows. Forms.Form.WndP roc(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************ ** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
rWinMaster
Assembly Version: 1.0.1665.24526
Win32 Version: 1.0.1665.24526
CodeBase: file:///C:/Documents%20and %20Settings/Administrator/My%20Documents/Visual%20Studio %20Projects/vb_RemoteMaster/bin/rWinMaster.exe
----------------------------------------
System.Windows .Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.windows. forms/1.0.5000.0__b77 a5c561934e089/system.windows. forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77 a5c561934e089/system.dll
----------------------------------------
System.Drawi ng
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03 f5f7f11d50a3a/system.drawing. dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77 a5c561934e089/system.xml.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77 a5c561934e089/system.data.dll
----------------------------------------
Microsoft.Visu alBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.4133.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visua lbasic/7.0.5000.0__b03 f5f7f11d50a3a/microsoft.visua lbasic.dll
----------------------------------------
RemoteDLL
Assembly Version: 1.0.1655.33125
Win32 Version: 1.0.1655.33125
CodeBase: file:///C:/Documents%20and %20Settings/Administrator/My%20Documents/Visual%20Studio %20Projects/vb_RemoteMaster/bin/RemoteDLL.DLL
----------------------------------------
System.Runtime .Remoting
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2022
CodeBase: file:///c:/windows/assembly/gac/system.runtime. remoting/1.0.5000.0__b77 a5c561934e089/system.runtime. remoting.dll
----------------------------------------

************ ** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config ) must have the
jitDebugging value set in the system.windows. forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration >
<system.windows .forms jitDebugging="t rue" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.


Nov 20 '05 #3
I ready know what is a problem, I using "Try...Catch... " but run on exe popup a runtime error.
How I disable or identity this is a runtime error on exe?

thk,

Fong
"David Williams" wrote:
Not much there to go on. Insure that the remote machine application (it appears to be a server application) is running. Check to insure that the ports that you are attempting to communication across are allowed by the firewall. Insure that the configuration of the two applications are referencing the same ports.


Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
18825
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have any preconceived ideas about it. I have noticed, however, that every programmer I talk to who's aware of Python is also talking about Ruby. So it...
125
14571
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
1
1174
by: CodeRazor | last post by:
When I close a pop up window, I'm using Javascript to reload the launch window(window.opener) in order to pick up any changes I have just submitted to the database. This works well but for an alert that appears every time saying: "This page cannot be refreshed without resending the information. Click Retry to send the information page again...
1
7570
by: Coder Coder | last post by:
Hi I want the DataNavigateUrlFormatString value to be of a couple of different variables such as: DataNavigateUrlFormatString="mypage?val={0}&val2={1} where now I have the following working DataNavigateUrlFormatString="mypage?val="{0}
9
1387
by: ani | last post by:
I have been posting this question for the past 2 weeks and there wasn't any response. I really don't understand why I am not getting any responses. Does my question sound very stupid? Anyway, here I am asking again. Someone please please help me!! How do I add a radiobuttonlist within a datalist programatically. My actual problem is...
1
1293
by: Holger (David) Wagner | last post by:
Hi there, (we've already found a solution to the problem - see below, however, maybe somebody else has the same problem, that's why I'm still sending this...) does anybody already have experiences with Service Pack 1 for the .NET framework? We've just installed it, and after that, some of the image buttons we're
0
929
by: xzzy | last post by:
This seems to be a Visual Studio 2003 problem: I am using www.obout.com 's treeview control and their postback dll ( for an aspx web page ). Their treeview and no postback works, BUT the postback dll keeps getting removed from the solution. No problems with any of the other dlls in the app. I have asked www.obout.com about this but they...
53
3129
by: jaso | last post by:
Can you give any comments on this code? I used one goto, is it bad? #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #include <assert.h> #define NOT_NULL 1
1
1062
by: Uriah Piddle | last post by:
Hi Gang, I posted this problem a few days ago and reported it solved but it appears that I was a bit hasty in declaring victory. The problem is this: when I create a new website in VS 2005 Standard, VS makes two folders called <project name>(1) and <projectname>(2) and puts the .sln and .suo files in the (2) folder and all the rest in the...
69
3133
by: Yee.Chuang | last post by:
When I began to learn C, My teacher told me that pointer is the most difficult part of C, it makes me afraid of it. After finishing C program class, I found that all the code I wrote in C contains little pointers, obviously I avoid using them. A few days ago when I was reading a book about programming, I was told that pointers are the very...
0
7374
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...
0
7632
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7783
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7720
tracyyun
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...
0
4930
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3430
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3422
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1850
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
0
677
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.