Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: Unhandled exeption
Allan Kaczmarek

From: Nordborg, Denmark
Posts: 4
Member Since: 11/24/04
posted November 24, 2004 3:05 AM

Hi,
I have a fully functional application using FTP for .net. But when I move it to my deployment machine, which also runs XP, the application generates this exeption:

Applicaton has generated an exception that could not be handled.

Process id=0x48c (1164), Thread id=0x258 (600).

Click OK to terminate the application.
Click CANCEL to debug the application.

I know this is not much but are there any hints?

Allan Kaczmarek
aCon
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 24, 2004 8:50 AM

I've seen errors like that when running .NET apps on machines that don't have the .NET Framework installed.

Could also be the one you get when you try to run a .NET app from a network share.
Allan Kaczmarek

From: Nordborg, Denmark
Posts: 4
Member Since: 11/24/04
posted November 24, 2004 9:29 AM

Hi Tony,
Thanks for your reply.

The machine does have .net framework installed and it is not run from a network share.

My other .net applications runs fine itīs only applications with the ftp component that generates the exception.

Ill will try to test it on another machine to see if it is this specific machine that generates the err.
Allan Kaczmarek

From: Nordborg, Denmark
Posts: 4
Member Since: 11/24/04
posted November 25, 2004 5:07 AM

Hi
I have now tested our software on another target machine and the same problem occurs.

I have tried to create a new form and only added the ftp component. This also triggers the exception.

Without ftp component it runs fine. 
- Am I doing something wrong here?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 28, 2004 1:07 AM

Are you sure that you are distributing all the dlls that your app is dependent on? If you are using FTP for .NET, you would need Dart.PowerTCP.Ftp.dll and possibly Dart.PowerTCP.Ftp.Forms.dll (if your app uses it)

If you set "Copy Local" to true for your references they should get copied automatically.
Allan Kaczmarek

From: Nordborg, Denmark
Posts: 4
Member Since: 11/24/04
posted November 29, 2004 2:58 AM

Hi Tony

Sorry I should have noticed this before.
The application is now running.

Thanks.

Allan
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX