URGENT: C# Application doesn't run on other machines?!!!

M

Mustafa Rabie

Hi All,

I have developed a C# application using VS.Net 2003. My machine is running:
Windows Server 2003 Enterprise
VS.Net 2003
..Net v1.1

I developed an application that runs great on my machine. But when i try to
deploy it to other machines e.g.:
1) WindowsXP Pro (all updates): It crashes
2) WindowsXP Pro (Gold) : "failed to intialize"
3) Windows 2K+ .Net framework: "Couldn't load MSCore.dll"

isn't it suppose to be all XP or any OS running with .Net Framework cross
compatible?

Please i need to have this resolved ASAP, putting in mind that my users are
on dialup modems (not broadband) and can't download 30mgs to run my 500K
application.

Thanks
Mustafa
 
G

Glenn Wilson

You need to make sure that they are all running the framework, if not the
app will not run.

If they are not able to download the framework you may need to add the redis
pakage to the install package and cut it to CD's and send it to them.

In Australia Blank CDs can be obtained for less then 50cents, to me that is
not much of an overhead to the project, and you could add the costs to the
application.
 
N

Niki Estner

Assuming the right version of the .net framework is installed on all these
machines, this is probably not a C# problem.
Compile one of the samples that come with the SDK and try to run those, they
should run pretty much everywhere. If so, find out why your application
crashes, and fix it.

Niki

PS: The error message "Couldn't load MSCore.dll" sounds very much like a
missing or corrupted framework installation.
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Are you sure that you have the framework installed?
are you trying to run it from a network drive?
are you accessing any DB or other resources?

can you post the exact and complete error you are getting?
If possible try to put a try/catch in the main() and post back the message.


Cheers,
 
M

Miha Markic [MVP C#]

Hi,

Yup, it seems to me that your users don't have framework installed.
Framework installation is *optional* for Windows XP and only W2003 comes
with .net.
 
R

remotesoft

The errors indicates mscoree.dll is missing from system32 directory. You
need to either install the .NTE Framework, or use our linker/minideployment
tool to generate a package that runs w/o the framework.

A typical windows forms application is typically 6MB (zipped) after using
our tool. A subset of the .NET Framework is included with your application.

More info is available here:

http://www.remotesoft.com/linker
 
M

Mustafa Rabie

The problem is that we are an ISP and this application is our dialer that
gives extra features and services to our customers. So by having to give it
away on CDs, etc this will be limiting our customer base.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top