Question

I have a .NET application that is meant to be run on a local PC and started from a file share on the LAN.

It works fine on 32 bit Windows XP and Vista workstations.

But it fails with a System.InvalidOperationException on 64 bit Windows Server 2008.

It runs fine locally on all three configurations.

What could be the cause?

.NET 2.0 is installed an all machines involved.

Summary:

32 bit XP: runs locally and remotely 32 bit Vista: runs locally and remotely 64 bit 2008: runs locally, fails remotely

"remotely" means running locally but launched from a file share rather than a local drive.

Zone security is set to "full trust" for "Local Intranet" on all machines involved including the 64 bit 2008 machine.

Any ideas?

Was it helpful?

Solution

Are the projects set to run in x86 mode? Use the configuration Manager to check.

OTHER TIPS

My first guess would be Internet Explorer security settings. Try adding your server as a Trusted Site.

This sounds like a security issue, I don't think the instruction set of the CPU makes a difference. I used to have the same problem when running applications from network drives.

I believe this should fix your problem. Caspol

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top