Do you have any clue?!?
Version NA 4.00 SP1 (4.0 SP2)
Sequal Server 2005 (9.0.2047)
Navision license permits 26 user. So usually 28 user (26 + 2 extra ones) can log onto Navision.
But in this case I was the 37th user which logged on. I checked:
File/ Database/ Information
Current Sessions: 37
Licensed Sessions: 28
I logged on with customer license - not with developer license.
What I noticed so far:
At Sequal Server:
User A has got Server Role: "sysadmin"
User B does not have Server Role: "sysadmin" - only User mapping: "public"
User A cannot log onto database: message that license does not allow more user
User B can log onto database - even if there have already more user than allowed accessed the database.
And user B works with customer license.
Just to let you know: It is one database with two companies. But I don`t know what this could have to do with it.
Thanks for any ideas
0
Comments
This looks like a big hole that clients can take advantage of.
I bet a lot of clients would want to move to sql 2005 just for this reason.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I opened clients to reach 77 users.
Tried to log in as sa and got the license error.
Tried to log in as regular user and got in. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
:-$
http://www.BiloBeauty.com
http://www.autismspeaks.org
To "prevent" that you need to do "GRANT VIEW SERVER STATE TO <login name> " to grant access for al users to server state table.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Well because otherwise they would get something for free, and I don't think customers would want that :whistle:
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Hmm well this is an all MVP thread, so it looks like MSFT got their money's worth from us.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
I realize that, but MVPs don't ask questions, we solve them. By the way there was a level of sarcasm/humour in my post :whistle:
Nonetheless, I think the original poster deserves an MVP by discovering this bug? I'm sure the end users would definately vote him MVP.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
what else does SP3 do? cause it better worth it!!!!!!!!!!!
else no thanks!
http://www.BiloBeauty.com
http://www.autismspeaks.org
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I have posted some questions lately ... and I'm an MVP ... oeps :oops:
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Trace flag 4616 could be enabled now on any SQL 2005
DBCC TRACEON(4616,-1)
This will solve problems.
As Kine mentioned - this trace flag will be required by NAV.
01.) Open the Start Menu
02.) Go to Microsoft SQL Server 2005 Group
03.) Go to Configuration Tools Group
04.) Click on SQL Server Configuration Manager
05.) Click on SQL Server 2005 Services
06.) Right-click on SQL Server ($INSTANCENAME) and click on Properties
07.) Click on the Advanced tab
08.) Go to Startup Parameters
09.) Enter the string so that it looks as follows (notice the end is the only change):
-dC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf;-eC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG;-lC:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf;-T 4616
10.) Click OK
11.) Restart the SQL Server service
Vice President, Deployment Operations
Symbiant Technologies, Inc.
http://www.symbiantsolutions.com
Kane Can you please explain me how to use that command? ](*,) ](*,)
I've tried to use it but it returns me always an error! ](*,) ](*,)
http://www.mibuso.com/dlinfo.asp?FileID=1123
You should just need to add the 4616 trace flag instead of granting permissions to viewing the server state. This is the method that Microsoft is recommending for users w/ 4.0 SP3+.
Vice President, Deployment Operations
Symbiant Technologies, Inc.
http://www.symbiantsolutions.com
I noticed this is the best way to go.
When connecting remotely (via Management Studio) to SQL Server and setting the traceflag with command, didn't do the job for me, only locally on my laptop it did ](*,) .
When doing it locally with the Configuration Manager, it worked.
:-k
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
To set the flag globally, you need to use DBCC TRACEON (4616,-1)...
(the second parameter is what you need... :-) but of course after restart the flag will be lost, if it is not set in the startup parameters...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
So what you're saying, if you do DBCC TRACEON, that "startupparameters" are not affected ... then going through the "configuration manager" really is the best way to go
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
The first thing is that Microsoft says the following (in general) about trace flags:
"If you enable traceflag 4616, SQL Server turns off catalog permission checks completely for application roles. This solution is recommended for upgrading old applications to the new version, but probably leaves your master database more exposed than you might like, as it applies to all tables in the master database. It should be used as a temporary solution only."
My conclusion is that, if SQL Server is only used with NAV, it should not be a problem to set this flag. But if you have more applications that have a different security system, users might be able to check for other application roles than the one they were assigned by the system.
What do you think about this?
Regards
Mike.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Hi Scott,
I have the same problem about the number of the sessions is also exceed the number of users permitted in the license although I have set the trace flag -T4616 in the SQL Server Configuration Manager. I'm using NAV 4 SP3 with SQL Server 2005. There are many of same connection id, user id, login type, idle time (blank), login date, login time, database name, host name, cpu time, memory usage, physical IO, wait time, blocking connection (other connection id), blocking host name in the NAV session.
Why could this happen? Because if we are open 2 NAV, we will get different connection ID.
Please help me. Thank you.
Johanna