Unable to run the dot net exe on other machine.

  • Thread starter Thread starter Sivaprasad
  • Start date Start date
S

Sivaprasad

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
 
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 said:
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.
 
Sivaprasad said:
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>
 
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
 
Sivaprasad said:
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.
 
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
 
Sivaprasad said:
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).
 
Thank you

Herfried K. Wagner said:
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).
 
Back
Top