none
Click RUN crashed app whilst on school network RRS feed

  • Question

  • Dear All

    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?

    Many thanks.

    Thursday, February 2, 2012 2:43 PM

Answers

All replies

  • 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).

     

    Thursday, February 2, 2012 6:22 PM
    Moderator
  • 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 3, 2012 3:51 PM
  • 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.

    Friday, February 3, 2012 6:31 PM
    Moderator
  • 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 6, 2012 12:18 PM
  • I 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.
    Monday, February 6, 2012 6:37 PM
    Moderator
  • I 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.
    Wednesday, March 7, 2012 11:52 PM
    Answerer
  • Hi Nick,

    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.



    Monday, June 18, 2012 7:34 AM
  • Sorry for not getting back to everyone!

    Thank you all for your help and time with this!

    Nick

    Friday, October 19, 2012 7:12 AM