Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have created .NET 2.0 windows application setup with MySQL database on the XP and I have installed same setup on the Ubuntu.
Right now my setup installed successfully but I'm facing one major problem. When I clicked on my project exe shortcut I'm not able to view the same.
You're going to have to clarify your question. You say you created a Windows .exe file....windows executables will NOT work under Linux, anymore than a Mac executable will work under Windows. They're two different operating systems.
You also say "my setup installed successfully"...what part of the setup? Installing MySQL? Are you using Wine to run the .exe? What problems are you having?? Without clear information, no one will be able to help you.
You're going to have to clarify your question. You say you created a Windows .exe file....windows executables will NOT work under Linux, anymore than a Mac executable will work under Windows. They're two different operating systems.
You also say "my setup installed successfully"...what part of the setup? Installing MySQL? Are you using Wine to run the .exe? What problems are you having?? Without clear information, no one will be able to help you.
Ok.
I have successfully installed full setup of my windows application (Desktop application) using WINE.
but when I'm trying to open my application using shortcut from desktop its not opening.
I have successfully installed full setup of my windows application (Desktop application) using WINE.
but when I'm trying to open my application using shortcut from desktop its not opening.
can you please help me regarding the same.
We might be able to help you, but as I said in my first post, without YOU giving us information, we can't.
You still haven't said what version/distro of Linux, what error(s) you're getting, or what you've tried. All we know is you clicked an icon, and it didn't work.
Open it from a shell and post the result here. But warning, wine is a win32 compatibility layer, not .NET. You should try to compile your application using the mono compiler, it should produce a native Linux binary.
We might be able to help you, but as I said in my first post, without YOU giving us information, we can't.
You still haven't said what version/distro of Linux, what error(s) you're getting, or what you've tried. All we know is you clicked an icon, and it didn't work.
Provide some actual, useful, details.
For .NET windows application I have used following things:
To develop application: Microsoft Visual Studio 2005 (framework 2.0)
Database: My SQL 5.0
Created setup with above application configuration.
In that application for database connectivity I have used reference "mysql.data" dll.
After the deployment of using WINE above setup(exe & dll file) goes in "Program Files\MyApp\SachinSetup" folder structure in the Ubuntu 9.10 and setup shortcut goes on the Desktop.
Open it from a shell and post the result here. But warning, wine is a win32 compatibility layer, not .NET. You should try to compile your application using the mono compiler, it should produce a native Linux binary.
I have opened it from shell, I got following error:
sachin@ubuntu:~/Desktop$ sh TestApp.exe
TestApp.exe: 1: MZ����@���: not found
TestApp.exe: 18: @: not found
TestApp.exe: 18: .sdata�: not found
TestApp.exe: 18: @B: not found
TestApp.exe: 18: ��AK
00: not found
TestApp.exe: 19: Syntax error: "(" unexpected
I have checked with mono project but it support ASP.NET application and for windows application it support only for few controls.
I have opened it from shell, I got following error:
sachin@ubuntu:~/Desktop$ sh TestApp.exe
TestApp.exe: 1: MZ����@���: not found
TestApp.exe: 18: @: not found
TestApp.exe: 18: .sdata�: not found
TestApp.exe: 18: @B: not found
TestApp.exe: 18: ��AK
00: not found
TestApp.exe: 19: Syntax error: "(" unexpected
I have checked with mono project but it support ASP.NET application and for windows application it support only for few controls.
Is there any alternative for the same.
If yes please let me know.
No, there isn't.
And you're trying to run a Windows executable as a shell script. As stated before, Windows executables do not run under Linux, ever. If you've set it up as a Wine application, you need to run it under Wine.
If you want a true, Linux application, you'll have to write it in a language that's portable, and recompile it under Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.