Quantcast
Channel: PTC Community : All Content - Windchill
Viewing all articles
Browse latest Browse all 6049

LoadFromFile : ACL rules loading error

$
0
0

Hello,

 

In my Windchill configuration (9.1M060), I have only 1 site and 1 organization.

I want to load some ACL for my organization directly in command line with the LoadFromFile command within a WindchillShell.

 

First step

Create the XML file csv file with the CSV2XML utility : it's ok.

Following, a sample of the xml file created

 

<?xml version="1.0" ?><!DOCTYPE NmLoader SYSTEM standardX10.dtd><NmLoader><csvAccessRule handler="wt.load.LoadUser.createAccessRule" >    <csvuser>wcadmin</csvuser>    <csvdomain>/Default</csvdomain>    <csvtypeId>wt.epm.EPMDocument</csvtypeId>    <csvpermission>+</csvpermission>    <csvprincipal>MEMBERS</csvprincipal>    <csvpermissionList>7/15</csvpermissionList>    <csvstate>OBSOLETE</csvstate></csvAccessRule></NmLoader>

 

Second Step

Load the rules

From a windchill shell, i launch the folowing command :

 

windchill wt.load.LoadFromFile -d D:\ptc\Windchill\src\loadFiles\CDA_LoaderACL.xml -u <pwd> -p <pwd>

 

So, I obtain the error :

 

Principal "MEMBERS" not found.
Méthode de chargement wt.load.LoadUser. createAccessRule a signalé une erreur.
Aucun objet n'a été importé en raison d'une erreur.
Problème inattendu lors de l'exportation/importation.
Exception imbriquée: wt.util.WTException: Méthode de chargement wt.load.LoadUser. createAccessRule a signalé une erreur. E
data file = <D:\ptc\Windchill\src\loadFiles\CDA_LoaderACL.xml,D:\ptc\Windchill\src\loadFiles\CDA_LoaderACL.xml>
map file = <null,null>
token separator = <null,null>
method = <null,create>
user = <null>
Command line = <{}>
Problème inattendu lors de l'exportation/importation.
Exception imbriquΘeá: wt.util.WTException: Méthode de chargement wt.load.LoadUser. createAccessRule a signalé une erreur.

 

I don''t undestand the first message concerning MEMBERS : the key MEMBERS exist in the file RoleRB.RB.ser 

 

I have open a PTC call the 11th-Oct-2011. No answer today.

 

I hope for better luck with the forum.

 

Thanks for your help


Viewing all articles
Browse latest Browse all 6049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>