intranet and framework basics

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
1) The server doesn't need to have .Net framework, unless you have ASP.Net
pages, Web Services or some other coding runing AT this server and not FROM
this server.

The .EXE runs at the computer where the user is, and there is where you need
..Net Framewor.

2) Yes, you have to configure the .Net security policy because .Net will not
give much permissions to a code that you have just downloaded (what if it is
a virus or something?). So you have to tell .Net that it is ok, and that .EXE
is safe and should have more permissions. So what you have to do is to go to
administrative tools, .Net Framework Configuration, Runtime Security Police,
Machine, Code Groups, and under "All code" you can create a node telling that
if the code has that specific public key, then that code will have full
permissions.

Mateus
 
Back
Top