LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2012, 10:05 AM   #1
riyazwrd
LQ Newbie
 
Registered: Apr 2012
Posts: 4

Rep: Reputation: Disabled
Help With Wine 1.4


Hello All,
I am A newbie to linux, and have a very limited knowlegde of linux. The org. i work uses windows Xp for its operations. now i am asked to change the os to linux. but there is a problem. We have got an application which is built on .net 1.1 and it has to be working with linux. so i was trying backtrack linux with wine installed on it. now i installed the .net framework 1.1 it installed w/o any issues. then i installed the program it also was installed. but when i open the application it does not open. in te log file of the application it says cannot find process. some error something to do with system.diagnostics.process.performancecountersLib
can anyone with the know how guide me with step by step detailed info on how to solve this issue and get the application working. it would be of great help.

Thanks.
 
Old 04-02-2012, 10:27 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by riyazwrd View Post
Hello All,
I am A newbie to linux, and have a very limited knowlegde of linux. The org. i work uses windows Xp for its operations. now i am asked to change the os to linux. but there is a problem. We have got an application which is built on .net 1.1 and it has to be working with linux. so i was trying backtrack linux with wine installed on it. now i installed the .net framework 1.1 it installed w/o any issues. then i installed the program it also was installed. but when i open the application it does not open. in te log file of the application it says cannot find process. some error something to do with system.diagnostics.process.performancecountersLib
can anyone with the know how guide me with step by step detailed info on how to solve this issue and get the application working. it would be of great help.

Thanks.
No, we can't....since you don't tell us WHAT application you're talking about, or even give us an exact error message. If this is an application written in-house by your company, have them port it over to Linux using MONO. Also, Backtrack wouldn't be a good choice to use for a Linux distro to replace Windows XP...try something more user-friendly like Mint, Fedora, or Ubuntu. Wine is available on all of them.
 
Old 04-02-2012, 11:01 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,139

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
1. Backtrack is basically a security and forensic tool If you are converting your computers to Linux, you need something more suited to everyday use. The ones recommended by TBone are more suited to home users. For business, I'd recommend Mepis or Saline. The two I use are perhaps even better, but not for beginners.

2. As TBone said, if possible, getting the program ported to Linux is the best choice. But if you can't do that, you may have to try several versions of Wine. Over the years, I've tried the one Windows program I need with 14 versions of Wine, of which just 6 worked.

3. The exact error messages are vital if anyone is going to be able to help. A visit to this site may prove useful, as well:
http://www.winehq.org/help/
 
Old 04-03-2012, 01:31 AM   #4
riyazwrd
LQ Newbie
 
Registered: Apr 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Help with wine

Thanks TBone and David for your replys.
I will try the distros you have suggested. The application is a .net 1.1 based application developed by a company called wipro Health care I.T. it is a Hospital Info System. the exact message is as follows.


when i try to open the application i get the error megssage saying

" one or more dependencies were not found"

in the LOG file the error displayed is .

"could not find process" "system.diagnostics.process.performancecounterLib"

the error is got to do with the performance counters in windows. as they are not available with wine the error message is displayed.

I have done some research. i have found something like the HKEY_Peroformance_Data Hack for the registry for wine, but i have no idea how to apply it.

here is the info.

http://bugs.winehq.org/show_bug.cgi?id=5322

--- Comment #20 from Hans Leidekker <hans <at> it.vu.nl> 2007-10-01 11:07:57 ---
Created an attachment (id=8333)
--> (http://bugs.winehq.org/attachment.cgi?id=8333)
HKEY_PERFORMANCE_DATA hack

This patch adds some fake data beneath the HKEY_PERFORMANCE_DATA
registry branch: performance object 230 (Process) and 238 (Processor),
which pslist is looking for.

Please help.

Last edited by riyazwrd; 04-03-2012 at 01:40 AM. Reason: more info
 
Old 04-03-2012, 02:00 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
On Linux a Microsoft .net program ,wrote in Microsoft c# needs " mono "
the opensource .net

however it only "sort of / kind of / maybe works "
and not well at that

if you MUST use a .net program and can NOT rebuild the source code
then run it on a Microsoft OS
The RECOMMENDED is Windows 7


the best supported mono is on suse
BUY suse 11 +1 ( yes $$$$ )
or install openSUSE 12.1


however there is NO way to know if this unnamed c# program will even run on MONO

or if it will even run in wine with Microsoft ".net" framework installed


consider using Windows 7 for this program


as to the " HKEY" issue

have you ever hacked the Microsoft Windows System Registry using "regedit"

there is a wine version in wine
launch regedit from wine

Last edited by John VV; 04-03-2012 at 02:03 AM.
 
Old 04-03-2012, 02:15 AM   #6
riyazwrd
LQ Newbie
 
Registered: Apr 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks john for the reply.
For the record there is no HKEY_Performance_data Registry Hive in Wine registry not the said one is available in the windows registry.
Running windows is not an option as i am already doing it. but my company wants to go in for linux to avoid more license purchases and the trick and monstorous deceit of microsoft license terms.
I am also looking in to ReactOS , but sadly it is still in alpha stage and i have no idea when it will be in the stable stage.
I have tried mono but i dont think it works. and the application i want to run is called WIPRO HIS. it is a Hosptial Info System.
 
Old 04-03-2012, 02:39 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
then get the very old 1.1 ".net framework" to run in wine
the program is looking for that

winehq lists 1 and 1.1 as "gold"
that might solve the
Quote:
" one or more dependencies were not found"

but the BEST solution is
use something that is NOT built on proprietary Microsoft software
 
Old 04-03-2012, 06:14 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by riyazwrd View Post
Running windows is not an option as i am already doing it.
So you are actually migrating your companies systems without having done research if that even will work? If you were my employee you wouldn't be my employee anymore.
But anyways, you have exactly three options:
1. Find a similar native application for Linux and migrate to that (preferred way).
2. Ask the developers if they have a Linux version/can make one.
3. Use Windows.

I would not recommend to run any application that is critical for your company with Wine, there can every time be bugs and may be even unnoticed quirks. This is especially true for applications that manage health data which may be vital to some persons, don't do that.
 
Old 04-03-2012, 08:35 AM   #9
riyazwrd
LQ Newbie
 
Registered: Apr 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks to all you guys for the efforts to help me out. as for the research is concerned, what do you think i am doing here. i am trying to run the application and not started to migrate or even given a reply to the administration of my company that if it is possible. if my admin had an attitude like yours to just jump to conclusion without even knowing what the employee is trying to do, i would have quit myself. .net framework has already been installed. do you know that if a program is dependent on .net framework it will not install if framework is not present. i dont know if i am not clear. i need your help in applying the Hkey_performance_data hack to the wine. thats all for now. help me if you can.i have done enough research on this but the problem is as i said i am a complete newbie to linux world and dont know how things work around here.
 
Old 04-03-2012, 09:11 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
So if you are still in the research phase, why is running Windows not an option? If you find out that your program will not work with Wine than you have to use Windows (or Mono, I would rather concentrate on that than on Wine).
Quote:
i am a complete newbie to linux world and dont know how things work around here.
Sorry that I have to say that, but in that case you are obviously the wrong person to research and plan a migration to Linux.
Also, as I have stated before, Wine is a moving target, what may work today may possibly not work after the next update. Do not use Wine for anything that may be important for your company, it can seriously backfire on you.
I would still recommend to have a look at these considerations, in that order:
1. Is the developer of that application may be able to deliver a Linux version?
2. Is there any alternative that is native to Linux you can migrate to?
3. Is that application probably working with Mono?
4. Now would be the time to think about that: Is it possible to migrate that service to Linux? If it is only possible with Wine, do you really want to depend on a software layer that is known to change and have regressions with your system critical software?

To the link you gave us for that registry hack: All those issues were fixed with version 1.3.30, so you don't need anything of that and it seems to be unrelated to your problem.
Some questions: Have you used winetricks to install the .NET framework and the service pack, as recommended? Have you set the library mscoree.dll to use the inbuilt override within winecfg, as suggested by the site for .NET V1.1 on the WineAppDB, as suggested?
 
Old 04-03-2012, 11:38 AM   #11
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,139

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Sometimes it just happens that what seems a good idea to the inexpert turns out to just too much trouble! You may have to explain this very gently to your boss.

As Tobi and I have said, Wine changes from version to version and frequently programs that were working stop working. It's really more suitable for games players than critical applications. If WIPRO HIS cannot be obtained for Linux, then the only safe thing to do is to run it under Windows.

You don't have to have every computer in the place running the same OS. It's common to have Linux on servers and Windows on the office computers to save retraining people. Google have no computers running Windows, but they do have Macs as well as Linux machines. Even if you have to keep some computers on Windows, you can still save by converting others.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine Problems CS4 Dreamweaver wont install 64bit wine openSuSE 11.4 Dizzymman Linux - Software 13 06-25-2012 01:35 PM
Problems installing WINE on Fedora Core 6 using $yum install wine rubiks_nerd_90 Linux - Software 4 03-06-2008 08:36 AM
Wine - Diablo II LOD TCP/IP doesn't work +where is my wine.conf brainlesspinkey Linux - Games 7 08-26-2007 08:10 AM
A wine question: Theming wine or changing wine's colour scheme PatrickMay16 General 8 12-17-2006 06:53 AM
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration