473,847 Members | 1,479 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 1969
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
19242
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 seems that Ruby has the potential to compete with and displace Python. I'm curious on what basis it...
125
14915
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
1183
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 or click Cancel to return to the page you are tyrig to view." Is there any way that I can stop...
1
7601
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
1398
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 with retrieving the user-input and
1
1300
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
937
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 do not know. How do I prevent the DLL from getting removed from the solution?? or
53
3206
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
1070
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 (1) folder. I thought I had this licked by re-installing VS but then I changed the default directory...
69
3234
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 essence of C language, if I couldn't use it well, I'm a bad programmer, it's a big shock. So now I'm...
0
9892
marktang
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...
0
10653
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10347
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9490
agi2029
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...
1
7888
isladogs
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...
0
5725
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5915
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4540
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
2
4129
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.