Strange, I just tried to write a comment and it worked great.
Regarding you problems, have you created the controller with the exact name as I have used?
The route you set up in global.asax.cs must point to the url you want to use and the controller you use.
Could you write here how your global.asax.cs and controller looks like?
I uploaded my example here:
https://dl.dropboxusercontent.com/u/14161504/AlloyExample.zip
All you have to do is insert your own Episerver Find Index info in web.config and then you should be up and running (after indexing some pages)
Thanks so much Henrik, I went over my code trying to figure out what was different but struggled to spot it, so just overwrote my attempt with the code you sent and it's working great now.
Sorry to leave the problem as a mystery! Looking forward to adapting this report to work for blocks instead of pages now, cheers.
Great that it works.
please mark the response as answer if you think it solve the problem
I would have prefferred to put this on the blog post itself but comments seem to be disabled, so apologies if this feels like it could be somewhere better
http://world.episerver.com/blogs/Henrik-Fransas/Dates/2016/3/create-custom-report-in-mvc-with-excel-export/
I've been trying to set this up as is before modifying it for my own needs. However, I'm getting this error when selecting the report
I've put a break point on this method
However, it doesn't ever seem to run. I've attempted to get this working with 2 different version of episerver, one corresponding to update 61 and the other to update 102.
Has anyone else tried this or can someone help explain what the problem is?