Long timeouts on invalid script projects
Stephen Brown
Posts: 10
I have a project containing a scripts folder which is on a virtual machine that is not currently running. When I open SQL Compare, there is a wait of several minutes before the projects show and this scripting project shows as folder not found. To delete the project, I select the project which then takes several more minutes wait. I then select delete which takes a further more several minutes. In all, it took about 15 minutes just to select and delete a project.
Is there a way to stop the project list from validating all of the scripts folders? I'd rather have these projects in my list and use them as needed.
Is there a way to stop the project list from validating all of the scripts folders? I'd rather have these projects in my list and use them as needed.
Comments
Currently we're unlikely to implement an option that turns off folder path validation in the project selection dialog, but I've put it in the database - if other people are having this problem too, we'll look into adding an application option for it. Would that solve your problem if we implemented such an option?
Redgate Software
The issue isn't with the validation, the fact that the validation occurs on the project page and the fact that the validation can take several minutes to timeout causes it to be unusable for paths that may not be present at all times. If either of these conditions was changed, it would fix this bug.
My condition this week was that I needed to script a new project, but couldn't do so without waiting a few minutes for SQL Compare to load as it timed out on the project paths. I then simply wanted to delete the nonexistent projects and it took about 15 minutes of waiting for timeouts (timeout on load, timeout when the project line was selected, timeout when clicked "delete" which for some reason reloaded the project list and caused another timeout) to simply click the delete button.
Redgate Software
This is a workaround, but it will still be a major issue with any project list containing an unavailable script folder. The timeout should only be a few seconds to determine the folder is unavailable. If the timeout cannot be limited, there should at least be a status showing you what it is happening and give the ability to cancel while it is verifying instead of hanging the application for several minutes without any indication of what is going on.