Re: .NET apps not being recognized as being in the Intranet Zone



On May 18, 2:20 pm, james <men...@xxxxxxxxxxxxxxxxxx> wrote:
WATYF <WAT...@xxxxxxxxx> wrote innews:b49180b8-f865-4aae-aa4c-6896e6d9f3c8@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:



So I had a problem recently... my .NET apps would no longer run from a
particular share, nor could I open them in VS.NET. See:
http://groups.google.com/group/microsoft.public.dotnet.languages.csharp
/browse_thread/thread/51cb5c13ce875757?hl=en

So I went into Internet Explorer's "zone" area and added the domain
that the network share is on to the "Intranet Sites" list.

But the problem still remains the same. I've got a network share that
is mapped using a full domain (xx.mydomain.xxx), and I've added that
domain to the Internet settings so that it is treated as a "Local
Intranet" site, and I've set the .NET security settings for
LocalIntranet to "FullTrust", and yet it still doesn't work?

Any ideas why? Is there somewhere else that I should be assigning that
domain as an "Intranet" site?

WATYF

IIRC, you need to be using caspol.exe rather than the zones set with
Internet Explorer. That's what I had to do in my very similar case,
anyway.

Good luck!

--
The email address, above, is most certainly munged. Perhaps you
might reply to the newsgroup, instead? Thanks!


How would I use caspol to do this? I tried running it from command
line, but I got an "access denied" message.


Basically, I just need to tell ".NET" that any assembly that exists on
the drive mapped like so: ( share on 'sub.corpdomain.org\shares' )
belongs to the IntRAnet zone, not the IntERnet zone. How do I do
this??


WATYF
.



Relevant Pages


Loading