groupdocs-annotation / GroupDocs.Annotation-for-.NET-MVC

Moved to https://github.com/groupdocs-annotation/GroupDocs.Annotation-for-.NET/tree/master/Demos/MVC
https://products.groupdocs.com/annotation/net
MIT License
3 stars 0 forks source link

Uncaught reference errors #47

Closed atirtahirgroupdocs closed 5 years ago

atirtahirgroupdocs commented 5 years ago

Hi, I downloaded this project. It was built successfully. But there is no output, nothing renders in the browser. However, there are errors in the console. Please see the screenshot attached. issue

kegor commented 5 years ago

Hi @atirtahirgroupdocs i tried to checkout current master branch on commit c451232d459afc2eb2b18ada8d63585d4e59ebf1 then just ran the solution from VS using F5 and got working app in the browser, could you please clarify your steps for getting these errors?

atirtahirgroupdocs commented 5 years ago

@kegor ,

When I host this project as it is to the IIS then I face this issue. Steps I followed to host:

iis config

Please tell me if there is something wrong.

atirtahirgroupdocs commented 5 years ago

@kegor any update on this? Thanks

kegor commented 5 years ago

Hi @atirtahirgroupdocs, required changes were merged into master branch in the related PR, could you please retry your steps and let us know if this fix works for you.

atirtahirgroupdocs commented 5 years ago

@kegor yes previous issue is fixed, UI is now rendered in the browser. But see what happens when I click on browse file icon:

click console

The issue is, it is not routing to the AnnotationApiController action method loadFileTree and instead looking the loadFileTree action method in AnnotationController. However, it works fine if run from solution (VS project). This issue is also reproduced at customer's end as well. This issue is raised in this thread https://forum.groupdocs.com/t/groupdocs-annotation-for-net-browse-files/7569.

atirtahirgroupdocs commented 5 years ago

@kegor any update on this issue? Thanks

kegor commented 5 years ago

Hi @atirtahirgroupdocs, we searching the correct solution to make it working simultaneously from Visual Studio and on IIS. For now we can only suggest the temporary work-around — you could add the sub-application under your annotation site, specify alias annotation and set the same physical path to the files.

koNXJ9FhTVCWUpUDkg4wXA

atirtahirgroupdocs commented 5 years ago

@kegor thanks for the workaround it worked out.