MvcCore Web Designer not list my Data sources

Stimulsoft Reports.NET discussion
Post Reply
alireza_s_84
Posts: 18
Joined: Fri Jan 27, 2017 4:43 am

MvcCore Web Designer not list my Data sources

Post by alireza_s_84 »

Hi
I add a StiSqlDatabase to report as below:

Code: Select all

public StiDatabase GetDatabase()
{
    return new StiSqlDatabase("Database", Options.ConnectionString);
}

// In Controller
report.Dictionary.Databases.Clear();
report.Dictionary.Databases.Add(ReportHelper.GetDatabase());
this work fine but in Dictionary panel under Data sources my connection not shown but it Exists.
Pleas see attached images.
Attachments
4.jpg
4.jpg (112.46 KiB) Viewed 2360 times
3.jpg
3.jpg (90.73 KiB) Viewed 2360 times
2.jpg
2.jpg (80.77 KiB) Viewed 2360 times
1.jpg
1.jpg (51.5 KiB) Viewed 2360 times
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: MvcCore Web Designer not list my Data sources

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue. Please send us a sample project which reproduces the issue for analysis.

Thank you.
alireza_s_84
Posts: 18
Joined: Fri Jan 27, 2017 4:43 am

Re: MvcCore Web Designer not list my Data sources

Post by alireza_s_84 »

Lech Kulikowski wrote: Tue Jan 29, 2019 8:39 am Hello,

We couldn't reproduce the issue. Please send us a sample project which reproduces the issue for analysis.

Thank you.
Thanks for your answer, please see attached video. the table element that show data sources is display:none
Attachments
bandicam 2019-01-30 03-08-08-629.mp4
(2.93 MiB) Downloaded 149 times
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: MvcCore Web Designer not list my Data sources

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue on our samples. Please send us a sample project which reproduces the issue for analysis.

Thank you.
alireza_s_84
Posts: 18
Joined: Fri Jan 27, 2017 4:43 am

Re: MvcCore Web Designer not list my Data sources

Post by alireza_s_84 »

Lech Kulikowski wrote: Wed Jan 30, 2019 8:20 am Hello,

We couldn't reproduce the issue on our samples. Please send us a sample project which reproduces the issue for analysis.

Thank you.
Thanks, You can change ConnectionString in Startup.
Sample project: http://www.mvcmagic.com/reports.zip
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: MvcCore Web Designer not list my Data sources

Post by Lech Kulikowski »

Hello,

Your connection is hidden in your code:

Code: Select all

Dictionary =
                {
                    PermissionResources = StiDesignerPermissions.None,
                    PermissionBusinessObjects = StiDesignerPermissions.None,
                    PermissionDataConnections = StiDesignerPermissions.None
                },
Thank you.
alireza_s_84
Posts: 18
Joined: Fri Jan 27, 2017 4:43 am

Re: MvcCore Web Designer not list my Data sources

Post by alireza_s_84 »

Lech Kulikowski wrote: Thu Jan 31, 2019 3:39 pm Hello,

Your connection is hidden in your code:

Code: Select all

Dictionary =
                {
                    PermissionResources = StiDesignerPermissions.None,
                    PermissionBusinessObjects = StiDesignerPermissions.None,
                    PermissionDataConnections = StiDesignerPermissions.None
                },
Thank you.
Oh it's true, thanks very much. :D
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: MvcCore Web Designer not list my Data sources

Post by Andrew »

You are welcome!
Post Reply