View previous topic :: View next topic |
Author |
Message |
glarera
Joined: 02 Jul 2019 Posts: 3
|
Posted: Wed Mar 04, 2020 2:05 pm Post subject: Installation on Windows 10 failed |
|
|
Hello all!
I tried to move BASCOM to a new computer (new HDD to be precise), windows 10.
I downloaded 2082 from https://register.mcselec.com, I put a copy of my bscavrl.dll into the same directory as the unzipped setup.exe.
Setup executed without any prompts or issues. Then the computer got restarted.
Starting Bascom does not work: I can the the first screen, showing "Bascom 2.0.8.2" then popups appear every few seconds, saying "Access violation at adress xxx in module 'bascavr.exe'. Read of adress 00000000."
Any ideas?
Thanks a lot!
Marc
(BASCOM-AVR version : 2.0.8.2 ) |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Mar 04, 2020 2:13 pm Post subject: |
|
|
- always install with admin rights.
- always run once with admin rights after that you can run as a normal user _________________ Mark |
|
Back to top |
|
|
glarera
Joined: 02 Jul 2019 Posts: 3
|
Posted: Wed Mar 04, 2020 2:24 pm Post subject: |
|
|
Hi Mark,
I run setup again, with admin rights this time. After restart, I started Bascom as admin.
Same issue. What to do now?
Thank you,
Marc |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Mar 04, 2020 2:37 pm Post subject: |
|
|
- did you had a different version installed before on that pc ?
- did you install in a folder like c:\mcs\basavr2082 or did you install into program files?
- remove the settings file, it might be damaged.
- does your pc has a printer defined?
i always test on win10 with a VM. Never seen that error before. you might want to check the license file. send it to support to get it verified (zip it).
you can also download the setup again. maybe it was damaged.
and you can check the windows event viewer.
in any case, send the log file to support. _________________ Mark |
|
Back to top |
|
|
glarera
Joined: 02 Jul 2019 Posts: 3
|
Posted: Wed Mar 04, 2020 2:55 pm Post subject: |
|
|
Quote: | - did you had a different version installed before on that pc ? |
no
Quote: | - did you install in a folder like c:\mcs\basavr2082 or did you install into program files? |
used c:\mcs\basavr2082
Quote: | - remove the settings file, it might be damaged. |
no success
Quote: | - does your pc has a printer defined? |
several printers are defined
Quote: | i always test on win10 with a VM. Never seen that error before. you might want to check the license file. send it to support to get it verified (zip it). |
OK. What about the bascom-avr-xxxx.lic file? There is none for 2082. I remember it was needed before?
Quote: | you can also download the setup again. maybe it was damaged.
and you can check the windows event viewer.
in any case, send the log file to support. |
I'll try. Need my companies IT-admin to do, not that easy... |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Mar 04, 2020 3:07 pm Post subject: |
|
|
the lic file is not needed/used anymore. the extension name was not a good choice. but maintaining both setup and the wizard files was too much work that some times resulted in a difference.
so now each update is a full setup.
when you need tech it might be the case that your PC is crippled or some software is running that interferes.
maybe some win10 restrictions are in place. your tech department probably knows. when you find out i can test it on a VM.
as an alternative you could install a VM where you have normal access. _________________ Mark |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Mar 11, 2020 1:52 pm Post subject: |
|
|
Here is an update. We received the log file at support.
It turns out that the saxcomm7.ocx was not registered because of insufficient rights. you really need admin rights during installation.
And also when you run the software for the first time.
it is simple to register the ocx :
- make a command window with admin rights . you do this by typing CMD at the search box. then cmd.exe is found. then right click and chose : run with admin rights.
- a command window will open that has admin rights
- change to the bascom-avr application folder using CD command
- register the files using the REGSVR32 command : REGSVR32 MFC42.DLL
- this will register the microsoft C system file. you should get an OK message.
- repeat for saxcomm7.ocx : REGSVR32 SAXCOMM7.OCX
- again you should get an ok message
after this you will not get an error when you start the software.
when your PC is restricted by your administrator you can best ask your admin to perform these steps. _________________ Mark |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Mar 11, 2020 5:05 pm Post subject: |
|
|
I should add this : the problem was that elevated admin access did not work. only when logging into the PC as admin worked.
When your PC account is restricted with policies by the admin, you can best let the administrator perform installation/updates.
In windows 10 there are local admin account and MS admin accounts. And my guess is that the MS admin did not had sufficient rights.
So the local admin account was required to register the ocx control. _________________ Mark |
|
Back to top |
|
|
|