Re: The specified network name is no longer available

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



placed on network machine. Just I want to know is access database is
helping to break network connection.

No Access works just fine over the network.

The specified network name is no longer available" - when try
execute GetFileAttributes() and then program report error "Disk or network
error". This error is related to access database.

When program restore access database connection program works fine for few
hours. Please suggest me if you have any idea to fix issue.


I have seen this error and the disconnect when the computer has the wrong
entry on it for the Alternate DNS server.

hours. Please suggest me if you have any idea to fix issue.

From my first post:

I would start by verifying that the server where you are seeing this
message has the correct DNS entries for Primary and Alternate DNS servers.
These should be DNS servers in your AD domain.



hth
DDS


"vijay singh" <vijaysingh@xxxxxxxxxxxxxxx> wrote in message
news:%23NWAxI5WJHA.4852@xxxxxxxxxxxxxxxxxxxxxxx
Hi Danny,

I am fecing this problem from last one week. Earlier it was working fine.
Problem appear some time after 5-6 hours. Network connection get restore
within a minute.

I want to mention one more thing here that program use ms-access database
placed on network machine. Just I want to know is access database is
helping to break network connection. I have noticed the sequence of errors
reported by program is "The specified network name is no longer
available" - when try execute GetFileAttributes() and then program report
error "Disk or network error". This error is related to access database.

When program restore access database connection program works fine for few
hours. Please suggest me if you have any idea to fix issue.

Thanks,

Vijay

"Danny Sanders" <DSanders@xxxxxxxxxxxxxxx> wrote in message
news:OdGGTWvWJHA.3808@xxxxxxxxxxxxxxxxxxxxxxx
I would start by verifying that the server where you are seeing this
message has the correct DNS entries for Primary and Alternate DNS servers.
These should be DNS servers in your AD domain.

hth
DDS



"vijay singh" <vijaysingh@xxxxxxxxxxxxxxx> wrote in message
news:%233x8CQvWJHA.868@xxxxxxxxxxxxxxxxxxxxxxx
Environment

Platform - VC 2005, Window server 2003


Hi,

We have developed multithreaded service application which can run 24x7.
I
have used two machines to run test. First machine (M1) on which service
is
running.

Second machine (M2) on which Microsoft Access Database and half million
text
file are placed. More than 20GB of disk space are available on both
machines.

Using API GetFileAttributes() to check directory is present on network
machine or not.



More than one thread from Machine(M1) checks for a directory is present
on machine(M2) or not.



This process is working for 30 to 60 minuts. After that program is
returning error "The specified network name is no longer available" when
try to check perticular directory is exist on network machine.





Calling CoInitializeEx(NULL,COINIT_MULTITHREADED) and CoUninitialize()
when
thread start and end respectively.


It will be great help if I get response from someone to fix error "The
specified network name is no longer available" occurred during call of
API GetFileAttributes().




Thanks in advance,
vijay








.



Relevant Pages

  • Re: Does Access Support Concurrent Users?
    ... having everyone trying to 'hit' the same file on the network at the ... the data in one Access database, ... Link that second Access database to the tables/data in the one on the ... What happens when all 5 employees are working from the file at once? ...
    (microsoft.public.access.gettingstarted)
  • Re: Output to a text file
    ... specification that you created and stored in the ACCESS database. ... all the screens to set the field specs, field names, etc., then on the last ... people access it by a mapped network drive. ... Where do i find this filespec and how do I export it to other ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Writing Data to Access Database on Network
    ... I have tested on a network and it works fine, ... I have a Shopping Cart application which uses a Access database. ... If i run the app on a standalone system and using another ...
    (microsoft.public.dotnet.framework)
  • Re: The specified network name is no longer available
    ... Network connection get restore ... This error is related to access database. ... When program restore access database connection program works fine for few ...
    (microsoft.public.windows.server.general)
  • Re: Linked tables and icon setup in network environment
    ... simple thing like link tables for network use. ... >> We have an Access database that runs a report with linked tables to ... >> tables from the one database that runs the report to the other database, ... >> how they are connected to the WIP folder? ...
    (microsoft.public.access.externaldata)