Home All Groups Group Topic Archive Search About

Running programs located on server

Author
8 Mar 2005 12:39 PM
Steen
I have a Win98 laptop which is connected to our local network.
I want to run a .NET program which is located on a server, but I am not
allowed to by the laptop.

If I copy the exe to the harddisc, it will run ok.

I guess its something about security settings in Win98, but I cannot find
anything.

Can anyone please help?

Author
10 Mar 2005 3:37 AM
Trevor Lawrence
It sounds like your application needs Full Trust which is what it gets when
run from the local HD. If you run it from your local network it will be
assigned Partial Trust with a bunch of restrictions. You need to do one of
the following:

Grant Full Trust to the Intranet zone. (Not recommended!)

Rewrite the app so that it works under Partial Trust. There are some
articles around on the MSDN site on how to do this if I recall.

If the app is appropriately signed, you can grant Full Trust to the app or
the publisher of the app.

Etc.

These changes are made with the .NET Configuration Tool that you will find
in the Admin Tools group in the start menu.

Trevor

Show quoteHide quote
"Steen" <St***@discussions.microsoft.com> wrote in message
news:2FA14A22-6F56-493A-AF75-04BB071C425D@microsoft.com...
>I have a Win98 laptop which is connected to our local network.
> I want to run a .NET program which is located on a server, but I am not
> allowed to by the laptop.
>
> If I copy the exe to the harddisc, it will run ok.
>
> I guess its something about security settings in Win98, but I cannot find
> anything.
>
> Can anyone please help?
Are all your drivers up to date? click for free checkup

Author
10 Mar 2005 8:43 AM
Steen
Thanks Trevor,

....but I still cannot make it work.

I repeat that the laptop is running Win98, so the Admin Tool you are
referring to is not there!

I tried to adjust the Intranet security setting to "low", but that did not
help.

The partial/full-trust subject is new to me.
I will try to investigate, although I am convinced that the problem lies in
the executing machine, not in the app.
But I have been wrong before!!

Thanks, anyway.

Show quoteHide quote
"Trevor Lawrence" wrote:

> It sounds like your application needs Full Trust which is what it gets when
> run from the local HD. If you run it from your local network it will be
> assigned Partial Trust with a bunch of restrictions. You need to do one of
> the following:
>
> Grant Full Trust to the Intranet zone. (Not recommended!)
>
> Rewrite the app so that it works under Partial Trust. There are some
> articles around on the MSDN site on how to do this if I recall.
>
> If the app is appropriately signed, you can grant Full Trust to the app or
> the publisher of the app.
>
> Etc.
>
> These changes are made with the .NET Configuration Tool that you will find
> in the Admin Tools group in the start menu.
>
> Trevor
>
> "Steen" <St***@discussions.microsoft.com> wrote in message
> news:2FA14A22-6F56-493A-AF75-04BB071C425D@microsoft.com...
> >I have a Win98 laptop which is connected to our local network.
> > I want to run a .NET program which is located on a server, but I am not
> > allowed to by the laptop.
> >
> > If I copy the exe to the harddisc, it will run ok.
> >
> > I guess its something about security settings in Win98, but I cannot find
> > anything.
> >
> > Can anyone please help?
>
>
>
Author
10 Mar 2005 10:33 AM
Trevor Lawrence
Tweaking the settings in IE will have no effect.

I've had no experience with the .NET Framework on Win98, but it rather
surprises me that the .NET Framework Configuration tool can't be found.  On
my XP box the tool is found at
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorcfg.msc.

Your symptom really does match exactly what I'd expect from the default
settings of the .NET Framework Runtime Security Policy.

Trevor


Show quoteHide quote
"Steen" <St***@discussions.microsoft.com> wrote in message
news:04818E08-2F30-4C20-AAF2-72FB1BE9DC82@microsoft.com...
> Thanks Trevor,
>
> ...but I still cannot make it work.
>
> I repeat that the laptop is running Win98, so the Admin Tool you are
> referring to is not there!
>
> I tried to adjust the Intranet security setting to "low", but that did not
> help.
>
> The partial/full-trust subject is new to me.
> I will try to investigate, although I am convinced that the problem lies
> in
> the executing machine, not in the app.
> But I have been wrong before!!
>
> Thanks, anyway.
>
> "Trevor Lawrence" wrote:
>
>> It sounds like your application needs Full Trust which is what it gets
>> when
>> run from the local HD. If you run it from your local network it will be
>> assigned Partial Trust with a bunch of restrictions. You need to do one
>> of
>> the following:
>>
>> Grant Full Trust to the Intranet zone. (Not recommended!)
>>
>> Rewrite the app so that it works under Partial Trust. There are some
>> articles around on the MSDN site on how to do this if I recall.
>>
>> If the app is appropriately signed, you can grant Full Trust to the app
>> or
>> the publisher of the app.
>>
>> Etc.
>>
>> These changes are made with the .NET Configuration Tool that you will
>> find
>> in the Admin Tools group in the start menu.
>>
>> Trevor
>>
>> "Steen" <St***@discussions.microsoft.com> wrote in message
>> news:2FA14A22-6F56-493A-AF75-04BB071C425D@microsoft.com...
>> >I have a Win98 laptop which is connected to our local network.
>> > I want to run a .NET program which is located on a server, but I am not
>> > allowed to by the laptop.
>> >
>> > If I copy the exe to the harddisc, it will run ok.
>> >
>> > I guess its something about security settings in Win98, but I cannot
>> > find
>> > anything.
>> >
>> > Can anyone please help?
>>
>>
>>
Author
10 Mar 2005 10:51 AM
Steen
The file mscorcfg.msc is there alright, but is not an executable one, like in
XP.
BUT, I found ConfigWizards.exe in the same directory, started it, adjusted
the security like you instructed, and... It works!

Thanks a lot, you saved my day Trevor!

Show quoteHide quote
"Trevor Lawrence" wrote:

> Tweaking the settings in IE will have no effect.
>
> I've had no experience with the .NET Framework on Win98, but it rather
> surprises me that the .NET Framework Configuration tool can't be found.  On
> my XP box the tool is found at
> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorcfg.msc.
>
> Your symptom really does match exactly what I'd expect from the default
> settings of the .NET Framework Runtime Security Policy.
>
> Trevor
>
>
> "Steen" <St***@discussions.microsoft.com> wrote in message
> news:04818E08-2F30-4C20-AAF2-72FB1BE9DC82@microsoft.com...
> > Thanks Trevor,
> >
> > ...but I still cannot make it work.
> >
> > I repeat that the laptop is running Win98, so the Admin Tool you are
> > referring to is not there!
> >
> > I tried to adjust the Intranet security setting to "low", but that did not
> > help.
> >
> > The partial/full-trust subject is new to me.
> > I will try to investigate, although I am convinced that the problem lies
> > in
> > the executing machine, not in the app.
> > But I have been wrong before!!
> >
> > Thanks, anyway.
> >
> > "Trevor Lawrence" wrote:
> >
> >> It sounds like your application needs Full Trust which is what it gets
> >> when
> >> run from the local HD. If you run it from your local network it will be
> >> assigned Partial Trust with a bunch of restrictions. You need to do one
> >> of
> >> the following:
> >>
> >> Grant Full Trust to the Intranet zone. (Not recommended!)
> >>
> >> Rewrite the app so that it works under Partial Trust. There are some
> >> articles around on the MSDN site on how to do this if I recall.
> >>
> >> If the app is appropriately signed, you can grant Full Trust to the app
> >> or
> >> the publisher of the app.
> >>
> >> Etc.
> >>
> >> These changes are made with the .NET Configuration Tool that you will
> >> find
> >> in the Admin Tools group in the start menu.
> >>
> >> Trevor
> >>
> >> "Steen" <St***@discussions.microsoft.com> wrote in message
> >> news:2FA14A22-6F56-493A-AF75-04BB071C425D@microsoft.com...
> >> >I have a Win98 laptop which is connected to our local network.
> >> > I want to run a .NET program which is located on a server, but I am not
> >> > allowed to by the laptop.
> >> >
> >> > If I copy the exe to the harddisc, it will run ok.
> >> >
> >> > I guess its something about security settings in Win98, but I cannot
> >> > find
> >> > anything.
> >> >
> >> > Can anyone please help?
> >>
> >>
> >>
>
>
>

Bookmark and Share