cmarcus Posted May 19, 2017 Report Share Posted May 19, 2017 Hello Everyone, I seemed to have "bricked" Visilogic on my PC. Was connected/online with a PLC, I shut the lid to my laptop, when I opened the lid my computer was off... not sure why or how it completely shut down but it was definitely off. Restarted the PC, tried to restart Visilogic and I get the error message below. Note the file referenced (Current_OPLC.udb) is not present in the specified directory. I uninstalled / reinstalled Visilogic, tried opening other projects, even tried just opening Visilogic with no project loaded. I can get it to open by right clicking and running the .exe as administrator, but it still crashes when I try to open any application. Additional Details: Windows Pro 10 64 Bit, Visilogic 9.8.31, Vision 130-33-T38 PLC. Also sent an email to support but as it was late in the day I haven't heard back as of this time. Any help getting this resolved would be appreciated. -Chris Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted May 19, 2017 MVP 2022 Report Share Posted May 19, 2017 When you uninstall VisiLogic, make sure ALL the files from the previous VisiLogic installation are deleted (except project files, of course - move them elsewhere). Reboot the computer then install VisiLogic AS ADMINISTRATOR. Then when you run VisiLogic, make sure you run it AS ADMINISTRATOR (every time). If the problem still exists, then follow the instructions on the error message and contact Unitronics Support (Edit - I see you already did that). Quote Link to comment Share on other sites More sharing options...
cmarcus Posted May 19, 2017 Author Report Share Posted May 19, 2017 Ok just uninstalled/reinstalled as administrator. Still having issues. I cannot double click any .vlp file and have it open, Visilogic just crashes with the same message as above. If I open Visilogic as administrator, then do the File/Open and select the file I was working on, I still get a couple of error messages (see below). If I do File/Open and select any other files they seem to open. I'm thinking the root cause of this is a corrupted file or key and a dirty uninstall where the file or registry key persists. Looking at the registry after an uninstall and reboot, it's filled with Uni entries. As noted above, I already submitted a support email, so hopefully I'll hear back sometime soon. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted May 19, 2017 MVP 2022 Report Share Posted May 19, 2017 I think you are probably correct in your assessment. If you have Windows Restore enabled, you might try using that to go back to the day before the incident. Quote Link to comment Share on other sites More sharing options...
cmarcus Posted May 19, 2017 Author Report Share Posted May 19, 2017 Just tried to restore it prior to when the event occurred, no luck. Same error message on start up. Hopefully the support team will have some suggestions. Hate to think I may have to re-install windows just to get Visilogic working normally again. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted May 20, 2017 MVP 2022 Report Share Posted May 20, 2017 Do you have a backup of the file you were working on? If not, try copying your file to a different location on your hard drive - a location with less subfolder nesting, then try opening it. If you are still getting the error and other projects open fine, then the problem is almost certainly with a corrupted project file, not a problem with your VisiLogic installation. When working with mission critical files, whether VisiLogic or other software, I always keep daily backups and multiple versions saved. I strongly recommend creating a system to mitigate this type of problem as file corruption can happen at any time and with any software. Quote Link to comment Share on other sites More sharing options...
Gabriel Franco Posted May 20, 2017 Report Share Posted May 20, 2017 If you have only Visilogic software, you may try deleting all files in "C:\Program Files\Common Files\Unitronics" directory after uninstalling Visilogic. Then, install software again under administrator privilegies. Quote Link to comment Share on other sites More sharing options...
Ofir Posted May 21, 2017 Report Share Posted May 21, 2017 Hi, As I understand every time you try to open VisiLogic you get this error message. As Flex mentioned first backup your project file . Then try the follwing: 1. Open Task manager and if VisiLogic process is still running - End it. 2. Open C:\Program Files (x86)\Unitronics\Unitronics VisiLogic_C\Data\DB 3. Delete the file Current_OPLC.udb 4. Try to open VisiLogic Quote Link to comment Share on other sites More sharing options...
cmarcus Posted May 22, 2017 Author Report Share Posted May 22, 2017 Hello Ofir, I do have backups of the project file, so no worries there. I checked the DB folder and I do not have a file called Current_OPLC.udb. I think that may be part of the problem. I think Visilogic is looking for it, and it's not present. Reading the error message again, it looks like there's a function in the UnPrHndl1.dll that has a class call clsDBHandler. This class has a function OpenConnection that opens a connection to a database. The error message indicates that it encountered an error opening the connection and notes an unrecognized format. However the target location where the database should reside does not contain the specified database (Current_OPLC.udb). Could someone send me this file. Maybe if I just drop it into the folder it will satisfy the condition of the OpenConnection function? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted May 22, 2017 MVP 2022 Report Share Posted May 22, 2017 On 5/19/2017 at 9:11 AM, cmarcus said: If I do File/Open and select any other files they seem to open. Does that include the backup of your corrupted project file? If so, I'm confused as to what your current problem is. Quote Link to comment Share on other sites More sharing options...
cmarcus Posted May 22, 2017 Author Report Share Posted May 22, 2017 Flex... no it didn't not include the corrupted file. The corrupted file would crash either way, so I trashed it. The issue that remained after the corrupted file was trashed was that if I double click any .vlp file, Visilogic would crash with that error message. I later discovered that if I opened Visilogic and did a File/Open and navigated it seemed to open ok, but I was never able to simply double click the .vlp file with out it crashing. But I still wanted to just be able to open by double clicking the file itself. I think I have it working now. Here's what I did. 1) Uninstalled Visilogic 9.8.31, looked in Common Files and Program Files and deleted any residual files. 2) Rebooted the PC 3) Installed an old copy of Visilogic 9.7 Build 60. 4) Rebooted the PC 5) Opened one of the example files, and Saved As to the desktop. 6) Closed Visilogic, then double clicked the .vlp file that was saved to the desktop. (It opened with out crashing) 7) Uninstalled Visilogic 9.7 Build 60. 8) Rebooted the PC 9) Installed Visilogic 9.8.31. 10) Rebooted the PC 11) Double clicked the .vlp file that was saved to the desktop. (It sill opened with out crashing) 12) Double clicked my backup file for my current project and it opened with out crashing. Thanks again to all for your support. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted May 22, 2017 MVP 2022 Report Share Posted May 22, 2017 Wow, what an ordeal! Glad you got it working. Quote Link to comment Share on other sites More sharing options...
Gustavo Roberto.V. Moreira Posted December 30, 2020 Report Share Posted December 30, 2020 Em 21/05/2017 às 05:23, Ofir disse: Oi, Pelo que entendi, toda vez que você tenta abrir o VisiLogic, você recebe esta mensagem de erro. Como Flex mencionou, primeiro faça o backup do arquivo do projeto. Em seguida, tente o seguinte: 1. Abra o Gerenciador de tarefas e, se o processo VisiLogic ainda estiver em execução, encerre-o. 2. Abra C: \ Arquivos de programas (x86) \ Unitronics \ Unitronics VisiLogic_C \ Data \ DB 3. Exclua o arquivo Current_OPLC.udb 4. Tente abrir o VisiLogic Quote Link to comment Share on other sites More sharing options...
Gustavo Roberto.V. Moreira Posted December 30, 2020 Report Share Posted December 30, 2020 Essa solução resolveu o meu problema! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.