Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveVFP setup problem
Message
From
22/12/2002 15:05:28
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00735152
Message ID:
00735285
Views:
8
Claude - got a web site called 'myapp' to work. However, in the code in the AVFPinit method the two lines of codes commented out below were the problems and I had to substitute hard coding of the directories for the data and html files. I not sure why your code didn't evaluate to the same as the hard coding.
  SET DEFAULT TO  'c:\myappdir\data\myapp\'	
* SET DEFA TO STRTRAN oProp.AppStartPath,oProp.AppName,'Data\'+oProp.AppName)
oprop.HtmlPath = 'c:\myappdir\myapp\html\'
*oProp.HtmlPath=oProp.AppStartPath+'\HTML\' 
I provided the above code in case anyone else has simililar problems trying to install ActiveVFP on an XP system. I used'c:\myappdir'as the folder for the files and called the application 'myapp', so message #726170 didn't come into play.

Thanks
Gaylen



>Gaylen,
>One thing for the PostSetup .dll, you should recompile it to the route of the directory where you installed too, where the original postsetup.dll was.
>Everything else gets recompiled to where the VFP projects are. The AVFPinit routine in main.prg is looking for physical directories and files in certain places.
>You may also want to look at message #726170 .
>>Claude
>>Ok - got the demo to work by recompiling both the activevfpdemo2 and postsetup project into VFP 7 dlls. and then ran Postsetup.
>>
>>However when I used app builder it created the directories, but did not create the virtual directories. So I manually created the virtually directories the same as the demo virtual directories.
>>
>>I also created a new myapp.dll using vfp7 and replaced the dll created by the app builder program.
>>
>>If I use http://myapp/myapp/default.aspx I get the aspx page. However using default.asp or just http:/myapp/myapp/ I get the following error message.
>>
>>
>>Error Type:
>>avfpinit err#= 202 line= 901 Invalid path or file name.202
>> Invalid path or file name. .NULL. .NULL. .NULL. .NULL. .NULL.
>> c:\myapp\myapp\myapp.dll (0x800A00CA)
>>c:\myapp\myapp\myapp.dll
>>/myapp/Default.asp, line 6
>>
>>
>>
>>
>>Any idea what is happening?
>>Gaylen
>>
>>>Gaylen,
>>>What's the OS? I've tested with Win 2K Server and Win 2K Pro. I believe many have it running on XP. It should work on NT with ADSI, maybe Win98 with the NT Option Pack applied. If it's anything other than those, it may be very difficult. Earlier versions worked well on Win 98 and maybe even ME, but, this latest version won't(at least easily).
>>>You might try recompiling the avfpdemo2 source and postsetup source in whatever version you're developing apps in (vfp6sp5,vfp7sp1,vfp8). Then run PostSetup. If it compiles, you shouldn't get any errors when running PostSetup.
>>>From what you've described, it sounds like the problem where it can't find the VFP 8 runtime, so, it can't register the vfp mtdlls that were compiled in vfp8. The WebAppBuilder message is not an error. It's looking for TLBIMP if you want to use ASP.NET(you would need to install the free .NET Framework). if you cancel out of that, it'll continue normally to completion...
>>>
>>>>Downloaded both activeVFP and VFP8 download. When I run the ActiveVFP install program I get error 1904 failed to register for both AVPdemo2.dll and postsetup.dll. Tried to register using regsvr32 and got load library problem error. When I tried to use WebAPP program asked for TLbimp file and using search couldn't find it anywhere. Tried unistalling and reinstalling several times and get the same results.
>>>>
>>>>
>>>>Any thoughts on what might be happening? I have ActiveVFP1.5 working on another computer and all works well and have been hosting several web sites for some time.
>>>>
>>>>
>>>>Thanks
>>>>Gaylen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform