User Security Manager
wwrespondefile.prg not found
Gravatar is a globally recognized avatar based on your email address. wwrespondefile.prg not found
  Jim Monte
  All
  May 7, 2020 @ 07:01pm

I downloaded the security zip.. extract it put it in the projects folder.. you docs say to run it.. so i try to compile it and run and I cant even open the project because of the attached error.. This server was build 6..7 days ago... everything on it is brand new install the only wconnect that's ever been on this server is wc712..

++ jim --

Gravatar is a globally recognized avatar based on your email address. re: wwrespondefile.prg not found
  Rick Strahl
  Jim Monte
  May 7, 2020 @ 07:48pm

Make sure all your paths are set to include the Web Connection libraries. It sounds like your Web Connection environment is not set up properly and you're missing the paths back to find the Web Connection libraries.

Either:

  • Start in the folder with the shortcut so config.fpw can be found
  • Explicitly change to the deploy folder and run DO SetPaths

If you just open FoxPro and cd into the folder the Web connection libraries are not going to be found so make sure that SET("PATH") includes the right folder where your Web Connection installation lives.

Also just to make sure you do a CLEAR ALL/CLOSE ALL before running DO UserSecurityManagerMain to ensure you are not running with the files from the Console (should be an issue, but just to be sure).

I've done this about 10 times today so I know it works.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: wwrespondefile.prg not found
  Rick Strahl
  Jim Monte
  May 7, 2020 @ 07:49pm

Make sure all your paths are set to include the Web Connection libraries. It sounds like your Web Connection environment is not set up properly and you're missing the paths back to find the Web Connection libraries.

Either:

  • Start in the folder with the shortcut so config.fpw can be found
  • Explicitly change to the deploy folder and run DO SetPaths

If you just open FoxPro and cd into the folder the Web connection libraries are not going to be found so make sure that SET("PATH") includes the right folders for the Install classes folder and the WC install root where your Web Connection installation lives.

Also just to make sure you do a CLEAR ALL/CLOSE ALL before running DO UserSecurityManagerMain to ensure you are not running with the files from the Console (should be an issue, but just to be sure).

I've done this about 10 times today so I know it works.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: wwrespondefile.prg not found
  Jim Monte
  Rick Strahl
  May 7, 2020 @ 08:07pm

this is my shortcut properties

target: "C:\Program Files (x86)\Microsoft Visual FoxPro 9\vfp9.exe" -c"c:\webconnectionprojects\usersecuritymanager\deploy\config.fpw"

startin: c:\wconnect\

after it opens vfp I cd to C:\webconnectionprojects\UserSecurityManager

run setpaths.prg which contain

SET PATH TO ("C:\wconnect") ADDITIVE

SET PATH TO ("C:\wconnect\classes") ADDITIVE

SET PATH TO ("C:\wconnect\tools") ADDITIVE

I ran the autoroutine.. went over to my target project to recompile it.. there was also a new error message this time "Unable to find unknown HASHMD5"

Gravatar is a globally recognized avatar based on your email address. re: wwresponsefile.prg not found
  Rick Strahl
  Jim Monte
  May 8, 2020 @ 02:01am

I don't know, you need to do some troubleshooting on your end. I don't know why your libraries aren't loadin, but it's an environment problem.

  • CD and make sure you ARE in fact in the \WebConnectionProject\UserSecurityManager\Deploy folder
  • Print SET("PATH") and see if the WWC paths are in there
  • DO WCONNECT in your project folder
  • ? SET("PROCEDURE") to see if there are a ton of Web Connection PRGs

If any of those are not there, then you need to see why that is. If classes are not showing - delete all FXP files in your project folder and in the Web Connection startup and classes folders.

I've been running into a problem with an empty wconnect.fxp file (in the WWWC root folder). No idea where that's coming from but that's causing the libraries to not load. Shows up every once in a while after project creation. It's possible that's what you're seeing. To check do FULLPATH("wconnect.fxp") and if it's not in the \wconnect\classes\ folder delete it. Heck even if it is delete the FXP and let it recompile on the next restart.

+++ Rick ---

© 1996-2024