473,401 Members | 2,146 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,401 software developers and data experts.

Unable to run the dot net exe on other machine.

Hi All,

I am new to .NET development.
I created a dot net project and took the exe from app path bin folder and
copied it to another machine.
When i run that exe on that machine,I am getting an error saying
"mscoreworks.dll could not be loaded" kind of error message.
The machine i loaded is windows 2000 professional and it has sp2.

Is there anything i am missing.
I just changed debug to release and created a Build and took the exe from
bin folder.

Please advice
Siva
Nov 21 '05 #1
9 2720
Is .Net installed on the other computer?

Chris

"Sivaprasad" <ss********@hotmail.com> wrote in message
news:Ox**************@TK2MSFTNGP10.phx.gbl...
Hi All,

I am new to .NET development.
I created a dot net project and took the exe from app path bin folder and
copied it to another machine.
When i run that exe on that machine,I am getting an error saying
"mscoreworks.dll could not be loaded" kind of error message.
The machine i loaded is windows 2000 professional and it has sp2.

Is there anything i am missing.
I just changed debug to release and created a Build and took the exe from
bin folder.

Please advice
Siva

Nov 21 '05 #2
Does the new machine have .Net framework 1.1? .Net 1.1 programs will not
work on .Net 1.0

If you run that EXE on your machine outside of Visual Studio does it work?

Ron.

"Sivaprasad" wrote:
Hi All,

I am new to .NET development.
I created a dot net project and took the exe from app path bin folder and
copied it to another machine.
When i run that exe on that machine,I am getting an error saying
"mscoreworks.dll could not be loaded" kind of error message.
The machine i loaded is windows 2000 professional and it has sp2.

Is there anything i am missing.
I just changed debug to release and created a Build and took the exe from
bin folder.

Please advice
Siva

Nov 21 '05 #3
"Sivaprasad" <ss********@hotmail.com> wrote in message
news:Ox**************@TK2MSFTNGP10.phx.gbl...
I am new to .NET development.
I created ... the exe ... and copied it to another machine. .. . . I am getting an error saying "mscoreworks.dll could not be loaded" .. . . Is there anything i am missing.


Yes.

The .Net Framework (all 20-odd Mb of it).

This is required by [practically] /every/ .Net program you write.

Regards,
Phill W.
Nov 21 '05 #4
"Sivaprasad" <ss********@hotmail.com> schrieb:
I created a dot net project and took the exe from app path bin folder and
copied it to another machine.
When i run that exe on that machine,I am getting an error saying
"mscoreworks.dll could not be loaded" kind of error message.
The machine i loaded is windows 2000 professional and it has sp2.


Are you sure the .NET Framework is installed on that machine?

..NET Framework Version 1.1 Redistributable
<URL:http://msdn.microsoft.com/netframework/downloads/framework1_1redist/>

You may want to install it as part of your application's setup:

Deploying the .NET Framework in a setup package
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=deployframework&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5
I thought .NET Framework comes with Windows 2000 sp2.
I clicked on the link to get the :Deploying the .NET Framework in a setup
package" its not going to the right page i guess. Because its taking to a
page
which again points to other links.
Thanks
siva
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:e7**************@TK2MSFTNGP12.phx.gbl...
"Sivaprasad" <ss********@hotmail.com> schrieb:
I created a dot net project and took the exe from app path bin folder and
copied it to another machine.
When i run that exe on that machine,I am getting an error saying
"mscoreworks.dll could not be loaded" kind of error message.
The machine i loaded is windows 2000 professional and it has sp2.


Are you sure the .NET Framework is installed on that machine?

.NET Framework Version 1.1 Redistributable
<URL:http://msdn.microsoft.com/netframework/downloads/framework1_1redist/>

You may want to install it as part of your application's setup:

Deploying the .NET Framework in a setup package
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=deployframework&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #6
"Sivaprasad" <ss********@hotmail.com> schrieb:
I thought .NET Framework comes with Windows 2000 sp2.
AFAIK no. You can easily check if the .NET Framework is installed in the
system's "Software" control panel.
I clicked on the link to get the :Deploying the .NET Framework in a setup
package" its not going to the right page i guess. Because its taking to a
page
which again points to other links.


Yep, that's intentional. It's a link to a collection of links on this
topic.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #7
So if i want to distribute a small application to another computer, i have
to bundle the .Net frame work with it?
My exe is only less than 100KB and the framework is about 29MB.
Or else the client has to install the .Net framework, right?

It would have been great, if the framework comes with windows, then we just
have to copy the exe and run.

Thanks anyway for your information.
Siva

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eO**************@TK2MSFTNGP10.phx.gbl...
"Sivaprasad" <ss********@hotmail.com> schrieb:
I thought .NET Framework comes with Windows 2000 sp2.


AFAIK no. You can easily check if the .NET Framework is installed in the
system's "Software" control panel.
I clicked on the link to get the :Deploying the .NET Framework in a setup
package" its not going to the right page i guess. Because its taking to a
page
which again points to other links.


Yep, that's intentional. It's a link to a collection of links on this
topic.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #8
"Sivaprasad" <ss********@hotmail.com> schrieb:
So if i want to distribute a small application to another computer, i have
to bundle the .Net frame work with it?
My exe is only less than 100KB and the framework is about 29MB.
Or else the client has to install the .Net framework, right?
Yes.
It would have been great, if the framework comes with windows, then we
just have to copy the exe and run.


IIRC the .NET Framework is included in Windows Server 2003, and it's on the
Windows XP SP1/SP2 CDs (these CDs could be ordered for free from Microsoft).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #9
Thank you

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:u8*************@TK2MSFTNGP09.phx.gbl...
"Sivaprasad" <ss********@hotmail.com> schrieb:
So if i want to distribute a small application to another computer, i
have to bundle the .Net frame work with it?
My exe is only less than 100KB and the framework is about 29MB.
Or else the client has to install the .Net framework, right?


Yes.
It would have been great, if the framework comes with windows, then we
just have to copy the exe and run.


IIRC the .NET Framework is included in Windows Server 2003, and it's on
the Windows XP SP1/SP2 CDs (these CDs could be ordered for free from
Microsoft).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #10

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

Similar topics

2
by: Carlos G Benevides | last post by:
I have a ASP.Net web application that has two assemblies that run under com+. Under Windows 2000 the two assemblies are added to com+ automatically when instantiated from the web site. For this...
4
by: Brad | last post by:
Error when opening a solution with a web services project in it: "Unable to open the Web project 'myproj'. The file path 'c:\code\myservice' does not correspond to the URL...
2
by: genc_ymeri | last post by:
Hi, We are a team of 4 using win2003 server (sp1) in our dev machines and VS2003 for our .Net web app. We did make a copy of our project (located to one "hardwarely old" PC ) to our machines. All...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
3
by: purkka | last post by:
Hi I replaced a Win 2000 Adv server to the Win 2003 Std with Front Page Server Extension and .Net Framework 2.0. FPSE is extended to Default Web Site. Visual Studio 2005: If I create a new web...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
7
by: Jed | last post by:
I am trying to open web project in VS 2003 using the File Share method. VS is running on XP Pro (Host) and I am accessing the root web of an XP Pro install on Virtual PC (Server) running on the...
4
by: Abubakar | last post by:
Hi, I'm using vs2k5 vc++ (native/unmanaged). I just took a separate copy of a project from source control (vss) and after fixing its dependencies build it and it builds fine. But when I try to...
1
markmcgookin
by: markmcgookin | last post by:
Hi Folks, this is a problem I had a few days ago, and I was able to solve it, but I thought I'd post the solution I found here incase anyone has a similar problem! I found this stuff on an MSNDN...
3
by: =?Utf-8?B?TGV3aXMgTW90ZW4=?= | last post by:
Hello. We are having a problem here trying to compile C# applications. Only one developer has a problem where they attempt to compile the application and the compiler complains about being out of...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.