RS First Dynamics NAV Blog


...from NAV 3.60 to NAV 2013
Archivio Posts
Anno 2015

Anno 2014

Anno 2013

Anno 2012

Anno 2011

Anno 2010

Anno 2009

Anno 2008

Anno 2007

Microsoft Dynamics NAV 4.x and Windows Vista

"Microsoft Dynamics NAV 4.x is not officially supported on Windows Vista".

Fino alla versione SP2 può essere però utilizzato apportando alcune modifiche manuali alla configurazione come suggerito in alcuni blogs:

Solution TIPS found on:  http://demiliani.com/blog/archive/2006/09/27/4135.aspx --> tricks in order to run it with the new OS.

 

SOLUTION:

However, there's a problem when you try to connect to a SQL Server database due to a wrong MDAC detection.

The cause of this problem is the unified versioning of all DLL that Vista has. My friend Kine has found a trick that I want to share with you (reported here in order to don't loose it, it can be useful in future):

As he explain, Navision is detecting MDAC version through File version of SQL ODBC driver (sqlsrv32.dll). On Windows XP you can see version like 2000.85.1117.0 etc, but on Vista the file has version 6.0.5600.16384 and this is “less" than the requested version. Changing MDAC detection in Navision is no way.

The trick to run Dynamics NAV 4.x on Vista is this:

  1. You need some resource editor tool, for example the Resource Hacker application

  2. Copy the file sqlsrv32.dll from your Vista system32 folder to another place.

  3. Open this copy in the resource editor

  4. Change FILEVERSION value to new value e.g. 2000.85.1117.0 (in the header of Version info ressource)

  5. Compile the resource

  6. Save the file (backup original file!)

Now you need to copy the file back into system32 folder. But under Vista, this is not easy task. The file cannot be changed because just installer has enough rights.

Replacing original file with modified one:

  1. Open properties of the original file

  2. On the Security tab click Advanced

  3. On the Owner tab click Edit

  4. Select new owner of the file, for example your account

  5. Commit all changes

  6. Change permissions for your account to have all rights
  7. Commit all changes
  8. Now you are able to delete the file – delete it

  9. Copy the modified file into system32 folder

Thanks a lot Kine...

I hope that this problem with MDAC will be solved with the next Service Pack releases for Dynamics NAV (SP3 is attended in a near future but there's no sign for this problem).

 

Official issue by Blog Kine (MVP) :

http://msmvps.com/blogs/kine/archive/2006/09/14/MBS-Navision-with-MS-SQL-Option-and-Vista-RC1.aspx

Categoria: Dynamics NAV ALL
lunedì, 04 giu 2007 Ore. 17.04
Statistiche
  • Views Home Page: 337.697
  • Views Posts: 708.576
  • Views Gallerie: 0
  • n° Posts: 345
  • n° Commenti: 0
Copyright © 2002-2007 - Blogs 2.0
dotNetHell.it | Home Page Blogs
ASP.NET 2.0 Windows 2003