Home All Groups Group Topic Archive Search About

system.security.securityexception

Author
6 May 2005 6:19 PM
buriahome
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

Author
7 May 2005 1:26 PM
Nicole Calinoiu
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?



Show quoteHide quote
"buriahome" <buriah***@discussions.microsoft.com> wrote in message
news:8746BCD3-0DF5-4CD1-ABA8-B02CE8019FCD@microsoft.com...
>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
Author
7 May 2005 2:18 PM
buriahome
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

Show quoteHide quote
"Nicole Calinoiu" wrote:

> 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?
>
>
>
> "buriahome" <buriah***@discussions.microsoft.com> wrote in message
> news:8746BCD3-0DF5-4CD1-ABA8-B02CE8019FCD@microsoft.com...
> >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
>
>
>
Author
7 May 2005 4:04 PM
Yunus Emre ALPÖZEN [MCAD.NET]
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 ALPÖZEN
BSc, MCAD.NET

Show quoteHide quote
"buriahome" <buriah***@discussions.microsoft.com> wrote in message
news:0C1F78B4-A862-4D18-94B1-6BD63F47FA09@microsoft.com...
> 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
>
> "Nicole Calinoiu" wrote:
>
>> 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?
>>
>>
>>
>> "buriahome" <buriah***@discussions.microsoft.com> wrote in message
>> news:8746BCD3-0DF5-4CD1-ABA8-B02CE8019FCD@microsoft.com...
>> >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
>>
>>
>>
Author
8 May 2005 1:41 PM
buriahome
Yunus

I don't see a network zone.

Show quoteHide quote
"Yunus Emre ALPÖZEN [MCAD.NET]" wrote:

> 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 ALPÖZEN
> BSc, MCAD.NET
>
> "buriahome" <buriah***@discussions.microsoft.com> wrote in message
> news:0C1F78B4-A862-4D18-94B1-6BD63F47FA09@microsoft.com...
> > 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
> >
> > "Nicole Calinoiu" wrote:
> >
> >> 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?
> >>
> >>
> >>
> >> "buriahome" <buriah***@discussions.microsoft.com> wrote in message
> >> news:8746BCD3-0DF5-4CD1-ABA8-B02CE8019FCD@microsoft.com...
> >> >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
> >>
> >>
> >>
>
>
>
Author
8 May 2005 2:33 PM
Yunus Emre ALPÖZEN [MCAD.NET]
Ok. Let's do it together..

Run Control Panel --> Administrative Tools --> Microsoft .NET Framework
%version% Configuration

As seen in scene 1 choose Runtime Security Policies and click adjust zone
security...

As seen in scene 2 choose "make changes to this computer"

Choose Local Intranet as seen in scene 3 and move slider to top.. Then click
next and click finish. Retry your application should work.... But this way
is not recommended

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

Show quoteHide quote
"buriahome" <buriah***@discussions.microsoft.com> wrote in message
news:B917981A-4D96-45B9-969C-8E2749C065B5@microsoft.com...
> Yunus
>
> I don't see a network zone.
>
> "Yunus Emre ALPÖZEN [MCAD.NET]" wrote:
>
>> 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 ALPÖZEN
>> BSc, MCAD.NET
>>
>> "buriahome" <buriah***@discussions.microsoft.com> wrote in message
>> news:0C1F78B4-A862-4D18-94B1-6BD63F47FA09@microsoft.com...
>> > 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
>> >
>> > "Nicole Calinoiu" wrote:
>> >
>> >> 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?
>> >>
>> >>
>> >>
>> >> "buriahome" <buriah***@discussions.microsoft.com> wrote in message
>> >> news:8746BCD3-0DF5-4CD1-ABA8-B02CE8019FCD@microsoft.com...
>> >> >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
>> >>
>> >>
>> >>
>>
>>
>>


[attached file: scene1.jpg]
[attached file: scene2.jpg]
[attached file: scene3.jpg]
Author
9 May 2005 4:11 PM
Nicole Calinoiu
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?


Show quoteHide quote
"buriahome" <buriah***@discussions.microsoft.com> wrote in message
news:0C1F78B4-A862-4D18-94B1-6BD63F47FA09@microsoft.com...
> 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
>
> "Nicole Calinoiu" wrote:
>
>> 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?
>>
>>
>>
>> "buriahome" <buriah***@discussions.microsoft.com> wrote in message
>> news:8746BCD3-0DF5-4CD1-ABA8-B02CE8019FCD@microsoft.com...
>> >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
>>
>>
>>