Link to home
Create AccountLog in
Avatar of mgmhicks
mgmhicks

asked on

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
Avatar of strickdd
strickdd
Flag of United States of America image

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.
Avatar of mgmhicks
mgmhicks

ASKER

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
Avatar of Nasir Razzaq
Did you precompile the website?
Is there anything in App_Code folder?
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.
 
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
CodeCruiser you truely are the man.  That worked great!  Thank you.
Glad to help :-)