Upgrading from .NET Framwork 1.1 to 2.0

G

Guest

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?
 
N

Norman Yuan

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.
 
M

Michael Nemtsev

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
 
G

Guest

Thanks,

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

Norman Yuan

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top