After successfully restoring our clients database from SQL Server 2000 to SQL Server 2005, I attempt to connect and receive the following error in Navision:
The Session table contains a Navision Attain field data type that is not compatible with the SQL Server data type:
Field: Wait Time (ms)
Type: Integer
SQL type: BIGINT
I looked at all the tables in the database and [SESSION] did not show up in the list. However, using QA I can select and view all records from [SESSION]. It seems it’s a hidden table. I also suspect, if errors are being thrown on that table, then other tables with have some incompatibilities as well.
Is 3.6 compatible with SQL Server 2005? How about Navision 4.0?
TIA
Neil Brewer
Developer
TrinSoft, LLC
0
Comments
RIS Plus, LLC
1. Start Management Studio and connect to your SQL Server.
2. Expand Databases, expand the Navision Database, and expand Views.
3. Right Click on the View dbo.Session and in the Drop Down Menu select
Script view as --> Create to --> New Editor Window.
4. Locate "THEN SP.[waittime]" and change the code to
"THEN CAST(SP.[waittime] AS INT)" (without ")
5. As the view already exists you have to change the CREATE VIEW
command to ALTER VIEW.
You can then run Navision at least 3.7 on SQL Server 2005, but there is another issue. That is the user access. It has so far only been possible to access the database as SQL Server 2005 sysadmin, other users get the message: "The user does not have permission to perform this action." I'm working to solve that issue.
Steen Fisker
Microsoft Certified Professional
Unless ofcourse because of licensing issue.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
I'm having the same issue, I worked around the CAST but now there's no way I can use any other user rather than my sa account on a NAV3.70 on SQL2005; any other attempts end up with "Error 297, User does not have permission to perform this action" while SQL was accessing the table Session.
Has anyone (particularly sfi) found any way to enable any other user to access the db under the mentioned environment?
Thanks for your help.
3.6 is not supported on SQL Server 2005
RIS Plus, LLC
1. Delete the database
2. Replace 3.70's fin.exe and finsql.exe files with those from 4.00SP3 -where, on server and all clients?
3. Create a new database and restore the fbk I got from my old W2K
Does that also include the CAST workaround before installing everything?
Thanks again.
What I am saying is that 3.6 is not supported on SQL Server 2005. Either you do a technical upgrade to a version that IS supported, or you downgrade your SQL Server to 2000.
When you do a technical upgrade, you upgrade all instances of NAV software, including all clients, all database servers (if you use those) all NAS's, everything. It all must be installed from the same product CD.
This is not everything you need to know. Get your solution center involved to guide you through the technical upgrade.
RIS Plus, LLC
Have a nice day.
If I were you, I'd your solution center involved, you clearly need some assistance.
RIS Plus, LLC
Our IT guys conceeded a GRANT VIEW SERVER STATE TO PUBLIC on other users than sysadmin. Now it works, as I said, at least from the server side. Let's see if I can now run a good number of tests to check the executables part you talked about.
Do yourself a favor and listen to the advice. Do a technical upgrade, or use SQL Server 2000, it will save you money in the long run.
RIS Plus, LLC
Method I
1. Client 3.7, connect to sql2005
2. create database on sql
3. restore db from *.fbk
4. Install Nav 4.3 on a client
5. connect with 4.3client to that db
6. System will convert the db n3.7-> n4.3
OR rather:
Method II
1. install the 4.3 client
2. connect to the sql2005 , create new database
3. Restore db from fbk
4. connect with 4.3client to that db
My problem is that a have already made points 1..3 from the first method. Now I am not sure
if i will have to restore the db second time. (it is restoring very very long:(
Jack,
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n