Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Reporting server returns a "Not found" error

(1) ShareShare
ReportReport
Posted on by 410

Hi All,

I have been  trying to generate PDF from a custom report in dynamic, i am sending a POST message to the reporting server API, but getting an error of - HTTP Error 404 - Not Found (even when used directly on a url bar).

I have something like this in my Javascript file: "Xrm.Page.context.getClientUrl() + "/CRMReports/rsviewer/QuirksReportViewer.aspx";"

I dont know, is it because my trial version of 365 has expired today?, but i can still log in and work.

someone please help

*This post is locked for comments

  • Victor Onyebuchi Profile Picture
    410 on at
    RE: Reporting server returns a "Not found" error

    Kokulan i have pasted the full URL in my URL and it came back with the 404 error as well. 

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: Reporting server returns a "Not found" error

    If you are finding it difficult to debug your script, you could add a debugger; line to your script and when you refresh the page while dev tool is open, it should hit the debugger line allow you to debug our script.

    In you javascript, could you also add a console.log(Xrm.Page.context.getClientUrl() + "/CRMReports/rsviewer/QuirksReportViewer.aspx"); and copy the URL and paste it onto browser address bar and see if the URL works. This should confirm that the JS is using the correct URL.

  • Victor Onyebuchi Profile Picture
    410 on at
    RE: Reporting server returns a "Not found" error

    Kokulan i get the below error from CRM UI:

    ReferenceError: Web resource method does not exist: Mscrm.BusinessRulesScript.Initialize
        at e.execute (vicsdev.crm11.dynamics.com/.../app.js)
        at e._executeIndividualEvent (vicsdev.crm11.dynamics.com/.../app.js)
        at e._executeEventHandler (vicsdev.crm11.dynamics.com/.../app.js)
        at Object.execute (vicsdev.crm11.dynamics.com/.../app.js)
        at e._executeSyncAction (vicsdev.crm11.dynamics.com/.../app.js)
        at e._executeSync (vicsdev.crm11.dynamics.com/.../app.js)
        at e.executeAction (vicsdev.crm11.dynamics.com/.../app.js)
        at t.dispatch (vicsdev.crm11.dynamics.com/.../app.js)
        at Object.dispatch (vicsdev.crm11.dynamics.com/.../app.js)
        at Object.dispatch (vicsdev.crm11.dynamics.com/.../app.js)]
    


  • Victor Onyebuchi Profile Picture
    410 on at
    RE: Reporting server returns a "Not found" error

    I use to debug my javascript file from the developer console, but I cant even find the frame that holds all the Javascript file again, since chrome got updated. my debugger screenhot is like the below, why can i fine my javascript file in the below:

    VICpgn.png

    Kokulan

  • Victor Onyebuchi Profile Picture
    410 on at
    RE: Reporting server returns a "Not found" error

    Kokulan the report works perfectly from the UI. I just vtested it again now.

  • Kokulan Profile Picture
    18,054 on at
    RE: Reporting server returns a "Not found" error

    Is this a FETCH based report? if so you should be able to first access the report from the UI. If you can't access the report from CRM UI, you need to first get that sorted I think

    I have not tested any reports but my expired trial still works so even if the trial expired if it works, it should allow to access the report.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans