[Urgent] relocate .net application

Posted on 2005-05-02
Last Modified: 2010-04-07
I am writing a school web site.
Even I move the whole project (including .vbproj, .vb, .resx, .asax...etc)
I got so many error such as "Could not load type *.WebForm1".

However, I have to place the pages in several folder such as /student, /teacher, /staff ...etc

How can I safely move the page or locate the page to different directory?
Question by:ddlam
    LVL 11

    Expert Comment

    You need to re-complie your project.

    Or you use Copy project feature avilable with Visual studio 2003 IDE itself.

    LVL 9

    Author Comment

    How to re-complie the project?

    After I moving the project, I can't open the *.vbproj.
    It alerts me the path of project is incorrent.
    LVL 11

    Accepted Solution

    I assume it is a web project.

    When you relocate to another PC or server make sure your project's webinfo file point to correct virtual directory.
    If there is no virtual directory you need to point to correct one.

    Look for <FileName>.webinfo.cs or vb

    LVL 9

    Author Comment

    works nicely, there is a file call *.vbproj.webinfo

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
    In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now