Path error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rcoco

    #1

    Path error

    Hi everybody,
    I'm having a problem with my website. This website works well but when
    I deploy it on the server and try to use it on another computer I get
    this error: "The network path was not found".
    what could be the problem?
    Thanks.

  • Eliyahu Goldin

    #2
    Re: Path error

    Perhaps the site refers to some resource located on the path that exists on
    the development machine but not on the server.

    --
    Eliyahu Goldin,
    Software Developer & Consultant
    Microsoft MVP [ASP.NET]



    "rcoco" <nclauder@yahoo .cawrote in message
    news:1175148069 .114686.26060@e 65g2000hsc.goog legroups.com...
    Hi everybody,
    I'm having a problem with my website. This website works well but when
    I deploy it on the server and try to use it on another computer I get
    this error: "The network path was not found".
    what could be the problem?
    Thanks.
    >

    Comment

    • rcoco

      #3
      Re: Path error

      Hi,
      Could this code be the problem?
      string
      DomainUser=Syst em.Security.Pri ncipal.WindowsI dentity.GetCurr ent().Name.Repl ace("\
      \","/");
      System.Director yServices.Direc toryEntry ADEntry = new
      System.Director yServices.Direc toryEntry("WinN T://"+DomainUse r);
      myCommand.Param eters["@Name"].Value=
      st6.Text=(ADEnt ry.Properties["FullName"].Value.ToString ());
      Thanks

      Comment

      • dot

        #4
        Re: Path error

        Hi,

        i had the same problem with some free ASP Net Servers (and on VS
        Development ASP Net Server on One Station).

        So this is how we tried to fix the problems with VS Development Server:

        - Check File Permission
        - Increase Permissions on Network/Local (...) File System in IE
        - Error occurs only when DBVS (e. g. BDE) tries to access data

        After two days we reinstalled the workstation and all works fine :-)

        Now the second problem, free ASP Net Server, same error, same checks.
        Neither of it works, thus we kept looking (we need some free ASP Server
        thus Windows 2003 was not possible).

        Finally we installed Abyss Webserver and with it all works fine. No
        error "The network path was not found".

        Maybe this will help you. (However you should check out
        Server.MapPath( ..), as your code doesn't as far).

        Mfg,

        _MC_


        rcoco wrote:
        Hi,
        Could this code be the problem?
        string
        DomainUser=Syst em.Security.Pri ncipal.WindowsI dentity.GetCurr ent().Name.Repl ace("\
        \","/");
        System.Director yServices.Direc toryEntry ADEntry = new
        System.Director yServices.Direc toryEntry("WinN T://"+DomainUse r);
        myCommand.Param eters["@Name"].Value=
        st6.Text=(ADEnt ry.Properties["FullName"].Value.ToString ());
        Thanks
        >

        Comment

        Working...