Categories
Microsoft Windows 7

7z – “unknown method” or “unknown compression method”

Solution to the errors: “unknown method” or “unknown compression method” with 7 Zip.

When you try to extract a .7z (7-Zip) file show the following errors:

unknown method

Or

unknown compression method

Solution:

Download and install the latest version of the 7-Zip software from

7 zip to solve unknown compression method error
http://www.7-zip.org/download.html

Did my solution solve your problem? Leave a reply.

Categories
7.0 7.5 C#.NET Microsoft VB.NET Windows Phone

Windows Phone – “Navigation is not allowed when the task is not in the foreground. Error: -2147220990”

When you debug your Windows Phone application that use a task and call the Show method your app crash with the following error message:

System.InvalidOperationException:
Navigation is not allowed when the task is not in the foreground. Error: -2147220990

Solution:

Add Show method in try/catch block

For example:

[sourcecode lang=”CSharp”]
private void appBarButton_Click(object sender, EventArgs e)
{
WebBrowserTask task = new WebBrowserTask();
task.Uri = new Uri("https://www.myerrorsandmysolutions.com/");
try
{
task.Show();
}
catch
{ }
}
[/sourcecode]

Did my solution solve your problem? Leave a reply.