Hi @Peter Held,> This error occurs after creating the .XSD file in the designer and adding a DataTable with a simple stored procedure.
Please check the ConnectionStringObject
attribute in your .XSD file?
If possible, you can try to change the ConnectionStringObject
attribute on the Connection
node inside your .XSD file. And set it value to valid connection string pointing to the database your dataset corresponds to.
Something like this:
<Connection ConnectionStringObject="Data Source=ServerName;Initial Catalog=DataSetName;Integrated Security=True" Name="constrName" Provider="System.Data.SqlClient" />
Your environment may be different, please add or remove these attributes according to your needs.
Best regards,
Xudong Peng
If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.