Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Deployment a "Client" on Win2000
jkd

From: Athens, OR USA
Posts: 7
Member Since: 04/30/04
posted May 7, 2004 3:21 AM

I have a client with the code below.When I deploy then client app on windows2000 (where i have installed the .NET Framework) I receive then message:"Application has generated an exception that could not be handled."What does it mean?

Imports Dart.PowerTCP.Sockets.Tcp
Public Class Form1
  Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    Try
      Tcp1.Connect("127.0.0.1", 1350)
      Label2.Text = "Connection established!"
      TextBox1.Text = Tcp1.Receive().ToString
    Catch ex As Exception
      Label2.Text = "Connection failed!"
    End Try


  End Sub

  Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
    TextBox1.Text = Tcp1.Receive().ToString
  End Sub
End Class


Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 7, 2004 9:01 AM

Maybe the Framework is not up to date? Try running windows update and making sure the latest framework service pack is installed.

Also make sure framework versions match. Did you build with VS2003? If so the W2K machine needs Framework 1.1 not 1.0
jkd

From: Athens, OR USA
Posts: 7
Member Since: 04/30/04
posted May 7, 2004 10:19 AM

Bad news Tony.I installed all windows updates on win2000 and Framework 1.1 also....but nothing i took the same message.I build my app on VS2003 using Framewotk 1.1.....any other idea?Thanks a lot for your time any way
jkd

From: Athens, OR USA
Posts: 7
Member Since: 04/30/04
posted May 7, 2004 10:25 AM

I thing...maybe makes the scene clear...windows 2000 are installed on VMWare in my PC i "run" my client app from there and my server app "outside" of VMWare....could be a cause of my problem?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 7, 2004 10:31 AM

Yes. It sounds like the framework has an issue with VMWare.
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX