Execution Problem

  • Thread starter Thread starter web1110
  • Start date Start date
W

web1110

Hi,

I am playing with C# again. I have a network setup at home and the C#
applications I develop on my machine work fine. However, when I try to
execute one of them on my wifes' machine over the network, I get the
following error:

The application failed to initialize properly (0xc0000135). Click on OK
to terminate the application.

Her machine is running Windows XP Home Version 2002 SP2.

I thought XP ran .NET without modification. Do I have to download a .NET
runtime onto her machine or something?

Thanx,
Bill
 
yes, you have to install the framework on her machine. While the framework
is included in the CD for Windows XP SP2, it is not normally installed.

--- N
 
Thanks for the help, I am up and running.

But now I have a derivative problem. I enabled the program to run by
setting a trusted assembly on my wifes' machine and it worked. But how do I
get rid of it? I only wanted to work out the process and now I cannot find
an option to remove a trusted assembly from my wifes' machine.

Thanx,
Bill
 
As Richard Blewett suggested in another answer, I am assuming you set up a
new code group with the right permission set. You should be able to remove
the code group first and then the new permission set (be careful to only
remove the new groups and permission sets). This goes in effect immediately
(no reboot needed).

Then, you can remove the assembly from your wife's drive by deleting (or
uinstalling if you created an MSI for the assembly/application).

Robert Hurlbut
http://weblogs.asp.net/rhurlbut
http://www.securedevelop.net
 
Back
Top