Hi,
We have an app that have been compiled to use .NET Framework 2.0. It runs
fine from the server but from the workstation it generates an error message
something like "This program could not start because the program
configuration is wrong. If you reinstall the program it can solve the
problem". I suppose it is .NET Framework that generates this message. In .NET
Framework 1.1 we used to set access to full trust for the local intranet. I
can not see such an configuration option for .NET Framework 2.0. Any idea
what is the problem?

Re: Upgrading from .NET Framwork 1.1 to 2.0 by Norman

Norman
Wed Oct 18 13:02:31 CDT 2006

The visual tool ".NET Framework Configuration" applet in Control Panel is
only available for .NET 1.X. MS made it only avialble for .NET2.0 if you
install .NET2.0 SDK (more than 200MB, as opposed to .NET redistributable's
20MB). So, you have to use the commandline tool Caspol.exe to confugure .NET
2.0 security settings, if your problem is indeed the security settings.

"Olav" <Olav@discussions.microsoft.com> wrote in message
news:19966115-EA50-45DC-9791-313407F82165@microsoft.com...
> Hi,
> We have an app that have been compiled to use .NET Framework 2.0. It runs
> fine from the server but from the workstation it generates an error
> message
> something like "This program could not start because the program
> configuration is wrong. If you reinstall the program it can solve the
> problem". I suppose it is .NET Framework that generates this message. In
> .NET
> Framework 1.1 we used to set access to full trust for the local intranet.
> I
> can not see such an configuration option for .NET Framework 2.0. Any idea
> what is the problem?



Re: Upgrading from .NET Framwork 1.1 to 2.0 by Michael

Michael
Wed Oct 18 13:18:12 CDT 2006

Hello Olav,

There is no relation to .net 1.1, because both vesions works fine side-by-side
obviously the problem can be in .net 2.0 - try to reinstall it

O> Hi,
O> We have an app that have been compiled to use .NET Framework 2.0. It
O> runs
O> fine from the server but from the workstation it generates an error
O> message
O> something like "This program could not start because the program
O> configuration is wrong. If you reinstall the program it can solve the
O> problem". I suppose it is .NET Framework that generates this message.
O> In .NET
O> Framework 1.1 we used to set access to full trust for the local
O> intranet. I
O> can not see such an configuration option for .NET Framework 2.0. Any
O> idea
O> what is the problem?
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch



Re: Upgrading from .NET Framwork 1.1 to 2.0 by Olav

Olav
Wed Oct 18 13:41:02 CDT 2006

Thanks,

so what is the parametres for CasPol to adjust the local intranet to full
trust?

"Norman Yuan" wrote:

> The visual tool ".NET Framework Configuration" applet in Control Panel is
> only available for .NET 1.X. MS made it only avialble for .NET2.0 if you
> install .NET2.0 SDK (more than 200MB, as opposed to .NET redistributable's
> 20MB). So, you have to use the commandline tool Caspol.exe to confugure .NET
> 2.0 security settings, if your problem is indeed the security settings.
>
> "Olav" <Olav@discussions.microsoft.com> wrote in message
> news:19966115-EA50-45DC-9791-313407F82165@microsoft.com...
> > Hi,
> > We have an app that have been compiled to use .NET Framework 2.0. It runs
> > fine from the server but from the workstation it generates an error
> > message
> > something like "This program could not start because the program
> > configuration is wrong. If you reinstall the program it can solve the
> > problem". I suppose it is .NET Framework that generates this message. In
> > .NET
> > Framework 1.1 we used to set access to full trust for the local intranet.
> > I
> > can not see such an configuration option for .NET Framework 2.0. Any idea
> > what is the problem?
>
>
>

Re: Upgrading from .NET Framwork 1.1 to 2.0 by Norman

Norman
Wed Oct 18 15:04:00 CDT 2006

It is hard to to remember how to use a DOS-like commandline tool. Googling
"Caspol.exe" brings you tons of links. Or if your computer(s) has huge disk
room, simply install .NET SDK to get that visual applet available.

"Olav" <Olav@discussions.microsoft.com> wrote in message
news:DF1E5A99-79A6-4C98-AC57-EBA90B1B4AA5@microsoft.com...
> Thanks,
>
> so what is the parametres for CasPol to adjust the local intranet to full
> trust?
>
> "Norman Yuan" wrote:
>
>> The visual tool ".NET Framework Configuration" applet in Control Panel is
>> only available for .NET 1.X. MS made it only avialble for .NET2.0 if you
>> install .NET2.0 SDK (more than 200MB, as opposed to .NET
>> redistributable's
>> 20MB). So, you have to use the commandline tool Caspol.exe to confugure
>> .NET
>> 2.0 security settings, if your problem is indeed the security settings.
>>
>> "Olav" <Olav@discussions.microsoft.com> wrote in message
>> news:19966115-EA50-45DC-9791-313407F82165@microsoft.com...
>> > Hi,
>> > We have an app that have been compiled to use .NET Framework 2.0. It
>> > runs
>> > fine from the server but from the workstation it generates an error
>> > message
>> > something like "This program could not start because the program
>> > configuration is wrong. If you reinstall the program it can solve the
>> > problem". I suppose it is .NET Framework that generates this message.
>> > In
>> > .NET
>> > Framework 1.1 we used to set access to full trust for the local
>> > intranet.
>> > I
>> > can not see such an configuration option for .NET Framework 2.0. Any
>> > idea
>> > what is the problem?
>>
>>
>>