Remote access

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

Guest

Hi,
I have a windows forms application, developed under .Net 2003. This
application mainly accesses a remote Oracle database to generate reports. To
be able to run my application, I have to install it on every PC that needs to
use it, along with the .Net framework 1.1 and all the libraries it needs. I
made an msi file that does everything I need and it works very well.
Now, I would like, instead of having to install the application on every PC,
to install the application on the server, where the database is, and access
it remotely. Is it possible to do that with the present application or do I
have to rewrite it in a different manner? I tried to run the application
remotely and I received an error, and couldn't load the application.

Thanks
 
To add more information on my previous post, when I try to access the
application from a remote computer, I get a Security Error. I have to define
the right permissions to the application and to the computer to be able to
run the application, especially since the application contains an ActiveX
(locally registered), an Oracle data access and an access to the registry of
the machine that holds the file. Could you tell me please how I could change
the permissions of my application and of my remote computer to be able to
launch it?

Thanks
 
You'll likely need to grant your code FullTrust permissions (or a subset
thereof, if possible) to your assembly to be able to run from a network
location.

To do this, you will have to either trust the location where the application
is executed from or, ideally, assign the permissions to the assembly if you
have signed it with a strong name.

You can configure the trust level to your assembly using the Microsoft .NET
configuration tools[1]. If you want to adjust these permissions for more than
one computer at a time, you'll need to apply group policy[2] to do so.

Hope that helps,

-Paul

[1]
http://msdn.microsoft.com/library/d...consecuritypolicyconfiguration.asp?frame=true

[2]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/entsecpoladmin.asp
 
Back
Top