ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: janvsc on July 11, 2014, 04:18:16 am

Title: Export to CSV http error
Post by: janvsc on July 11, 2014, 04:18:16 am
Hi,

When exporting to csv for excel I get the following message returned by the server:

"405 - HTTP verb used to access this page is not allowed."

I am sure something needs to be changed on the web server.
Any hints will be welcomed.
The "POST" is failing

Cheers
Title: Re: Export to CSV http error
Post by: janvsc on July 21, 2014, 06:25:54 am
For some reason my post was moved to Evaluation Support.


Please HELP!!!
Title: Re: Export to CSV http error
Post by: paramvir on July 21, 2014, 11:37:26 am
Please share the server setup ( web server / OS/ server side framework )

If you have been using ASP.NET (MVC), you need to add this annotation before controller method.

[HttpPost, ValidateInput(false)]

as demonstrated in this example http://paramquery.com/pro/demos/export under ASP.NET tab



PS: Please share the paypal transaction ID in order to have your account upgraded to PRO.
Title: Re: Export to CSV http error
Post by: janvsc on July 22, 2014, 01:15:48 am
Hi,

Server Windows 2008 R2
asp.net (Webmatrix - not mvc)
Using javascript example

ps. Will send Paypal ID as soon as I get get it from the accounts people ;-)

Please share the server setup ( web server / OS/ server side framework )

If you have been using ASP.NET (MVC), you need to add this annotation before controller method.

[HttpPost, ValidateInput(false)]

as demonstrated in this example http://paramquery.com/pro/demos/export under ASP.NET tab



PS: Please share the paypal transaction ID in order to have your account upgraded to PRO.
Title: Re: Export to CSV http error
Post by: paramvir on July 22, 2014, 08:52:08 am
First you need to setup/configure webmatrix to allow POST requests.

This post might be helpful to you.

http://stackoverflow.com/questions/23434387/webmatrix-how-can-you-enable-the-post-method
Title: Re: Export to CSV http error
Post by: janvsc on July 23, 2014, 01:19:57 am
First you need to setup/configure webmatrix to allow POST requests.

This post might be helpful to you.

https://www.google.com/analytics/web/?hl=en&pli=1#realtime/rt-overview/a36965243w65204129p66989776/


The link is not useful. It takes me to Google Analytics?
Title: Re: Export to CSV http error
Post by: paramvir on July 23, 2014, 07:41:11 am
My bad. I've corrected the URL in my previous post.