System policy prevents loading manifests and installing .NET SDK 2.0 with Vista

  • Thread starter Thread starter Marcin Balcerzak
  • Start date Start date
M

Marcin Balcerzak

Hello,
I'm lame when it comes to .Net and Office and unfortunatelly need to run a
VS project. When run it should start Excel and open some sheet. What I now
get is "System policy prevents loading manifests. For more information,
please contact your administrator." It used to be more 'sophisticated'
error (something about assemblies, whatever that is), but I added a dll to
some code group with 'FullTrust' and I guess that made a progress.
The simple question is: provided that I don't care about any policies,
safety, ergonomy etc., how to make this run? The best solution for me would
be to completely turn off all these policies etc. Google doesn't help much
here.
My configuration is: Windows Vista 32bit, .Net framework 3.5, Win
Server&.Net SDK
(http://www.microsoft.com/downloads/...df-a74f-4207-8586-711ebe331cdc&displaylang=en),
Visual Studio 2008, Microsoft Office 2007 trial.
Actually I didn't want to use caspol, I wanted a clickable GUI, but,
surprisingly, things did't go so smooth. Configurator is apparently not
included in .Net SDK >2.0 (very good idea, Microsoft folks...). When I
tried to install .Net SDK 2.0 I got
"Error creating process
<C:\Users\qq\AppData\Local\Temp\IXP000.TMP\Install.exe>.
Reason: C:\Windows\system32\advpack.dll"
After googling about "advpack.dll" errors I knew it'd be hard.
I unpacked SDK with "setup.exe /c" and run install.exe, then I got:
"The version of this file is not compatible with the version of Windows
you're running. Check your computer's system information....."
Needless to add I was trying to install x86 version of SDK. I closely
looked at requirements and saw '.Net framework 2.0.' So I downloaded and
tried to install this 2.0 version with the result: "The product is already
installes as part of the operating system."
And that is my second question: how could I install .Net SDK 2.0?
Thank you for all answers and I'm sorry if the newsgroup I chose is not
most appropriate (if so, I would be glad to read where can post this
questions).
 
get is "System policy prevents loading manifests. For more information,
please contact your administrator." It used to be more 'sophisticated'
error (something about assemblies, whatever that is), but I added a dll to
some code group with 'FullTrust' and I guess that made a progress.
The simple question is: provided that I don't care about any policies,
safety, ergonomy etc., how to make this run? The best solution for me would
be to completely turn off all these policies etc. Google doesn't help much
here.

Gosh, finally. The solution to this was:
1) activate trial
2) excel options-> trust center -> trust center settings; adding project
folder to trusted locations, activating activex, macros, data connections

However, I have one remaining question: how to install .Net SDK 2.0?
Thank you.
 
Back
Top