You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in this line IsolatedStorageFile isolatedStorageFile = IsolatedStorageFile.GetUserStoreForAssembly();:
Exception Info: System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
at System.Uri..ctor(String uriString)
at System.IO.IsolatedStorage.Helper.GetDefaultIdentityAndHash(Object& identity, String& hash, Char separator)
at System.IO.IsolatedStorage.IsolatedStorage.InitStore(IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType)
at System.IO.IsolatedStorage.IsolatedStorageFile..ctor(IsolatedStorageScope scope)
at System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForAssembly()
at Net9_NoTelerikControls.Program.Main() in D:\RMSCSharp\TestDesigner\241129\Program.cs:line 15
Regression?
It works when I target Net8
Known Workarounds
None with Net 9
Configuration
Net 9
Windows 10
x64 or x86
Other information
This seems to be specific to trying to use Isolated Storage on the network. It works when I run the exe on a local drive. When I copy it to the network and run it from a network location, I get the exception.
Description
Using Net 9 when I call this and the program is on a network location: IsolatedStorageFile.GetUserStoreForAssembly() the system throws an error.
It works in Net 8 and it works when I call it from a local drive.
Reproduction Steps
Below is the entirety of the program.
Expected behavior
No error is expected
Actual behavior
Exception in this line IsolatedStorageFile isolatedStorageFile = IsolatedStorageFile.GetUserStoreForAssembly();:
Exception Info: System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
at System.Uri..ctor(String uriString)
at System.IO.IsolatedStorage.Helper.GetDefaultIdentityAndHash(Object& identity, String& hash, Char separator)
at System.IO.IsolatedStorage.IsolatedStorage.InitStore(IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType)
at System.IO.IsolatedStorage.IsolatedStorageFile..ctor(IsolatedStorageScope scope)
at System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForAssembly()
at Net9_NoTelerikControls.Program.Main() in D:\RMSCSharp\TestDesigner\241129\Program.cs:line 15
Regression?
It works when I target Net8
Known Workarounds
None with Net 9
Configuration
Net 9
Windows 10
x64 or x86
Other information
This seems to be specific to trying to use Isolated Storage on the network. It works when I run the exe on a local drive. When I copy it to the network and run it from a network location, I get the exception.
Example:
241202.zip
The text was updated successfully, but these errors were encountered: