Wine, .NET 3.5 and IsolatedStorage error

Questions about Wine on Linux
Locked
eeepc
Newbie
Newbie
Posts: 4
Joined: Thu Apr 11, 2013 1:32 am

Wine, .NET 3.5 and IsolatedStorage error

Post by eeepc »

Hi there,

I'm trying to run a .NET 3.5 application under wine. And almost everything works fine (thanks to winetricks).
The trouble I encounter is, I can't get past the IsolatedStorage error.

The whole error, as printed by in the error-box:

Code: Select all

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.IsolatedStorage.IsolatedStorageException: Unable to create the store directory. (Exception from HRESULT: 0x80131468)
   at System.IO.IsolatedStorage.IsolatedStorageFile.nGetRootDir(IsolatedStorageScope scope)
   at System.IO.IsolatedStorage.IsolatedStorageFile.InitGlobalsNonRoamingUser(IsolatedStorageScope scope)
   at System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScope scope)
   at System.IO.IsolatedStorage.IsolatedStorageFile.GetGlobalFileIOPerm(IsolatedStorageScope scope)
   at System.IO.IsolatedStorage.IsolatedStorageFile.Init(IsolatedStorageScope scope)
   at System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType)
   at Keyoti.RapidSpell.Options.UserOptions.Load()
   at Keyoti.RapidSpell.RapidSpellAsYouType.AddTextComponent(IAYTTextBox textComponent)
   at Keyoti.RapidSpell.RapidSpellAsYouType.set_TextComponent(IAYTTextBox value)
   at Keyoti.RapidSpell.RapidSpellAsYouType.set_TextBoxBase(TextBoxBase value)
   at TheBestSpinner.MainForm.MainForm_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at Syncfusion.Windows.Forms.Tools.RibbonForm.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TheBestSpinner
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files/TheBestSpinner3/TheBestSpinner.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Syncfusion.Tools.Windows
    Assembly Version: 9.203.0.137
    Win32 Version: 9.203.0.137
    CodeBase: file:///C:/Program%20Files/TheBestSpinner3/Syncfusion.Tools.Windows.DLL
----------------------------------------
Syncfusion.Shared.Base
    Assembly Version: 9.203.0.137
    Win32 Version: 9.203.0.137
    CodeBase: file:///C:/Program%20Files/TheBestSpinner3/Syncfusion.Shared.Base.DLL
----------------------------------------
Syncfusion.Core
    Assembly Version: 9.203.0.137
    Win32 Version: 9.203.0.137
    CodeBase: file:///C:/Program%20Files/TheBestSpinner3/Syncfusion.Core.DLL
----------------------------------------
System.Deployment
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Keyoti.RapidSpell.NET2
    Assembly Version: 5.0.11.517
    Win32 Version: 5.0.11.517
    CodeBase: file:///C:/Program%20Files/TheBestSpinner3/Keyoti.RapidSpell.NET2.DLL
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
And printed in the console:

Code: Select all

preloader: Warning: failed to reserve range 00010000-00110000
fixme:thread:SetThreadStackGuarantee (0x33fc68): stub
err:ole:CoGetContextToken apartment not initialised
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.VisualBasic"
fixme:shell:URL_ParseUrl failed to parse L"System.Windows.Forms"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"
fixme:shell:URL_ParseUrl failed to parse L"Accessibility"
fixme:shell:URL_ParseUrl failed to parse L"System.Runtime.Remoting"
fixme:shell:URL_ParseUrl failed to parse L"Syncfusion.Tools.Windows"
fixme:shell:URL_ParseUrl failed to parse L"Syncfusion.Shared.Base"
fixme:shell:URL_ParseUrl failed to parse L"Syncfusion.Core"
fixme:win:EnumDisplayDevicesW ((null),0,0x33d718,0x00000000), stub!
fixme:shell:URL_ParseUrl failed to parse L"System.Deployment"
fixme:shell:URL_ParseUrl failed to parse L"System.Runtime.Serialization.Formatters.Soap"
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
fixme:shell:URL_ParseUrl failed to parse L"Keyoti.RapidSpell.NET2"
fixme:shell:URL_ParseUrl failed to parse L"System.Data"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:process:FlushProcessWriteBuffers : stub
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:appbar:SHAppBarMessage unknown msg: 4
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETSTATE): stub
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:appbar:SHAppBarMessage unknown msg: 4
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETSTATE): stub
fixme:shell:URL_ParseUrl failed to parse L"System.Configuration"
fixme:ras:RasEnumConnectionsW (0x161340,0x33e2d0,0x33e2cc),stub!
fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:ras:RasConnectionNotificationW (0xffffffff,0x330,0x00000003),stub!
fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
fixme:shell:URL_ParseUrl failed to parse L"TheBestSpinner.resources"
If I click "continue", the app will continue to load and start. The only trouble is, it needs isolated storage to store a database that's essential for it to be useful.

Now, I've found those two errors that look like the one I'm experiencing: http://bugs.winehq.org/show_bug.cgi?id=15670 and http://bugs.winehq.org/show_bug.cgi?id=20678.
Now, although the second one was marked a duplicate of the first one, I still have tried to apply the patch posted there. It didn't make any difference.
And as for the first one, there's is a reg file to be applied through regedit. The trouble is, when I try to import a file into regedit no dialog appears. I thought I'd create this myself, but I'm not sure how to achieve that, since:
a) there are no "subdirectories" in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList
b) this thread is from 2008, when W7 wasn't there, yet. I see differences in my file structure under in windows_c. In W7 there's no "AllUsers" (replaced by "Public") and there is no "profiles" in "windows".

I even tried applying this solution: http://forums.asp.net/t/1642626.aspx/1, created needed files to no avail.

I have created IsolatedStorage at ~/.wine/drive_c/users/Public/Local\ Settings/Application\ Data/, but it's still empty. I have created it in "my" user directory, too.

My system is: Slackware64 14.0
Wine: 1.5.26

PS. I had the same problem under Debian Wheezy and it's own version of wine.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine, .NET 3.5 and IsolatedStorage error

Post by dimesio »

And as for the first one, there's is a reg file to be applied through regedit. The trouble is, when I try to import a file into regedit no dialog appears.
There's not supposed to be a dialog. If you just get the command prompt back, the key was imported successfully. The bug report indicates that adding the key merely gets you to the next bug; that could be what's happening in your case.
a) there are no "subdirectories" in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList
You can create them in regedit.
b) this thread is from 2008, when W7 wasn't there, yet. I see differences in my file structure under in windows_c. In W7 there's no "AllUsers" (replaced by "Public") and there is no "profiles" in "windows".
The default Windows version in winecfg is still XP. Unless your app requires it be set to Windows 7, you shouldn't change it.
eeepc
Newbie
Newbie
Posts: 4
Joined: Thu Apr 11, 2013 1:32 am

Re: Wine, .NET 3.5 and IsolatedStorage error

Post by eeepc »

dimesio wrote:
And as for the first one, there's is a reg file to be applied through regedit. The trouble is, when I try to import a file into regedit no dialog appears.
There's not supposed to be a dialog. If you just get the command prompt back, the key was imported successfully. The bug report indicates that adding the key merely gets you to the next bug; that could be what's happening in your case.
First of all, thank you kindly for your answer. :)

The key wasn't added. I know because I checked it. That's what I meant when I said "there are no "subdirectories" in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList".
But after having read your response, I have created it. Now this is what my ProfileList looks like:
AllUsersProfile: Public
ProfilesDirectory: C:\Users

ProfileList\S-1-5-4:
AllUsersProfile: All Users
ProfilesDirectory: c:\windows\profiles
b) this thread is from 2008, when W7 wasn't there, yet. I see differences in my file structure under in windows_c. In W7 there's no "AllUsers" (replaced by "Public") and there is no "profiles" in "windows".
The default Windows version in winecfg is still XP. Unless your app requires it be set to Windows 7, you shouldn't change it.[/quote]
In winecfg Windows XP is set. But the directories in drive_c directory are those W7-like (in WXP there was no Users directory, AFAIK, only "Documents and Settings").

Nevertheless, I have created the key and values, I created those directories, but I still get this error: "System.IO.IsolatedStorage.IsolatedStorageException: Unable to create the store directory. (Exception from HRESULT: 0x80131468)". Is there no hope? :)
ppfeifer
Newbie
Newbie
Posts: 1
Joined: Wed Dec 04, 2013 5:57 pm

Re: Wine, .NET 3.5 and IsolatedStorage error

Post by ppfeifer »

Did you ever figure out a solution to this problem? I have the exact same error regarding the Keyoti Rapid Spell component.
--Pat
eeepc
Newbie
Newbie
Posts: 4
Joined: Thu Apr 11, 2013 1:32 am

Re: Wine, .NET 3.5 and IsolatedStorage error

Post by eeepc »

Unfortunately, I have not.
Locked