[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

[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?
0
ddlam
Asked:
ddlam
  • 2
  • 2
1 Solution
 
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
 
sachiekCommented:
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
 
ddlamAuthor Commented:
works nicely, there is a file call *.vbproj.webinfo
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now