Powershell Studio 2017 Build 5.4.142
Operating system Windows 10x64 Enterprise
During this build of the IDE I see errors when doing the following two commands:
$ReadScanObjcmd = New-Object MySql.Data.MySqlClient.MySqlCommand
$ReadScanObjAdapter = New-Object MySql.Data.MySqlClient.MySqlDataAdapter
The rest of the code around this has been working for sometime so this is nothing new and should work fine. I loaded the same code in Windows Powershell ISE and it worked with no issues.
Finally out of frustration I uninstalled Powershell Studio 2017. I then re-installed to build
PowerShell Studio 2017 v5.4.139
Now I have NO issues. Something changed between the version and I get errors. Please let me know if I can provide any additional files.
MySql.Data.MySqlClient.MySqlCommand ERROR
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- smokingjoe
- Posts: 22
- Last visit: Mon Aug 22, 2022 10:44 am
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: MySql.Data.MySqlClient.MySqlCommand ERROR
The part that runs scripts has not changed really. It probably would help to know what exactly the errors are you are seeing.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: MySql.Data.MySqlClient.MySqlCommand ERROR
Please update to the latest build (v5.4.143) and let us know if the issue persist.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- smokingjoe
- Posts: 22
- Last visit: Mon Aug 22, 2022 10:44 am
Re: MySql.Data.MySqlClient.MySqlCommand ERROR
Looks like that may have resolved the issue. Update failed but uninstalled and re-installed. Will post another update if I see more issues in the same area.