Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Problem running remote code from Network drive.

Posted on 2007-07-23
19
Medium Priority
?
195 Views
Last Modified: 2013-11-26
I have application which Encode and image. I have created DLL for this functionality
This DLL is used by Another application. My Problem is...when i create shortcut of this application which reside on Network drive.
I am not able to encode my file. If run application locally am able to achive the functionality.
I am aware about CAS and i have set all the security as FullTrust.
But still am not able to achive it from Network drive. This dll is developed in Framework 1.1
0
Comment
Question by:syswareinc
  • 8
  • 8
16 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 19546624
This is a common problem with .NET security.  Have you tried adjusting the Local Intranet Zone to Full Trust?

Bob
0
 

Author Comment

by:syswareinc
ID: 19546837
I have set All_Code permission to FullTrust..but its not working...
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 19547143
That's not what I am talking about.  You can use the configuration wizard to adjust the Local Intranet Zone to Full Trust.

Bob
0
Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

 

Author Comment

by:syswareinc
ID: 19591772
You will achieve same functinality by running wizard. It is one and same thing.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 19591849
You said "All_Code permission to FullTrust", and that is a different thing.

Bob
0
 

Author Comment

by:syswareinc
ID: 19615705
I did it but still now working
0
 

Author Comment

by:syswareinc
ID: 19615706
I did it but still not working...............
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 19616461
What type of network are you trying to run this from?

Bob
0
 

Author Comment

by:syswareinc
ID: 19622790
Intranet
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 19623684
Please be more specific (Linux, Netware, Windows 2003, ...).

Bob
0
 

Author Comment

by:syswareinc
ID: 19637354
Windows
I am running this code from Windows XP Professional.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 19637834
And, the network share is also Windows XP Professional?

Bob
0
 

Author Comment

by:syswareinc
ID: 19660010
It is Windows Server 2003
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 19660869
Is the assembly strong named?

Bob
0
 

Author Comment

by:syswareinc
ID: 19706924
yes assemblies are strongly named
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 19707384
Read through this article, if you haven't already, and let me know if you did all the steps:

How to: Grant Permissions to Folders and Assemblies
http://msdn2.microsoft.com/en-us/library/zdc263t0(VS.80).aspx

Bob
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Screencast - Getting to Know the Pipeline
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question