By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,616 Members | 2,026 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,616 IT Pros & Developers. It's quick & easy.

Windows XP SP1: .NET Framework Initialization Error

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.