I am trying to connect to a Nav Database Server (ver. 5.01), and I'm getting the following error:
The operating system returned the error (64):
The specified network name is no longer available.
I have a batch file that I use to create, or re-create, the service. When I run this batch file, the service is
created without problem; I can also re-start the service, and no problem is reported.
I also checked the hosts and services file - the service name is there, in fact the files haven't been modified for
a few months, and the service was working fine till yesterday.
When I specify the database name and network path, instead of the service name, I manage to open the database
without problem. I copied-and-pasted the database name and network path from the batch file mentioned above.
The first time I opened the database this way, I got the "recovering free blocks" message, but after that I
re-created the service and still got the error above when trying to connect to the service.
I make sure to use TCP as Net Type, both when creating the service and when trying to connect.
Does anyone know how to resolve this?
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
It's always been like that as far as I know, but this problem only appeared last week.
Other services are also running as NETWORK SERVICE, and they never gave this problem.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
The folder and the actual database file .fdb are both giving "Full Control" to "Everyone", so it doesn't look like a permissions error.
The error doesn't say that there's a problem finding the database file, but the network name.
There is another database in the same folder, with its own Database Service (which is also running as NT AUTHORITY\NetworkService), and that service works fine, so it doesn't seem that there's any problem with the folder.
The SERVER.EXE for these two services (and the folders they're in) also have the same permissions.
Something seems to disrupt the connection from VM1 to DYNASERVER.
There are other services on VM1 for other classic databases, and also Database Servers for RTC and WebServices. However, these have worked before, and are currently working well, so it doesn't seem that they are the cause of the problem.