I'm trying to get the web platform up and working so that it connects to a test data dictionary. For testing, I've enabled DbEnableQueryService, and am trying to pass a query via the query service, like so:

http://localhost:6272/adsweb/myDB/v1/__query?statement=select * from myTable

I have user authentication enabled, and am able to authenticate correctly. I know I'm talking to the database succesfully, because if my query contains an object that the user can't access, I'll get 7200 and 7087 errors back:

Cannot open table or view for this operation because the requested permissions have not been granted to the user.

If I try connection to an object that the user does have permission on, I get the following:

This page contains the following errors:

error on line 18 at column 16: error parsing attribute name

Below is a rendering of the page up to the first error:

__query http://myMachineName:6272/adsweb/myDB/v1/__query http://myMachineName:6272/adsweb/myDB/v1/__query

Any ideas on what I need to do to get this working, or where I can look for more meaningful error messages? The only thing I see in the Apache logs is in the access log, which doesn't provide any help.

asked 12 May '16, 17:05

JakeR's gravatar image

accept rate: 0%

error on line 18 at column 16: error parsing attribute name

Is that just the web browser complaining? If you look at the source (web page source), or use something that is not the web browser such as curl I suspect it is working as you expect.


answered 16 May '16, 09:39

Edgar%20Sherman's gravatar image

Edgar Sherman
accept rate: 25%

Your answer to the original question.
If responding to a request for additional information, please edit the question or use the comment functionality.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 12 May '16, 17:05

Seen: 1,769 times

Last updated: 16 May '16, 09:39

Advantage Developer Zone Contact Us Privacy Policy Copyright Info

Powered by Advantage Database Server and OSQA
Disclaimer: Opinions expressed here are those of the poster and do not necessarily reflect the views of the company.