(0)| 2/8/2022 12:17 PM | |
|
Posts: 3 Rating:
|
Hi, I'm using WinCC Professional V16 scada. I have 4 different vb scripts that writes different data to local SQL server. Scripts writes data to 2 different DBs and 4 different tables. These scripts are triggered from scheduled tasks from tag change. On engineering station everything is working as it should. But once I transfer project to runtime PC 1 of 4 scripts gives me error: "-2147467259 login timeout expired" every time I try to write data to SQL. Tried changing connection string, db, table still no luck. I'm lost and don't know what I'm missing. Any suggestions/ideas what to look for? VB code in attachment. AttachmentWrite to SQL.txt (93 Downloads) |
Last edited by: Bacelis1 at: 02/08/2022 12:19:41 |
|
| 2/15/2022 9:40 AM | |
|
Joined: 8/3/2009 Last visit: 1/9/2026 Posts: 16629 Rating:
|
Hello check this FAQ, its for WInCC Adv. but the way is quite the same as in WinCC Prof. https://support.industry.siemens.com/cs/ww/en/view/61883659 Perhaps it helps. Bye Murof |
|
If this Information really helps, you could use the Rate function |
|
Follow us on