473,473 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Coding over a network.

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
4 1207
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: quitaxe | last post by:
hi i'm planning to code a search engine as my university project.i would like to know which language is best suited for this purpose.also should i host the search engine on a linux or a windows...
8
by: Alex Ang | last post by:
I have written the following VBScript program. It is stored into a file "map_drive.vbs". It successfully mapped to a network drive \\server1\data. Dim WshNetwork Set WshNetwork =...
55
by: Jonas Smithson | last post by:
I've seen a few attractive multi-column sites whose geometry is based on pure CSS-P, but they're what you might call "code afficionado" sites, where the subject matter of the site is "coding...
19
by: Brian P | last post by:
I have a try block that attempts to call a web service. The web service requires a token that can expire at any time, so I am using a catch block to refresh the token and then try the call to the...
8
by: BJ | last post by:
Problem: How can I code up a client side process to detect if the network is available? Synopsis: I am writing ASP.NET input forms for a Panasonic Tuff book. The users will be walking around...
3
by: Manuel Alves | last post by:
Hi all, I've got a windows service that depends on some other services. On the project installer I state this by using: Me.myService.ServicesDependedOn = New String() {"Print Spooler", "Net...
7
by: Robert Seacord | last post by:
The CERT/CC has just deployed a new web site dedicated to developing secure coding standards for the C programming language, C++, and eventually other programming language. We have already...
10
by: gary0gilbert | last post by:
An unusual spin to this recurring disk or network error in a Terminal Server environment. Access 2000, Terminal Server 2000, file server is windows 2000. All users have a separate copy of the...
0
by: nancylife | last post by:
When developing web report, many developers use VMware to simulate different operating systems on a same server. Then, they can realize cross-platform deployment and debug of web report. According to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.