Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



The specified network name is no longer available

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 10-12-2008
vijay singh
 
Posts: n/a
The specified network name is no longer available

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



Reply With Quote
  #2  
Old 11-12-2008
Danny Sanders
 
Posts: n/a
Re: The specified network name is no longer available

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@abosoftware.com> wrote in message
news:%233x8CQvWJHA.868@TK2MSFTNGP06.phx.gbl...
> 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
>
>



Reply With Quote
  #3  
Old 11-12-2008
vijay singh
 
Posts: n/a
Re: The specified network name is no longer available

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@NOSPAMciber.com> wrote in message
news:OdGGTWvWJHA.3808@TK2MSFTNGP05.phx.gbl...
>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@abosoftware.com> wrote in message
> news:%233x8CQvWJHA.868@TK2MSFTNGP06.phx.gbl...
>> 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
>>
>>

>
>



Reply With Quote
  #4  
Old 11-12-2008
Danny Sanders
 
Posts: n/a
Re: The specified network name is no longer available

> 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@abosoftware.com> wrote in message
news:%23NWAxI5WJHA.4852@TK2MSFTNGP04.phx.gbl...
> 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@NOSPAMciber.com> wrote in message
> news:OdGGTWvWJHA.3808@TK2MSFTNGP05.phx.gbl...
>>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@abosoftware.com> wrote in message
>> news:%233x8CQvWJHA.868@TK2MSFTNGP06.phx.gbl...
>>> 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
>>>
>>>

>>
>>

>
>



Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "The specified network name is no longer available"
Thread Thread Starter Forum Replies Last Post
Cannot copy FILE: The specified network name is no longer available Paul Kus Windows Server Help 3 09-01-2014 10:05 AM
Error 55: The specified network resource is no longer available Ryan21 Networking & Security 5 26-03-2010 05:47 AM
XPS 410 no longer recognizes network/internet boonetrace Networking & Security 5 19-06-2009 06:03 PM
Wireless network key is no longer valid Dragan Networking & Security 6 25-03-2009 02:46 PM
how to fix The specified network name is no longer available vijay singh Windows Server Help 1 11-12-2008 08:52 PM


All times are GMT +5.5. The time now is 03:16 AM.