473,320 Members | 1,862 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,320 software developers and data experts.

My C# exe file can't work on other computer.

Hi All,

I have finished my first version of program, I use "build" to create
BokiProgram.exe
I copy this file from bin\release\
I copy it to my desktop folder, it works.

I copy this file to another computer, it can't work.
The error message is:

"The application initial (0xc0000135) fail, please click "OK" to
terminate program"

Could you please advice ?

I use Visual Studio 2005 C# Express.

Thank you very much!
Best regards,
Boki

Jul 12 '07 #1
3 8552
On Jul 12, 7:33 am, Boki <bokit...@ms21.hinet.netwrote:
I have finished my first version of program, I use "build" to create
BokiProgram.exe
I copy this file from bin\release\
I copy it to my desktop folder, it works.

I copy this file to another computer, it can't work.
The error message is:

"The application initial (0xc0000135) fail, please click "OK" to
terminate program"

Could you please advice ?
Does the other machine have .NET 2.0 installed on it? If not, that's
almost certainly the problem.

Jon

Jul 12 '07 #2
Hi

It seems the other computer doesn't have the .NET Framework installed.

One way that you can check this is to see if the following folder
exisits (assuming Windows is installed on C drive):

C:\WINDOWS\Microsoft.NET\Framework\

Under this folder it should list the various frameworks that have been
installed on the other computer, e.g.:

C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

If the above is not on the other computer then you will need to
download and install the relevant .NET Framework runtime from
microsoft here onto it (I am assuming you have Framework 2.0 as you
are using C# Express):

http://www.microsoft.com/downloads/d...displaylang=en

RKW.
http://coding-help.blogspot.com/
On Jul 12, 4:33 pm, Boki <bokit...@ms21.hinet.netwrote:
Hi All,

I have finished my first version of program, I use "build" to create
BokiProgram.exe
I copy this file from bin\release\
I copy it to my desktop folder, it works.

I copy this file to another computer, it can't work.
The error message is:

"The application initial (0xc0000135) fail, please click "OK" to
terminate program"

Could you please advice ?

I use Visual Studio 2005 C# Express.

Thank you very much!
Best regards,
Boki

Jul 12 '07 #3
On 7 12 , 3 04 , "R. K. Wijayaratne" <rasi...@gmail.comwrote:
Hi

It seems the other computer doesn't have the .NET Framework installed.

One way that you can check this is to see if the following folder
exisits (assuming Windows is installed on C drive):

C:\WINDOWS\Microsoft.NET\Framework\

Under this folder it should list the various frameworks that have been
installed on the other computer, e.g.:

C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

If the above is not on the other computer then you will need to
download and install the relevant .NET Framework runtime from
microsoft here onto it (I am assuming you have Framework 2.0 as you
are using C# Express):

http://www.microsoft.com/downloads/d...D=0856EACB-436...

RKW.http://coding-help.blogspot.com/

On Jul 12, 4:33 pm, Boki <bokit...@ms21.hinet.netwrote:
Hi All,
I have finished my first version of program, I use "build" to create
BokiProgram.exe
I copy this file from bin\release\
I copy it to my desktop folder, it works.
I copy this file to another computer, it can't work.
The error message is:
"The application initial (0xc0000135) fail, please click "OK" to
terminate program"
Could you please advice ?
I use Visual Studio 2005 C# Express.
Thank you very much!
Best regards,
Boki
Got it, thank you all.

Best regards,
Boki.

Jul 12 '07 #4

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

Similar topics

5
by: DCK | last post by:
Hello I've path to file, which look like this: \\COMPUTER\D$\C++\FILE_TO_DELETE.JPG This path was generated by os.path.walk() function. When i try to delete this file, os.remove() can't find...
2
by: Al Repasky | last post by:
The program I have written with VB/NET 2003 has a Myapp.exe.config file that I did not know I would be creating. My program using an Access db and can not find the DB file after building the...
9
by: John | last post by:
Tried this on microsoft.public.access.gettingstarted - no response - perhaps more appropriate here. I'm not a database user, simply helping someone get started with a new computer. The old...
0
by: Paul Brady | last post by:
I volunteer at a youth ministry agency and help them with their student database. They have two computers, both running Windows XP. Both have Office 2002 installed without Access, except that...
1
by: King | last post by:
Hello, I would like to check to see if the file that I am uploading to my server is of type CSV. I am currently doing that with the following snippet: HttpPostedFile file =...
10
by: strife | last post by:
Hey everyone, I was making a program for a class, and I ran into a problem that is driving me crazy. I first suspected Vista, and since I am not home I cannot verify if it just my Vista...
2
by: Martin | last post by:
From a PHP script, is there any way to retrieve data from an MS Access database that's located on another computer (on a LAN) other than by using ODBC? I posted a question here a couple of weeks...
15
by: lxyone | last post by:
Using a flat file containing table names, fields, values whats the best way of creating html pages? I want control over the html pages ie 1. layout 2. what data to show 3. what controls to...
9
by: tomhawkins1 | last post by:
Hi I currently have a site where users can upload files. These files can be doc, wmv, jpeg, xls, dwf, dwf and dwg. These files are uploaded to /home/**user**/uploads and not /home/...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.