We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Component not showing properly

Thread ID:





118166 Feb 6,2015 04:43 PM UTC Feb 9,2015 09:51 AM UTC ASP.NET MVC (Classic) 1
Tags: PdfViewer
Miguel Martinez
Asked On February 6, 2015 04:43 PM UTC

Hi, im triyng to use the PDF Viewer component but its not working.

I have add the assemblies and namespace reference but after compiling the pdf viewer component is showing this way.

@using Syncfusion.PdfViewer.Mvc;
@using Syncfusion.Mvc.Shared;
@using Syncfusion.Mvc.Tools;
@using Syncfusion.Mvc.Pdf;

@{ Html.Syncfusion().PdfViewer("PdfViewer")
        .Render(); }

Im using MVC 5. I have attached a picture of the page.

Attachment: Sin_título_1fdc29c0.zip

Deepak Gunasekaran [Syncfusion]
Replied On February 9, 2015 09:51 AM UTC

Hi Miguel,

Thank you for your interest in Syncfusion products.

We are not able to reproduce the problem in creating sample using MVC5 as in your screenshot. This problem may occurred due to missing <handlers> in Web.config. We have attached a PdfViewer sample in ASP.NET MVC Classic using MVC5 in the following link for your reference.



In this sample we have included the following snippet inside <system.webServer>


      <remove name="syncfusion_generatepdf" />

      <remove name="MvcResourceHandler" />

      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />

      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />

      <remove name="ExtensionlessUrlHandler-Integrated-4.0" />

      <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />

      <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />

      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />

      <add verb="*" path="syncfusion_generatepdf.axd" name="syncfusion_generatepdf" type="Syncfusion.PdfViewer.Mvc.PdfViewerHandler, Syncfusion.PdfViewer.Mvc, Version=12.4500.0.24, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />

      <add verb="GET,HEAD" name="MvcResourceHandler" path="MvcResourceHandler.axd" type="Syncfusion.Mvc.Shared.MvcResourceHandler, Syncfusion.Shared.Mvc, Version=12.4500.0.24, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />


Please try this sample and let us know if you face any issues.

Thanks and Regards,

Deepak G


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon