Hi Brice,
The call of the procedure should be with 3 params ( I typed it wrongly with 4
:(, thanks to Tim for noticing this)
so here is the correct one:
SQL>
RDF_LOAD_RDFXML(file_to_string_output('D:/virtuoso-opensource-win32-5.0.1/temp/iarchi.owl'),'','http://myiarchibase');
Best Regards,
Rumi
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:[email protected]]
>Envoye : mercredi 4 juillet 2007 11:45
>A : Cesbron, Brice
>Cc : [email protected]; [email protected]
>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
>
>