<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BoostSolutions &#187; Permission</title>
	<atom:link href="https://www.boostsolutions.com/kb/category/ad-information-sync/permission/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.boostsolutions.com/kb</link>
	<description></description>
	<lastBuildDate>Tue, 22 Feb 2022 06:34:39 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>How to fix “An unexpected error has occurred” issue when import an Excel file</title>
		<link>https://www.boostsolutions.com/kb/how-to-fix-an-unexpected-error-has-occurred-issue-when-import-an-excel-file/</link>
		<comments>https://www.boostsolutions.com/kb/how-to-fix-an-unexpected-error-has-occurred-issue-when-import-an-excel-file/#comments</comments>
		<pubDate>Mon, 21 Feb 2022 22:34:50 +0000</pubDate>
		<dc:creator><![CDATA[Admin]]></dc:creator>
				<category><![CDATA[Excel Import]]></category>
		<category><![CDATA[Permission]]></category>

		<guid isPermaLink="false">https://www.boostsolutions.com/kb/?p=1039</guid>
		<description><![CDATA[<p>​ When using Excel Import product to upload and import an Excel to a SharePoint list, you may meet this issue &#34;An unexpected error has occurred&#34; as this. After digging into the SharePoint logs, there will be error message like this&#58; &#34;Requested registry access is not allowed.&#34; Or upload and import a .csv format file [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.boostsolutions.com/kb/how-to-fix-an-unexpected-error-has-occurred-issue-when-import-an-excel-file/">How to fix “An unexpected error has occurred” issue when import an Excel file</a> appeared first on <a rel="nofollow" href="https://www.boostsolutions.com/kb">BoostSolutions</a>.</p>
]]></description>
				<content:encoded><![CDATA[<div class="ExternalClass17DBCDB52A764326B32DDC532311E20D">
<p>​</p>
<p>When using Excel Import product to upload and import an Excel to a SharePoint list, you may meet this issue &quot;An unexpected error has occurred&quot; as this.</p>
<p><img src="https://www.boostsolutions.com/kb/wp-content/uploads/2022/02/wpid-8361a574-ae0e-4360-b944-4e0e4148fb66-ei-1.png" alt="" /></p>
<p>After digging into the SharePoint logs, there will be error message like this&#58; &quot;Requested registry access is not allowed.&quot;
<div>
<p>Or upload and import a .csv format file using Excel Import, then you will find a same error message in the logs.&#160;</p>
</div>
</div>
<p><br/><b>Solution:</b> </br>
<div class="ExternalClass21D7FEA3DDC84F39B278BCD218D5B654">
<p>​</p>
<p><strong>Why does this issue happen?</strong></p>
<p>In the product Excel Import, we use &quot;Package&quot; class to load and parse excel file before import to list. </p>
<p>&quot;Package&quot; (full name&#58; &quot;System.IO.Packaging.Package&quot;) is a standard dot net class which defined in WindowsBase.dll and is part of the windows system. It will try write event trace during package class initialization, before write event trace, system will check which provider to use by reading the &quot;ClassicETW&quot; value in registry key &quot;HKEY_CURRENT_USER\Software\Microsoft\Avalon.Graphics\&quot;.</p>
<p>In some cases, the windows identity which the SharePoint process running with does not have permission to read that registry, as a result, an SecurityException was thrown saying &quot;Requested registry access is not allowed.&quot;</p>
<p>In short, the system module needs to read registry key &quot;HKEY_CURRENT_USER\Software\Microsoft\Avalon.Graphics\&quot; to decide where to write event trace, but SharePoint process doesn&#8217;t have permission to access it.</p>
<p><strong>How to fix it?</strong></p>
<p>Firstly, log in one application or web front end server, open the <strong>Register Editor</strong>. </p>
<p>And then find the <a href="https&#58;//scanner.topsec.com/?d=1464&amp;r=show&amp;u=HKEY_CURRENT_USER%5cSoftware%5cMicrosoft%5cAvalon.Graphics&amp;t=0c10b112c3fb17620954935523b1707d4d9a37c9"><strong>HKEY_CURRENT_USER\Software\Microsoft\Avalon. Graphics</strong></a>, right-click it and choose <strong>Permission</strong> option and add <strong>Everyone</strong> and grant <strong>Read</strong> permission as following, and then <strong>restart this server</strong>.</p>
<p><img src="file&#58;///C&#58;/Users/KIDE/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png?rdm=0.45915261040638233" alt="" style="width&#58;307px;margin&#58;5px;" /><img src="file&#58;///C&#58;/Users/KIDE/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png?rdm=0.10227417825198848" alt="" style="width&#58;347px;margin&#58;5px;" />
<p><img src="https://www.boostsolutions.com/kb/wp-content/uploads/2022/02/wpid-3c33335b-38b0-41cf-affa-544579057b9c-ei-2.png" alt="" /></p>
<p><img src="https://www.boostsolutions.com/kb/wp-content/uploads/2022/02/wpid-15b637d0-8f7c-4d4e-a602-a8bd7529f823-ei-3.png" alt="" /></p>
<p>Repeat above steps, modify the registry in <strong>all application and web front end servers</strong>, and restart the servers.</p>
<p>If above steps do not work, the cause of it may be the HKEY_CURRENT_USER for SharePoint process is different from for current login user while you modify the registry. So, you need to find the right &quot;current user&quot; for SharePoint process, or just grant permission for all users.</p>
<p>Registry key &quot;HKEY_CURRENT_USER\Software\Microsoft\Avalon.Graphics\&quot; is under the HKEY_CURRENT_USER hive, all settings here are user-level settings, and for current logged in user only. In some cases, it is not the settings that SharePoint process was reading. </p>
<p>Since HKEY_CURRENT_USER hive is just a subkey of HKEY_USERS, here you can grant Everyone read permission on another user&#8217;s registry key.</p>
<p>You can see many user IDs under HKEY_USERS hive, go through each user to <strong>find registry key &quot;HKEY_USERS\&lt;some user id&gt;\Software\Microsoft\Avalon.Graphics\&quot;,</strong> if that key exists, <strong>grant &quot;Everyone&quot; read permission</strong> on it. </p>
<p>e.g.&#58; HKEY_USERS\S-1-5-21-1343462910-744444023-3288617952-4375\Software\Microsoft\Avalon.Graphics\</p>
<p><img src="file&#58;///C&#58;/Users/KIDE/AppData/Local/Temp/msohtmlclip1/01/clip_image004.jpg?rdm=0.6272015001599311" alt="" style="width&#58;478px;margin&#58;5px;" />
<p><img src="https://www.boostsolutions.com/kb/wp-content/uploads/2022/02/wpid-aca1902a-af4d-40aa-9161-ca58d5704c11-ei-4.png" alt="ei-4.png" style="margin&#58;5px;width&#58;438px;height&#58;569px;" />​</p>
<p>Repeat above steps, modify the registry in <strong>all application and web front end servers</strong>, and restart the servers.</p>
<p>Once the registry key which SharePoint is reading has the right permission, the issue will be fixed, the product should work.</p>
</div>
<p>Applies for: SharePoint 2019, SharePoint 2016</p>
<p>The post <a rel="nofollow" href="https://www.boostsolutions.com/kb/how-to-fix-an-unexpected-error-has-occurred-issue-when-import-an-excel-file/">How to fix “An unexpected error has occurred” issue when import an Excel file</a> appeared first on <a rel="nofollow" href="https://www.boostsolutions.com/kb">BoostSolutions</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.boostsolutions.com/kb/how-to-fix-an-unexpected-error-has-occurred-issue-when-import-an-excel-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Permission required to configure the product</title>
		<link>https://www.boostsolutions.com/kb/permission-required-to-configure-the-product/</link>
		<comments>https://www.boostsolutions.com/kb/permission-required-to-configure-the-product/#comments</comments>
		<pubDate>Mon, 31 Mar 2014 19:40:59 +0000</pubDate>
		<dc:creator><![CDATA[Admin]]></dc:creator>
				<category><![CDATA[AD Information Sync]]></category>
		<category><![CDATA[Permission]]></category>

		<guid isPermaLink="false">http://www.boostsolutions.com/kb/?p=843</guid>
		<description><![CDATA[<p>​What are the minimum rights required for an account to configure the settings of AD Information Sync? Solution: The permissions to configure AD Information Sync settings must contain these four atom permissions&#58; Add Items, Edit Items, Delete Items, and Manage Web Site. Applies for: SharePoint 2013, SharePoint 2010, SharePoint 2007</p>
<p>The post <a rel="nofollow" href="https://www.boostsolutions.com/kb/permission-required-to-configure-the-product/">Permission required to configure the product</a> appeared first on <a rel="nofollow" href="https://www.boostsolutions.com/kb">BoostSolutions</a>.</p>
]]></description>
				<content:encoded><![CDATA[<div class="ExternalClassB0EC62086159446B8F63DCB36664627E">
<p>​What are the minimum rights required for an account to configure the settings of AD Information Sync?</p>
</div>
<p><br/><b>Solution:</b> </br>
<div class="ExternalClass09B5B20963A64D388B37B57A9EEFF1F9">
<p>The permissions to configure AD Information Sync settings must contain these four atom permissions&#58; </p>
<p><em>Add Items, Edit Items, Delete Items, </em>and <em>Manage Web Site.</em></p>
</div>
<p>Applies for: SharePoint 2013, SharePoint 2010, SharePoint 2007</p>
<p>The post <a rel="nofollow" href="https://www.boostsolutions.com/kb/permission-required-to-configure-the-product/">Permission required to configure the product</a> appeared first on <a rel="nofollow" href="https://www.boostsolutions.com/kb">BoostSolutions</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.boostsolutions.com/kb/permission-required-to-configure-the-product/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
