dbTalk Databases Forums  

Cube security and ASP.NET

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Cube security and ASP.NET in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JJ
 
Posts: n/a

Default Cube security and ASP.NET - 01-09-2006 , 03:03 PM






I have a working ASP.NET app that gets data from a cube in AS2000 via ADOMD.
It displays this data in a chart using ChartFX from SoftwareFX.

I need to use this app on another network (different domain / SQL Server,
etc.). I backed up the database and restored it on the other domain, then I
archived the cube and restored it. In Analysis Manager, I can successfully
rebuild (process) the cube.

However, when I try to run the ASP.NET application, it cannot connect - it
returns a "Database xxxx does not exist" error, where xxxx is the name of
the cube.

After much trial and error, I found that I must change the <processModel> in
machine.config to use userName="system" in order for ChartFX to work - it
turns out that this was also set on the working domain.

But on the second domain that gets the "Database does not exist error", I
can get it to connect only if I add a <identity impersonate="true"
userName="DOMAIN\user" password="xxx"> entry to the asp.net application's
web.config file.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.