Re: [Virtuoso-users] Virtuoso ADO.NET EF provider strange problems.

2010-04-11 Thread Hugh Williams
Hi Alex, Your project fails to run on my Visual Studio 2008 .Net 3.5 SP1 installation with the attached error: <> Best Regards Hugh Williams Professional Services OpenLink Software Web: http://www.openlinksw.com Support: http://support.openlinksw.com Forums: http://boards.openlinksw.com/supp

Re: [Virtuoso-users] System users

2010-04-11 Thread Hugh Williams
Hi Alexander, It is advised you change the default passwords for the two system users "dba" and "dav" as these have administrative privileges with login enabled and obviously prevent a security risk if left as default. The other users are not administrative and login is not enable and thus do

Re: [Virtuoso-users] Virtuoso ADO.NET EF provider strange problems.

2010-04-11 Thread Alex Efimov
Hi, Hugh. I'm attaching an archive with the demo project which contains UsersRepository class and EF model of DB.BEAWARE.* tables. Archive also contains a couple of screenshots with the exceptions. The first one is occured on executing of GetCountryCode method.(See Ex1.jpg) The second one is occure

[Virtuoso-users] System users

2010-04-11 Thread Alexander Sidorov
Hello! Documentationsays about only two system users. But there are some more users by default. Can I just remove them without any consequences? Regards, Alexander

Re: [Virtuoso-users] Amazon EC2 launch

2010-04-11 Thread Alexander Sidorov
Kingsley and Hugh, thank you for advices. I misunderstood documentation a bit... but now the problem is resolved :) 2010/4/11 Hugh Williams > Hi Alexander, > > Have you ssh'ed into the AMI instance and performed a "yum update" to > obtain the latest Virtuoso EC2 AMI version, as this is required

Re: [Virtuoso-users] Virtuoso ADO.NET EF provider strange problems.

2010-04-11 Thread Hugh Williams
Hi Alex, I can connect to your server and create and EDM for the the DB.BEWARE.* tables. It is not clear however how you are executing the sample code to get the error reported, thus can you please provide the step to reproduce from an empty project. Also, can you trying enabling the CallStack

Re: [Virtuoso-users] SPARQL pagination

2010-04-11 Thread Alexander Sidorov
Thank you for patch. It helped and now I can see my query is incorrect :) I need to retreieve not only entities but the quantity of objects too. May be it is not a good idea to use one query for that... Here is my current query: prefix events:

[Virtuoso-users] Virtuoso ADO.NET EF provider strange problems.

2010-04-11 Thread Alex Efimov
Hello, guys. I have a Virtuoso DB on 79.136.196.8: I build EF data model from the DB.BEAWARE.* tables. One of the entity tables is called CountryIPs and I'm trying to get the rows count like this: using (BeAwareEntities context = new BeAwareEntities()) { var IPs = context.CountryIPs.Where

Re: [Virtuoso-users] SPARQL pagination

2010-04-11 Thread Ivan Mikhailov
Hello Alexander, That's my bug. To fix, please apply the attached patch to libsrc/Wi directory of Virtuoso sources. Best Regards, Ivan Mikhailov OpenLink Software http://virtuoso.openlinksw.com On Sun, 2010-04-11 at 15:14 +0700, Alexander Sidorov wrote: > Hello! > > At the moment I'm implement

Re: [Virtuoso-users] xsd:datetime type cast

2010-04-11 Thread Ivan Mikhailov
Hello Alexander, > I see two ways to mark RDF literal as xsd:datetime: > 1. Add "^^xsd:datetime" at the moment of addition it to the storage > 2. Make type cast at query > > Is there any performance difference between these two ways? The difference will be enormous as soon as you will try to fin

[Virtuoso-users] SPARQL pagination

2010-04-11 Thread Alexander Sidorov
Hello! At the moment I'm implementing pagination for my SPARQL queries and I can't find out how to retrieve records count. By "count" I mean records number that were retrieved if I didn't use OFFSET and LIMIT clauses. Here is my sample query: prefix events:

[Virtuoso-users] xsd:datetime type cast

2010-04-11 Thread Alexander Sidorov
Hello! I see two ways to mark RDF literal as xsd:datetime: 1. Add "^^xsd:datetime" at the moment of addition it to the storage 2. Make type cast at query Is there any performance difference between these two ways? Regards, Alexander

Re: [Virtuoso-users] Amazon EC2 launch

2010-04-11 Thread Hugh Williams
Hi Alexander, Have you ssh'ed into the AMI instance and performed a "yum update" to obtain the latest Virtuoso EC2 AMI version, as this is required for you to get the ADO.Net provider EDM fixes you require at least ? If not then assuming you created the key pair requested when instantiating the