This is a migrated thread and some comments may be shown as answers.

Error with Precompiled site when upgrading

4 Answers 160 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Thomas Salt
Top achievements
Rank 1
Thomas Salt asked on 10 Jan 2011, 09:12 PM
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

4 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 14 Jan 2011, 02:10 PM
Hello Thomas,

Thank you for contacting us.

I revise the described case; however I’m still not completely sure how exactly it could be replicated. Could I kindly ask you to open a formal support ticket and send us the mentioned samples so we could revise them locally and advise you further?


Kind regards,
Maria Ilieva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Thomas Salt
Top achievements
Rank 1
answered on 14 Jan 2011, 02:10 PM
...
0
Scott
Top achievements
Rank 1
answered on 03 May 2011, 08:57 PM
Hi,
    I am too experiencing same problem. Any  further details on how to avoid this ?
0
Maria Ilieva
Telerik team
answered on 09 May 2011, 12:24 PM
Hello John,


The problem in this case was that the already precompiled dll's have been used in all the application on the server which are using different dll files. Telerik dll files does not support interchanging different precompiled dll files and you must upgrade all the applications to the dll version you need in order to have them in all precompiled applications.


Kind regards,
Maria Ilieva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
General Discussions
Asked by
Thomas Salt
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Thomas Salt
Top achievements
Rank 1
Scott
Top achievements
Rank 1
Share this question
or