Winforms security issue

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

I have installed a winforms net 2 app on a windows 2000 server. I am just
trying to run it on the server at this point and I am getting an error as
soon as the program tries to start. I know that its a security error which
I can see from the error signature in the sendto Microsoft dialog box. I
have even tried running the app as the administrator. Any suggestions. The
app works fine on my machine. I know that it has to be with a security
issue.

Bill
 
Explain more "install on the server" and "run on the server", since it runs
on your machine.

Does the server have .NET framework installed?
Does "run on the server" means some log onto the server computer and run the
app?
Does " install on the server" means all dependecies of the app is available
on the computer?

Or, you just place the app as file(s) on the server's folder as network
share, and run the application from other computer(s). If it is the case,
you did not install your app on the server, and you did not run the app on
the server, you just load .NET code (app files) from somewhere outside the
running computer, and you WILL get security error if you did not configure
..NET CAS (Code Access Security) for the running computer. This is how .NET
is designed. I am going further on this topic before knowing what exactly
you mean "on the server" and what type of app you are doing (Win Form or Web
app).
 
I just created a directory on the server and copied the files and dlls that
I needed to that directory.
 
Do you run the app on the server or do you actually run it on other computer
but only loading the application files (exe and dll) from the server's file
system (a folder on the server box)? That makes things completely different!
 
It will normally be run from the clients machines. I was just trying to
test it out first on the server.

Bill
 
Back
Top