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
Glenn Wilson - 03 Aug 2004 12:49 GMT
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.
> Hi All,
>
[quoted text clipped - 18 lines]
> Thanks
> Mustafa
Niki Estner - 03 Aug 2004 13:03 GMT
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 All,
>
[quoted text clipped - 18 lines]
> Thanks
> Mustafa
Ignacio Machin \( .NET/ C# MVP \) - 03 Aug 2004 13:50 GMT
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,

Signature
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
> Hi All,
>
[quoted text clipped - 18 lines]
> Thanks
> Mustafa
Miha Markic [MVP C#] - 03 Aug 2004 13:57 GMT
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.

Signature
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
> Hi All,
>
[quoted text clipped - 18 lines]
> Thanks
> Mustafa
remotesoft - 04 Aug 2004 03:21 GMT
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
> Hi All,
>
[quoted text clipped - 18 lines]
> Thanks
> Mustafa
Mustafa Rabie - 05 Aug 2004 11:41 GMT
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.
> Hi All,
>
[quoted text clipped - 18 lines]
> Thanks
> Mustafa