Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / October 2004

Tip: Looking for answers? Try searching our database.

intranet and Framework basics

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Miro - 27 Sep 2004 12:35 GMT
I'm trying to get a Windows Forms application to work on an intranet (not
including my dev. comp.) It gives me the "unhandled exception error" so I
found an article about strong names. I'm still lacking the basic knowledge of
what's goig on when an application runs.

First of all, does the server on which the application exists have to have
the Framework installed or does the application run on the client machines?
(What happens when they doubleclick the exe-file on the network share?)

Once I copied the Strong name assemblies to the server I'm supposed to
configure CAS Policy with custom code group, using Mscorcfg.msc. Where do I
do that? On the Server or the Client machines?

Thanks
/Miro
Saurabh Nandu - 03 Oct 2004 03:23 GMT
Hi Miro,

You are probablly getting an Unhandled Security Exception since by default
the Framework policies do not allow code to execute from the network.

Now you will need the .NET Framework installed on all the *client* machines
that are going to call the application.

In order for Code Access Security to work on the client machines, you need
to give your assembly strong name so that you can setup a policy to trust the
assembly from the network.

Now on each *client* you will have to configure the Code Access Policy from
mscorcfg.msc. You can go to the Runtime Security Policy node and then click
on the "Increase Assembly Trust" link to start the Wizard that will guide you
to increase trust for your application.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.