Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AVFP 2.1-anybody with XP successfully use WebAppBuild
Message
De
03/03/2003 21:46:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
ActiveVFP
Divers
Thread ID:
00759901
Message ID:
00760713
Vues:
15
Ok - I used the postsetup.dll which was originally installed.
Got the following error - 'Oldispatch exception code 1001 from newsetup err#=1001 line 96 Feature is not available c:\program files\dotcomsolution\postsetup.dll'

Gaylen

>PostSetup.dll is originally in the root of whatever directory you installed to. It needs to stay there because it's also looking for vb5stkit.dll in that same directory. Assuming you installed to c:\activevfp in the original setup, do this:
>CD c:\activevfp
>lcname = "test"
>lcfolder = "c:\testdir"
>lcdomain = ""
>lcwebsite = ""
>oWAB=CREATEOBJECT("PostSetup.setup")
>oWAB.newsetup(lcName,lcFolder,lcDomain,lcWebSite)
>
>
>>Sorry if I was unclear. Maybe this will clear it up.
>>
>>Name of web app is 'test'
>>Directory is 'c:\testdir'
>>
>>When Webappbuilder built my web called 'test', it put the postsetup.dll in the 'c:\testdir' directory. I did a cd to c:\testdir and ran the code indicated below because that is where the postsetup.dll is located.
>>
>>Where is the postsetup.dll suppose to be given the above parameters?
>>
>>Gaylen
>>
>>
>>>Gaylen,
>>>I meant CD to the directory where the postsetup.dll is before running your code...
>>>>Claude - the dll is place by WebAppBuilder in the main folder in this case c:\testdir. I put code in the sample program below to cd to c:\testdir. I even moved the sample program to c:\testdir and ran it from there. Still got the error message in both cases.
>>>>
>>>>
>>>>
>>>>>this is because you didn't CD to that directory before you ran that code.
>>>>>>Claude - recompiled PostSetup.dll as mtdll and replace the file WebAPPBuilders created after commenting out 'local laerr'. Got the following error 'OLE IDispatch exception code 1753 fro mnewsetup err#= 1753 line = 77 Cannot load 32-bit DLL VB5STKIT.dll c:\testdir\postsetup.dll'.
>>>>>>
>>>>>>Gaylen
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Gaylen,
>>>>>>>You need to CD to the directory where the PostSetup.dll is and then run that code below. Also, you should comment out where I have LOCAL laErr which stupidly makes that variable Not an array. Once you do that, you'll get a meaningful error message.
>>>>>>>The base error is caused when looking for a .dll library that's only available if you're in the same directory (or qualify the location)...
>>>>>>>>Claude - when webappbuilder is run the postsetup form never comes up.
>>>>>>>>I tried to call it as follows form a program:
>>>>>>>>
>>>>>>>>
>>>>>>>>lcname = "test"
>>>>>>>>lcfolder = "c:\testdir"
>>>>>>>>lcdomain = ""
>>>>>>>>lcwebsite = ""
>>>>>>>>oWAB=CREATEOBJECT("PostSetup.setup")
>>>>>>>>oWAB.newsetup(lcName,lcFolder,lcDomain,lcWebSite)
>>>>>>>>
>>>>>>>>
>>>>>>>>The postsetup.dll and postsetup.exe exist in c:\testdir folder so I called it from that directory. Probably a stupid question but what is the difference in those two files? When I try to run the exe from VFP command line it says it is not a vfp exe file.
>>>>>>>>
>>>>>>>>Any way I get the following error when I run the above code "ole idespatch exeception code 232".
>>>>>>>>
>>>>>>>>I tested the postsetup from the start menu, it prompted me to kill the two virtual directories in IIS. After I killed the virtual directories and ran the postsetup again the virtuals directores were created and the demo worked fine.
>>>>>>>>
>>>>>>>>How can I run the postsetup interactively?
>>>>>>>>
>>>>>>>>Gaylen
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>Thanks to all that tried this with XP. As I've said, I don't have any problem at all with WebAppBuilder on Win2K.
>>>>>>>>>If someone fixes the AVFp 2.1 version of WebAppBuilder on XP, I'll include in the next maintenance release and give full credit to that person. It shouldn't be hard. The part that's creating the VDs is PostSetup.dll. We know it works when AVFP is first installed. But, that same routine is not working in WebAppBuilder on XP. From some of the responses here, it sounds like it's a pathing issue.
>>>>>>>>>Any help is appreciated - support Open Source in VFP with AVFP!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform