security on shared drives 
Author Message
 security on shared drives

I wish to develop a VB .net application on a shared drive.
When I open the project I get a long dialog box starting
with: "The project location is not fully trusted by
the .NET runtime". And indeed I cannot run the application
due to security checks.

What can I do to create a VB .net application on a shared
drive?



Fri, 10 Sep 2004 21:26:27 GMT  
 security on shared drives
Next time that dialog box appears, click the Help button. THe help
actually does, in this case (as opposed to VB6, where clicking the
Help button rarely did). You can solve this in one of two ways, and
the help topic describes exactly what to do. -- Ken

On Mon, 25 Mar 2002 05:26:27 -0800, "Mark Finkel"

Quote:

>I wish to develop a VB .net application on a shared drive.
>When I open the project I get a long dialog box starting
>with: "The project location is not fully trusted by
>the .NET runtime". And indeed I cannot run the application
>due to security checks.

>What can I do to create a VB .net application on a shared
>drive?

-- Ken
MCW Technologies
http://www.mcwtech.com


Fri, 10 Sep 2004 23:21:40 GMT  
 security on shared drives
Ken,

Thanks you for a prompt and well considered response.

Sadly it did not work. I do not appear to have mscorcfg
installed. Would you, or any other kind soul reading this
post, have any idea where I get it?

I installed VS.net from my MSDN CDs and apparently
mscorcfg was not included.

Thanks again,
Mark

Quote:
>-----Original Message-----
>Next time that dialog box appears, click the Help button.
THe help
>actually does, in this case (as opposed to VB6, where
clicking the
>Help button rarely did). You can solve this in one of two
ways, and
>the help topic describes exactly what to do. -- Ken

>On Mon, 25 Mar 2002 05:26:27 -0800, "Mark Finkel"

>>I wish to develop a VB .net application on a shared
drive.
>>When I open the project I get a long dialog box starting
>>with: "The project location is not fully trusted by
>>the .NET runtime". And indeed I cannot run the
application
>>due to security checks.

>>What can I do to create a VB .net application on a
shared
>>drive?

>-- Ken
>MCW Technologies
>http://www.mcwtech.com
>.



Fri, 10 Sep 2004 23:53:16 GMT  
 security on shared drives
Thanks for your helpful reply.

I finally worked out how to start mscorcg. Things went
well up to step 5:

"Choose a Condition Type of URL, then add the .NET
Framework SDK to the share location of your project. Click
Next."

I don't have a clue. I am trying to specify a share, not a
url. What am I supposed to enter here?? I tried the file
type url.....file://x:\vbnet, but that had no effect.

Any ideas??

-Mark

Quote:
>-----Original Message-----
>Next time that dialog box appears, click the Help button.
THe help
>actually does, in this case (as opposed to VB6, where
clicking the
>Help button rarely did). You can solve this in one of two
ways, and
>the help topic describes exactly what to do. -- Ken

>On Mon, 25 Mar 2002 05:26:27 -0800, "Mark Finkel"

>>I wish to develop a VB .net application on a shared
drive.
>>When I open the project I get a long dialog box starting
>>with: "The project location is not fully trusted by
>>the .NET runtime". And indeed I cannot run the
application
>>due to security checks.

>>What can I do to create a VB .net application on a
shared
>>drive?

>-- Ken
>MCW Technologies
>http://www.mcwtech.com
>.



Sat, 11 Sep 2004 00:35:35 GMT  
 security on shared drives
its should me \\machineName\DirectoryStructure of your shared location.

NET applications when loaded are loaded with the evidance information
about the assembly. Evidance will hace the information about the location
from where the application was loaded. If you have to run your application
from a shared location then in your security policy, on your machine should
have the permission to execute applicaitons from that location.

Thanks



Sat, 11 Sep 2004 07:20:56 GMT  
 security on shared drives
Imtiaz,

Thank you for the suggestion, but it does not work.

It says "invalid URL".

That is not at all surprising. How can you possibly put a share into a
field that wants a URL? I tried the only logical approach, a
"file://..." url and it did no good.

Does *anyone* know how to create a VB project on a shared drive? For
backup/recovery purposes that is the only place that makes sense.

Mark Finkel

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Sat, 11 Sep 2004 21:20:12 GMT  
 security on shared drives
Thanks for the try, but alas, that suggestion failed
with "invalid URL".

Which stands to reason, because a URL was asked for and
that is not a URL. I tried the logical "file://...." type
of URL, but that had no effect.

Does anyone know how to create a VB project on a shared
drive? It is really necessary for backup/recovery/sharing.

Quote:
>-----Original Message-----
>its should me \\machineName\DirectoryStructure of your
shared location.

>.NET applications when loaded are loaded with the

evidance information
Quote:
>about the assembly. Evidance will hace the information
about the location
>from where the application was loaded. If you have to run
your application
>from a shared location then in your security policy, on

your machine should
Quote:
>have the permission to execute applicaitons from that
location.

>Thanks

>.



Sun, 12 Sep 2004 04:22:38 GMT  
 security on shared drives
Hi Mark-

The file path should be: file://x:/* where X is the mapped shared drive.

Alternatively, You can also give file://ComputerName/* for all files from
that particular computer

The only advantage you will get by sharing your app from a central location
is that, you can upgrade or change your application at one place. The bad
part of it is you have to configure every machine you have to run this
shared application from for security permissions.

If you decide to install this application on every machine then you can
always keep the copy of you application on any number of machines.

Let me know if this helps.

Thanks

Imtiaz.



Tue, 14 Sep 2004 05:45:46 GMT  
 security on shared drives
Imtiaz,

Thanks so much. You solved my problem.

Mark Finkel

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Tue, 14 Sep 2004 21:11:17 GMT  
 
 [ 9 post ] 

 Relevant Pages 

1. Need help copying files from shared drive to local drive

2. local drive letter <> drive share name

3. Creating Shared Directories w/Security

4. File Sharing/security problem - I Think! - Help Please

5. COM object for file/share security

6. Creating Shared Directories w/Security

7. Getting Setting Security to a Share

8. Template on a shared drive

9. Uploading a Template to the Shared Network Drive

10. Shared Drive access

11. What is the Share-Name of a local drive

12. What is the Share-Name of a local drive

 

 
Powered by phpBB® Forum Software