Installation tricky problem

Topics: User Forum
Mar 30, 2011 at 6:37 AM

I have long used Active Foxpro Pages and I want to tr and switch to ActiveVFP.  I am not sure if my AFP install is in the way or there is something else.

The web server is IIS on Win2003 server.  the IIS is running in IIS 5 Isolation mode (not negotiable, important app needs it).  I have copied the files to the correct location, and it seems I need to run activevfp.exe (which is NOT in the docs), but that produces a C0000005 VFP error if I try.

if I manually register the dll's I find, that does not help.  I get

Server object error 'ASP 0177 : 80020009'

Server.CreateObject Failed

/activeweb/default.asp, line 4

80020009

Coordinator
Mar 30, 2011 at 12:52 PM
Edited Mar 30, 2011 at 1:21 PM

Hi Tuvia,

Why would you need to run activevfp.exe??  That's only for debugging an application.  In ActiveVFP there is no vfp server running from a VFP exe.  Web applications call activevfp.dll as needed.  This is more like regular web applications and much, much more efficient.

IIS running in IIS 5 Isolation mode shouldn't affect anything except maybe the need to 'regsvr32 activevfp.dll'.

My advice is to first 'c:\<your Directory.\activevfp.exe /unregserver' and then  follow the instructions at: http://activevfp.codeplex.com/discussions/251488 and first try it without manual registration of activevfp.dll.  If you still get the same or similar message when run from the browser, then regsvr32 c:\<your directory>\activevfp.dll and see if it works then.  

 

 

 

Apr 3, 2011 at 4:40 AM

I had already done all that, I was running activevfp.exe because I could find no docs on what it did and I thought it might help.   I did it again, but I am not getting anywhere.

The error line in the config when run from localhost is:

Line 2: <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

The server has .net 2.0 sp 2 installed and it is being used successfully by other software.  It also has 3.0 and 3.5 installed, although I am not aware that should make a difference.

 

Thanks

Coordinator
Apr 3, 2011 at 5:57 AM
Edited Apr 3, 2011 at 5:57 AM

I don't know what the error line in the config is.  But if you still get the following or similar error, it means activevfp.dll is still not registered:

Server object error 'ASP 0177 : 80020009'

Server.CreateObject Failed

/activeweb/default.asp, line 4

80020


What happened when you regsvr32 activevfp.dll ?????  Also, use default.aspx and try to follow the instructions in the following as closely as possible:

http://activevfp.codeplex.com/discussions/251488

Apr 8, 2011 at 6:15 PM

You keep telling me the same thing.  The dll registers fine.  I can go into vfp and create an object.

The server.createobject failed you would _only_ get with the .asp page, not the .aspx page.

The error line in the config should mean something.