Re: Permission problem with ADOMD and AS2000



Can you try running the following MDX on the first domain against the
foodmart database to see what it returns?

>>>
with member measures.User as 'Username()'
select {measures.user} on columns
from [Sales]
>>>

I did not think that NT AUTHORITY/SYSTEM had any rights outside of the
local machine. So I am guessing that something is configured on the web
server to use a different identity. Possibly something in the
machine.config or in the application pool if you are using Win2k3. The
above MDX will show you which user the Analysis Server is seeing which
may tell you why the setup on the second domain is not working.

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <e6MhRHFGGHA.1032@xxxxxxxxxxxxxxxxxxxx>, jj@xxxxxxxxxx
says...
> On one domain, I have SQL2000 and AS2000 running on the same system, and an
> ASP.NET application running on another system. The ASP.NET application runs
> an MDX query successfully.
>
> If I copy the database and ASP.NET application to a different domain (using
> the same setup), I get a "database xxxx does not exist" error when trying to
> connect to the cube.
>
> On both systems, I put code in the ASP.NET application to display the value
> returned by System.Security.Principal.WindowsIdentity.GetCurrent().Name and
> it shows "NT AUTHORITY\SYSTEM". Yet it connects on the one domain but not
> on the other.
>
> If I change the web.config of the ASP.NET application on the problem domain
> to impersonate a user such as "DOMAIN2\Administrator", it then successfully
> connects.
>
> So my question is what would allow "NT AUTHORITY\SYSTEM" (the System
> Account) to connect on one domain and not on the other? Is it a setup issue
> in SQL2000 or AS2000? On the cube itself (the roles look the same to me)?
>
>
>

.



Relevant Pages

  • Cant find MDX Sample Application in SQL server 2005
    ... I am going to test MDX language against the AdventureWorksDW sample ... > Go to the Start button on the PC, and then navigate to Microsoft SQL Server -> Analysis Services, then to the MDX Sample Application. ... I can connect to database engine of the server, ...
    (microsoft.public.sqlserver.olap)
  • Re: Office Web Components and SQL Analysis services, how to trace
    ... The handlers would take the query generated for these events ... and write them to the database. ... Can I make OWC save the last MDX into a database or all MDX into a ...
    (microsoft.public.office.developer.web.components)
  • Re: Cant find MDX Sample Application in SQL server 2005
    ... you can write your MDX queries in Management Studio -- the same ... > I can connect to database engine of the server, ...
    (microsoft.public.sqlserver.olap)
  • Re: SetUp functions for multiple test cases
    ... couldn't find out how to implement a setup function, ... new database in-memory and fill it with example data for every single ... The True Unit Test Zealots will argue that all tests should be 100% ... SUnit from Smalltalk to Python: SUnit takes full advantage of ...
    (comp.lang.python)
  • [NEWS] Lawson Financials RDBMS Insecurity
    ... Beyond Security would like to welcome Tiscali World Online ... the database itself) to easily compromise the Lawson Financials' database. ... Setup #1 tends to be the preferred configuration method by Lawson ...
    (Securiteam)