mallik
(Mallik)
May 26, 2017, 6:07pm
1
an unexpected error occurred while starting uipath studio. Tired more than 3 times still problem persist. please help me
vvaidya
(Vinay Vaidya)
May 26, 2017, 6:35pm
2
do you have a screenshot of the error?
mallik
(Mallik)
May 26, 2017, 6:59pm
3
yes.
i have given my personal mail id while UIPath registation for ui studio trail version
Click on Activation Button.
ddpadil
(Dilip)
May 27, 2017, 9:52am
4
Hi,
Try these.
1.Could you please try giving enterprise mail id and activate.
2.if 1st approach fails then try to do offline (manual)activation by copying the clipboard.
1 Like
pragnesh
(Pragnesh)
January 13, 2018, 5:01am
5
Hi,
I am facing same problem. I tried approach mention in comment and Still I am facing problem to activation community studio version. Friends, help me to resolve this issue.
pathrudu
(KLN Sanyasi Pathrudu Chintakayala)
January 13, 2018, 9:27am
6
are you installing the recent version downloaded from website?
try with community edition platform *.msi
pragnesh
(Pragnesh)
January 18, 2018, 12:28pm
7
Install latest release version and It is working for me
sunnyxs
(ssuneel)
January 27, 2018, 10:27am
8
hi even i am getting the same error while openiing , if i verify the log file it is showing as uistudio.settings file could not found.
tomy
(tomy chen)
February 20, 2018, 9:05am
9
Open Studio.log can find out more detailed information.
I’m installing 2016.2 under .NetFramework 4.7.1, this problem happens.
My problem solved by installing a fixtool
Please find by the following link:
opened 04:47AM - 12 Jan 18 UTC
closed 09:21PM - 05 Jan 21 UTC
bug
area-WPF
announcement
# .NET Framework January 2018 Monthly Rollup Known Issue KB4074906 - "TypeInitia… lizationException" or "FileFormatException" error in WPF applications
Updated: January 24, 2018
An issue has been found in the [.NET Framework January 2018 Security and Quality Rollup (KB 4055002)](https://support.microsoft.com/help/4055002), applicable to .NET Framework 4.7.1 installed on either Windows 7 and Windows Server 2008 R2.
The .NET team has fixed the issue and re-released the January 2018 Monthly Rollup for affected Windows versions as [KB 4074880](https://support.microsoft.com/help/4074880). Affected machines can be fixed by using one of the solutions described later in the document.
This document describes the symptoms and solutions to resolve the issue.
The [.NET Framework January 2018 Monthly Rollup Announcement blog post](https://blogs.msdn.microsoft.com/dotnet/2018/01/09/net-framework-january-2018-security-and-quality-rollup/) has been updated with this information.
## Applicability
This issue applies to Windows 7 Service Pack 1 and Windows Server 2008 R2 Service Pack 1 machines. Users that install the following products/updates in the following order will experience this issue.
* [.NET Framework 4.7.1](https://blogs.msdn.microsoft.com/dotnet/2017/10/17/announcing-the-net-framework-4-7-1/)
* [.NET Framework January 2018 Security and Quality Rollup (KB 4055002)](https://support.microsoft.com/help/4055002)
## Symptoms
Windows Presentation Foundation (WPF) applications that request a fallback font or a character that is not included in the currently selected font return the following error messages:
```
System.TypeInitializationException
“FileFormatException: No FontFamily element found in FontFamilyCollection
that matches current OS or greater: Win7SP1”.
Inner exception originates from: CompositeFontParser
```
## Solutions
To work around this problem, use one of the following methods. We recommend the first option. The other options are provided in the unlikely case that the first option doesn't work for you.
### Solution 1 - Run Fixit tool for KB4074906
Microsoft has released a [Fixit tool for KB4074906](https://support.microsoft.com/help/4074906), available on [Windows Update](https://support.microsoft.com/help/4074906), [WSUS](https://support.microsoft.com/help/4074906), [Microsoft Update Catalog](http://catalog.update.microsoft.com/v7/site/Search.aspx?q=4074906), and as a [direct download](https://dotnetbinaries.blob.core.windows.net/kbassets/KB4074906/fixittool-KB4074906.exe).
The tool replaces the corrupted font file with the correct version.
The easiest approach is to get the tool via Windows Update or WSUS. If you download and run the tool directly, please follow these instructions.
* Close any open running applications, particularly if you know that they use the .NET Framework.
* Execute the tool from an Administrator command prompt (will prompt for Administrator permissions otherwise).
* Re-launch your .NET Framework application(s) and note that the issue has been resolved.
Important Notes:
* The Fixit tool is only meant to be used on affected systems. It will only complete the repair work on systems that match the applicability and symptoms described above.
* If you are running the tool programmatically and/or want to check for success status via tool return codes, launch the tool as a new process and wait for it to terminate (e.g. “start /wait FixItTool-KB4074906.exe”). Depending on your systems management environment this may happen by default.
You can use the following commands to run the tool and determine the return code.
```
C:\KB4074906>start /wait FixItTool-KB4074906.exe
C:\KB4074906>echo %errorlevel%
```
The follow table lists the error codes that the tool outputs:
|Case | Code|
|-----|-----|
|Success| 0 |
|Copy Error | 2|
|File in Use| 33|
|Generic Error | 1603|
|NotApplicable | 20160|
### Solution 2 - Uninstall and re-install the January 2018 Monthly Rollup
The January 2018 Monthly Rollup has been re-released with a fix for this known issue. You will have a working system if you uninstall the initial Monthly Rollup ([KB 4055002](https://support.microsoft.com/help/4055002)) and instead install updated January 2018 Monthly Rollup ([KB 4074880](https://support.microsoft.com/help/4074880)).
Follow these steps:
1. In Control Panel, open the Windows Update item, and then select View update history.
1. In the Review your update history list, locate and select Security and Quality Rollup for Microsoft .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 ([KB4055002](https://support.microsoft.com/en-us/help/4055002)). Then, select Uninstall.
1. When you are prompted for confirmation to uninstall, select Yes.
1. Restart your computer if you are prompted to do so.
1. Download and install the Monthly Rollup for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, and 4.7.1 for Windows 7 SP1 and Windows Server 2008 R2 SP1 and .NET Framework 4.6 for Windows Server 2008 SP2 ([KB 4074880](https://support.microsoft.com/help/4074880)) for your operating system configuration from the following links:
* [Security and Quality Rollup for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, and 4.7.1 for Windows 7 SP1 and Server 2008 R2 SP1 for x86 systems (KB 4074880)](http://download.windowsupdate.com/d/msdownload/update/software/secu/2018/01/ndp47-kb4074880-x86_3b871776f1918a0bc83f51bb2c5ac0366b18f08b.exe)
* [Security and Quality Rollup for .NET Framework 4.6, 4.6.1, 4.6.2, 4.7, and 4.7.1 for Windows 7 SP1 and Server 2008 R2 SP1 for x64 systems (KB 4074880)](http://download.windowsupdate.com/d/msdownload/update/software/secu/2018/01/ndp47-kb4074880-x64_7614e045d68cf219949917b18194b0bc8ee2b007.exe)
1. Follow the installation prompts, and then restart your computer if your are prompted to do this.
### Solution 3 - Replace GlobalUserInterface.CompositeFont Manually
Manually replace corrupted font file with correct version.
1. Download [GlobalUserInterface.CompositeFont](https://dotnetbinaries.blob.core.windows.net/kbassets/KB4074906/GlobalUserInterface.CompositeFont) (default download for Windows 7 is %USERPROFILE%\Downloads).
1. Launch `cmd` as Administrator and navigate to %windir%\Microsoft.NET\Framework\v4.0.30319\WPF\Fonts and run:
```xcopy /y %USERPROFILE%\Downloads\GlobalUserInterface.CompositeFont .```
(or copy and paste the GlobalUserInterface.Composite file through Windows Explorer to %windir%\Microsoft.NET\Framework\v4.0.30319\WPF\Fonts)
1. Launch `cmd` as Administrator and navigate to %windir%\Microsoft.NET\Framework64\v4.0.30319\WPF\Fonts and run:
```xcopy /y %USERPROFILE%\Downloads\GlobalUserInterface.CompositeFont .```
(or copy and paste the GlobalUserInterface.Composite file through Windows Explorer to %windir%\Microsoft.NET\Framework64\v4.0.30319\WPF\Fonts).
1. Re-launch WPF application.
1. Reboot machine and re-launch application if you still have trouble.
## Root Cause
The root cause of this problem is a MSI setup interaction between the [.NET Framework January 2018 Rollup (KB4055002)](https://support.microsoft.com/help/4055002) and an already installed version of .NET Framework 4.7.1 product. The Rollup installer unexpectedly overwrites the 4.7.1 version of the GlobalUserInterface.CompositeFont file. This causes WPF operations that need this font file to fail.
All updates are extensively tested before they are provided to you. We are investigating the gap in our testing and will resolve that for our next release.
## Issue Reports
* [KB4074906 (Microsoft)](https://support.microsoft.com/en-us/help/4074906)
* [0xd4d/dnSpy #692](https://github.com/0xd4d/dnSpy/issues/692)
* [Wox-launcher/Wox #1823](https://github.com/Wox-launcher/Wox/issues/1823)
Nihalm7
(Nihal)
July 13, 2018, 8:13am
10
HI @sunnyxs ,
i am getting the same error and could not open uipath.How to resolve this?
I also get this error during uipath platform installer installation. 16 percent and gets an error. I also did not learn the error details. Does anyone know where I can learn?
ahmed_zaki
(Ahmed Zaki)
December 23, 2019, 9:52am
12
Hi @erkanceylan did you solved this issue?
erkanceylan
(Erkan Ceylan)
December 23, 2019, 9:56am
13
No i couldn’t yet. but i think its about .Net Framework version.