473,386 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

VB2005 - Untrusted Location

Ok, so I'm about to go nuts. Here's the background -- My Documents is
redirected to a network location and My Documents is an offline
folder. So my projects location is located in my (network) My
Documents location.

Everytime I open a project I get the message: The project location is
not trusted...

I've attempted to allow the My Documents location (\\server.domain.com
\username\*) as a Fully Trusted location in .NET 2.0 Configuration
under the LocalIntranet zone but this doesn't seem to help.

So can anyone help? What can I do to get rid of this message? I have
another security problem with an untrusted assembly but I'll wait till
I get this fixed first....

Mar 17 '07 #1
4 2410
Under Framework 1.1, you'd do this:

1.. Open Control Panel -Administration Tools -Microsoft .NET Framework
1.1 Configuration
2.. Navigate to Runtime Security Policy -Machine -Code Groups ->
All_Code -LocalIntranet_Zone
3.. Add a new child code group named MyDocsFolderFullTrust or something
like that and click Next;
4.. Choose URL for the condition type;
5.. Under the URL enter the network location as file://your directory path
here/* and click Next;
6.. Assign the FullTrust permission set, if not already set, and click
Next;
7.. Click Finish to close the wizard.
I don't know what the equivalent is for VS2005, but try following a similar
process and see if it helps.

HTH,
Tom Dacon
Dacon Software Consulting

"Joseph Gruber" <jo***********@gmail.comwrote in message
news:11**********************@y66g2000hsf.googlegr oups.com...
Ok, so I'm about to go nuts. Here's the background -- My Documents is
redirected to a network location and My Documents is an offline
folder. So my projects location is located in my (network) My
Documents location.

Everytime I open a project I get the message: The project location is
not trusted...

I've attempted to allow the My Documents location (\\server.domain.com
\username\*) as a Fully Trusted location in .NET 2.0 Configuration
under the LocalIntranet zone but this doesn't seem to help.

So can anyone help? What can I do to get rid of this message? I have
another security problem with an untrusted assembly but I'll wait till
I get this fixed first....

Mar 17 '07 #2
On Mar 17, 6:57 pm, "Tom Dacon" <tda...@community.nospamwrote:
Under Framework 1.1, you'd do this:

1.. Open Control Panel -Administration Tools -Microsoft .NET Framework
1.1 Configuration
2.. Navigate to Runtime Security Policy -Machine -Code Groups ->
All_Code -LocalIntranet_Zone
3.. Add a new child code group named MyDocsFolderFullTrust or something
like that and click Next;
4.. Choose URL for the condition type;
5.. Under the URL enter the network location as file://your directory path
here/* and click Next;
6.. Assign the FullTrust permission set, if not already set, and click
Next;
7.. Click Finish to close the wizard.
I don't know what the equivalent is for VS2005, but try following a similar
process and see if it helps.

HTH,
Tom Dacon
Dacon Software Consulting

"Joseph Gruber" <joseph.gru...@gmail.comwrote in message

news:11**********************@y66g2000hsf.googlegr oups.com...
Ok, so I'm about to go nuts. Here's the background -- My Documents is
redirected to a network location and My Documents is an offline
folder. So my projects location is located in my (network) My
Documents location.
Everytime I open a project I get the message: The project location is
not trusted...
I've attempted to allow the My Documents location (\\server.domain.com
\username\*) as a Fully Trusted location in .NET 2.0 Configuration
under the LocalIntranet zone but this doesn't seem to help.
So can anyone help? What can I do to get rid of this message? I have
another security problem with an untrusted assembly but I'll wait till
I get this fixed first....
I've actually done that already for both Framework 1.1 and Framework
2.0 but I still get the error...hence why I'm banging my head. ;)

Mar 17 '07 #3
Just checked on VS2005 and the procedures is the same, except that you go to
Microsoft .NET Framework
2.0 Configuration.

Tom Dacon
Dacon Software Consulting

"Tom Dacon" <td****@community.nospamwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Under Framework 1.1, you'd do this:

1.. Open Control Panel -Administration Tools -Microsoft .NET
Framework 1.1 Configuration
2.. Navigate to Runtime Security Policy -Machine -Code Groups ->
All_Code -LocalIntranet_Zone
3.. Add a new child code group named MyDocsFolderFullTrust or something
like that and click Next;
4.. Choose URL for the condition type;
5.. Under the URL enter the network location as file://your directory
path here/* and click Next;
6.. Assign the FullTrust permission set, if not already set, and click
Next;
7.. Click Finish to close the wizard.
I don't know what the equivalent is for VS2005, but try following a
similar process and see if it helps.

HTH,
Tom Dacon
Dacon Software Consulting

"Joseph Gruber" <jo***********@gmail.comwrote in message
news:11**********************@y66g2000hsf.googlegr oups.com...
>Ok, so I'm about to go nuts. Here's the background -- My Documents is
redirected to a network location and My Documents is an offline
folder. So my projects location is located in my (network) My
Documents location.

Everytime I open a project I get the message: The project location is
not trusted...

I've attempted to allow the My Documents location (\\server.domain.com
\username\*) as a Fully Trusted location in .NET 2.0 Configuration
under the LocalIntranet zone but this doesn't seem to help.

So can anyone help? What can I do to get rid of this message? I have
another security problem with an untrusted assembly but I'll wait till
I get this fixed first....


Mar 17 '07 #4
"Joseph Gruber" <jo***********@gmail.comwrote in message
news:11**********************@l75g2000hse.googlegr oups.com...
I've actually done that already for both Framework 1.1 and Framework
2.0 but I still get the error...hence why I'm banging my head. ;)
And of course you've added the web site(s) to the local intranet zone
through IE's Internet Options/Security/Local Intranet zone dialog as well, I
have no doubt?

Sorry, but I'm out of ideas beyond that. Good luck, and if you find the
solution please post it here.

Tom
Mar 17 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jim Dabell | last post by:
I'm in the middle of writing a small app for Linux that needs to create directories that take their names from untrusted data. If possible, I'd like to preserve special characters rather than...
9
by: Jim Washington | last post by:
I'm still working on yet another parser for JSON (http://json.org). It's called minjson, and it's tolerant on input, strict on output, and pretty fast. The only problem is, it uses eval(). It's...
3
by: Diarmuid | last post by:
I have the MS book, introducing Microsoft Visual Basic 2005 for Developers. No sample code comes with it.The location according to the book is http://msdn.microsoft.com/vbasic/VB6Migration but I...
2
by: johni58 | last post by:
I have several VB6 applications that I am rewriting in VB2005 Express. I used invisible control arrays to place labels over snapshots on a thumbnail screen. Choosing one of the thumbs would open the...
3
by: King Ron | last post by:
Ola all: I had a call from a client yesterday. She reports that when attempting to connect to a AC2002 mdb backend on a remotely shared pc (mapped locally as \\Server\Users) she suddenly began...
15
by: Galen Somerville | last post by:
I have an app using a VB6 ActiveX.dll which I also have made as an exe. Both the dll and exe have exactly the same code and start in Sub Main. There is no form involved. I start this activex as...
4
by: Galen Somerville | last post by:
My VB2005 app gets real time Heart sounds and an ECG from a USB device. I'm looking for a way to speed up the drawing of the traces on the screen. In the following code the routine GetSounds...
0
by: Ben | last post by:
Hello, I've been developing apps in Delphi for years and have just started writing my first big project in c# + ms .net and have some questions about security and untrusted code. I've got an...
2
by: Andrey Fedorov | last post by:
Is the scope of a closure accessible after it's been created? Is it safe against XSS to use closures to store "private" auth tokens? In particular, in... ....can untrusted code access...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.