Showing posts with label admin. Show all posts
Showing posts with label admin. Show all posts

Thursday, March 29, 2012

Error about OLAP Admin permissions

Hi iam executing this code and iam getting the error

Unable to connect to the registry on the server (SQLSERVER), or you are not a member of the OLAP Administrators group on this server.

The code is

Private Sub cbDataBaseList_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbDataBaseList.SelectedIndexChanged

Dim dsoServer As New DSO.Server

Dim dsoDB As DSO.MDStore

Dim dsoCube As DSO.MDStore

' Create a connection to the Analysis server.

dsoServer.Connect("Localhost")

' Step through the databases in the server object.

For Each dsoDB In dsoServer.MDStores

' Print the name of the database into drop down box

cboDbName.Items.Add(dsoDB.Name)

Next dsoDB

listCubes.Items.Clear()

Dim strDataBaseName As String
strDataBaseName = cbDataBaseList.SelectedItem

Dim dsoDb As DSO.MDStore

If dsoServer.MDStores.Find(strDataBaseName) Then

dsoDb = dsoServer.MDStores.Item(strDataBaseName)

Dim dsoCube As DSO.MDStore
For Each dsoCube In dsoDb.MDStores
listCubes.Items.Add(dsoCube.Name)
Next

End If

End Sub


I donno whats that error and how to fix it if some one could help me it would be great.

Thank You

Emily

There are two common causes of this error that I am aware of

1) You are not a member of the OLAP Administrators group on the server (obviously, but I assume you have double checked this)

2) The server has had a service pack applied, but the client has an older version of the DSO libraries.

If item 1) is not your issue then what I would suggest is to find out what service pack has been applied to the server.

To find out the current level of Windows 2000 Analysis Services, start the Analysis Manager, right-click on the Analysis Servers node, and select "About Analysis Services." (Note that this tells you the SP that is on the machine running Analysis Manager - so you might want to run this check on the server console)

Once you have the version number, then match it to the list below to find which SQL Server service pack you are using.

2000.8.0.2039 Analysis Services SP 4 2000.8.0.760 Analysis Services SP 3 2000.8.0.532 Analysis Services SP 2 2000.8.0.382 Analysis Services SP1 2000.8.0.194 Analysis Services "gold" release, no SP

Tuesday, March 27, 2012

Error 87 - more info

Does any one know what this is about
i think its something to do with running the xp_cmdshell
**as a non sys admin user
[Microsoft][ODBC SQL Server Driver][SQL Server]xpsql.cpp:
Error 87 from GetProxyAccount on line 604
some saidto run this
exec master..xp_sqlagent_proxy_account N'SET',
N'DomainName',
N'UserName',
N'Password'
but didn't make any difference .. HELP
any ideas.
thanks
mic
.Hiave you tried the suggestion in response to your previous thread? Check
to ensure the 'Only users with sysadmin privileges ...' box is unchecked
from Enterprise Manager (Management\SQL Server Agent\Properties\Job System).
Hope this helps.
Dan Guzman
SQL Server MVP
"mike" <anonymous@.discussions.microsoft.com> wrote in message
news:028c01c3bd2a$e0792e20$a401280a@.phx.gbl...
quote:

> Does any one know what this is about
> i think its something to do with running the xp_cmdshell
> **as a non sys admin user
> [Microsoft][ODBC SQL Server Driver][SQL Server]xpsql.cpp:
> Error 87 from GetProxyAccount on line 604
> some saidto run this
> exec master..xp_sqlagent_proxy_account N'SET',
> N'DomainName',
> N'UserName',
> N'Password'
> but didn't make any difference .. HELP
> any ideas.
>
> thanks
> mic
>
> .
>

Wednesday, February 15, 2012

Error 208 when updating any Stored Procedure

Hey all,
I can't update any stored procedure in my database, even as an
admin. I get:
Error 208: Invalid object name 'storedprocedurename'
Any suggestions? I've done a search on the MS knowledgebase and
google but no luck. The user can't do it and myself as an admin can't
either.
The workaround right now is to drop the proc and re-create it with the
changes.who is the owner of the sp?
"Dave" <shoad316@.hotmail.com> wrote in message
news:78cf0572.0401131336.5d46a539@.posting.google.com...
> Hey all,
> I can't update any stored procedure in my database, even as an
> admin. I get:
> Error 208: Invalid object name 'storedprocedurename'
> Any suggestions? I've done a search on the MS knowledgebase and
> google but no luck. The user can't do it and myself as an admin can't
> either.
> The workaround right now is to drop the proc and re-create it with the
> changes.|||A user is the db_owner and its the same account trying to do the update.
Thanks
--
--
david.best@.sympatico.ca
"Thanks to the remote control I have the attention span of a gerbil!"
"There are 10 types of people in the world. Those who understand binary,
and those who don't."
"NEW NAME, OLD GUY" <PLEASE!> wrote in message
news:OJF58Ui2DHA.2208@.TK2MSFTNGP12.phx.gbl...
> who is the owner of the sp?
> "Dave" <shoad316@.hotmail.com> wrote in message
> news:78cf0572.0401131336.5d46a539@.posting.google.com...
> > Hey all,
> >
> > I can't update any stored procedure in my database, even as an
> > admin. I get:
> >
> > Error 208: Invalid object name 'storedprocedurename'
> >
> > Any suggestions? I've done a search on the MS knowledgebase and
> > google but no luck. The user can't do it and myself as an admin can't
> > either.
> >
> > The workaround right now is to drop the proc and re-create it with the
> > changes.
>|||probably this should help
ALTER PROC owner_name.PROC_NAME
................
replace owner_name with the correct owner name.
"Dave Best" <david.bestNOSPAM@.sympatico.ca> wrote in message
news:RT0Nb.10886$881.1646973@.news20.bellglobal.com...
> A user is the db_owner and its the same account trying to do the update.
> Thanks
> --
> --
> david.best@.sympatico.ca
> "Thanks to the remote control I have the attention span of a gerbil!"
> "There are 10 types of people in the world. Those who understand binary,
> and those who don't."
> "NEW NAME, OLD GUY" <PLEASE!> wrote in message
> news:OJF58Ui2DHA.2208@.TK2MSFTNGP12.phx.gbl...
> > who is the owner of the sp?
> >
> > "Dave" <shoad316@.hotmail.com> wrote in message
> > news:78cf0572.0401131336.5d46a539@.posting.google.com...
> > > Hey all,
> > >
> > > I can't update any stored procedure in my database, even as an
> > > admin. I get:
> > >
> > > Error 208: Invalid object name 'storedprocedurename'
> > >
> > > Any suggestions? I've done a search on the MS knowledgebase and
> > > google but no luck. The user can't do it and myself as an admin can't
> > > either.
> > >
> > > The workaround right now is to drop the proc and re-create it with the
> > > changes.
> >
> >
>