VoiceGuide IVR Software Main Page
Jump to content

Activex Problem

Recommended Posts

Hi,

 

I've just installed the trial version of VoiceGuide (originally 5.1.3a) on Windows XP Pro. When I try to call "CreateObject("VoiceGuide.CommandLink")" (from asp) I get the error "ActiveX component can't create object: 'VoiceGuide.CommandLink'".

 

The voiceguide application itself works fine, it's just the activeX component.

 

I notice that VgMulti.exe is started under the IUSR_XXXX login, and does not drop off (causing the normal application not to work) until you end the process.

 

I don't think it's a permissions problem as I made IUSR_XXXX an administrator to test the fact.

 

I reinstalled VoiceGuide (this time 5.1.7) and have exactly the same error.

 

I tried installing it on to a Win2k Server machine but have the same problem. On the Win2k install, some of the dlls did not register themselves. I tried regsvr32 manually also.

 

Is this all because I'm using the trial version?

 

Cheers

Dave

Share this post


Link to post

Can you access the VoiceGuide.CommandLink object from normal VBScripts ?

 

Try running a simple VBScript while VG is running, eg:

 

set vg = CreateObject("VoiceGuide.CommandLink")

vg.Admin_TraceLogAdd 0, 0, "This trace was printed from an external VB Script"

set vg = Nothing

 

(Click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before running VBScript.)

Share this post


Link to post

112150.38 0 This trace was printed from an external VB Script

112203.08 0 sys cleanup Start

112203.08 0 sys cleanup End

 

Runs fine.

 

Asp problem your think? Has anyone ran it under asp before?

 

Thanks

Dave

Share this post


Link to post

Looks like you can create and access the VoiceGuide.CommandLink object from normal VBScripts ran on the system with no problems... so I'm not too sure why you cannot do the same from other processes ran on this system...

 

Is the ASP code executed on the same system on which VG is installed? If yes then it looks like it's some sort of permissions problem with the ASP process not being able to create the VoiceGuide.CommandLink object...

 

I don't know too much about ASP so I'm not too sure what you should be looking at next...

Share this post


Link to post

Thanks for the responses.

 

If asp is not well supported, I guess I'll give it a miss.

 

So I'm building an app in VB now, and I get this error when trying to make an outbound call (I get the same error when I use the outdial queue mdb).

 

I read some information on MSDN about lineMakeCall but I'm not sure how your software calls the function and hence can't figure out what I'm doing wrong.

 

http://msdn.microsoft.com/library/default....inemakecall.asp

 

 

155529.65 0 cl Dialer_MakeCall 0413777758, , 1

155529.65 0 Search for free lines in range [7-7]

155529.65 7 Calling 0413777758

155529.66 7 MakeCallEx => 65849

155529.66 7 TapiCbTrigSet 65849 7003

155529.66 7 tapi Reply (LineEvReply) err 65849 LINEERR_INVALCALLPARAMS [80000019]

155529.66 7 TcTrig.lTrigType = TcTrig_MakeCallForConferenceFinished

155529.66 7 Hanging up call... [MakeCall returned -2147483623]

155529.66 7 RecSoundStop ok

155529.68 7 PlaySoundStop ok

155529.68 7 HangupCall : lCallHandle& = 0 - lets close and open line

155529.68 7 ReinitTelephony due to IDLE start

155529.70 7 lineOpen(7) => 0

155529.70 7 Waiting for a call...

155529.70 7 lineOpen(7)LineHandle=65764

155529.70 7 Waiting for a call...

155529.71 7 fnHangupCall end

155529.71 1 Hanging up call... [MakeCall returned -2147483623]

155529.71 1 RecSoundStop ok

155529.71 1 PlaySoundStop ok

155529.71 1 HangupCall : lCallHandle& = 0 - lets close and open line

155529.71 1 ReinitTelephony due to IDLE start

155529.71 1 ERROR 5.1.7001 Loading Vgs err=-1, file=[], device=0

155529.71 1 Waiting for a call...

155529.71 1 fnHangupCall end

155529.71 7 MakeCall => LINEERR_INVALCALLPARAMS [80000019]

155529.73 7 TapiCbTrigClear

 

Any help would be much appreciated.

 

Cheers

Dave

Share this post


Link to post

FYI, I'm using a US Robotics Message modem plus (voice modem).

 

Here's the error from the autodialer.

 

161633.45 0 ERROR 5.1.7001 DialListDbFindDueCall [invalid use of Null]

161633.45 0 dial callque update id=20 next call time 0401091618

161633.45 0 dial callque DB update returned

161633.45 7 dial found entry: tel[0413777758] ann[C:\Program Files\VoiceGuide\Scripts\Credit Card Payment\PayThankyou.wav] vgs[C:\Program Files\VoiceGuide\Scripts\Booking Angel\Credit Card Payment.vgs] am[C:\Program Files\VoiceGuide\Scripts\Booking Angel\Credit Card Payment.vgs]

161633.46 7 Calling MakeCallEx(0413777758)

161633.46 7 Dialing: 0413777758

161633.46 7 MakeCall => 66105

161633.46 7 TapiCbTrigSet 66105 7002

161633.46 7 tapi Reply (LineEvReply) err 66105 LINEERR_INVALCALLPARAMS [80000019]

161633.46 0 dial callque update id=20 next call time 0401091618

161633.46 0 dial callque DB update returned

161633.46 7 Hanging up call...

161633.48 7 RecSoundStop ok

161633.48 7 PlaySoundStop ok

161633.48 7 HangupCall : lCallHandle& = 0 - lets close and open line

161633.48 7 ReinitTelephony due to IDLE start

161633.49 7 lineOpen(7) => 0

161633.49 7 Waiting for a call...

161633.49 7 lineOpen(7)LineHandle=66277

161633.49 7 Waiting for a call...

161633.49 7 fnHangupCall end

161633.51 7 TapiCbTrigClear

Share this post


Link to post

It looks like the v5.1.7 is trying to access the older style OutDial.mdb database - this will cause problems similar to what you are seeing..

 

Please stop VG, then delete both .MBD files from VoiceGuide's \data\ subdirectory and then try outdialing again.

 

There is a bug with the uninstall procedure which results in all files not getting deleted - this then causes old files (in VoiceGuide's \data\ subdirectory in particular) to be retained and the newer version of VG then ends up using the old versions of these files...

 

Right now when upgrading to a newer version of VG it's a good idea to either install the new version in a new directory or first delete the VG directory tree before installing the new version...

Share this post


Link to post

Hi,

 

Initially removing the DB did not solve the problem, but after deleting the old install and reinstalling, everything works fine.

 

Thanks again for your help

 

Dave

Share this post


Link to post

What was the final out come on .asp? I am having problems also using asp program to interact with VG?

Thank You

Share this post


Link to post

Can you post a snippet of the code which is causing a problem and describe how your system is set up in enough detail so that we can reproduce the problem...

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×