Free Support Forum - groupdocs.com

Problema with integration Viewer with Viewer2.19


#1

Hi muhammad,


After seeing the examples, we have been looking at the examples and doing testing with version 2.19 and serves us perfectly.
Specifically the example shown in https://www.dropbox.com/s/gek4s79wjsig8qo/GroupDocs.Viewer.Mvc.Sample.zip?dl=0

We have created another sample project and we have not had any problems to run the display.

But when we wanted to integrate it with the example in our mvc project browser console gives error to call @Html.CreateViewerScriptLoadBlock (). LoadJquery(). LoadJqueryUi().

We see that all calls to a GetScript y GetCss give us error and cannot be resolved.

For example:
http://localhost:65480/document-viewer/GetScript?name=libs/jQuery-1.9.1.min.js

The global.asax file:

protected void Application_Start)
{

Viewer.InitRoutes ();
Viewer.SetRootStoragePath(Server.MapPath("~/App_Data/")); "
Viewer.EnableFileListRequestHandling (true);

AreaRegistration.RegisterAllAreas ();

FilterConfig.RegisterGlobalFilters (GlobalFilters.Filters);
RouteConfig.RegisterRoutes (RouteTable.Routes);
BundleConfig.RegisterBundles (BundleTable.Bundles);

}

We have also added the entries of


Do it may be something with the http://localhost path:65480/document-viewer?
Do we have to do something with Viewer.InitRoutes call ();?

Do not understand what is the problem since it is equal to the sample project.


We want to do a demo with our project we accept the purchase of the component.

Thank you
Best Regards,
<span style=“font-size:12.0pt;font-family:“Times New Roman”,serif;
mso-fareast-font-family:“Times New Roman”;mso-ansi-language:ES;mso-fareast-language:
ES;mso-bidi-language:AR-SA”>
<span style=“font-size:12.0pt;font-family:“Times New Roman”,serif;
mso-fareast-font-family:“Times New Roman”;mso-ansi-language:ES;mso-fareast-language:
ES;mso-bidi-language:AR-SA”>

#2
We have found the solution with this thread.

http://groupdocs.com/Community/forums/9441/getting-error-the-current-type-groupdocs.web.ui.irootpathfinder-is-an-interface-and-cannot-be-cons/showthread.aspx#9441

Thank you.