Jason said:
I have a framework 1.0 application which is installed on a
machine with 1.0 and 1.1 installed.
Question 1: Is it running under 1.0?
Depends.
What type of app? With a desktop app, yes, at least generally. To ensure
with a desktop app (or console app), you can tell that the app only supports
version 1.0 in the config file and it will only run under 1.0. With a web
app, you really have to map the app to the version of the framework you want
it to run under. MSDN has a couple of articles:
http://msdn.microsoft.com/library/e...figuringaspnetapplicationforaspnetversion.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnhcvs03/html/vs03f6.asp
The application calls the LogonUser API call and to make
it work, I had to change one of the ProcessModel elements
in the Machine.Config file.
Question 2: It would work on the machine in question if
both 1.0 and 1.1 had their config files changed. Why?
Not sure where you are going here. The way I read what you are asking is "If
I change both 1.0 and 1.1 to make something work, why does it work?" Perhaps
you should rephrase this. Do you mean, you only changed 1.1 and it worked
despite being a 1.0 app? If so, it is most likely running under 1.1, as you
did not specify to run under 1.0 (config for windows apps/console apps, in
IIS (read MSDN articles) for ASP.NET).
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
**********************************************************************
Think Outside the Box!
**********************************************************************