473,320 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Setup file looking for wrong .NET framework.

I had v1.0, v1.1 and v2.0 of .NET framework installed on my laptop and
that was causing me a lot of grief. So I uninstalled v2.0 and pressed
on with developing stuff in v1.0. Everything was great. I wrote a whole
application. After completion I added a setup project. The setup
project builds fine. But when I try to install the application, it
gives me an error saying "This setup requires .NET framework." (Please
install it). I checked the Windows Event Viewer and it shows the
following error message which clearly shows that the setup file is
trying to look for v2.0 of dotnet framework. How do I make it look for
the correct version.

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 06/06/2006
Time: 3:32:02 PM
User: N/A
Computer: MIRSCP56579
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: Shim database version
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 doesn't have a matching
runtime directory.

(Oh and I didn't uninstall v2.0 properly; I renamed the folder a few
weeks back, and then forgot about it. When I uninstalled v2.0 using
Add/Remove Programs v2.0 disappeared from the Add/Remove Programs list,
but the renamed folder is still sitting there :S).

Asad

Jun 6 '06 #1
2 6303
Each time you start a managed application the default host is started. This
host has ability to determine which CLR version was used in building the
assembly. Host checks the registry for the version existence and delegates
call to the mscoree.dll.
Sounds like you've clobbered the mscoree ->CLR version process into thinking
you still have 2.0 installed, because you screwed up on uninstalling v2.0.

You could try deleting or renaming mscoree, reinstall .NET 1.1

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"as*******@gmail.com" wrote:
I had v1.0, v1.1 and v2.0 of .NET framework installed on my laptop and
that was causing me a lot of grief. So I uninstalled v2.0 and pressed
on with developing stuff in v1.0. Everything was great. I wrote a whole
application. After completion I added a setup project. The setup
project builds fine. But when I try to install the application, it
gives me an error saying "This setup requires .NET framework." (Please
install it). I checked the Windows Event Viewer and it shows the
following error message which clearly shows that the setup file is
trying to look for v2.0 of dotnet framework. How do I make it look for
the correct version.

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 06/06/2006
Time: 3:32:02 PM
User: N/A
Computer: MIRSCP56579
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: Shim database version
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 doesn't have a matching
runtime directory.

(Oh and I didn't uninstall v2.0 properly; I renamed the folder a few
weeks back, and then forgot about it. When I uninstalled v2.0 using
Add/Remove Programs v2.0 disappeared from the Add/Remove Programs list,
but the renamed folder is still sitting there :S).

Asad

Jun 6 '06 #2
Hello as*******@gmail.com,

Cross-posting is not a good way to get answers. I replyed in the dotnet.framework
group
I had v1.0, v1.1 and v2.0 of .NET framework installed on my laptop and
that was causing me a lot of grief. So I uninstalled v2.0 and pressed
on with developing stuff in v1.0. Everything was great. I wrote a
whole application. After completion I added a setup project. The setup
project builds fine. But when I try to install the application, it
gives me an error saying "This setup requires .NET framework." (Please
install it). I checked the Windows Event Viewer and it shows the
following error message which clearly shows that the setup file is
trying to look for v2.0 of dotnet framework. How do I make it look for
the correct version.

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 06/06/2006
Time: 3:32:02 PM
User: N/A
Computer: MIRSCP56579
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot
be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: Shim database version
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 doesn't have a matching
runtime directory.
(Oh and I didn't uninstall v2.0 properly; I renamed the folder a few
weeks back, and then forgot about it. When I uninstalled v2.0 using
Add/Remove Programs v2.0 disappeared from the Add/Remove Programs
list, but the renamed folder is still sitting there :S).

Asad

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jun 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Wilson Ricardo Passos Oliveira | last post by:
Hi fellows, I have two simple questions regarding the Framework's deploy and the Setup and Deploy Projects: 1. As I've read in another posts and newsgroups (and as I can imagine), VS.NET...
1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
0
by: Adam Clauss | last post by:
I have a C++ COM Addin I wrote for Outlook (2002) using VS.Net 2002. Having completed it, I am now looking to create a setup project and install it on another machine. I created a setup project...
2
by: Dennis | last post by:
I have created a setup project and it works fine. However, it inlcudes a file "Dotnetfx.exe" which I have read is the installer for the required .net framework. I have read the documentation that...
1
by: Ghada Al-Mashaqbeh via DotNetMonster.com | last post by:
Hi all, As you know any .Net application when installed need .net framework to be installed on the target machine to run the application, I want to make a setup file for my application with the...
11
by: Matt Fielder | last post by:
I'm writing a new install as a setup and deployment project. I have 3 pre-requisites set in the bootstrapper - Framework V2, SQL Express, Windows Installer 3.1. When the setup is launched, it...
14
by: =?Utf-8?B?R2F1cmF2?= | last post by:
Hi, I use the Setup project in C# to create a .msi file to be distributed to the clients. The size of .msi is 12 MB. This file works fine on all the target machines, but on the development...
6
by: Srini | last post by:
Hi, I am facing a problem in localizing the setup file and .NET framework redistributable. I am trying to deploy c# winform application. I have created a setup project. I need to...
0
by: Georg Scholz | last post by:
(Note: this was intended to be a multi-post, but google was not able to post it also to microsoft.public.dotnet.general, so I'm cross- posting it separately) Hello, I am about to write a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.