Learn how to a build a cloud-first strategyRegister Now

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

Problem with error Could not load type 'eSiteCompanionDevelopement.frmInspectionMain'.

I have a web project and I added a few pages to the developement machine.  Then I did a copy to website to get pages on production machine.  When I load the pages I get  "Could not load type eSiteCompanionDevelopement.frmInspectionMain.

Any ideas what to try.

thanks
0
mgmhicks
Asked:
mgmhicks
  • 4
  • 3
1 Solution
 
strickddCommented:
make sure all the files are copied to the server. Make sure that all DLLs that are used are either in the BIN folder or in the GAC on the server. If this is a web application project, make sure to build the entire site before you deploy.
0
 
mgmhicksAuthor Commented:
I can normally edited a existing page and just use the copy web site option to copy changed pages.  What is not being update by just copying the aspx.vb, aspx, aspx.designer.vb files over to the website.  And what DLLs change when I change the local copy if I hadnt done anything but create a new page.

thanks
0
 
CodeCruiserCommented:
Did you precompile the website?
0
Technology Partners: 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!

 
CodeCruiserCommented:
Is there anything in App_Code folder?
0
 
mgmhicksAuthor Commented:
On developement or on the production folder?  My web production has in bin the 3 files pdb,dll, and xml file all the same name.  Now the bin folder on my developement has 3 files, but those are of a different name.  Do I have to copy my local bin files to the production bin to get it to work.

Not sure how to precompile the existing web site.
 
0
 
CodeCruiserCommented:
>Now the bin folder on my developement has 3 files, but those are of a different name.  Do I have to copy my local bin files to the production bin to get it to work.

Yes.
0
 
mgmhicksAuthor Commented:
CodeCruiser you truely are the man.  That worked great!  Thank you.
0
 
CodeCruiserCommented:
Glad to help :-)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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