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
mgmhicksAsked:
Who is Participating?
 
CodeCruiserConnect With a Mentor Commented:
>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
 
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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
CodeCruiserCommented:
Did you precompile the website?
0
 
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
 
mgmhicksAuthor Commented:
CodeCruiser you truely are the man.  That worked great!  Thank you.
0
 
CodeCruiserCommented:
Glad to help :-)
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.