We have a site that we precompile using Visual Studio 2008. We go to Build > Publish Web Site to build the DLL and COMPILE files for our precompiled website. The only checkbox we have checked on this page is "Use fixed naming and single page assemblies". Until this last upgrade from 2010.1.509.35 to 2010.3.1215.35 we have had no issues when trying to update individual precompiled pages. For example if we make changes to Default.aspx and then precompile it into default.aspx.######.compiled and App_Web_Default.aspx.######.dll we were able to take these two files and put them into the bin directory on our production server. Thus elimnating the need to update the entire bin folder for every single update.
It seems however that recently if we are using 2010.3.1215.35 in our deveolpment environment, precompile our pages, and put them on the production server (which has the 2010.1.509.35 dll's) we are getting issues. In particular the "File has not been pre-compiled, and cannot be requested".
To reproduce this error in it's simplest form I created two WebApplications each with just one Default.aspx page. Site1 and Site2. I use the Q1 release in Site1 and Q3 release in Site2. I then precompile both of these sites. When I copy the precompiled default files (.dll and .compiled) from Site2 to Site1 we get the error described above. We have not had these issues previously and I am hoping you can provider assistance. I tried to attach the two sites for your convenience, but am only able to attach images.
Thank You
It seems however that recently if we are using 2010.3.1215.35 in our deveolpment environment, precompile our pages, and put them on the production server (which has the 2010.1.509.35 dll's) we are getting issues. In particular the "File has not been pre-compiled, and cannot be requested".
To reproduce this error in it's simplest form I created two WebApplications each with just one Default.aspx page. Site1 and Site2. I use the Q1 release in Site1 and Q3 release in Site2. I then precompile both of these sites. When I copy the precompiled default files (.dll and .compiled) from Site2 to Site1 we get the error described above. We have not had these issues previously and I am hoping you can provider assistance. I tried to attach the two sites for your convenience, but am only able to attach images.
Thank You