Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enabling Application Security
Message
From
03/06/2004 18:11:57
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00909384
Message ID:
00909729
Views:
18
Hello Jose,

Remember, that "CND_SQL" is merely the MetaDBC.cKey value used to perform a SEEK to find the correct MetaDBC record. What you need to test is the MetaDBC.cLocalDBC value, because that's the value being stored in lcDBC for the OPEN DATABASE (lcDBC) SHARED command.

You might want to add a SET STEP ON in mmBuilder form's OpenSecurityDBC() method (in mmBuilder.vcx) and check the value of lcDBC prior to running that line. This might give some more insight as to what's happening there.

Hope that helps,
---J

>Hi, to Enable Application Security I set lSecurityEnabled property to .T. and I added a new record to APPINCL.DBF with "SECURITYDBC_NAME" as "key" and "CND_SQL" as "String". I have 2 records in METADBC.DBC, one is CND and the other is CND_SQL. I can:
>
>OPEN DATABASE CND_SQL SHARED
>USE METADBC
>
>that means that the PATH is correct.
>When I try to call any control Builder to set Security options, the following Error appears:
>
>Invalid path or filename.
>
>Builder: mmbuilder
>Object: mmbuilder
>Method: opensecuritydbc
>Line: 55
>
>OPEN DATABASE (lcDBC) SHARED
>
>What is wrong?
>
>Regards,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform