system.security.securityexception

system.security.securityexception

Post by YnVyaWFob2 » Sun, 08 May 2005 03:19:02


I need some help here with security. I have a vb.net program that resides on
remote laptops. When the users log into another application (siebel) on some
server which I do not know anything about that application launches my vb.net
program. The program launches and shows up in the prosses in the task manager
and runs for several seconds and the stops running. It does not however show
the intial screens (user inteface) required to run my application it however
never shows up on the applications tab of the task manager. It does not
appear to give any error.

Thanks
Tim
 
 
 

system.security.securityexception

Post by Nicole Cal » Sun, 08 May 2005 22:26:49

If it "does not appear to give any error", where does the SecurityException
in your post title come from? If there is a SecurityException being thrown,
might you be able to capture the full exception details (via its ToString
method) and post them here?

 
 
 

system.security.securityexception

Post by YnVyaWFob2 » Sun, 08 May 2005 23:18:01

Nicole:

I was getting a security exception when I launched pgm from another laptop
but I resolved with security mgr. Here is what is occuring...A remote user
using a laptop runs a application on there local laptop during the course of
the load of that application it then launches my vb.net program on their
laptop to do some updating and when done is to continue with the original
application. What happens it that my application is launched on the remote
laptop and shows in the task manager processes tab but not the applications
tab. I have to kill the process in order for there main application to
continue loading. I think it is a security issue because I can run it locally
on the laptops but it won't work when launched from their original
application (another server). I have found out that the application that
lauches mine is a vb6.0 application. If I change the caluculator pgm to my
program name it will launch the calculator pgm. I would appreciate any help
to resolve this issue and appreciate your reply.

Tim
 
 
 

system.security.securityexception

Post by Yunus Emre » Mon, 09 May 2005 01:04:17

Use Microsoft .NET configuration tool and set network zone as trusted. It is
not an acceptable way, i know, but should fix your problem.

--

Thanks,
Yunus Emre ALPEN
BSc, MCAD.NET
 
 
 

system.security.securityexception

Post by YnVyaWFob2 » Mon, 09 May 2005 22:41:07

Yunus

I don't see a network zone.
 
 
 

system.security.securityexception

Post by Nicole Cal » Wed, 11 May 2005 01:11:34

Have you tried running it over the network (i.e.: from the same server
location as the VB6 application uses) from one of the problem laptops? What
result do you see in this scenario?