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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Issue in calling Create datasource API method

Thread ID:





140830 Nov 8,2018 11:37 PM UTC Nov 12,2018 10:38 AM UTC Report Platform 2
Tags: Report Server
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

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.

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. 

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.   


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon