PDA

View Full Version : .NET over a network, using CASPOL.EXE


MikeTaber
09-16-2008, 01:01 PM
My goal is to get my .NET application to run over a network. And it errors out with the following:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: digitalsigncontroller.exe
Problem Signature 02: 1.0.2.1
Problem Signature 03: 48c065a8
Problem Signature 04: mscorlib
Problem Signature 05: 2.0.0.0
Problem Signature 06: 47577b16
Problem Signature 07: 37d0
Problem Signature 08: b
Problem Signature 09: System.Security.Security
OS Version: 6.0.6001.2.1.0.768.3
Locale ID: 1033
_____________________________
I am trying to run CASPOL.EXE as a Custom Action, Run Executable, but it appears that it is not running or I don't see any issues using Async Wait.

My command is
CASPOL.EXE -q -m -ag 1.2 -url file://[INSTALLDIR]* FullTrust

This works if I run it manually (from a Command Prompt) and the application runs.

Any ideas?
Is there a better way to get .NET LocalIntranet_Zone Security set to FullTrust for my INSTALLDIR ?

Thx, Mike.

jassing
09-16-2008, 01:59 PM
My command is
CASPOL.EXE -q -m -ag 1.2 -url file://[INSTALLDIR]* FullTrust

This works if I run it manually (from a Command Prompt) and the application runs.


Can you post the actual call you're making?
what is Installdir resolving to? Perhaps you need quotes?

MikeTaber
09-16-2008, 02:57 PM
It is running
CASPOL.EXE -q -m -ag 1.2 -url file://F:\KS\DigitalSignController\* FullTrust

I just re-installed using a log file, and I did not see that this is even being run. So my focus went to my RunExecute Custom Action.

So I hard coded the full path in, and made the Timing for AfterInstallFinalize and it seemed to run (although in a DOS window: I thought Bill Gates said DOS was dead :lol) So now I'm putting back in the [INSTALLDIR] folder reference and testing it on another machine.

I'll keep you posted.

Thx, Mike.

jassing
09-16-2008, 03:05 PM
dos is dead -- what you're talking about is a console application ;-)

(actually; I still support a warehouse application writen in FoxPRo/dos running on dos 3.2