+ Post New Thread
Results 1 to 10 of 10
Windows Thread, VB.Net running on your network? in Technical; We have VB.Net installed on a few stations that are used to teach 6th formers programming. Since students are not ...
  1. #1
    Andi's Avatar
    Join Date
    Feb 2007
    Location
    Newport, South Wales
    Posts
    276
    Thank Post
    52
    Thanked 4 Times in 4 Posts
    Rep Power
    16

    VB.Net running on your network?

    We have VB.Net installed on a few stations that are used to teach 6th formers programming. Since students are not allowed to run or contain exes in their home folders these pupils have designated folders that only they and the programming teacher have access to and I have set .net security to have full access to that share using the following script at startup.

    Code:
    %windir%\Microsoft.NET\Framework\v2.0.50727\caspol.exe -q -m -ag LocalIntranet_Zone -url \\theoden\shared\ FullTrust -n FullTrustShare
    However, some of the students are getting missing manifest errors and there are other .Net related errors occuring. Attached are screenshots of the errors.

    Has anyone come across and resolved this kind of thing before?
    Attached Images Attached Images

  2. #2

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,060
    Thank Post
    853
    Thanked 2,675 Times in 2,269 Posts
    Blog Entries
    9
    Rep Power
    768

    Re: VB.Net running on your network?

    - Updated after re-reading the question -

    This could be related to the permissions for debugging ie the access to the system library files to trace faults when it is in debugging mode. To test this you could try running the program without debugging.

    I would test running, saving, compiling on the local system to be sure it is not related to the .net file system restrictions. If it is you could have a temporary folder on the local machine that the users programming directory is copied to on logon, this could copy the files back at log off. A bit of a mission but so is dealing with .net remote permissions.

  3. #3
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,999
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106

    Re: VB.Net running on your network?

    To add to the above there is a specific local policy dealing with debugging rights etc. Maybe something to look at.

  4. #4
    Andi's Avatar
    Join Date
    Feb 2007
    Location
    Newport, South Wales
    Posts
    276
    Thank Post
    52
    Thanked 4 Times in 4 Posts
    Rep Power
    16

    Re: VB.Net running on your network?

    Thanks guys I'll look into the debugging thing and post back my results.

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: VB.Net running on your network?

    Be aware that if you've given a user debugging rights, there's nothing to stop them getting local admin.

  6. #6
    Andi's Avatar
    Join Date
    Feb 2007
    Location
    Newport, South Wales
    Posts
    276
    Thank Post
    52
    Thanked 4 Times in 4 Posts
    Rep Power
    16

    Re: VB.Net running on your network?

    Oh really? I'm not going to go anywhere near that then.

    I guess it's not really the sort of program that should be networked anyway.

  7. #7

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: VB.Net running on your network?

    GetAdmin Info.

    MS did eventually fix the bug, but users with debugging rights are immune to the 'fix' and can run getadmin successfully anyway.

  8. #8
    Andi's Avatar
    Join Date
    Feb 2007
    Location
    Newport, South Wales
    Posts
    276
    Thank Post
    52
    Thanked 4 Times in 4 Posts
    Rep Power
    16

    Re: VB.Net running on your network?

    Oh dear, I think I'd rather somehow get this on standalone machines then.

    That's going to be a nightmare!

    Cheers for the advice Geoff and all.

  9. #9

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115

    Re: VB.Net running on your network?

    GetAdmin. MS did eventually fix the bug, but users with debugging rights are immune to the 'fix'
    When I were a lad ..remember a hour or two on a Saturday disassembling getadmin (source code was released later) and figuring the quick workaround for that with a US NT security wiz. MS did fix it. And later Paul Leach of MS, the informal i/f to the then NT security "community" (and former Apollo Nix guy if that helps) told us they had subsequently had a full, lengthy audit of the kernel done. SeDebugPrivilege was really another issue and ultimately being able to do anything with that is "by design" for good reasons.

    Anyway manifest errors can be lots of thing and the first screenshot looks like a genuine namespace problem i.e. something that can happen if you're not careful with those.

    I'm not an expert on trusting shares, but I'm not sure about the caspol line. I have a batch to remember the comand line I once needed and it looks like this:

    Code:
    caspol.exe -m -ag 1.2 -url file://server/share/* FullTrust
    A not uncommon solution to trying to develop code on a locked down machine is to give them a VM environment and revert that to a nice clean snapshot when they've finished breaking it.

  10. #10
    Andi's Avatar
    Join Date
    Feb 2007
    Location
    Newport, South Wales
    Posts
    276
    Thank Post
    52
    Thanked 4 Times in 4 Posts
    Rep Power
    16

    Re: VB.Net running on your network?

    I've been toying with that idea in my mind. Just a VM image of a clean XP standalone with Visual Studio that the students can fire up when they need to run the programs.

    Thanks.

SHARE:
+ Post New Thread

Similar Threads

  1. Running Open Office from a network Share?
    By Kyle in forum General Chat
    Replies: 5
    Last Post: 9th November 2007, 11:43 AM
  2. Running Java on RM Network Securely
    By tony82 in forum Network and Classroom Management
    Replies: 3
    Last Post: 10th September 2007, 09:22 PM
  3. Running Office 2007 from a network Share
    By BKGarry in forum Wireless Networks
    Replies: 15
    Last Post: 6th February 2007, 09:59 AM
  4. Howto: Kudos 2005 running over the network
    By ChrisH in forum Educational Software
    Replies: 5
    Last Post: 5th January 2006, 04:19 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •