mibuso.com

Microsoft Business Solutions online community
It is currently Mon May 20, 2013 7:36 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Change Security Model On NAV 5.0 SP1 Windows Server 64bits
PostPosted: Thu Dec 17, 2009 12:09 pm 
Offline

Joined: Mon Aug 10, 2009 12:24 pm
Posts: 98
Hi,

i have an problem:

Situation:
I have the Dynamics Nav 5.0 SP1. ( OS. - Windows Server 2008 Std 64 bits.
I have already put on the SQL the extended procedures that point to xp_ndo_x64.dll.
Everything works fine when users try to acess to NAV with Windows Authentication.

Problem:
i have change my Security Model ( Advanced tab) from Enhanced to Standard.
On the tab Options i have put the option Single User.
Then the NAV change the objects.
But when i try to open the database with Windows Authentication the following error appears:

The extended stored procedure xp_ndo_enumuserids in the library file xp_ndo.dll, is not available on the XXXX server.
Until this procedure and library have been added, it will not be possible to connect to this server from Microsoft Dynamics NAV with Windows Authentication, but you still be able to connect with Database Server Authentication


What is wrong?

Thanks in avance for your help.


Top
 Profile E-mail  
 
 Post subject: Re: Change Security Model On NAV 5.0 SP1 Windows Server 64bits
PostPosted: Thu Dec 17, 2009 1:21 pm 
Online
Moderator
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Wed Jul 02, 2003 10:13 am
Posts: 7493
Location: Milan
Country: Italy (it)
Did you run these commands in TSQL to create the stored procedure (probably you need to change the subdir/filename)?:

USE master
EXEC sp_addextendedproc xp_ndo_enumusergroups, 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\xp_ndo.dll'
GO

GRANT EXECUTE
ON [xp_ndo_enumusergroups]
TO PUBLIC
GO

USE master
EXEC sp_addextendedproc xp_ndo_enumusersids, 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\xp_ndo.dll'
GO

GRANT EXECUTE
ON [xp_ndo_enumusersids]
TO PUBLIC
GO

_________________
Regards,Alain Krikilion
Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title! || Read Forum Rules before making a posting


Top
 Profile  
 
 Post subject: Re: Change Security Model On NAV 5.0 SP1 Windows Server 64bits
PostPosted: Thu Dec 17, 2009 1:26 pm 
Offline

Joined: Mon Aug 10, 2009 12:24 pm
Posts: 98
I do not run this Script.
I have made this steps manually before the change and everything works fine.

After the change of the security model i have to run this script, pointing to xp_ndo_x64.dll??


Top
 Profile E-mail  
 
 Post subject: Re: Change Security Model On NAV 5.0 SP1 Windows Server 64bits
PostPosted: Thu Dec 17, 2009 1:32 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Thu Jul 31, 2003 12:00 pm
Posts: 639
Location: Nürnberg
Country: Germany (de)
With "Standard" security you need only xp_ndo_enumusersids. I recommend to create this XP manually with SSMS, by selecting the DLL with the fiile-browser (just to avoid any mistakes).
Then manually grant EXECUTE rights for the XP to PUBLIC.

And of course you made sure the xp_ndo_x64.dll is the correct version, matching your NAV version?

And: are you running a Cluster? In this case the DLL must be available on both nodes.

_________________
Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool


Top
 Profile E-mail WWW  
 
 Post subject: Re: Change Security Model On NAV 5.0 SP1 Windows Server 64bits
PostPosted: Thu Dec 17, 2009 2:29 pm 
Offline

Joined: Mon Aug 10, 2009 12:24 pm
Posts: 98
Styrk,

I created this XP manually with SSMS, by selecting the DLL with the fiile-browser and manually grant EXECUTE rights for the XP to PUBLIC.
And everything works fine on Ehnaced security model.



But when i change to Standard the error message appears.

My question is:
After changing the Security Model ( Ehanced -> Standard) i have to change anything on the Extended Stored Procedures? Why appears this message?

The xp_ndo_x64.dll that i have is from Instalation CD ( Dynamics NAV 5.0 SP1).

I don´t have any cluster.


Top
 Profile E-mail  
 
 Post subject: Re: Change Security Model On NAV 5.0 SP1 Windows Server 64bits
PostPosted: Thu Dec 17, 2009 3:03 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Thu Jul 31, 2003 12:00 pm
Posts: 639
Location: Nürnberg
Country: Germany (de)
"Standard" security uses xp_ndo_enumusersids
"Enhanced" security uses xp_ndo_enumusergroups

That's the only difference (regarding the XP). Both XP are using the same DLL ...

_________________
Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool


Top
 Profile E-mail WWW  
 
 Post subject: Re: Change Security Model On NAV 5.0 SP1 Windows Server 64bits
PostPosted: Thu Dec 17, 2009 6:29 pm 
Offline

Joined: Mon Aug 10, 2009 12:24 pm
Posts: 98
Ok.

I gone to configure again the xp_ndo_enumusersids on SQL Server.

Then i tell what it happens.

Thanks for your help!

:)


Top
 Profile E-mail  
 
 Post subject: Re: Change Security Model On NAV 5.0 SP1 Windows Server 64bits
PostPosted: Fri Dec 18, 2009 9:59 pm 
Offline

Joined: Mon Aug 10, 2009 12:24 pm
Posts: 98
Hi guys.

Running this Script with the DLL for 64 bits and it works.

Strange that i run the same thing manually and do not works.

Code: Select all
USE master
EXEC sp_addextendedproc xp_ndo_enumusersids, 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\xp_ndo.dll'
GO

GRANT EXECUTE
ON [xp_ndo_enumusersids]
TO PUBLIC
GO
Did you run these commands in TSQL to create the stored procedure (probably you need to change the subdir/filename)?:

USE master
EXEC sp_addextendedproc xp_ndo_enumusergroups, 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\xp_ndo.dll'
GO

GRANT EXECUTE
ON [xp_ndo_enumusergroups]
TO PUBLIC
GO

USE master
EXEC sp_addextendedproc xp_ndo_enumusersids, 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\xp_ndo.dll'
GO

GRANT EXECUTE
ON [xp_ndo_enumusersids]
TO PUBLIC
GO


Top
 Profile E-mail  
 
 Post subject: Re: Change Security Model On NAV 5.0 SP1 Windows Server 64bi
PostPosted: Thu Feb 09, 2012 8:31 am 
Offline

Joined: Fri Jul 30, 2010 8:17 am
Posts: 227
Country: India (in)
I don't have product cd available with me and don't have the xp_ndo.dll file.

what can be the process to solve the issue.


Top
 Profile E-mail  
 
 Post subject: Re: Change Security Model On NAV 5.0 SP1 Windows Server 64bi
PostPosted: Thu Feb 09, 2012 8:33 am 
Offline
MVP Microsoft Dynamics NAV

Joined: Tue Sep 02, 2008 8:37 am
Posts: 4224
Location: New Delhi
Country: India (in)
Search here..you may find it
http://dynamicsuser.net/media/

_________________
-Mohana
http://mibuso.com/blogs/mohana
http://mohana-dynamicsnav.blogspot.in/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: