How to deal with “Error loading the web part XY” error message in Azure application?

Kentico Support Engineer asked on February 4, 2013 20:08

How to deal with “Error loading the web part XY” error message in Azure application?

Correct Answer

Kentico Support Engineer answered on February 4, 2013 20:08

You may receive the following type of error message in your Azure web application, which is most likely related to some custom web part:
[Error loading the WebPart 'XY' of type 'YZ']
The file '/CMSWebParts/<category>/<XY>.ascx.cs' does not exist.


The most likely reason for this error is if the web part files were not included into the project before deployment to the Azure environment.  The compilation produces a single CMSApp.dll file which is used instead of the physical controls.  If the web part files are not included in the project before compilation starts, they are missing in the CMSApp.dll file and cannot be loaded on the site.

-rm-
0 votesVote for this answer Unmark Correct answer

Recent Answers


Andrey Martynenko answered on October 9, 2014 10:36

i have this error Message: The file '/CMSVirtualFiles/WebPartLayouts/=vg=c58791db-b5fb-4347-a0c7-bc3b0809894f/{webpartcodename}/{webpartfile}.ascx.cs' does not exist.

i have web site application. what a reason?

0 votesVote for this answer Mark as a Correct answer

Andrey Martynenko answered on October 9, 2014 10:36

all virtual files in database

0 votesVote for this answer Mark as a Correct answer

Radek Macalik answered on October 9, 2014 12:22

Hello.

If you are facing any technical issue like this, please send us an e-mail to support@kentico.com. This FAQ article deals only with specific issue about web parts. If you think your issue has the same pattern, please make sure that all your files within /CMSVirtualFiles/WebPartLayouts folder are included into a project before its deployment. Otherwise, please send us an e-mail to e-mail address above, or open new topic in Questions & Answers section on our Devnet. Thank you.

Best Regards, Radek Macalik

0 votesVote for this answer Mark as a Correct answer

Chetan Sharma answered on July 13, 2015 19:55

@Support - So what is the solution for this?

Thanks, Chetan

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.