Re: 'System.NullReferenceException' occurred (General questions)
I'm confident that the sample code works just fine.
My problem is probably caused by something else--not the use of a Windows Form.
Do you happen to know what object the SFTP constructor dereferences that would cause such an exception?
This assumes that the debugger and message are right about the constructor throwing the null reference exception.
Complete thread:
- 'System.NullReferenceException' occurred in WeOn - cdrundles, 2008-04-09, 17:32
- Re: 'System.NullReferenceException' occurred - woddrazen, 2008-04-09, 18:27
- Re: 'System.NullReferenceException' occurred - cdrundles, 2008-04-09, 23:22
- Re: 'System.NullReferenceException' - woddrazen, 2008-04-09, 23:33
- Re: 'System.NullReferenceException' occurred - cdrundles, 2008-04-10, 00:13
- Re: 'System.NullReferenceException' - woddrazen, 2008-04-10, 08:39
- Re: 'System.NullReferenceException' occurred - cdrundles, 2008-04-14, 19:21
- Re: 'System.NullReferenceException' - woddrazen, 2008-04-10, 08:39
- Re: 'System.NullReferenceException' occurred - cdrundles, 2008-04-10, 00:13
- Re: 'System.NullReferenceException' - woddrazen, 2008-04-09, 23:33
- Re: 'System.NullReferenceException' occurred - cdrundles, 2008-04-09, 23:22
- Re: 'System.NullReferenceException' occurred - woddrazen, 2008-04-09, 18:27