Page 1 of 1

Error : Not allowed to change the 'ConnectionString' property. The connection's current state is ope

Posted: Mon Jun 30, 2008 8:13 am
by mir
Hello, my name is Sorin Miroiu.

I'm trying out the Stimulsoft Reports.Net, but i have some problems with it.
In the Report Designer i'm making a connection to the SQL Server, tested ok, worked ok. Now i'm trying to promp the user for user/password to connect to the database by enabling the option "Prompt User Name and Password" in the Edit Sql Connection window. Everything ok till now.
When i'm clicking the Preview button i've added in my windows form, the popup for the user and password appears, i write in my login credentials, and when i click ok, i get the followin error : Not allowed to change the 'ConnectionString' property. The connection's current state is open.

Here's the code for the click event

stiReport.Compile();

stiReport.CompiledReport.DataSources["CustomerOrder2"].Parameters["@ClientId"].ParameterValue =
dataGridView.CurrentRow.Cells[0].Value;

stiReport.Render();
stiReport.Show();


Any thoughts ? Thank you !

Error : Not allowed to change the 'ConnectionString' property. The connection's current state is ope

Posted: Wed Jul 02, 2008 4:07 am
by Edward
Hello, Sorin Miroiu.

The issue is fixed.

Please download the next prerelease build when it is available (today or tomorrow).

Thank you.

Error : Not allowed to change the 'ConnectionString' property. The connection's current state is ope

Posted: Wed Jul 02, 2008 6:18 am
by mir
Is there an option or compatibility to print the Report i'm previewing in the StiPreviewReport control to a .Net “System.Drawing.Printing.PrintDocument” Class?

Error : Not allowed to change the 'ConnectionString' property. The connection's current state is ope

Posted: Wed Jul 02, 2008 11:14 am
by Vital
Hello,

No sorry.

Thank you.