Jump to content

Recommended Posts

Posted

Hello

 

I've read previously but cannot find it after endless searching, that there were some additions needed to the SIMS Permissions script/GPO to allow the Exams module to update successfully as a Staff member and not requiring and Admin logon.

 

I seem to think it was some registry keys that needed modifying but not sure which.

 

Can anybody help with this?

 

Thank you

Ian

Posted
Hello

 

I've read previously but cannot find it after endless searching, that there were some additions needed to the SIMS Permissions script/GPO to allow the Exams module to update successfully as a Staff member and not requiring and Admin logon.

 

I seem to think it was some registry keys that needed modifying but not sure which.

 

Can anybody help with this?

 

Thank you

Ian

 

We are on SOLUS2 and whenever we push out a SIMS update it breaks the exams module!

 

It's been going on for years and it unlikely to be fixed - we've been fobbed off by Capita saying it's an environmental issue - but plenty other have reported it.

 

- - - Updated - - -

 

http://www.edugeek.net/forums/mis-systems/34180-exams-organiser-errors-after-every-upgrade.html

 

http://www.edugeek.net/forums/mis-systems/79762-exams-organiser-automation-error.html

Posted
The fix is to re-install the SIMS client on the affected workstation.

 

Of course, let's all re-install software on 100's of computers every time there is an update - that's not a FIX! - that's a FUDGE!!!

Posted
Of course, let's all re-install software on 100's of computers every time there is an update - that's not a FIX! - that's a FUDGE!!!

 

I didn't say it was a pleasant fix. It seems to be the only solution to the problem though. :(

 

Thankfully it is intermittent and doesn't always happen to me!

Posted

I have posted on this before. The only time we can get an upgrade fail is when Exams has been left open during the upgrade - easy to do. S3 has the power to deal with the issue - S2 cannot.

Exams is not normally needed on 100s of machines?

Posted

Always used to happen even when it wasn't logged in because the user running sims on said client never had perms to update the relevant files. Running as admin would do the trick, no reinstall required. This is going back 10+ years though, though from the many threads it's obviously still an issue.

As it was only 1 PC that had exams on, it wasn't such a big fudge.

 

It looks like you need to give local admin rights to any SIMS user who uses a PC that might be used to run Exams, or, get SOLUS3 running, which will basically update the client PCs with sufficient rights to do the upgrade.

Posted

We've always had the 'Automation Error' when launching the Exams module after a SIMS release update.

However, I assign Full Control over the SIMS.net folder in programs files for the staff user group so not a permission issue.

Also, it's not because a user is in the exams module as I always change the SQL network properties so that only the server can access the database to update. Then I re-name the tcp settings for users to run the update.

Posted
We've always had the 'Automation Error' when launching the Exams module after a SIMS release update.

However, I assign Full Control over the SIMS.net folder in programs files for the staff user group so not a permission issue.

Also, it's not because a user is in the exams module as I always change the SQL network properties so that only the server can access the database to update. Then I re-name the tcp settings for users to run the update.

 

I'm sure Phil Neal will argue against this....

Posted
I'm sure Phil Neal will argue against this....

 

Capita told me that there is no fix for it apart from a re-install as they are unable to replicate the issue.

I'm sure if either of the 2 things I mentioned were an issue it would be able to be replicated.

Posted
Capita told me that there is no fix for it apart from a re-install as they are unable to replicate the issue.

I'm sure if either of the 2 things I mentioned were an issue it would be able to be replicated.

 

Mate, it's been on-going for years - if they really wanted to fix it they would n't need to replicated it - enough schools have this issue - all they'd have to do would be to send an engineer to some sites to try and diagnose....

Posted
Full control over sims folder won't work. Make the user a local administrator and give that a try. Though with UAC even this might not work, i've not had to use exams since before Win7.
Posted (edited)

Also, it's not because a user is in the exams module as I always change the SQL network properties so that only the server can access the database to update. Then I re-name the tcp settings for users to run the update.

 

I don't think that's the issue though, they could leave Exams open even when you disable access to the database can't they? It just won't work (although I may have misunderstood)

Edited by Cache
Posted

Hang on, how is Exams being left open affecting the upgrade?

After an upgrade to the server, client runs SIMS and this tries to update and in the background Exams was open? I don't think this is happening at all the schools that get this.

Client PC is running Exams and possibly SIMS when server upgrade is initiated - this could affect the upgrade, but you'd know. If you break the connection, server updates fine, then it's down to case one about when sims is next run on the client.

 

To recreate, it should be relatively straight forward at any school that uses pre-built images that have an old version of SIMS on. Set up a machine with the old image, run SIMS as low level user and see Exams not upgrade properly.

Posted
We have recreated the scenario of opening Exams from SIMS. Going back to SIMS and closing it. Exams remains open. If you do the upgrade at this point you will get this error.
  • Thanks 1
Posted
We have recreated the scenario of opening Exams from SIMS. Going back to SIMS and closing it. Exams remains open. If you do the upgrade at this point you will get this error.

I can well believe this. I'm sure that this probably happens as well. However, after plenty of years of this happening and plenty of threads here and no doubt on SupportNet - people know that they should be totally out of SIMS and any linked programs.

 

I know when it happened to us, the PC, it was only 1, was shutdown, it was in a locked room, and most times i'd have to wait for the exams officer to be in and allow us entry in order to run the update.

If you can recreate keeping Exams open, next time can you close Exams, but reduce the user permissions to restricted?

  • 2 months later...
Posted

Oh look - I must have done a SIMS upgrade last night from home.....

 

Hi Jeff,

 

I can no longer access the exams module - will you have to re-install sims to fix this?

 

Sue

  • 2 weeks later...
Posted (edited)
@kennysarmy - thanks. You might be pleased to know that we're beginning the task of re-writing Exams!

 

This is good news!

 

In the meantime, the issue is caused by various DLLs that the Exams module relies on not being registered properly.

 

What you need to do is make sure that they get re-registered after a SIMS update - it seems from looking at Process Monitor traces that all the DLLs in the SIMS directory starting with 'CES' need registering. Along with those are two .NET libraries - these need to be passed to RegAsm in order for it to create the COM wrapper around them (the rest go to regsvr32).

 

A PowerShell snippet like this will take care of it - if you use a script to deploy & update SIMS itself it can be integrated into that.

 

# This path may be different for your environment!
$regAsmPath = "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"

# Ditto - change this to wherever SIMS is installed
$simsPath = "C:\Program Files (x86)\SIMS\SIMS .net"


Get-ChildItem $simsPath -filter "CES*.dll" | %{ & regsvr32 /s $_.FullName }
& $regAsmPath "$simsPath\LoginProcesses.dll" /nologo /silent
& $regAsmPath "$simsPath\DocManagementProcesses.dll" /nologo /silent

Edited by FishCustard
  • Thanks 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...