Results 1 to 4 of 4

Thread: The specified network name is no longer available

  1. #1
    vijay singh Guest

    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



  2. #2
    Danny Sanders Guest

    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
    >
    >




  3. #3
    vijay singh Guest

    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
    >>
    >>

    >
    >




  4. #4
    Danny Sanders Guest

    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
    >>>
    >>>

    >>
    >>

    >
    >




Similar Threads

  1. Replies: 3
    Last Post: 09-01-2014, 10:05 AM
  2. Error 55: The specified network resource is no longer available
    By Ryan21 in forum Networking & Security
    Replies: 5
    Last Post: 26-03-2010, 04:47 AM
  3. XPS 410 no longer recognizes network/internet
    By boonetrace in forum Networking & Security
    Replies: 5
    Last Post: 19-06-2009, 05:03 PM
  4. Wireless network key is no longer valid
    By Dragan in forum Networking & Security
    Replies: 6
    Last Post: 25-03-2009, 01:46 PM
  5. how to fix The specified network name is no longer available
    By vijay singh in forum Windows Server Help
    Replies: 1
    Last Post: 11-12-2008, 08:52 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,653,119.62376 seconds with 17 queries