Hi Brice,

>
>
>Hello, 
>Thank You for the help.
>
>The error is persistent, but look my configuration (conf file is attached):
>
>SQL> select server_root (), virtuoso_ini_path ();
>(...)
>    D:\virtuoso-opensource-win32-5.0.1\var\lib\virtuoso\demo\
>      D:\virtuoso-opensource-win32-5.0.1\var\lib\virtuoso\demo\demo.ini
>
>SQL> select cfg_item_value (virtuoso_ini_path (), 'Parameters', 'DirsAllowed');
>(...)
>    ./tmp, ./backup, ../vad, virtprof.out, .../bin/OpenLink.Data.Virtuoso.dll, 
> ./clas
>    slib,  D:/virtuoso-opensource-win32-5.0.1/temp
>
>SQL> select cfg_item_value (virtuoso_ini_path (), 'Parameters','DirsDenied');
>(...)
>    NULL
>
>So, how all seems to good, I retry to build my database from a file.owl
>SQL> 
>RDF_LOAD_RDFXML(file_to_string_output('D:/virtuoso-opensource-win32-5.0.1/temp/iarchi.owl'),0,'http://myiarchibase','');
>
>    *** Error 42000: [OpenLink][Virtuoso ODBC Driver][Virtuoso Server]FA010: 
> Access
>    to D:/virtuoso-opensource-win32-5.0.1/temp/iarchi.owl is denied in 
> file_to_string_session() due to access control in ini file
>    at line 2 of Top-Level:
>    
> RDF_LOAD_RDFXML(file_to_string_output('D:/virtuoso-opensource-win32-5.0.1/temp/iarchi.owl'),0,'http://myiarchibase','')
>
>I'm a little bit desperate...

Please try the following:

1. Change in DirsAllowed in your demo.ini file the value: 
D:/virtuoso-opensource-win32-5.0.1/temp to 
D:\virtuoso-opensource-win32-5.0.1\temp\
2. Restart the Virtuoso server
3. Run ISQL and run: (note to use DB.DBA and also note that the function takes 
3 params, not 4):

SQL>DB.DBA.RDF_LOAD_RDFXML(file_to_string_output('D:/virtuoso-opensource-win32-5.0.1/temp/iarchi.owl'),'','http://myiarchibase','');


Hope this to work for you.


Best Regards,
Rumi


>I have followed step by step every tuto and it's always the same result. :'(
>What have I wrong ..?
>
>Best regards,
>
>Brice Cesbron
>Capgemini Marseille - France
>
>
>
>-----Message d'origine-----
>De : Mitko Iliev [mailto:imi...@openlinksw.co.uk]
>Envoye : mercredi 4 juillet 2007 11:45
>A : Cesbron, Brice
>Cc : hwilli...@openlinksw.com; virtuoso-users@lists.sourceforge.net
>Objet : Re: [Virtuoso-users] Seek tuto and/or advice to import 
>ontologyindatabase - Question about the Configuration File.ini
>
>Hi Brice,
>
>The INI file to be edited must be one corresponding to the instance you are 
>using, could check with ISQL utility:
>
>SQL> select server_root (), virtuoso_ini_path ();
>
>The above should show in the result the server working directory and INI file 
>name.
>
>Also you can check the relevant INI setting by running following statement via 
>ISQL command line utility:
>
>SQL> select cfg_item_value (virtuoso_ini_path (), 'Parameters',
>'DirsAllowed');
>
>In the result you should see the sub-string 
>"D:/virtuoso-opensource-win32-5.0.1/temp" inside it if you configured 
>correctly.
>Also should check DirsDenied, it should not prohibit the above as deny rule 
>takes precedence .
>
>Best Regards,
>Mitko
>
>
>
>
>This message contains information that may be privileged or confidential and 
>is the property of the Capgemini Group. It is intended only for the person to 
>whom it is addressed. If you are not the intended recipient, you are not 
>authorized to read, print, retain, copy, disseminate, distribute, or use this 
>message or any part thereof. If you receive this message in error, please 
>notify the sender immediately and delete all copies of this message.

Reply via email to