Framework on Windows XP?

  • Thread starter Thread starter Aaron
  • Start date Start date
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.
 
The .NET Framework just became a standard on xp, just as in within the last
30 days. There is no guarantee. To know what versions are installed, go to
the control panel and check the GAC, or open explorer and likc in
c:\windows\microsoft.net\ folder and see what's there.

Also if your applications use any COM objects make sure they are properly
registered on the client app, if not you'll need to do that or create an
installer.

Let me know what happens. Also what ver. of .net is on your machine?

Nick Harris, MCSD
http://www.VizSoft.net
 
Yep, the Framework was not installed. Everything I had heard about XP
was that the framework came standard with it. I thought it was
essential to the OS. I guess it isn't. Thanks.
 
Back
Top