Thursday, February 02, 2012 2:43 PM
Our ICT teaching staff would like the children to start using Small Basic 1.0
They have used it at home and all said that the software is ideal as a starter package.
Whenever a teaching / student press RUN we get a:
Microsoft Small Basic has stopped working message.
All of the exe's have been added to the GPO
Network Administrators or installing the software on a local device works fine however..
Does any one have any ideas?
Thursday, February 02, 2012 6:22 PMModerator
Do all programs, even the very simplest crash SmallBasic?
Can you post any of the additional details (like .Net call stack) that you may get at the crash, like the following doing x = Math.Log(-1).
Friday, February 03, 2012 3:51 PM
Thank you for getting back to me!
Even something simple like 'hello world' coding crashes it. We have even tried pressing RUN with no code in the pane and we get the same issue.
However this works fine for admins etc. All exes have been added to the allowed application list in group policy so we're a little stuck...
Friday, February 03, 2012 6:31 PMModerator
Is there anything in the 'View problem details'.
Do the use accounts have specially reduced privileges, like no access to %appdata% used for temp files if the file is not saved to another specific location - possibly try saving the SmallBasic file somewhere users have full access to before running.
As well as the exes, the programs also need to be able to run SmallBasicLibrary.dll (this is created in either a temp directory in %appdata% or the saved directory along with the exe on compilation) and the .Net Framework under this.
Monday, February 06, 2012 12:18 PM
Attached is the problem details.
The students / staff will have restrictions on the exes they are allowed to open. They will only be mapped to certain shared drives on the network.
They will have full read / write access to their appdata on the network. What they won't be able to see however is things in programdata or anything on the C:\ as their access for this is restricted.
Thanks for your help so far. Nick
Monday, February 06, 2012 6:37 PMModeratorI can't see anything in the problem details, perhaps copy/paste the whole thing, but I guess it must be something to do with permissions, probably SmallBasicLibrary.dll or some of the .Net it relies on.
Wednesday, March 07, 2012 11:52 PMAnswererI have seen SB crash on systems with UAC enabled. When you don't save the program, it runs from the %tmp% directory. If you don't have access to it, SB will crash. Maybe you should try saving to a folder like Documents.
Monday, June 18, 2012 7:34 AM
I had the same problem,
Adding %userprofile%\AppData\Local\Temp to the Path rules fixed solved part of the problem.
It allows them to run the program until they save it.
- Proposed As Answer by Rob Holt Monday, June 18, 2012 7:36 AM
- Edited by Rob Holt Monday, June 18, 2012 7:52 AM
- Unproposed As Answer by Rob Holt Monday, June 18, 2012 8:21 AM
- Edited by Rob Holt Monday, June 18, 2012 8:23 AM
- Proposed As Answer by Ed Price - MSFTMicrosoft Employee, Owner Thursday, October 11, 2012 6:05 AM
- Marked As Answer by Ed Price - MSFTMicrosoft Employee, Owner Thursday, October 18, 2012 9:11 PM
Friday, October 19, 2012 7:12 AM
Sorry for not getting back to everyone!
Thank you all for your help and time with this!