Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Problem on Windows XP?
User95

Posts: 6
Member Since: 11/07/01
posted April 11, 2002 7:53 AM

I'm getting this odd problem on an XP machine, with IE 6.

The component seems to be installed correctly, but when a method is used in clientside script (in a webpage) I get a "Object doesn't support this property or method" error.

We had problems on the Login() method, but even the About() method is generating the same error.

I've checked the registry to see if the DLL's where registered, checked the licence key, checked the files, and it all looks fine.

We even have a testpage where and instance of the object is created to test the installation procedure, and this returns an OK.

So it looks like everything is installed okay, but we simple can't "use" the methods!?


One more detail. In the testpage the object is created using this code:

new ActiveXObject ("Dart.FTP");

In the page that generates the errors, the component is created through this OBJECT-tag:

<OBJECT classid="Dart.FTP" data="data:application/x-oleobject;base64,cKD9Obph0hGthAAQWhe2CAADAAADADB1AAALAAEACwAAAAMAAAAAAAMAAAAAAAMAAAAAAAMAAAAAAA=="
 id="ObjFTP" style="LEFT: 0px; TOP: 0px" VIEWASTEXT></OBJECT>


Any ideas?

K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 11, 2002 9:42 AM


Hi,
If you copy and run the Dartnostics utility to this machine, do the DartSock, DartFtp dlls show up in the report?

Steps for having our control installed from a web page:
a) Wrap our control in your own control and use this control on the page. You can mark your control safe for scripting if you wish.
b) Create an LPK for your control to prevent it from being in trial (see http://support.dart.com/KBDetail.dwp1)
-ken

K M Drake
Dart Tech Support
User95

Posts: 6
Member Since: 11/07/01
posted April 16, 2002 9:58 AM

Both DLL's show up in the report (see next reply).

The components are registered locally on the machines (IntraNet appl.), and I've checked the registry for the registration code etc, so that should work.
Also I'm not getting the typical "Not registered" messagebox, which I do get when I remove the registration key from the registry.

In the DartNostics.log I see some of the DLL's are are giving a "not found" message.

Could that be the problem?
User95

Posts: 6
Member Since: 11/07/01
posted April 16, 2002 9:59 AM

---- start of log ----

**********************
*  Platform Info  *
**********************

Platform : WindowsNT
Version: 5.1.2600


**********************
*  DLL Versions  *
**********************

VERSION REGISTERED PATH
------- ---------------
1.6.0.1 c:\windows\system32\dartftp.dll
2.2.0.2 c:\windows\system32\dartsock.dll
2.2.0.2 c:\windows\system32\dartsock.dll
5.2.82.44 C:\WINDOWS\System32\MSVBVM50.DLL
6.0.92.37 C:\WINDOWS\System32\MSVBVM60.DLL
6.0.2600.0 C:\WINDOWS\System32\ADVPACK.DLL
3.50.5014.0 C:\WINDOWS\System32\asycfilt.dll
5.0.2600.1 C:\WINDOWS\System32\comcat.dll
2.10.35.35 C:\WINDOWS\System32\compobj.dll
5.1.2600.0 C:\WINDOWS\System32\imagehlp.dll
5.1.2600.0 C:\WINDOWS\System32\iprop.dll
2.10.35.35 C:\WINDOWS\System32\ole2.dll
5.1.2600.0 C:\WINDOWS\System32\ole32.dll
3.50.5014.0 C:\WINDOWS\System32\oleaut32.dll
5.1.2600.0 C:\WINDOWS\System32\olecnv32.dll
5.0.5014.0 C:\WINDOWS\System32\olepro32.dll
5.1.2600.0 C:\WINDOWS\System32\olethk32.dll
Not Found C:\WINDOWS\System32\rpcltc1.dll
Not Found C:\WINDOWS\System32\rpcltc5.dll
Not Found C:\WINDOWS\System32\rpcltccm.dll
Not Found C:\WINDOWS\System32\rpclts5.dll
Not Found C:\WINDOWS\System32\rpcltscm.dll
Not Found C:\WINDOWS\System32\rpcmqcl.dll
Not Found C:\WINDOWS\System32\rpcmqsvr.dll
5.1.2600.0 C:\WINDOWS\System32\rpcns4.dll
5.1.2600.0 C:\WINDOWS\System32\rpcrt4.dll
5.1.2600.0 C:\WINDOWS\System32\secur32.dll
2.10.35.35 C:\WINDOWS\System32\storage.dll
Not Found C:\WINDOWS\System32\W95INF16.DLL
Not Found C:\WINDOWS\System32\W95INF32.DLL
Not Found C:\WINDOWS\System32\dcom2w98.dll
5.1.2600.0 C:\WINDOWS\System32\rasapi32.dll
6.0.2715.400 C:\WINDOWS\System32\wininet.dll
3.10.0.103 C:\WINDOWS\System32\winsock.dll
5.1.2600.0 C:\WINDOWS\System32\wsock32.dll

---- end of log ----
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 16, 2002 12:36 PM


Hi,
No, that is not a problem if you are only using Ftp.
As a test, if you just compile and distribute one of our VB sample apps to this machine, does it work?
Thanks,
-ken

K M Drake
Dart Tech Support
User95

Posts: 6
Member Since: 11/07/01
posted April 17, 2002 3:24 AM

I'll give it a try.

One question though. If the components versions of my PC and the problem PC don't match, will that exe (compiled with different components) work?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 17, 2002 9:48 AM


Hi,
Yes. To update an application with the latest version of our controls (which are backwards-compatible), all that is required is to update the dlls containing the controls.
-ken

K M Drake
Dart Tech Support
User95

Posts: 6
Member Since: 11/07/01
posted April 22, 2002 3:43 AM

I tried a compiled VB sample app (FTP Listview client), and that works just fine.

So it looks like everything is installed just fine, but it doesn't work in IE 6.

I've tried using an other ActiveX in IE 6.0 on the same machine, also installed locally like the Dart componenents, and that component does work.
So I think the IE 6.0 settings are all set to allow ActiveX to run, but for some reason there is a problem with the DartFTP component.

We've also tested another XP machine (same version) and there everything works just fine.

I don't have a clue what's wrong on that one machine though.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 22, 2002 8:46 AM


Hi,
Did you follow the steps for distributing the control on a web page, as outlined previously?
http://support.dart.com/forum.dwp?view=7073#FID7073
Thanks,
-ken

K M Drake
Dart Tech Support
Jurgen Baute

From: Oostkamp, Belgium
Posts: 12
Member Since: 06/24/02
posted June 24, 2002 8:12 AM

After some more testing on the machine that is generating the errors, I've found the following:

creating the Dart.FTP object object using the JavaScript "new ActiveXObject" function works.

when I change the object tags to the following, it also works:

<OBJECT classid="clsid:39FDA070-61BA-11D2-AD84-00105A17B608"
 id="ObjFTP" style="LEFT: 0px; TOP: 0px" VIEWASTEXT></OBJECT>

(see initial post for original object tags)


Does anyone have any idea why this could be going wrong on that particular machine?

I've tested the original code on other XP machines, and I never get those errors there.
The original code is also tested on other Windows OS's, and I've never encountered any problems there.

But, for some reason, it simply doesn't work on a single XP machine, and an NT 4 machine.

Any ideas?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted June 24, 2002 11:18 AM

Hi,
No, I'm not sure why the original tag works on all machines but two.
Does the new tag you posted work on all machines?
When I add the control in InterDev, the below tag is added.
-ken

<OBJECT id=Ftp1
data=data:application/x-oleobject;base64,cKD9Obph0hGthAAQWhe2CAADAAADADB1AAALAP//CwAAAAMAAAAAAAMAAAAAAAMAAAAAAAMAAAAAAA==
classid=clsid:39FDA070-61BA-11D2-AD84-00105A17B608 VIEWASTEXT></OBJECT>
Jurgen Baute

From: Oostkamp, Belgium
Posts: 12
Member Since: 06/24/02
posted July 4, 2002 8:57 AM

argh!!
I don't seem to be getting e-mail notifications of this thread, even though it says so in my settings :(

anyway,
it looks like we'll have to change the tags so they work on all machines,
but I'd like to know WHY this is happening.

It doesn't feel good to change something and just hope this time it will work on all systems.
I know now it doesn't work on two systems, but what if I change the tag and suddenly it doesn't work on 50 other systems...*shiver*

It's also hard to test this on every possible system, because a lot of the machines used are machines I'm not able to get to.

So once again, if you have any idea, or anything I could check (registry dump or something), please let me know, because I always like to know why fishy things like this happen on computers, just to be able to avoid them from happening again in the future.


Jurgen Baute

From: Oostkamp, Belgium
Posts: 12
Member Since: 06/24/02
posted July 4, 2002 8:58 AM

oh yeah,
something I forgot to mention,

the problem doesn't occure only on XP machines.
There's a Win98 machine which has the same problem as well.


Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted July 4, 2002 12:10 PM

If it works fine on many machines but doesn't on others then you need to really get into comparing the differences. Look for things differences in IE versions, or differences in security settings. I'm sorry I don't have anything specific.

In regards to the email notification problem, I checked your email address, which appears to be some sort of spam filter. The filter will most likely block the notifications because we hide the addresses of the recipients. You need to allow supportforum@dart.com through your filter.
Jurgen Baute

From: Oostkamp, Belgium
Posts: 12
Member Since: 06/24/02
posted July 5, 2002 3:09 AM

The e-mail notifications seem to work properly now, so I probably screwed up previously :)
Sorry about that

I'm probably going to alter the code so that it explicitly creates the FTP object through "new ActiveXObject", which seems to be working everywhere, cause then IE is handling creation, and MS dudz always have those special undocumented ways of making things work ;)

thanx for the tips
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX