[Urgent] relocate .net application

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?
LVL 9
ddlamAsked:
Who is Participating?
 
sachiekConnect With a Mentor Commented:
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

Sachi
0
 
sachiekCommented:
You need to re-complie your project.

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


Sachi
0
 
ddlamAuthor Commented:
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.
0
 
ddlamAuthor Commented:
works nicely, there is a file call *.vbproj.webinfo
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.