Networking Forums

Networking Forums > Computer Networking > Windows Networking > how to fix The specified network name is no longer available

Reply
Thread Tools Display Modes

how to fix The specified network name is no longer available

 
 
vijay singh
Guest
Posts: n/a

 
      12-10-2008, 05:19 PM
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
 
 
 
 
Rahisuddin Shah
Guest
Posts: n/a

 
      12-11-2008, 02:22 PM
Hi
I am not sure you will get reply here.
try other post also

--
Rahisuddin Shah
MCSE - MCSA - ITIL
"vijay singh" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network name is no longer available AlphaDX Windows Networking 0 11-28-2007 06:17 PM
The Specified network name is longer available kriz117 Windows Networking 3 11-17-2005 12:39 PM
No longer on the network J. Michael Morse Windows Networking 5 11-06-2005 06:06 PM
Network no longer available CMAR Windows Networking 1 10-08-2004 03:25 PM
specified network name is no longer available Dean Landry Windows Networking 6 04-13-2004 03:29 PM



1 2 3 4 5 6 7 8 9 10 11