login about faq

I just updated my Active X bundle to version 9.5.0.43 on two computers. On my XP box, the component will unlock and work without error. On my 2003 server the unlockcomponent call causes a fatal error and the application exits. There is no entry in any of the event viewer categories from my application or from chilkat. Please let me know if I need a .net or c runtime. Downgrading the 2003 server to version 9.5.0.23 works.

Thanks,

-- Erik

Public Function ConnectTo_FTP() As Chilkat_v9_5_0.ChilkatFtp2
    Dim xNode As Chilkat_v9_5_0.ChilkatXml
    Dim oFTP As New Chilkat_v9_5_0.ChilkatFtp2

  Set xNode = xApp.FindChild("FTP")
  DoEvents

  MsgBox oFTP.Version 'Works

  '   Connect to RackSpace
  With oFTP
    .UnlockComponent "SINSVISFTP_xxxxxxxxxxxxx"  'Crashes here on 2003
    MsgBox .LastErrorText  'Do not execute
    .Passive = 1
    .ConnectTimeout = xNode.GetChildContent("ConnectTimeout")
    .ReadTimeout = xNode.GetChildContent("ReadTimeout")
    .KeepSessionLog = 0
    .AutoFeat = 1
    .HostName = xNode.GetChildContent("HostName")
    .UserName = xNode.GetChildContent("Username")
    .password = xNode.GetChildContent("Password")
    .Connect

  End With
  Set xNode = Nothing

  Set ConnectTo_FTP = oFTP

End Function

asked Aug 29 '14 at 19:55

emartinson's gravatar image

emartinson
148162030

edited Sep 05 '14 at 19:44


Erik,

Set the oFTP.DebugLogFilePath property equal to the path of a log file that is to be created. Also turn on verbose logging by setting oFTP.VerboseLogging = 1.

Re-run the program. If there was truly a crash within UnlockComponent, then the log file will contain an incomplete "LastErrorText" for the call to UnlockComponent.

link

answered Aug 30 '14 at 15:45

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

This is what I found, as usual it was something that I did. On my development machine, I reverted back to the previous version(9.5.0.23) for testing and complied the exe. On the production machine I had 9.5.0.43 installed and the program crashed. Once I re-updated my dev machine to v.43 and re-compiled the exe, the application worked in production. Does this mean that with the new all-in-one dll, all applications will need to be recompiled on changes in sub versions?

Erik

link

answered Sep 10 '14 at 16:49

emartinson's gravatar image

emartinson
148162030

edited Sep 10 '14 at 16:49

Erik, I'm confused -- what programming language are you using? It seems as if you're using the ActiveX in VB.NET? In any case, I wouldn't expect the sub-versions to make any difference. They should be backward compatible with no ActiveX / COM interface changes (except perhaps additional methods or properties that may not have been present in the earlier version).

link

answered Sep 11 '14 at 20:48

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

I am using vb6 and it only seems that ftp part is effected. I am able to create and use other objects within the dll. Also any calls to the ftp crashes the app, oFTP.VerboseLogging = 1 from your suggestion for example.

(Sep 11 '14 at 21:54) emartinson
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×96
×90
×9
×2

Asked: Aug 29 '14 at 19:55

Seen: 1,285 times

Last updated: Sep 11 '14 at 21:54

powered by OSQA