Login  
Search All Forums
Dart Home | PowerTCP Emulation for ActiveX | Custom Development Reply | PowerTCP Emulation / Telnet for ActiveX Topics | Forums   
AuthorForum: PowerTCP Emulation / Telnet for ActiveX
Topic: Computer Crashed
scorpion53061
admin@kjmsolutions.com

From: Sheboygan, WI USA
Posts: 140
Member Since: 04/27/03
posted June 12, 2003 2:55 PM

Does anyone know what I can do to prevent this error........I got this testing it on a tril basis for a customer on a WIN98 machine running 1.1 of the Framework. Port 23 is open on this machine and it works fine on other systems (XP,2000,Me,NT).

System.Net.Sockets.SocketException: Unknown error (0x2747)
  at j.c(Delegate A_0, Object[] A_1)
  at Dart.PowerTCP.Telnet.Tcp.Connect(String server, Int32 serverPort, String client, Int32 clientPortMin, Int32 clientPortMax)
  at Dart.PowerTCP.Telnet.Tcp.Connect(String server, Int32 serverPort)
  at Dart.PowerTCP.Telnet.Telnet.Login(String server, String username, String password, String commandPrompt)
  at JJ_Koepsell_Company_Customer_Software.Form1.Button1_Click_1(Object sender, EventArgs e)
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted June 13, 2003 11:54 AM

Hi,
Do you see the same problem with the sample app?
Is Tcp/Ip installed on this machine?
Thanks,
-ken
scorpion530612
admin@jjkoepsell.com

From: Sheboygan, WI USA
Posts: 1
Member Since: 06/13/03
posted June 13, 2003 12:59 PM

just tried your sample app on that computer last night and yes the same problem occured except this one upon load and when I clicked connect the computer froze.

Yes TCP/IP is installed.

However I ran both apps fine on a Windows ME machine here as well and they ran fine.

I have no other Win98 machines to test on unfortunately.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted June 17, 2003 1:54 PM

Hi,
Was the app compiled on version 1.1 of the framework as well?
Or if it was compiled on 1.0, is version 1.0 installed on the Win98 machine?
Thanks,
-ken
scorpion53061
admin@kjmsolutions.com

From: Sheboygan, WI USA
Posts: 140
Member Since: 04/27/03
posted June 17, 2003 5:15 PM

Yes I converted your sample to VS2003 and it went off without a hitch. Installed 1.1 on the 98 machine (it is required to be able to run apps done in VS2003).
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted June 18, 2003 9:24 AM

Hi,
I wasn't able to duplicate the problem.
I just installed .Net 1.1 on a Windows 98 machine, compiled our Telnet client sample on a machine with VS.Net 2003, and copied the contents of the bin folder (exe and dll) to the 98 machine.

When I ran the exe, it worked fine.

The error description is not helpful, but maybe the error code would be. You can try casting the exception as a System.Net.Sockets.SocketException, and examining the NativeErrorCode. Perhaps that would help.

-ken
ali
ali.a@galnet.dk

From: cph, USA
Posts: 13
Member Since: 11/06/03
posted November 19, 2003 9:22 AM

or maybe reinstalling tcp/ip !
scorpion53061
admin@kjmsolutions.com

From: Sheboygan, WI USA
Posts: 140
Member Since: 04/27/03
posted November 19, 2003 9:41 AM

Some time has passed and just so you know reinstalling the TCP/IP component did not work.

However reinstalling windows for that user and then the framework and now it does work.

Somehow there is a relationship between TCP/IP configuration and the .NET Framework. I just am not sure how. If TCP is messed up .NET has problems too.
ali
ali.a@galnet.dk

From: cph, USA
Posts: 13
Member Since: 11/06/03
posted November 19, 2003 4:35 PM

well yeah i kinda agree that its better to reinstall in some cases as it might fixses some other issues as bonus !
Reply | PowerTCP Emulation / Telnet for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX