Profile page - Error parsing the template
Sitefinity 5.3 - When one of my users clicks the "profile" link, they receive an "error parsing the template" message, and can't do anything on that page. How do I resolve this?
While we don't know the cause of this error, an upgrade from 5.3 to 5.4.4010 fixed this.
Hi,
It is possible that you have made some changes to the Profile page. Would it be possible for you to go to Administration -> Backend pages, select Profile page, then click Action -> Title & Properties and review its Title, Title for search engines and Description, they must match the flowing strings.
Title: $Resources: PageResources,ProfileTitle
Title for search engines: $Resources: PageResources,ProfileHtmlTitle
Description: $Resources: PageResources,ProfileDescription
Greetings,
Stanislav Velikov
the Telerik team
We have version 5.4.4010 and are having the same issue. Any user that clicks the profile link sees their username, email, and then the message: Error parsing the template. I checked the backend pages for the profile page and everything looks the same as shown above.
Hello,
The changes to the backend page from the previous reply are the cause of the issue I have faced and they should resolve the problem. If not can you open a support ticket and if possible grant me temporary backend access to the site to examine the issue occurring I will be able to provide better feedback.
Regards,
Stanislav Velikov
Telerik
Hello Stanislav,
I verified the values for the three fields you mentioned. All three are set exactly to what you published. When I click on "Save changes" I get "The 'Title for serach engines' contains invalid symbols. See attached screenshot. We are on version 5.4.4010.0.
Hi,
I would like to investigate further what is causing the problem as it appears to be not related to the solutions provided here, if possible can you open support ticket and share temporary credentials for site access so I can inspect the issue and more detail?
Regards,
Stanislav Velikov
Telerik
We are using Version 6.1 and are having the same problem.
We can open a support ticket, but if the problem is so common, why not make the solution available to all?
Hello,
The problem could be caused by two things:
1. An upgrade that has not passed and the system is not able to the template of the control
2. Custom filed that has been added to the basic user profile
If the problem is coming from an upgrade my suggestion is to follow the steps below:
1. Open your project in Visual Studio
2. Go to App_Data -> Sitefinity -> Configurations -> SystemConfig.config
3. Change the build from: build="4300" (or the one that you are using) to build="4000"
4. Save the file
5. Build your project and make a dummy change in your web.config file and save it.
6. Run your project
Please backup your database and code, before changing the build number.
The other reason of the problem could be a custom field that is added to the basic user profile. Please check whether you have custom field and review them. You could set up a test project (copy project files and backup the database, restore the database and set up the project again) test removing the fields one by one to see which is the problematic field and remove it or
Regards,
Stefani Tacheva
Telerik