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

  • Thread starter Thread starter Mustafa Rabie
  • Start date Start date
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
 
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.
 
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.
 
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,
 
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.
 
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
 
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.
 
Back
Top