Last post Apr 04, 2013 03:18 PM by kedarrkulkarni
Apr 04, 2013 05:58 AM|gzadro|LINK
I've just deployed my web site to different machine and i am getting error that page is missing some files (classes). Still, files are there but in different path locations. How is this possible? I've deployed site by going to Site -> Publish method.
How to fix this and where are this "hardcoded" paths located in config files?
Apr 04, 2013 06:20 AM|kedarrkulkarni|LINK
I've just deployed my web site to different machine and i am getting error that page is missing some files (classes).
what exactly is error message?
Apr 04, 2013 06:35 AM|gzadro|LINK
Browser is saying that Page is requesting method X() and can't find it in C:/folder1/folder2/ClassName.cs.
Sure, there is no class on that location, but this class is part of the project which is referenced to site and there is dll of this project in bin folder of the site
Apr 04, 2013 03:18 PM|kedarrkulkarni|LINK
if the error message is displaying file path where file actually does not exist, then it might be that it is coming from pdb file...
when u compiled on local machine, the information is stored in .pdb file... then u may have copied all files to new machine along with pdb...
try removing all .pdb files from bin folder of application directory.... and run the site...
hope this helps...