|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Upgrading from .NET Framwork 1.1 to 2.0Hi,
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? 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. Show quote "Olav" <O***@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? Thanks,
so what is the parametres for CasPol to adjust the local intranet to full trust? Show quote "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" <O***@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? > > > 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. Show quote "Olav" <O***@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" <O***@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? >> >> >> 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 Nietzsche |
|||||||||||||||||||||||