Installation and deployment
Version 2.x > Installation and deployment > Problems faced after installation of CMS in a new server View modes: 
User avatar
Member
Member
bijo-7strata - 11/26/2009 6:17:29 AM
   
Problems faced after installation of CMS in a new server
Hi, We had to migrate one of our customer website from one server to another server hardware. Once we configured the site using the Kentico CMS software, we are getting the following error while opening the default page. Request you to help in fixing the same. We are using version 2.1.e.

Compiler Error message : CS0117: 'Functions does not contain a definition for 'TrimText'

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 11/26/2009 10:32:29 AM
   
RE:Problems faced after installation of CMS in a new server
Hi,

Could you please post complete error message you are getting?

Best regards,
Miroslav Remias.

User avatar
Member
Member
bijo-7strata - 11/27/2009 6:06:15 AM
   
RE:Problems faced after installation of CMS in a new server
Below is the full error message that we get in the server
Compilation Error
An error occurred during the compilation of a resource required to service the request. Please review the following specific error details and modify your source code appropriately.

CS0117: 'Functions' does not contain a definition for 'Trim Text'

Source Error:
Line 9: <%# Functions.TrimText(Eval("ArticleIntroText").ToString(),150) %> <br />

Source File: /CMSTransformations/23f5e12e-5057-4f26-8a17-55670051c2c6/cms/root/searchresults.ascx Line:9

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 11/27/2009 7:25:16 AM
   
RE:Problems faced after installation of CMS in a new server
Hello,

Could you please make sure, there is a function defined called "TrimText"?

Best regards,
Boris Pocatko