A
Aaron
We are working to deploy our first .NET application. Up
to this point, we have been developing and unit testing
with VS.NET 2003 on Windows XP. I have a small
application (a few DLL's and one WinForm exe) that is
ready to be tested. Our testing machine is Windows XP
Professional (without Visual Studio, of course). I logged
onto the test machine as an administrator, and copied
over the executable and assemblies from the bin directory
of my solution (this is assuming the heralded "xcopy"
installation offered by .NET actually works). When I try
to run the executable I get the message "The application
failed to initialize properly." This is not a web
application and does nothing special. In fact, I copied
over a simple "hello world" application and got the same
message.
My assumption at first was there is a different version
of the framework on the test machine. From what I have
read, the way to determine the .NET version installed is
checking the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\. On
our development machines, the version is identified
there, but there are no settings entered in the registry
under .NETFramework on the test machine. I also ran all
updates identified by Windows Update.
I know the .NET framework comes standard with Windows
XP. Are there additional prerequisites before it will
run a VS.NET application? It is possible our security
settings on the test machine are adding a complication,
but I have been given assurances the admin on those
machines has the same rights as our development
machines. Anyone have any ideas?
Thanks.
to this point, we have been developing and unit testing
with VS.NET 2003 on Windows XP. I have a small
application (a few DLL's and one WinForm exe) that is
ready to be tested. Our testing machine is Windows XP
Professional (without Visual Studio, of course). I logged
onto the test machine as an administrator, and copied
over the executable and assemblies from the bin directory
of my solution (this is assuming the heralded "xcopy"
installation offered by .NET actually works). When I try
to run the executable I get the message "The application
failed to initialize properly." This is not a web
application and does nothing special. In fact, I copied
over a simple "hello world" application and got the same
message.
My assumption at first was there is a different version
of the framework on the test machine. From what I have
read, the way to determine the .NET version installed is
checking the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\. On
our development machines, the version is identified
there, but there are no settings entered in the registry
under .NETFramework on the test machine. I also ran all
updates identified by Windows Update.
I know the .NET framework comes standard with Windows
XP. Are there additional prerequisites before it will
run a VS.NET application? It is possible our security
settings on the test machine are adding a complication,
but I have been given assurances the admin on those
machines has the same rights as our development
machines. Anyone have any ideas?
Thanks.