We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Issue in calling Create datasource API method

Thread ID:

Created:

Updated:

Platform:

Replies:

140830 Nov 8,2018 11:37 PM UTC Nov 12,2018 10:38 AM UTC Report Platform 2
loading
Tags: Report Server
Amanpreet
Asked On November 8, 2018 11:37 PM UTC

Hi Team,

I am trying to call create datasource API method and I am using postman for the same. Please find the details below -

Url used - https://syncfusionreportserver.ftmaintenance.net/api/v2.0/reports/data-sources

Request -
{ "Name":"DDS", "Description":"", "DataSourceDefinition":{ "ConnectString":"Data Source=WIN-O10PR71H7SE\\FTMAINTENANCEDB;Initial Catalog=Maintman", "CredentialRetrieval":"None", "ImpersonateUser":true, "Password":"somevalue", "Prompt":"None", "UserName":"somevalue", "WindowsCredentials":false, "ServerType":"SQL" } }

Body -
{
    "Message": "Connection string is empty.",
    "StatusCode": 3008
}

Headers-
Cache-Control →no-cache
Content-Length →59
Content-Type →application/json; charset=utf-8
Date →Thu, 08 Nov 2018 23:08:17 GMT
Expires →-1
Pragma →no-cache
Server →Microsoft-IIS/8.5
X-AspNet-Version →4.0.30319
X-Powered-By →ASP.NET
x-error →Connection string is empty.
Can you please let me know why I am getting connection string as empty error message.
Looking forward to see your response.
Thanks,
Amanpreet

Mageshyadav M [Syncfusion]
Replied On November 9, 2018 01:24 PM UTC

Hi Amanpreet,  
 
We are able to reproduce the reported issue when we send data in raw JSON format, but it works fine when we send data in x-www-form-urlencoded format as shown in the image below   
 
   
 
We are validating this issue now, and we will update details asap. 
Regards,  
Mageshyadav.M 


Mageshyadav M [Syncfusion]
Replied On November 12, 2018 10:38 AM UTC

Hi Amanpreet,  
 
We were able to reproduce the reported issue and hence a support incident has been created under your account to deliver patch. Please log on to our support website to check for further updates.   
 
 
Regards, 
Mageshyadav.M 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;