my file location: ..\Program Files\Microsoft Dynamics NAV\CSIDE Client
1. copy the file xp_ndo.dll save it to a fixed location on the server’s location. |
note: if this is a local machine: I typically save it locally to a C:\Data folder so I know the info should NOT be deleted!
my location is c:\Data
6. Assign permissions to the public role: IN the extended Stored Procedures properties, click on “permissions” then “search” type in “public” then OK. Then assign execute permissions to Public 7. repeat the previous steps and make another extended stored procedure which is exactly identitcal except this one must be called xp_ndo_enumersgroups in stead of xp_ndo_enumusersids |
special thanks go to Lars Lohndorf-Larsen – Microsoft Dynamics UK
But wait! There’s more!
You may just get this error as well.
You have to put a trace flag on your database. This enables certain properties in SQL Server.
In SQL Server 2005, a user trying to use a program (..an application role) cannot access metadata (meaningful info you need) outside its own database because application roles are not associated with a server-level principal.
This is a change from earlier versions of SQL Server.
Setting this global flag allows for application roles to access server-level metadata
1. Open SQL Server Manager
2. Right Click SQL Server –> Properties –> Advanced tag.
3. Scroll down until you see “Startup Parameters”.. type in –T4616.
4. Click OK.
5. Restart SQL Server
(this site helped: http://plataan.typepad.com/microsoftdynamics/2007/11/how-to-set-trac.html)
No comments:
Post a Comment