Free Support Forum - groupdocs.com

Issue with GroupDocs.Viewer for Kentico 8 plugin: images are not rendered in the Viewer


#1
We currently run Kentico version 8.1 and we just got our groupdocs plugins optimized by your support team. We have tried working with the guide without success. The guide provided shows installing the plugin for a KenticoCMS Project, but we run the KenticoCMS website so we do not have an app_code project. we tried manually implementing the plugin and though it loads the viewer as displayed in the screenshot attached, no image is rendered. Even the viewer icons are not rendered. it appears to be a problem with the handlers rendering of the images. Also the web part gives an error when added to a page;

Message: Could not load type CMSWebParts_DocumentLibraryViewer_DocumentLibraryViewer'.

Exception type: System.Web.HttpParseException

Stack Trace: at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)

at System.Web.UI.TemplateParser.Parse()

at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()

at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)

at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()

at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()

at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)

at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)

at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)

at CMS.PortalControls.CMSWebPartZone.LoadWebPart(Control container, CMSWebPartZone zone, WebPartInstance part, Boolean reloadData, Boolean isVariant)

Message: Could not load type 'CMSWebParts_DocumentLibraryViewer_DocumentLibraryViewer'.

Exception type: System.Web.HttpParseException

Stack Trace:

at System.Web.UI.TemplateParser.ProcessException(Exception ex)

at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

Message: Could not load type 'CMSWebParts_DocumentLibraryViewer_DocumentLibraryViewer'.

Exception type: System.Web.HttpException

Stack Trace:

at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError)

at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly)

at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData)

Please help with this issues as we already have valid Groups Priority Support + Kentico v8.1 - GroupDocs.Viewer for .NET Plugin

Regards


#2

Hello Ebenezer,

We are sorry to hear that you have this issue.

Am I correct, that during the installation of the Kentico CMS you’ve selected an “Install Kentico as a Web Site Project” option, and not “Install Kentico as a Web Application Project” option? If yes, this fact explains why you have troubles - WSP simply doesn’t have a “.ascx.designer.cs” file, so that’s why you have the exception “Could not load type CMSWebParts_DocumentLibraryViewer_DocumentLibraryViewer’”.

Please clarify that moment, because, if our suggestion is valid, it requires to create a new version of the Viewer plugin especially for WSP. Maybe, you have some other “exotic” options enabled in your configuration? In which mode the application pool works? Which version of .NET Framework and the IIS are you using?

Thanks and waiting for your reply.


#3

Hi Denis,


Thanks.

We are running a web project with IIS ver 8.5, .NET Framework version is 4.0. The image attached shows the application pool



Regards