473,386 Members | 1,734 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,386 software developers and data experts.

Windows XP SP1: .NET Framework Initialization Error

Hi !

I try to make pretty straight forward operation, but it fails...
I have .NET Framework 1.1 Configuration (version 1.1.4322.573)
with VS 2003, where I developed a sample application. Now I coppied it
to Windows XP SP1 machine . After launching my application I am
getting annoying :
..NET Framework Initialization Error - failed to load mscorwks.dll
couldn't be loaded.

Does the deployemnet .NET applications is not trasperant for different
..NET Framework vesrions ?

Thanks for your help.

Jean
Jul 19 '05 #1
3 8543
The runtime isn't 'forward compatible'... meaning you can't write an app
using v1.1 and then have it run on v1.0 (though the reverse is true).

Tim
--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
From: je*******@hotmail.com (Jean Stax)
Newsgroups: microsoft.public.dotnet.general
Subject: Windows XP SP1: .NET Framework Initialization Error
Date: 28 Aug 2003 01:56:43 -0700
Organization: http://groups.google.com/
Lines: 16
Message-ID: <df**************************@posting.google.com >
NNTP-Posting-Host: 192.118.109.5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1062061004 5470 127.0.0.1 (28 Aug 2003 08:56:44 GMT)X-Complaints-To: gr**********@google.com
NNTP-Posting-Date: 28 Aug 2003 08:56:44 GMT
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!newsfeed.freenet.de!newsfeed.news2me.com!sn-xit-02!sn-xit-06!sn-xit-09!
supernews.com!postnews1.google.com!not-for-mailXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:106351
X-Tomcat-NG: microsoft.public.dotnet.general

Hi !

I try to make pretty straight forward operation, but it fails...
I have .NET Framework 1.1 Configuration (version 1.1.4322.573)
with VS 2003, where I developed a sample application. Now I coppied it
to Windows XP SP1 machine . After launching my application I am
getting annoying :
.NET Framework Initialization Error - failed to load mscorwks.dll
couldn't be loaded.

Does the deployemnet .NET applications is not trasperant for different
.NET Framework vesrions ?

Thanks for your help.

Jean


Jul 19 '05 #2
Tim,
Yes you can! You can go either direction!

Within VS.NET 2003 (.NET 1.1) open the Project Property Pages, select
'Common Properties - Build', under Supported Runtimes, click the Change
button. Select 'Microsoft >NET Framework v1.0 (advanced)'.

Be certain to read the warning. The executable is still compiled for 1.1,
however it will execute under 1.0. Just remember that 1.1 has features that
are not available in 1.0, for example the
System.Windows.Forms.Application.EnableVisualStyle s method.

Changing the above option adds configuration/startup/supportedRuntime
settings to you added your app.config file, enabling the use of the 1.0
runtime. It also adds configuration/runtime/assemblyBinding to cause the 1.0
runtime assemblies to be used.

Hope this helps
Jay

"Tim Kurtzman" <ti****@microsoft.com> wrote in message
news:Zw**************@cpmsftngxa06.phx.gbl...
The runtime isn't 'forward compatible'... meaning you can't write an app
using v1.1 and then have it run on v1.0 (though the reverse is true).

Tim
--

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
From: je*******@hotmail.com (Jean Stax)
Newsgroups: microsoft.public.dotnet.general
Subject: Windows XP SP1: .NET Framework Initialization Error
Date: 28 Aug 2003 01:56:43 -0700
Organization: http://groups.google.com/
Lines: 16
Message-ID: <df**************************@posting.google.com >
NNTP-Posting-Host: 192.118.109.5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1062061004 5470 127.0.0.1 (28 Aug 2003 08:56:44 GMT)
X-Complaints-To: gr**********@google.com
NNTP-Posting-Date: 28 Aug 2003 08:56:44 GMT
Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin e.de!newsfeed.freenet.de!newsfeed.news2me.com!sn-xit-02!sn-xit-06!sn-xit-09! supernews.com!postnews1.google.com!not-for-mail
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:106351
X-Tomcat-NG: microsoft.public.dotnet.general

Hi !

I try to make pretty straight forward operation, but it fails...
I have .NET Framework 1.1 Configuration (version 1.1.4322.573)
with VS 2003, where I developed a sample application. Now I coppied it
to Windows XP SP1 machine . After launching my application I am
getting annoying :
.NET Framework Initialization Error - failed to load mscorwks.dll
couldn't be loaded.

Does the deployemnet .NET applications is not trasperant for different
.NET Framework vesrions ?

Thanks for your help.

Jean

Jul 19 '05 #3
Jean,
Do you have either .NET Framework loaded on the Windows XP machine?

Within VS.NET 2003 (.NET 1.1) open the Project Property Pages, select
'Common Properties - Build', under Supported Runtimes, click the Change
button. Select 'Microsoft >NET Framework v1.0 (advanced)'.

Be certain to read the warning. The executable is still compiled for 1.1,
however it will execute under 1.0. Just remember that 1.1 has features that
are not available in 1.0, for example the
System.Windows.Forms.Application.EnableVisualStyle s method.

The above settings changes your app.config, remember to include the new
app.config (as myproject.exe.config) when you copy the executable to the
Windows XP machine.

Hope this helps
Jay

"Jean Stax" <je*******@hotmail.com> wrote in message
news:df**************************@posting.google.c om...
Hi !

I try to make pretty straight forward operation, but it fails...
I have .NET Framework 1.1 Configuration (version 1.1.4322.573)
with VS 2003, where I developed a sample application. Now I coppied it
to Windows XP SP1 machine . After launching my application I am
getting annoying :
.NET Framework Initialization Error - failed to load mscorwks.dll
couldn't be loaded.

Does the deployemnet .NET applications is not trasperant for different
.NET Framework vesrions ?

Thanks for your help.

Jean

Jul 19 '05 #4

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

Similar topics

6
by: pdabak | last post by:
Hello, I had an ASP.NET application running on Windows 2003 machine and it was all working fine. I upgraded the machine to Windows 2003 SP1 and now my application is failing with "Specified cast...
4
by: Bala | last post by:
Hi, After installing Win2K3 SP1, ASP.NET pages are not being rendered at all. I get a Access Denied error (BC31019: Unable to write to output file) OR a Page Cannot Be Displayed (PCBD) error...
0
by: Henry C. Wu | last post by:
Hi, I've successfuly compiled, obfuscated and strong named my assembly (typical windows application) and also have verified the assembly if it is valid or not. Upon running it on my development...
6
by: Jean Stax | last post by:
Hi ! I try to make pretty straight forward operation, but it fails... I have .NET Framework 1.1 Configuration (version 1.1.4322.573) with VS 2003, where I developed a sample application. Now I...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
0
by: Filipe Quintino | last post by:
I have a problem on my Webserver Services, where i have same WebPages on ASPX. Webpage return me this error: System.Web.HttpUnhandledException: Exception of type...
1
by: Mahesh Devjibhai Dhola | last post by:
Hi, Scenario: The webservice was developed on windows 2000 Pro and deployed previously on windows XP pro for testing. We have tested for many days. The client for that service was 30+ and...
4
by: Arek | last post by:
Hi, How to detect Windows version and .NET version? I mean I want to know if user is using Windows 2000, XP, Vista and which Service Pack and version (XP Home, XP Pro, Vista Home Basic, Vista...
9
by: =?Utf-8?B?RGFuaWVs?= | last post by:
Hi, I downloaded the sample application that the Microsoft video ASPNETAJAXForWinMobile described but it doesn't work on my Windows Mobile 6 emulator. After enabling the script error reporting...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.