Connection fails after first sucess

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Connection fails after first sucessExpand / Collapse
Author
Message
Posted 9/21/2005 3:19:18 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/23/2005 4:10:00 PM
Posts: 4, Visits: 1

Hi:

I have created a VB.NET Libary Class that uses the WsftpApi.CreateConnection object:
mFtpConn = mWsftpApi.CreateConnection(HostName, UserName, Password, WsftpConnectionTypes.WSFTP_CT_FTP, 21)

I call the function that references this code from another VB Windows Forms application. The first attempt works, I successfully upload a file. If close down the program compley, everything is fine. Only when I try to run the same process about 5 seconds, does it fail on the code referenced above. The error I receive is:

An unhandled exception of type 'System.NullReferenceException' occurred in datatransfer.dll

Additional information: Object reference not set to an instance of an object.

Any thoughts?

Thanks.

Post #10704
Posted 9/23/2005 12:12:55 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/23/2005 4:10:00 PM
Posts: 4, Visits: 1

I found the solution to this issue was to upgrade from 8.0 to 8.1, this resolved the issue.

Post #10753
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Dave, Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Jason Williams, Hush, FTPplanet.com, LDW, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm, Travis G.

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 8:28pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.109. 10 queries. Compression Enabled.