Sharepoint and SSRS integration Error Requested registry access is not allowed.

I have integrated SSRS with sharepoint foundation 2010, it was running fine but suddenly its starts giving me error as -
"An unexpected error occurred while connecting to the report server. Verify that the Reporting Services Service Application mapped to this web application is available OR the report server is available
and configured for SharePoint Integrated mode. --> The report server cannot decrypt the symmetric key that is used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content. --->
Microsoft.ReportingServices.Library.ReportServerDisabledException: The report server cannot decrypt the symmetric key that is used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted
content. ---> System.Security.SecurityException: Requested registry access is not allowed."
Now i am not able to read reports or cant access all database options in sharepoint,it says
registry access is not allowed
I tried to reset encryption key and allowed all access to registry keys buts its giving same error .
Please suggest me what should i do now, i stuck here...

Hi Bhagyashri,
From your description, there have two questions in the environment:
"Requested registry access is not allowed" while access SharePoint sites
and "The report server cannot decrypt the symmetric key that is used to access sensitive or encrypted data in a report server database" while viewing reports
For the first issue, the cause is the SharePoint web service account can't access some registry keys.
For the second issue, the cause is that the report database was restored from another server, and the encryption key was not restored correctly.
To fix the issue, please:
Follow "solutions" in this article
http://blogs.technet.com/b/spsforum/archive/2011/11/02/quick-solution-5-requested-registry-access-is-not-allowed.aspx to fix "Requested registry access is not allowed"
Restore the encryption key again, or please delete the key and then reset every credential setting in SSRS data source connection
Thanks,
Jinchun Chen
Jinchun Chen(JC)
TechNet Community Support

Similar Messages

  • After Feb 2015 CU viewing list items results in error : requested registry access is not allowed

    Hello All,
    We recently (Monday) updated our farm to the feb 2015 CU.  Since then we have been getting calls in from users that cannot access list items.  They receive a correlation error.  Looking at the logs the correlation error points to a critical
    error: "Requested registry access is not allowed"
    Doing some googling, others have seen this error but it is usually associated with managed accounts.
    Has anyone else encountered this issue/error?  Have you found a solution?
    Thanks for your help
    environment: SharePoint 2013 enterprise : 6 farm servers : OWA : project server : SQL 2012 always on backend

    This would be the service account running the Web Application failing to access the registry key(s). What you should do is set up
    Process Monitor to look at Registry keys, and look for ACCESS DENIED.
    One thing you could just try out would be to run:
    Initialize-SPResourceSecurity
    Also, do you mean the March 2015 CU? 
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Requested registry access is not allowed when opening Infopath Forms on Sharepoint 2013

    Hello Technet Community.
    I hope this will help anybody out there that experienced this problem after patching Sharepoint 2013.
    I have a distributed 3-tier Sharepoint 2013 environment. All of a sudden, after the last round of patched released on 7-Jul-2014, opening Infopath forms would throw a "something went wrong" error.
    Looking at the ULS logs, you would see the error "Requested registry access is not allowed.".
    I have looked at tons of posts on different blogs, and all pointed out that you need to grant "read" permissions to the application pool user (in my case a service account in AD) to the registry key (and subkeys):
    HLKM/Software/Office Server/15.0
    That indeed works, but it is not the proper way to do it. You should grant "read" permissions to this local group:
    WSS_WPG
    And special permissions to this local group:
    WSS_ADMIN_WPG
    Here is a snapshot of the special permissions needed
    By the way, the WSS_PWG local group contains the app pool service account.
    I do not know why patching Sharepoint removed these permissions from the registry keys, but oh well...
    Anyway, Sharepoint is now happy and Infopath forms work as expected.
    Claudio

    Check if your service account or infopath service account has access to server and specially registry
    http://blogs.technet.com/b/spsforum/archive/2011/11/02/quick-solution-5-requested-registry-access-is-not-allowed.aspx
    To solve the issue, please follow these steps:
    Use the Process Monitor to monitor the registry, once you get the following ACCESS DENIED message(You can filter the result with “Result contains Access Denied”):  
    Date & Time:      <date time>
    Event Class:        Registry
    Operation: RegOpenKey
    Result:  ACCESS DENIED
    Path:     HKLM\SOFTWARE\Microsoft\Office Server\14.0
    TID:        2020
    Duration:             0.0000297
    Desired Access:                Read
    Open Registry Editor (Start > Run, type regedit)
    Open key: HKLM\SOFTWARE\Microsoft\Office Server\14.0(got from Process Monitor from step 1)
    Assign the SharePoint Timer Service account the Read permission to this key
    One can open registry using regedit command. In Registery editor go to 
    HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\15\Secure\FarmAdmin
    Check central  administration app pool Identity  have permission on FarmAdmin. Permission can be check on right clicking FarmAdmin --> Permissions.
    If this helped you resolve your issue, please mark it Answered

  • Error at connect :Requested registry access is not allowed

    I have a Windows service running as a domain admin connecting with Client 10.2.0.100.
    My connection string look as follows :
    user id=xxx;data source=xxx;password=xxx;Statement Cache Size=30;Min Pool size=0
    This error (Requested registry access is not allowed) only occurs sometimes.
    Maybe after the service has been idle for a while???
    Thanks in advance,
    Philippe

    Problem was caused by corrupted user profile. Removing current profile and reinstalling SCORCH solved.
    Egils Zonde from Technet

  • The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. InnerException: Requested registry access is not allowed.

    I have read some of the other posts for people that got this error, but none seem to apply to me.
    My program has been working for weeks.  I made some minor changes, and started getting the error (full details below).
    I did a TFS "undo pending changes" and still getting the same error, even after logging off.  The one odd thing is that I did change my Windows password this week. The connection string is using a SQL user id and password that has no issues.
    I'm an Admin own my own box (running WIn XP SP3).  I even tried "Run as Admin" on Visual Studio.
    I'm doing a Debug-Start, running a Console-Test-Program that calls a WCF service, which on local machine is hosted by "ASP.NET Development Server".
    We have two other developers, one has the same problem, one does not.  In theory, we have all done "get latest" and are running the same code.
    The SQL Connection is related to a trace database; we are using this library http://ukadcdiagnostics.codeplex.com which has worked fine for months.
    When I do "Start Run" in Visual Studio, I get this error:
    {"The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. "}
    with InnerException: {"The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception."}
    and it has InnerException: {"Requested registry access is not allowed. "}
    Outmost StackTrace:
       at System.Data.SqlClient.SqlConnection..ctor()
       at System.Data.SqlClient.SqlConnection..ctor(String connectionString)
       at FRB.Diagnostics.Listeners.SqlDataAccessCommand..ctor(String connectionString, String commandText, CommandType commandType)
       at FRB.Diagnostics.Listeners.SqlDataAccessAdapter.CreateCommand()
       at FRB.Diagnostics.Listeners.SqlTraceListener.TraceEventCore(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
       at FRB.Diagnostics.Listeners.CustomTraceListener.FilterTraceEventCore(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
       at FRB.Diagnostics.Listeners.CustomTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args)
       at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String format, Object[] args)
       at System.Diagnostics.TraceSource.TraceInformation(String message)
       at FRB.EC.AdminService.AdminService.TestHelloWorldWithTrace(String name)
       at SyncInvokeTestHelloWorldWithTrace(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
    Second Inner StackTrace:
       at System.Data.SqlClient.SqlConnection..cctor()
    Third Inner StackTrace:
          at System.Data.SqlClient.SqlConnectionFactory..cctor()
    When I do "Run as Admin", I get this error:
    {"Could not load file or assembly 'FRB.EFDataAccess, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied. "}
    Server stack trace:
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at FRB.EC.AdminService.ConsoleTester.svcRef.IAdminService.GetDispositionStatusTypeList()
       at FRB.EC.AdminService.ConsoleTester.svcRef.AdminServiceClient.GetDispositionStatusTypeList() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\Service References\svcRef\Reference.cs:line 2459
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.GetDispositionStatusTypeList() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 565
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.ExecuteNewRelease103QueryMethods() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 189
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.Main(String[] args) in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 76
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    I am also posting the web.config/app.config, but I would rather not focus on that since there were absolutely no changes to it between the time it was working and the time it began failing. 
    Client app.config
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
      <connectionStrings>
      </connectionStrings>
      <system.serviceModel>
        <behaviors>
          <serviceBehaviors>
            <behavior name="ServiceBehavior">
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="false"/>
              <serviceAuthorization impersonateCallerForAllOperations="true"/>
            </behavior>
          </serviceBehaviors>
          <endpointBehaviors>
            <behavior name="FRB.AllowImpersonate">
              <clientCredentials>
                <windows allowedImpersonationLevel="Impersonation"/>
              </clientCredentials>
            </behavior>
          </endpointBehaviors>
        </behaviors>
        <bindings>
          <wsHttpBinding>
            <binding name="WSHttpBinding_IAdminService" closeTimeout="00:01:00"
              openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
              bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
              maxBufferPoolSize="524288" maxReceivedMessageSize="5565536"
              messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
              allowCookies="false">
              <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                maxBytesPerRead="4096" maxNameTableCharCount="16384" />
              <reliableSession ordered="true" inactivityTimeout="00:10:00"
                enabled="false" />
              <security mode="Message">
                <transport clientCredentialType="Windows" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="Windows" negotiateServiceCredential="true"
                  algorithmSuite="Default" />
              </security>
            </binding>
          </wsHttpBinding>
        </bindings>
            <client>
                  <endpoint address="http://localhost:3588/AdminService.svc" binding="wsHttpBinding"
                        bindingConfiguration="WSHttpBinding_IAdminService" contract="svcRef.IAdminService"
                        name="WSHttpBinding_IAdminService">
                        <identity>
                              <dns value="localhost" />
                        </identity>
                  </endpoint>
            </client>
        </system.serviceModel>
    </configuration>
    web.config of WCF service:
      <?xml version="1.0"?>
    <configuration>
        <configSections>
        <section name="FRB.Diagnostics" type="FRB.Diagnostics.Configuration.UkadcDiagnosticsSection, FRB.Diagnostics"/>
      </configSections>
        <appSettings>
           <!-- whatever goes here -->
        </appSettings>
        <!-- connection string section -->
      <connectionStrings>
        <add name="log" connectionString="Data Source=myserver;Initial Catalog=ECWCFLOG_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True" providerName="System.Data.SqlClient"/>
        <add name="DBConn" connectionString="Data Source=myserver;Initial Catalog=ECData_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True" providerName="System.Data.SqlClient"/>
        <add name="EagleConnectEntities" connectionString="metadata=res://*/EagleConnect.csdl|res://*/EagleConnect.ssdl|res://*/EagleConnect.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=myserver;Initial
    Catalog=ECData_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient"/>
      </connectionStrings>
        <!-- FRB.Diagnostics logging section -->
        <FRB.Diagnostics>
            <sqlTraceListeners>
                <sqlTraceListener name="sqlTraceListenerSettings"
                            connectionStringName="log"
                            commandText="INSERT INTO LogStore VALUES(@Source, @ActivityId, @ProcessId, @ThreadId, @EventType, @Message, @Timestamp)"
                            commandType="Text">
                    <parameters>
                        <parameter name="@Source" propertyToken="{Source}"/>
                        <parameter name="@ActivityId" propertyToken="{ActivityId}"/>
                        <parameter name="@ProcessId" propertyToken="{ProcessId}"/>
                        <parameter name="@ThreadId" propertyToken="{ThreadId}"/>
                        <parameter name="@EventType" propertyToken="{EventType}" callToString="true"/>
                        <parameter name="@Message" propertyToken="{Message}"/>
                        <parameter name="@Timestamp" propertyToken="{DateTime}"/>
              <!-- <parameter name="@UserId" propertyToken="{WindowsIdentity}"/> -->
            </parameters>
                </sqlTraceListener>
            </sqlTraceListeners>
            <smtpTraceListeners>
                <smtpTraceListener name="smtpTraceListenerSettings"
                             host="vssmtp"
                             port="25"
                             from="[email protected]"
                             to="[email protected]"
                             subject="AdminService Logging Event: {EventType}, {MachineName}"
                             body="{Message}&#xA;=======&#xA;Process={ProcessId},&#xA;Thread={ThreadId},&#xA;ActivityId={ActivityId}"/>
            </smtpTraceListeners>
        </FRB.Diagnostics>
        <!-- System.Diagnostics logging section -->
        <system.diagnostics>
            <sources>
                <source name="FRB.EC.AdminService" switchValue="All">
                    <listeners>
                        <clear/>
                        <add name="ods"/>
                        <add name="smtp"/>
                        <add name="sql"/>
                    </listeners>
                </source>
                <source name="System.ServiceModel" switchValue="Off" propagateActivity="true">
                    <listeners>
                        <add name="ignored" type="System.Diagnostics.ConsoleTraceListener"/>
                    </listeners>
                </source>
            </sources>
            <sharedListeners>
                <!-- OutputDebugStringTraceListener -->
                <add name="ods"
               type="FRB.Diagnostics.Listeners.OutputDebugStringTraceListener, FRB.Diagnostics"
               initializeData="{ActivityId}|{EventType}: {Message} - {DateTime}, Process={ProcessId}, Thread={ThreadId}"/>
                <!-- SqlTraceListener -->
                <add name="sql"
               type="FRB.Diagnostics.Listeners.SqlTraceListener, FRB.Diagnostics"
               initializeData="sqlTraceListenerSettings"
               traceOutputOptions="Timestamp"/>
                <!-- SmtpTraceListener -->
                <add name="smtp"
               type="FRB.Diagnostics.Listeners.SmtpTraceListener, FRB.Diagnostics"
               initializeData="smtpTraceListenerSettings">
                       <filter type="System.Diagnostics.EventTypeFilter"
                       initializeData="Error"/>
                </add>
            </sharedListeners>
            <trace autoflush="true"/>
        </system.diagnostics>
        <system.web>
        <compilation debug="true" targetFramework="4.0">
        </compilation>
            <roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider"/>
        </system.web>
        <system.serviceModel>
            <services>
                <service name="FRB.EC.AdminService.AdminService"
                   behaviorConfiguration="FRB.EC.AdminService.AdminServiceBehavior">
                    <!-- Service Endpoints -->
                    <endpoint address="" binding="wsHttpBinding"
                      bindingConfiguration="wsHttpEndpointBinding"
                      contract="FRB.EC.AdminService.IAdminService">
                        <!--
                  Upon deployment, the following identity element should be removed or replaced to reflect the
                  identity under which the deployed service runs. 
                  If removed, WCF will infer an appropriate identity automatically.
              -->
                        <identity>
                            <dns value="localhost"/>
                        </identity>
                    </endpoint>
                    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
                </service>
            </services>
            <bindings>
                <wsHttpBinding>
                    <binding name="wsHttpEndpointBinding"
                     maxBufferPoolSize="2147483647"
                     maxReceivedMessageSize="500000000">
                        <readerQuotas maxDepth="2147483647"
                            maxStringContentLength="2147483647"
                            maxArrayLength="2147483647"
                            maxBytesPerRead="2147483647"
                            maxNameTableCharCount="2147483647"/>
                        <security>
                            <message clientCredentialType="Windows"/>
                        </security>
                    </binding>
                </wsHttpBinding>
            </bindings>
            <behaviors>
                <serviceBehaviors>
                    <behavior name="FRB.EC.AdminService.AdminServiceBehavior">
                        <!-- To avoid disclosing metadata information, set the value below to false and
                   remove the metadata endpoint above before deployment -->
                        <serviceMetadata httpGetEnabled="true"/>
                        <!-- To receive exception details in faults for debugging purposes, set the value below to true. 
                   Set to false before deployment to avoid disclosing exception information -->
                        <serviceDebug includeExceptionDetailInFaults="true"/>
                        <serviceCredentials>
                        </serviceCredentials>
                        <!--<serviceAuthorization principalPermissionMode="UseAspNetRoles"
                    roleProviderName="AspNetWindowsTokenRoleProvider"/>-->
                        <serviceAuthorization principalPermissionMode="UseWindowsGroups"
                                    impersonateCallerForAllOperations="true"/>
                    </behavior>
                    <behavior name="FRB.EC.AdminService.IAdminServiceTransportBehavior">
                        <!-- To avoid disclosing metadata information, set the value below to false and
                   remove the metadata endpoint above before deployment -->
                        <serviceMetadata httpGetEnabled="true"/>
                        <!-- To receive exception details in faults for debugging purposes, set the value below to true. 
                   Set to false before deployment to avoid disclosing exception information -->
                        <serviceDebug includeExceptionDetailInFaults="false"/>
                        <serviceCredentials>
                            <clientCertificate>
                                <authentication certificateValidationMode="PeerTrust"/>
                                <!--<authentication certificateValidationMode="Custom" customCertificateValidatorType="DataFactionServices.FRBX509CertificateValidator"/>-->
                            </clientCertificate>
                            <serviceCertificate findValue="WCfServer"
                                    storeLocation="LocalMachine"
                                    storeName="My" x509FindType="FindBySubjectName"/>
                        </serviceCredentials>
                    </behavior>
                </serviceBehaviors>
            </behaviors>
            <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
        </system.serviceModel>
        <system.webServer>
            <modules runAllManagedModulesForAllRequests="true"/>
        </system.webServer>
    </configuration>
    Thanks for any help.
    Neal

    I think I found it... this is sure a strange error for what is really happening.
    Apparently it had happened to me before, and fortuantely, I actually added the following comment:
                // Above is related to the WCFLOG SQL Diagnostics Trace 
                // If you get error here an inner exception "requested registry access is not allowed"
                // inside exception "type initializer for System.Data.SqlClient.SqlConnection"
                // then make sure you have impersonation enabled in your client.
                // See AdminConsole web.config or FRB.EC.AdminService.ConsoleTester.app.config for examples
    Now I think I will do a try catch and spit out the same text.
    Still testing to assure that this really was the issue.
          <endpointBehaviors>
            <behavior name="FRB.AllowImpersonate ">
              <clientCredentials>
                <windows allowedImpersonationLevel="Impersonation"/>
              </clientCredentials>
            </behavior>
          </endpointBehaviors>
    The line below in BOLD below is what somehow seemed to disappear from my app.config - probably due to a TFS human error - still checking that also:
            <client>
                  <endpoint address="http://localhost:4998/AdminService.svc"
                                  behaviorConfiguration="FRB.AllowImpersonate"
                                  binding="wsHttpBinding"
                                  bindingConfiguration="WSHttpBinding_IAdminService"
                                 contract="svcRef.IAdminService"
                            name="WSHttpBinding_IAdminService">
                        <identity>
                              <dns value="localhost" />
                        </identity>
                  </endpoint>
            </client>
    Here's how I "idiot-proofed" this error for now, to give an error that actually at least points to a solution:
            public SqlDataAccessCommand(string connectionString, string commandText, CommandType commandType)
                try
                    _connection = new SqlConnection(connectionString);
                    // Above is related to the WCFLOG SQL Diagnostics Trace  
                    // If you get error here an inner exception "requested registry access is not allowed"
                    // inside exception "type initializer for System.Data.SqlClient.SqlConnection"
                    // then make sure you have impersonation enabled in your client.
                    // See AdminConsole web.config or FRB.EC.AdminService.ConsoleTester.app.config for examples
                catch (Exception ex)
                    if (ex.ToString().Contains("The type initializer for"))
                    throw new System.ApplicationException(@"
                    Your client app <endpoint> must be cofigured have a
                  'behaviorConfiguration' attribute like this:
                    behaviorConfiguration='FRB.AllowImpersonate'
                   that points back to a behavior that has this syntax:         
              <behavior name='FRB.AllowImpersonate'>
                 <clientCredentials>
                     <windows allowedImpersonationLevel='Impersonation'/>
                 </clientCredentials>
              </behavior>
              ", ex);
                   else
                        throw ex;
                _command = _connection.CreateCommand();
                _command.CommandText = commandText;
                _command.CommandType = commandType;
                // TODO _command.CommandTimeout = ;
    Neal

  • Error during Upgrade advisor Progress "Requested registry access is not allowed. (mscorlib)"

    Hello ,
            I have  installed  " SQL Server 2012 Upgrade Advisor" successfully on my local system. A Successfull connection was establised to SQL Server insatnce  on Remote Server through Upgrade Advisor
    ,On click of Run  below error is raised
    ===================================
    Requested registry access is not allowed. (mscorlib)
    Program Location:
       at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
       at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
       at Microsoft.Win32.RegistryKey.OpenSubKey(String name)
       at Microsoft.SqlServer.UpgradeAdvisor.SqlDetection.GetClusterInfo()
       at Microsoft.SqlServer.UpgradeAdvisor.SqlDetection.GetSqlInstances()
       at Microsoft.SqlServer.UpgradeAdvisor.SqlDetection.EngineExists()
       at Microsoft.SqlServer.UpgradeAdvisor.AnalyzerEngine.GetAnalyzer(AnalyzerType analyzerType)
       at Microsoft.SqlServer.UpgradeAdvisor.AnalyzerEngine.RunAnalyzer(AnalyzerType analyzerType, String& reportFile)

     Yes  instance and upgrade advisor version are same (64 bit ).edition of SQL Server is   Enterprise Edition (64-bit)
     Upgrading from  SQL Server 2008 to SQL server 2012.
    1) provided with Server Name  and  component 
    SQL SERVER was Checked.
    2) Clicked on Next , Instance Name and SQL Server Authentication 
    was selected.
    3) Login Ceredentials provided and Clicked on Next.
    4) Only one Database to analyze was checked and Clicked Next.
    5) On Click of Run below error occured.
    On click of Advance Information of error   >> ALL Messages :
    ===================================
    Requested registry access is not allowed. (mscorlib)
    Program Location:
       at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
       at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
       at Microsoft.Win32.RegistryKey.OpenSubKey(String name)
       at Microsoft.SqlServer.UpgradeAdvisor.SqlDetection.GetClusterInfo()
       at Microsoft.SqlServer.UpgradeAdvisor.SqlDetection.GetSqlInstances()
       at Microsoft.SqlServer.UpgradeAdvisor.SqlDetection.EngineExists()
       at Microsoft.SqlServer.UpgradeAdvisor.AnalyzerEngine.GetAnalyzer(AnalyzerType analyzerType)
       at Microsoft.SqlServer.UpgradeAdvisor.AnalyzerEngine.RunAnalyzer(AnalyzerType analyzerType, String& reportFile)
    Log file Error Message :
    12/01/2014 17:17:47 UA <Error>System.Security.SecurityException: Requested registry access is not allowed.
       at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
       at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
       at Microsoft.Win32.RegistryKey.OpenSubKey(String name)
       at Microsoft.SqlServer.UpgradeAdvisor.SqlDetection.GetClusterInfo()
       at Microsoft.SqlServer.UpgradeAdvisor.SqlDetection.GetSqlInstances()
       at Microsoft.SqlServer.UpgradeAdvisor.SqlDetection.EngineExists()
       at Microsoft.SqlServer.UpgradeAdvisor.AnalyzerEngine.GetAnalyzer(AnalyzerType analyzerType)
       at Microsoft.SqlServer.UpgradeAdvisor.AnalyzerEngine.RunAnalyzer(AnalyzerType analyzerType, String& reportFile)
    The Zone of the assembly that failed was:
    MyComputer</Error>

  • Error on powershell: "Requested registry access is not allowed"

    Hi!
    Suddenly after reboot all runbooks fail on all .net activities. I tried even an empty powershell single activity, and that too fails with: "Requested registry access is not allowed"
    Please help!
    Egils Zonde from Technet

    Problem was caused by corrupted user profile. Removing current profile and reinstalling SCORCH solved.
    Egils Zonde from Technet

  • The timer service encountered an exception checking for the upgrade mode registry key. Requested registry access is not allowed.

    Once in a while i get the error
    Event ID 6463
    The timer service encountered an exception checking for the upgrade mode registry key. Requested registry access is not allowed.
    This also happens when i restart the timer service.
    I already cleared the SharePoint cache (xml's) but no success with that.
    Environment is
    SharePoint 2013 SP1 + CU Dec 2014

    This is a brand new SP13 with SP1 installation after binaries installation i also installed Dec 2014 CU and then created the SP farm.
    The Apppool/Timer account is member of WSS_ADMIN_WPG.
    Issue can be reproduced with restarting SharePoint Timer Service.
    Hereby the Process Monitor output. Hence i filtered it on NOT SUCCESS and Path contains the word UPGRADE
    11:37:57,4244851 OWSTIMER.EXE
    6272 RegQueryValue
    HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\WSS\UpgradeLogLevelOverride
    NAME NOT FOUND Length: 144
    11:37:57,6632057 OWSTIMER.EXE
    6272 RegOpenKey
    HKLM\SOFTWARE\Microsoft\Fusion\PublisherPolicy\Default\v4.0_policy.15.0.Microsoft.Office.Access.Services.Moss.Upgrade__71e9bce111e9429c
    NAME NOT FOUND Desired Access: Read
    11:37:57,6632889 OWSTIMER.EXE
    6272 RegOpenKey
    HKLM\SOFTWARE\Microsoft\Fusion\PublisherPolicy\Default\policy.15.0.Microsoft.Office.Access.Services.Moss.Upgrade__71e9bce111e9429c
    NAME NOT FOUND Desired Access: Read
    11:37:57,7140763 OWSTIMER.EXE
    6272 RegOpenKey
    HKLM\SOFTWARE\Microsoft\Fusion\PublisherPolicy\Default\v4.0_policy.15.0.Microsoft.PerformancePoint.Scorecards.Upgrade__71e9bce111e9429c
    NAME NOT FOUND Desired Access: Read
    11:37:57,7141089 OWSTIMER.EXE
    6272 RegOpenKey
    HKLM\SOFTWARE\Microsoft\Fusion\PublisherPolicy\Default\policy.15.0.Microsoft.PerformancePoint.Scorecards.Upgrade__71e9bce111e9429c
    NAME NOT FOUND Desired Access: Read
    11:37:57,7313089 OWSTIMER.EXE
    6272 RegOpenKey
    HKLM\SOFTWARE\Microsoft\Fusion\PublisherPolicy\Default\v4.0_policy.15.0.Microsoft.SharePoint.Portal.Upgrade__71e9bce111e9429c
    NAME NOT FOUND Desired Access: Read
    11:37:57,7313403 OWSTIMER.EXE
    6272 RegOpenKey
    HKLM\SOFTWARE\Microsoft\Fusion\PublisherPolicy\Default\policy.15.0.Microsoft.SharePoint.Portal.Upgrade__71e9bce111e9429c
    NAME NOT FOUND Desired Access: Read
    11:37:59,2026527 OWSTIMER.EXE
    6272 RegQueryValue
    HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\WSS\MS_InternalUse_Only_UpgradeableVersion
    NAME NOT FOUND Length: 144
    11:37:59,2109400 OWSTIMER.EXE
    6272 RegQueryValue
    HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\WSS\MS_InternalUse_Only_UpgradeableVersion
    NAME NOT FOUND Length: 144
    11:38:05,3534303 OWSTIMER.EXE
    6272 RegQueryValue
    HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\WSS\MS_InternalUse_Only_UpgradeableVersion
    NAME NOT FOUND Length: 144
    11:38:05,3537846 OWSTIMER.EXE
    6272 RegQueryValue
    HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\WSS\MS_InternalUse_Only_UpgradeableVersion
    NAME NOT FOUND Length: 144
    11:38:05,3594290 OWSTIMER.EXE
    6272 RegQueryValue
    HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\WSS\MS_InternalUse_Only_UpgradeableVersion
    NAME NOT FOUND Length: 144
    11:38:05,3597316 OWSTIMER.EXE
    6272 RegQueryValue
    HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\WSS\MS_InternalUse_Only_UpgradeableVersion
    NAME NOT FOUND Length: 144
    11:38:05,3653094 OWSTIMER.EXE
    6272 RegQueryValue
    HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\WSS\MS_InternalUse_Only_UpgradeableVersion
    NAME NOT FOUND Length: 144
    11:38:05,3656118 OWSTIMER.EXE
    6272 RegQueryValue
    HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\WSS\MS_InternalUse_Only_UpgradeableVersion
    NAME NOT FOUND Length: 144

  • ECP not connecting with Edge Tranpost role ("Requested registry access is not allowed,". )

    I installed and configured an Edge Transport server.
    In ECP under servers if I click to access the Edge Transport server I get a warning message pop up that says "An error occurred while accessing the registry on the server "FQDN". The error that occurred is: "Requested registry access is
    not allowed,".
    If I answer "Okay" I get the standard info and am allowed to enter a product key which did save. Operation appears normal and mail-flow is functioning.
    Any help is much obliged.

    Hi,
    Agree with Amit Tank, we can use ECP to manage Edge Transport server. However, Edge Transport does not come with a separate EAC or ECP component, and we can manage Edge Transport from the Exchange 2013 SP1 ECP which is CAS 2013 server.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Requested registry access is not allowed

    I have inherited a project from someone who no longer works here.  I see how the debugger works in Visual Studio.
    My computer has Visual Studio 2012 running on Windows 7.  The computer where are application was created runs Visual Studio 2010 on Windows XP.
    The program runs in debug mode on the XP computer without any problems.
    On my computer it always gets an exception at the point where the registry is accessed.
    I have executed the following:
    1. Download and install the SubInACL utility.
    2.Create a new text file named fix_registry_permissions.cmd and add the following text to it and save it.
    cd /d "%programfiles%\Windows Resource Kits\Tools" subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
    subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f subinacl /subdirectories
    %windir%\*.* /grant=administrators=f /grant=system=f
    3. Run the file by double-clicking on it.
    I have also executed:
    Press WINDOW+R to open the Run window, type "regedit" (no quotes) and press ENTER to execute. If a UAC dialog appears choose Yes to open
    the Registry Editor with elevated priveledges.
    2. Navigate to HKEY_CURRENT_USER\Software\Classes.
    3. Create a new key named ".vbproj"
    4. Run VS 2010 as an administrator.
    5. Try creating a VB project.
    Neither fix works for me.

    the project is using C#, WPF.  The project can be built successfully and does run on any computer.  The only time I get the registry error is when I try to use the debug feature.  It always jumps to the exception.
    The code is:
                #region read data folder location from registry
    try
                    regKey = hklm.OpenSubKey("Software\\ThermoGenesis\\XpressTRAK\\Data",
    true);
    if (regKey.GetValue("DataFolderPath")
    == null)
    GVariables.dataFolderDir = System.IO.Directory.GetParent(
                                System.Reflection.Assembly.GetExecutingAssembly().Location).ToString();
    //create the key
                        regKey.SetValue("DataFolderPath",
    GVariables.dataFolderDir);
    else
    GVariables.dataFolderDir =
    Convert.ToString(
                            regKey.GetValue("DataFolderPath"));
    catch (Exception
    ex)
    MessageBox.Show(ex.Message,
    GVariables.msgCaption);
    if (regKey !=
    null)
                        regKey.Close();
    return
    false;
                #endregion

  • Error msg: "Blank access parameter not allowed" while saving the salesorder

    Hi Every one,
       I am facing with one standard error message while trying to selects the print option and output type and saves the output the error appears.
    Can any one please suggest me on this.
    Thanks,
    Manju

    Hi,
    Maintain the correct configuration settings.
    Also maintain the correct values for your condition records.
    Debug the code with the help of your ABAPer so that we can know that blank value.
    Regards,
    Krishna.

  • I was clsoing Word and suddenly everything on my desktop opened - I had to close each one and then a page requesting guest access to Cisco appeared. I cannot access any of my websites or bookmarks now. What do I do - or what did I do?

    I was closing Word, was on my desktop page when suddenly all my windows on the desktop opened at once. I had to close each one and then a page requesting guest access to Cisco appeared. It required a password ( ? ) which I do not have. Now I cannot access any of my webpages or bookmarks, including mail etc. I have no idea what I might have done to cause this problem. I am not particularly savvy and don't know where to begin.

    daveynielsen wrote:
    So my question is... if you took the time to read this.. why in the world did everything stop working with wi fi and out of nowhere asked me to use a blackberry data service plan?
    Because, without THE BlackBerry Data Plan, you will only have use of your WiFi HotSpot browser, and that is that. No email, none of the RIM data application features like AppWorld or the BlackBerry Facebook application.
    It worked at first, because you probably had leftover provisioning Service Books from the previous owner, I am guessing (you mentioned "checked with my seller).
    To me, seems be working as suspected.
    daveynielsen wrote:
    Well, naturally i figured everything else would work on a wif connection.. like the iphone. Even though you dont have the 3G data plan one can still access email, web, and aps.
    Not quite, you must still have a data plan for the iPhone.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Tying to install itunes and I get error message "This file does not have a program associated with it for performing this action.  Please install a program, or if one is already installed, create an association in the Default Programs control panel.  Help

    am tTying to install itunes and I get error message "This file does not have a program associated with it for performing this action.  Please install a program, or if one is already installed, create an association in the Default Programs control panel. Can anyone help me?

    Hi,
    Here is a similar thread for your reference:
    There is no email program associated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default programs control panel
    http://social.technet.microsoft.com/Forums/en/w7itproappcompat/thread/036e3cf6-bff7-4ef2-bd0a-555cd2399ad4
    Hope this helps
    Vincent Wang
    TechNet Community Support

  • An error occurred in the requested FTP operation. Detailed error description: The password was not allowed

    Hi All,
    We are using FTP Connection in our SSIS Package which will take a flat file from the sharepath to another FTP Path.
    We used SqlServerTableConfiguration to store all the connection. Initally we have stored only the below connection int he
    SqlConfiguration table. ie only the server name
    Note : We are not using XML Configuration.
    ConfigurationFilter
       ConfiguredValue
    PackagePath
    Filter_ftp               
     pqrft- pcmnt.uk.acenentcapmc.com:21
    \Package.Connections[FTP Connection Manager].Properties[ConnectionString]
    while running the job we have found that we have not stored the UserName and password so we have added the below entries in the Sql Configuration table
    In the Configurationtable we have the following entires
    ConfigurationFilter
    ConfiguredValue
    PackagePath
    Filter_ftp                    
    pgrotmlceni
    \Package.Connections[FTP Connection Manager].Properties[ServerUserName]
    Filter_ftp
    21
    \Package.Connections[FTP Connection Manager].Properties[ServerPort]
    Filter_ftp
    abcdXYZ
    \Package.Connections[FTP Connection Manager].Properties[ServerPassword]
    Filter_ftp
    pqrft-pcmnt.uk.acenentcapmc.com
    \Package.Connections[FTP Connection Manager].Properties[ServerName]
    Filter_ftp
    pqrft-pcmnt.uk.acenentcapmc.com:21
    \Package.Connections[FTP Connection Manager].Properties[ConnectionString]
    In the package properties we have selected  "DontSaveSentivity" Option.
    We are getting the below error message when we run the package through jobs after deployment and also we are getting the same error message even when we run the package from Bids
    Message
    Executed as user:abc_xyz-proxy. Microsoft (R) SQL Server Execute Package Utility  Version 10.50.4000.0 for 32-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  06:53:16  Error: 2013-12-16 06:53:20.69    
    Code: 0xC001602A     Source: SSIS_ABC_GT_GRoots_Export Connection manager "FTP Connection Manager"     Description: An error occurred in the requested FTP operation. Detailed error description: The password
    was not allowed  .  End Error  Error: 2013-12-16 06:53:20.71     Code: 0xC002918F     Source: FTP Task FTP Task     Description: Unable to connect to FTP server using "FTP Connection
    Manager".  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  06:53:16  Finished: 06:53:20  Elapsed:  3.822 seconds.  The package execution failed.  The step failed.
    ilikemicrosoft

    Hi Surendiran,
    The issue should occur because the syntax of the ConnetionString property of the FTP Connection Manager is incorrect. In fact, the ConnectionString property is unnecessary. I suggest that you only use the four properties instead: ServerName, ServerPort,
    ServerUserName, and ServerPassword.
    Reference:
    http://stackoverflow.com/questions/3888170/ftp-connection-string-using-expression-in-ssis
    Regards,
    Mike Yin
    If you have any feedback on our support, please click here
    Mike Yin
    TechNet Community Support

  • I have recently bought a macbook and am using outlook 2011 as email. i am getting an error message 4.7.0 not allowed when sending emails how do I fix?

    i have a macbook and am using outlook 2011 as email.   receiving okay.   sending okay sometimes.  am now getting error message 4.7.0 not allowed when sending.  what is the cause? how do I fix please?

    I have discovered that the emails have in fact been sent but much later, maybe it's a network problem with the people i am sending it to.  so i checked my sent items and they are there, but at the time the email doesn't go straight into the sent box or drafts so i'm assuming it's disappeared and type it again.  i'll keep going with it, until someone can give me a possible solution or explanation as to what is happening.

Maybe you are looking for

  • Getting Error while importing SAP Content in to the IR

    Hello, I am getting the below error message while importing the XI7_0_SAP_APPL_6.00_15_00.tpz in to the Integration Repository and it looks like empty namespaces are downloaded without the actual standard scenarios under the Software Component SAP AP

  • I'm having an issue with Preview shutting down on a  search command

    here is the code that I was given.  Please help? Process:         Preview [7228] Path:            /Applications/Preview.app/Contents/MacOS/Preview Identifier:      com.apple.Preview Version:         7.0 (826) Build Info:      Preview-826000000000000~

  • HT3290 Video will not import after updating my iMovie from '09 to '11

    I updated my imovie '09 to '11 and now my video files from my camcorder JVC (model GZ_MG330HU) will not import.  The video files show up in my iMovie library but when I try to create a project or movie and then share what I have created the files are

  • SAP connector info

    I am working with SAP connector at a customer and I see that the versions supported by OIM is: SAP R3 4.6C (running on Basis 4.6C) SAP R3 4.7 (running on WAS 6.20) MySAP ERP 2004 (ECC 5.0 running on WAS 6.40) MySAP ERP 2005 (ECC 6.0 running on WAS 7.

  • How do you transfer InDesign CS5 prefs to CS6?

    Just upgraded to CS6 and want to get all of my creative suite prefs over from CS5.  Possible?