By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,697 Members | 1,260 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,697 IT Pros & Developers. It's quick & easy.

Coding over a network.

P: n/a
I have an on-going project on my main pc. It stores its serialized data
on the local machine. I would like, sometimes, to be able to do some
coding on my laptop using the source and data on my main pc.

I can load the source ok but I get a warning about the project location
not being "fully trusted". The code runs ok but attempts to load the
data from the network resource throws up a
system.security.securityexception.

What do I have to do to make .NET trust other machines on my LAN, or is
there another method for getting at (and updating) the data?

--
Alan LeHun
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Check out Code Access Security (CAS)

http://www.knowdotnet.com/articles/d...esecurity.html

"Alan LeHun" <no**@the.mo> wrote in message
news:MP************************@news.clara.net...
I have an on-going project on my main pc. It stores its serialized data
on the local machine. I would like, sometimes, to be able to do some
coding on my laptop using the source and data on my main pc.

I can load the source ok but I get a warning about the project location
not being "fully trusted". The code runs ok but attempts to load the
data from the network resource throws up a
system.security.securityexception.

What do I have to do to make .NET trust other machines on my LAN, or is
there another method for getting at (and updating) the data?

--
Alan LeHun

Nov 21 '05 #2

P: n/a
In article <#j**************@TK2MSFTNGP14.phx.gbl>,
rc************@enterprocity.com says...
Check out Code Access Security (CAS)

http://www.knowdotnet.com/articles/d...esecurity.html


tyvm.

Bit heavy for me (and keeps taking me to the MS Help files which I've
already trawled through) but I now at least have access to my data
across the LAN, even if I still get the "not trusted" warning.

--
Alan LeHun
Nov 21 '05 #3

P: n/a
If you go under Control Panel > Administrative Tools > Microsoft .NET
wizards. After you start this use the "Adjust .NET Security Wizard" After
deciding if you want to adjust the whole computer or just yourself you should
see My Computer, Local Intranet, etc. Try setting the Local Intranet Trust
to Full. I had the same issue before and this seemed to resolve it.

hope this helps

good luck,

Steve

"Alan LeHun" wrote:
In article <#j**************@TK2MSFTNGP14.phx.gbl>,
rc************@enterprocity.com says...
Check out Code Access Security (CAS)

http://www.knowdotnet.com/articles/d...esecurity.html


tyvm.

Bit heavy for me (and keeps taking me to the MS Help files which I've
already trawled through) but I now at least have access to my data
across the LAN, even if I still get the "not trusted" warning.

--
Alan LeHun

Nov 21 '05 #4

P: n/a
In article <39**********************************@microsoft.co m>,
SZ***@discussions.microsoft.com says...
If you go under Control Panel > Administrative Tools > Microsoft .NET
wizards. After you start this use the "Adjust .NET Security Wizard" After
deciding if you want to adjust the whole computer or just yourself you should
see My Computer, Local Intranet, etc. Try setting the Local Intranet Trust
to Full. I had the same issue before and this seemed to resolve it.

hope this helps


Indeed it does. ty.

--
Alan LeHun
Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.