>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




General

Author Thread: WebServices Demo
Scott.Herchenbach
WebServices Demo
Posted: Monday, October 03, 2005 3:19 PM (EST)

Attempting to set up APL2000 Web Services Demo for the first time. The following event is logged at service startup, and we are unable to access links within the browser.

 

Event Type: Error
Event Source: AplServicesEvents
Event Category: None
Event ID: 0
Date:  10/3/2005
Time:  1:45:41 PM
User:  N/A
Computer: OMAHCTS34
Description:
Unable to start workspace: d:\program files\apl2000\aplwebservices\demo\demows
 Detail:
System.Runtime.InteropServices.COMException (0x80004005): Unspecified error
   at APLW.WSEngineClass.get_SysVariable(String VariableName)
   at aplserver.APLSERVICE..ctor(Hashtable options)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Thanks for any assistance.

 


Comments:

Author Thread:
Jairo.Lopez
WebServices Demo
Posted: Monday, October 03, 2005 3:22 PM (EST)
Do you have APL+Win version 5.0.9 (o greater) properly registered as an ActiveX server?

     

Scott.Herchenbach
WebServices Demo
Posted: Monday, October 03, 2005 3:36 PM (EST)
Not sure. Followed your instructions in another post, but unable to access APL Session window to confirm.

     

Scott.Herchenbach
WebServices Demo
Posted: Monday, October 03, 2005 4:43 PM (EST)

FYI - this install is on a Windows 2003 Server which does not have the development environment installed.  IIS 6 is installed and running on port 80.

 

We're trying to run the demo downloaded from the site.

     

Support
WebServices Demo
Posted: Tuesday, October 04, 2005 9:26 AM (EST)

Scott,

The APL session isn't visible because the APL+Win runtime interpreter is installed, which lacks the session manager window.  This is a major difference between the runtime and development interpreters. 

By "installed", can you confirm that this means the runtime interpreter is properly registered as a COM server in the Windows 2003 Server?  If it is, can you also confirm that the WebService demo workspace is a runtime workspace?  If the answer is no, then that may be partly or the whole problem.  The runtime interpreter is only capable of loading runtime workspaces.  As such, you must have a runtime version of the demo workspace installed to run the demo.  After having made a backup copy of the demo workspace, convert the demo workspace to a runtime workspace and make sure the workspace is in the proper location and then repeat the demo.

APL2000 Support

     

Jairo.Lopez
WebServices Demo
Posted: Tuesday, October 04, 2005 9:37 AM (EST)

Because you are using Windows Server 2003 you need to use version 1.1.1993 of the APL+WebServices.

This version is available in the Release Candidate section of the Downloads for APL Web Services.

     

Support
WebServices Demo
Posted: Tuesday, October 04, 2005 10:06 AM (EST)

Here's the direct link to the download:

 

http://apldn.apl2000.com/downloads/APLWS+Downloads/APLWSRC/default.aspx

APL2000 Support

     

Scott.Herchenbach
WebServices Demo
Posted: Tuesday, October 04, 2005 11:41 AM (EST)

We will remove the 1.0.2140 version and install the 1.1.1993, along with the runtime workspace.

 

Thanks for the advice.

     

Scott.Herchenbach
WebServices Demo
Posted: Tuesday, October 04, 2005 12:29 PM (EST)

Have installed the 1.1.1993 WebServer, but are unable to register aplwr.exe. 

 

Registration attempted via aplwr.exe /RegServer, which produces an error "Unable to register server".

 

The event log further records the following event:

 

Event Type: Error
Event Source: AplServicesEvents
Event Category: None
Event ID: 0
Date:  10/4/2005
Time:  11:23:52 AM
User:  N/A
Computer: OMAHCTS34
Description:
Error while doing maintance on: demows.Detail:
Object reference not set to an instance of an object.

     

Support
WebServices Demo
Posted: Tuesday, October 04, 2005 12:52 PM (EST)

The likely reason for the error is that APLWCO.DLL isn't registered, which is a requirement.  Using the REGSVR32.EXE from the APLWIN50 folder, register this DLL by executing the following from the DOS command prompt:

    REGSVR32  APLWCO.DLL

Before continuing, you will need to copy AX20OCX.DLL from the APLWIN50 folder to the same folder with APLWR.EXE and APLWCO.DLL.  Do not register APX20OCX.DLL!!!!  You should now be able to successfully register APLWR.EXE.

APL2000 Support

     

Scott.Herchenbach
WebServices Demo
Posted: Tuesday, October 04, 2005 1:29 PM (EST)

We do not have an APLWIN50 folder, and do not have an AX20OCX.DLL file.

 

We have registered APLWCO.DLL (version 5.2.0.10) prior to attempting registration of APLWR.EXE.

     

Support
WebServices Demo
Posted: Tuesday, October 04, 2005 1:57 PM (EST)
The APX20OCX.DLL will be in the APLWIN50 folder on the machine used to install APL+Win v5.

APL2000 Support

     

Scott.Herchenbach
WebServices Demo
Posted: Tuesday, October 04, 2005 2:21 PM (EST)
Have copied APX20OCX.DLL to the D:\Program Files\APL2000\AplWebServices directory on the Server 2003, then run aplwr.exe /RegServer from that directory.  Still receiving the message "Unable to register server"

     

Support
WebServices Demo
Posted: Tuesday, October 04, 2005 3:02 PM (EST)

Did you receive notification that APLWCO.DLL was successfully registered?  The message would've been "DllRegisterServer in aplwco.dll succeeded".  You can re-register if you're uncertain.  If you did, it's not immediately obvious why APLWR.EXE fails to register.

 

APL2000 Support

     

Scott.Herchenbach
WebServices Demo
Posted: Tuesday, October 04, 2005 3:04 PM (EST)
We have also re-registered aplwCo.dll after copying apx20ocx.dll to the install directory, then again attempting to register aplwr.exe, again without success.

     

Scott.Herchenbach
WebServices Demo
Posted: Tuesday, October 04, 2005 3:09 PM (EST)

Yes, we did receive notification of the successful registration of aplwco.dll.

 

We're considering performing install of the development environment to the same server, in case there are dependencies we're just not aware of.

     

Support
WebServices Demo
Posted: Tuesday, October 04, 2005 3:45 PM (EST)
I think installing the development system is a good idea.  Note that during the installation you will be prompted to register the development system as an ActiveX (COM ) server.  Click yes and see if an error message is displayed.

APL2000 Support

     

Scott.Herchenbach
WebServices Demo
Posted: Wednesday, October 05, 2005 10:04 AM (EST)

That did it.  We now have a functioning demo workspace.

 

During the install of the development system, we were not prompted, and registration of the ActiveX (COM) server seems to have been correctly completed.

     



APL2000 Official Web Site

When we try to pick out anything else in the Universe, we find it hitched to everything else in the Universe.
-- John Muir

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |