.NETFramework

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
gjvblack
Newbie
Newbie
Posts: 4
Joined: Sun Mar 09, 2008 7:35 pm

.NETFramework

Post by gjvblack »

Im trying to get a program to work but it needs .NETFramework. I installed it using wine, but it seems to get a lot of errors when installing but then the installer says it has been installed successfully. After that when i try to the program from my windows section of the hard drive i get this error:

$ wine '/media/disk/Program Files/ChatStat Technologies/ChatStat/ChatStat.exe'
fixme:process:IsWow64Process (0xffffffff 0x33f8dc) stub!
fixme:virtual:NtAllocateVirtualMemory MEM_WRITE_WATCH type not supported
fixme:ole:CoGetContextToken stub
fixme:advapi:CheckTokenMembership (0x138 0x14c3c0 0x33dc98) stub!

Unhandled Exception: StackOverflowException.
wine: Unhandled exception 0xe0434f4d at address 0x7b840f60 (thread 0009), starting debugger...
Unhandled exception: 0xe0434f4d in 32-bit code (0x7b840fda).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7b840fda ESP:0033ef54 EBP:0033efb8 EFLAGS:00000202( - 00 - - I1)
EAX:7b82c131 EBX:7b8ac8a0 ECX:00000000 EDX:0033eff0
ESI:0033eff0 EDI:e0434f4d
Stack dump:
0x0033ef54: 0033eff0 00000004 aa874ef3 e0434f4d
0x0033ef64: 00000001 00000000 7b840f60 00000001
0x0033ef74: 80131534 e0434f4d 0033eff0 003a2010
0x0033ef84: 02000036 0033ef9c 79e814da 0033efa8
0x0033ef94: 02000036 00000001 0033f018 79e87ff4
0x0033efa4: 0000012c 030e161c 7b840f6a 001327e0
Backtrace:
=>1 0x7b840fda RaiseException+0x7a() in kernel32 (0x0033efb8)
2 0x79f97065 in mscorwks (+0x127065) (0x0033f018)
3 0x7a0945a4 in mscorwks (+0x2245a4) (0x0033f0dc)
4 0x0311365b (0x0033f10c)
5 0x03113521 (0x0033f138)
6 0x0311194d (0x00000000)
0x7b840fda RaiseException+0x7a in kernel32: subl $4,%esp
Modules:
Module Address Debug info Name (62 modules)
PE 400000- 7d2000 Deferred chatstat
PE 78130000-781cb000 Deferred msvcr80
PE 79000000-79045000 Deferred mscoree
PE 79060000-790b3000 Deferred mscorjit
PE 790c0000-794de000 Deferred mscorlib
PE 79e70000-7a3d1000 Export mscorwks
ELF 7b800000-7b926000 Export kernel32<elf>
\-PE 7b820000-7b926000 \ kernel32
ELF 7bc00000-7bca1000 Deferred ntdll<elf>
\-PE 7bc10000-7bca1000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7e4c7000-7e4db000 Deferred lz32<elf>
\-PE 7e4d0000-7e4db000 \ lz32
ELF 7e4db000-7e4f4000 Deferred version<elf>
\-PE 7e4e0000-7e4f4000 \ version
ELF 7e4f4000-7e511000 Deferred imm32<elf>
\-PE 7e500000-7e511000 \ imm32
ELF 7e536000-7e549000 Deferred libresolv.so.2
ELF 7e553000-7e571000 Deferred iphlpapi<elf>
\-PE 7e560000-7e571000 \ iphlpapi
ELF 7e571000-7e5cf000 Deferred rpcrt4<elf>
\-PE 7e580000-7e5cf000 \ rpcrt4
ELF 7e5cf000-7e66f000 Deferred ole32<elf>
\-PE 7e5e0000-7e66f000 \ ole32
ELF 7e891000-7e8f6000 Deferred msvcrt<elf>
\-PE 7e8a0000-7e8f6000 \ msvcrt
ELF 7e8f6000-7e8ff000 Deferred libxcursor.so.1
ELF 7e8ff000-7e904000 Deferred libxfixes.so.3
ELF 7e904000-7e907000 Deferred libxcomposite.so.1
ELF 7e907000-7e90d000 Deferred libxrandr.so.2
ELF 7e90d000-7e915000 Deferred libxrender.so.1
ELF 7e915000-7e91a000 Deferred libxdmcp.so.6
ELF 7e91a000-7e91d000 Deferred libxau.so.6
ELF 7e91d000-7ea0e000 Deferred libx11.so.6
ELF 7ea0e000-7ea1c000 Deferred libxext.so.6
ELF 7ea1c000-7ea21000 Deferred libxxf86vm.so.1
ELF 7ea21000-7ea39000 Deferred libice.so.6
ELF 7ea39000-7ea42000 Deferred libsm.so.6
ELF 7ea4c000-7eada000 Deferred winex11<elf>
\-PE 7ea60000-7eada000 \ winex11
ELF 7eb4a000-7eb6a000 Deferred libexpat.so.1
ELF 7eb6a000-7eb95000 Deferred libfontconfig.so.1
ELF 7eb9f000-7ebb3000 Deferred libz.so.1
ELF 7ebb3000-7ec1e000 Deferred libfreetype.so.6
ELF 7ec28000-7ecbe000 Deferred gdi32<elf>
\-PE 7ec40000-7ecbe000 \ gdi32
ELF 7ecbe000-7edf8000 Deferred user32<elf>
\-PE 7ece0000-7edf8000 \ user32
ELF 7edf8000-7ee4e000 Deferred shlwapi<elf>
\-PE 7ee00000-7ee4e000 \ shlwapi
ELF 7ee4e000-7ee98000 Deferred advapi32<elf>
\-PE 7ee60000-7ee98000 \ advapi32
ELF 7efad000-7efb8000 Deferred libnss_files.so.2
ELF 7efb8000-7efcf000 Deferred libnsl.so.1
ELF 7efcf000-7eff6000 Deferred libm.so.6
ELF 7eff6000-7f000000 Deferred libnss_nis.so.2
ELF b7cf4000-b7cfd000 Deferred libnss_compat.so.2
ELF b7cfe000-b7d02000 Deferred libdl.so.2
ELF b7d02000-b7e43000 Deferred libc.so.6
ELF b7e44000-b7e5b000 Deferred libpthread.so.0
ELF b7e65000-b7f79000 Deferred libwine.so.1
ELF b7f7b000-b7f96000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\media\disk\Program Files\ChatStat Technologies\ChatStat\ChatStat.exe
00000010 2
0000000f 0
00000009 0 <==
0000000a
0000000b 0
0000000c
0000000e 0
0000000d 0
00000011
00000017 0
00000012 0
00000013
00000016 0
00000015 0
00000014 0
Backtrace:
=>1 0x7b840fda RaiseException+0x7a() in kernel32 (0x0033efb8)
2 0x79f97065 in mscorwks (+0x127065) (0x0033f018)
3 0x7a0945a4 in mscorwks (+0x2245a4) (0x0033f0dc)
4 0x0311365b (0x0033f10c)
5 0x03113521 (0x0033f138)
6 0x0311194d (0x00000000)
fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x000003ff,(nil),0x0001,0x00000000,0x33ea9c,(nil)): stub
err:eventlog:ReportEventW L".NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (79F97075) (80131506)"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
gerardo@gerardo-laptop:~$ 40fda RaiseException+0x7a in kernel32: subl $4,%esp
40fda RaiseException+0x7a in kernel32: subl $4,%esp
Modules:
bash: 40fda: command not found
gerardo@gerardo-laptop:~$ Modules:
bash: Modules:: command not found
gerardo@gerardo-laptop:~$ 40fda RaiseException+0x7a in kernel32: subl $4,%esp
bash: 40fda: command not found
gerardo@gerardo-laptop:~$ Modules:
bash: Modules:: command not found

I know its long, but can anyone kinda explain whats going on here? I would appreciate it! Thanks!!

-Gerardo
Dan Kegel

.NETFramework

Post by Dan Kegel »

On Sun, Mar 9, 2008 at 5:56 PM, gjvblack <[email protected]> wrote:
I'm trying to get a program to work but it needs .NET Framework.
.NET Framework isn't quite supported yet in Wine. It's starting to
work, but much fiddling is required at the moment. Better to wait
until we announce it's supported before relying on it.

What app are you trying to install?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: .NETFramework

Post by vitamin »

gjvblack wrote:Im trying to get a program to work but it needs .NETFramework. I installed it
Which version of dotnet? ATM only 1.x sorta works as-is. Anything past that doesn't work.
User avatar
L. Rahyen
Moderator
Moderator
Posts: 338
Joined: Fri Feb 22, 2008 9:13 pm

.NETFramework

Post by L. Rahyen »

On Monday March 10 2008 00:56:25 gjvblack wrote:
Im trying to get a program to work but it needs .NETFramework.
You can find a short howto along with links to experimental patches from
bugzilla for .NET 2.0 support on AppDB [1]. Let us know if this helps...


Thank you for using WINE.


[1]
http://appdb.winehq.org/objectManager.p ... ingId=2992
gjvblack
Newbie
Newbie
Posts: 4
Joined: Sun Mar 09, 2008 7:35 pm

Post by gjvblack »

Thanks a lot guys for helping me, I appreciate it!

I am currently trying to install a chat program. It requires Microsoft .Net Framework 2.0 and like vitamin said, it might not get past 1.X. I will try doing what L. Rahyen recommended. Thanks again, please post if you have any other ways too.

Im also using ubuntu 7.04. That wouldnt have anything to do with it?

Update:

I got the same thing as here:
http://appdb.winehq.org/objectManager.p ... ingId=2992

I installed and it looks like if it "did really install", but then i try opening the program and it doesn't run.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

gjvblack wrote:Thanks a lot guys for helping me, I appreciate it!

I am currently trying to install a chat program.
Throw it away and find Linux native program instead. Don't tow all the garbage from windows - it's garbage and should stay in the dumpster.
gjvblack
Newbie
Newbie
Posts: 4
Joined: Sun Mar 09, 2008 7:35 pm

Post by gjvblack »

I would, but many of my sites already use the program for live chat, changing them all would be a huge hassle and would take time (which i dont have a lot of).
User avatar
L. Rahyen
Moderator
Moderator
Posts: 338
Joined: Fri Feb 22, 2008 9:13 pm

.NETFramework

Post by L. Rahyen »

On Monday March 10 2008 01:16:12 gjvblack wrote:
I installed and it looks like if it "did really install", but then i try
opening the program and it doesn't run.
1) Make sure that you did followed steps in the howto exactly.
2) If it doesn't work run "rm -rf ~/.wine; wineprefixcreate" and try again
with clean WINE prefix.
3) Now do everything step-by-step as described in the howto. Make sure that
you compiled and installed WINE from source correctly (it is good idea to
remove WINE package(s) provided by your distro to prevent "collisions").
4) Does it work now? If not then this means that these experimental patches
and instructions in the howto just don't work for your application - in this
case you need to wait until WINE will have official support for .NET 2.0 (or
at least improved experimental patches/howto) and this may take a while...
Alistair Leslie-Hughes

.NETFramework

Post by Alistair Leslie-Hughes »

"gjvblack" <[email protected]> wrote in message
news:[email protected]...
Im trying to get a program to work but it needs .NETFramework. I installed
it using wine, but it seems to get a lot of errors when installing but
then the installer says it has been installed successfully. After that
when i try to the program from my windows section of the hard drive i get
this error:
Have you tried mono under wine instead of the .Net Framework. You might
have better luck, if the application is written in .NET.

Best Regards
Alistair Leslie-Hughes
David Gerard

.NETFramework

Post by David Gerard »

On 10/03/2008, Alistair Leslie-Hughes <[email protected]> wrote:
"gjvblack" <[email protected]> wrote in message
news:[email protected]...
Im trying to get a program to work but it needs .NETFramework. I installed
it using wine, but it seems to get a lot of errors when installing but
then the installer says it has been installed successfully. After that
when i try to the program from my windows section of the hard drive i get
this error:
Have you tried mono under wine instead of the .Net Framework. You might
have better luck, if the application is written in .NET.
The trouble there is that Mono doesn't support .NET 2.0 as yet. Some
of the hacks for Microsoft .NET 2.0 work a little better (or less
worse). I too have a favoured app (AutoWikiBrowser) which is itself
GPL but wants .NET 2.0, and the hacked in .NET 2.0 allows some
imperfect program function ...


- d.
gjvblack
Newbie
Newbie
Posts: 4
Joined: Sun Mar 09, 2008 7:35 pm

Post by gjvblack »

Can you share more about these hacks?

-Thanks
Timeout
Level 4
Level 4
Posts: 183
Joined: Sat Feb 23, 2008 12:45 pm

Here some of my hacks

Post by Timeout »

- Gecko installation (is declaring IE6 as installed)
- Installation of Windows installer (min. 2.0 on Win2000, XP require 3.1)
- Adding Fusion.dll, mscvr70.dll (required by fusion.dll), secur32.dll
- Installation of Vcredist2005

Launch the net.
If you have still problems, add the Winsxs of your windows copy next to the winsxs of Wine (note that in Wine the first letter is small, on Windows XP first letter is capital).
If necessary repair the net.

Although the NET installation is not completing (due to a problem with the Windows Installer), it is working in my case.
MammothTruk
Newbie
Newbie
Posts: 1
Joined: Fri Mar 14, 2008 12:37 pm

Post by MammothTruk »

I can say that the NeverWinter2 community at large thats using Wine to play looks forward to the .NET being officially supported. Its required to use the toolset. Huge support and love on the bioware forums for Wine.
Locked