Hi all,
I am trying to select data from a SQL database. For a test purpose I am using a simple select for one row output. I have followed the steps from the knowledge and was able to successfully connect to database. When I try to execute the query I get the following error message:
Execute query : This location is marked as const, so its value cannot be modified.
Error Message:
Main has thrown an exception
Source: Execute query
Message: This location is marked as const, so its value cannot be modified.
Exception Type: InvalidOperationException
System.InvalidOperationException: This location is marked as const, so its value cannot be modified.
at UiPath.Database.Activities.ExecuteQuery.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Any help would be much appreciated.
Regards,
Tanya.