The operating system returned the error (64):

afarr
Member Posts: 287
I am trying to connect to a Nav Database Server (ver. 5.01), and I'm getting the following error:
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?
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?
Alastair Farrugia
0
Comments
-
Is the service running under same account under you are trying to open the files?0
-
No, the service is using the NT AUTHORITY\NetworkService login.
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.Alastair Farrugia0 -
Yes, but it could be connected to this. Check, that the service account could access the files (check permissions on the files, folders etc.)...0
-
Thanks for the suggestions, but unfortunately I still can't find what's causing the problem.
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.Alastair Farrugia0 -
We found that this problem is intermittent - we do sometimes manage to connect to the service after restarting VM1, the machine where the service runs - this is different from DYNASERVER, the machine hosting the database, which we haven't restarted.
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.Alastair Farrugia0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions