Access Denied Error while uploading document in UCM server

Hello,
I am using Oracle Jdeveloper 11.1.1.6 and my application is build on ADF faces stack.
I am using Oracle UCM for storing and retrieving documents and that content id is stored in my database, which i use to interact with UCM.
My UCM server is on an ip which starts with 10.184.*.*, when i tried uploading/downloading a file from a client machine which has the ip starting with 10.184.*.*, then it is fine, but when i use a different client machine which has the ip starting with 10.180.*.* or anything else apart from 10.184, then am getting an error like "Permission denied. Address '10.180.218.230' is not an allowable remote socket address"
Any help on this highly appreciable.
Regards,
Vinothgan AS

Hi Vinothgan,
You need to add the new IPs to the IP Address Filter via Enterprise Manager. Here are the steps.
1. Login to EM
2. Navigate to Webcenter->Content->Content Server
3. Select the Content Server instance
4. Choose 'Configuration' option form the Content Server menu
5. Add the new IPs to the IP Address Filter
6. Restart the webcenter content manager server
Alternately
1. Browse the Webcenter Content installation folders
Ex: OracleWC\Middleware\user_projects\domains\ecm_domain\ucm\cs\config
2. Edit the config.cfg file
3. Append the new IP to the configuration variable SocketHostAddressSecurityFilter (Ensure it is pipe seperated '|')
4. Restart webcenter content server
HTH
Regards,
- Anand

Similar Messages

  • Access denied error while uploading the document into document library which is associated with a content type

    hi,
     am trying to upload a document in a document library which is associated  with content types [ the content type contains 10 site columns and one of them is taxonomy field]. i added this content type in the document library.
    this document library is residing in a team site which is saved as a template and  based on this template i have created sub sites.
    and when i tried to upload a file to the doc lib, it throws me "access denied error".
    what may be went wrong .
    any help is  appreciated!

    Access denied indicates the user account uploading the file doesn't have access to the library, or sometimes it means there's already a document in the library with the same name that was never checked in. It's also possible that your template contains
    custom code that tries to do something that is not allowed.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Error while uploading document in Primavera portfolio management

    Dear All,
    I am getting error while uploading document with particular user in PPM
    Error occur when I upload document and click on save button.
    Error from log :
    &ltException&gt
    System.InvalidCastException: Specified cast is not valid.
       at ProSight.Portfolios.Infrastructure.Database.IpsDataRow.getInt(DataColumn iColumn)
       at ProSight.Portfolios.BusinessLogic.Infrastructure.Objects.psLinkObj.addNew(Int32 iUserID, Int32 iPortfolioID, Boolean isPortfolioLink, IpsDataTable iLinkRec)
       at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenario.psTSTabset.update(Int32 iUserID, Int32 iFormsetID, Int32 iPortfolioID, Boolean iIsImmediate, psResultContainer iParam)
    &lt/Exception&gt
    </Trace>
    <Trace Type="Error" Time="1/31/2015 1:44:36.758" class="psTransactionalScenarioInterface" Method="handleException" Process="w3wp.exe (4236)" Client="">
    Error in psTSFormset.update
    &ltException&gt
    System.InvalidCastException: Specified cast is not valid.
       at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTransactionalScenarioInterface.invokeTS(String className, String methodName, Object[] parameters, Int32 maxRetries, Int32 minRetryWait, psResultContainer containerToClean, Boolean iDisableTransaction)
    &lt/Exception&gt
    </Trace>
    <Trace Type="Error" Time="1/31/2015 1:44:36.758" class="Transaction" Method="handleException" Process="w3wp.exe (4236)" Client="">
    Unhandled Error GUID: a3640801-43cb-48d4-89b4-cede50780e47 \"File name: /Prosight/forms/saveForm.aspx\\nStack trace:    at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTransactionalScenarioInterface.handleException(Exception iEx, String iAddionalMsg)\\r\\n   at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTransactionalScenarioInterface.invokeTS(String className, String methodName, Object[] parameters, Int32 maxRetries, Int32 minRetryWait, psResultContainer containerToClean, Boolean iDisableTransaction)\\r\\n   at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTransactionalScenarioInterface.invokeTS(String className, String methodName, Object[] parameters, Int32 maxRetries, Int32 minRetryWait, psResultContainer containerToClean)\\r\\n   at ProSight.Portfolios.BusinessLogic.TS.TransactionalScenarioInterface.psTSITabset.update(Int32 iUserID, Int32 iDashboardID, Int32 iPortfolioID, Boolean iIsImmediate, psResultContainer iParam)\\r\\n   at ProSight.Portfolios.Server.Presentation.Logic.Forms.psPLForms.update(psResultContainer iResultContainer)\\r\\n   at invoker137.Invoke(Object , Object[] )\\r\\n   at Microsoft.JScript.JSMethodInfo.Invoke(Object obj, BindingFlags options, Binder binder, Object[] parameters, CultureInfo culture)\\r\\n   at Microsoft.JScript.LateBinding.CallOneOfTheMembers(MemberInfo[] members, Object[] arguments, Boolean construct, Object thisob, Binder binder, CultureInfo culture, String[] namedParameters, VsaEngine engine, Boolean& memberCalled)\\r\\n   at Microsoft.JScript.LateBinding.Call(Binder binder, Object[] arguments, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters, Boolean construct, Boolean brackets, VsaEngine engine)\\r\\n   at Microsoft.JScript.LateBinding.Call(Object[] arguments, Boolean construct, Boolean brackets, VsaEngine engine)\\r\\n   at ASP.forms_saveform_aspx.main()\\nError code: -1\\nError Reason: Specified cast is not valid.\\n\\n\", \"/ProSight\"
    </Trace>
    <Trace Type="Error" Time="1/31/2015 1:44:47.584" class="psException" Method="printException" Process="w3wp.exe (4236)" Client="">
    Could not update form data
    USERID: 422
    DEADLOCK DETECTED: False
    Kindly help.

    Hi,
    chk ur authorizaion errors... su53 dump.
    Thx,
    waseem

  • Error while uploading document to service desk ticket

    Hi all,
    I get error while uploading document to ticket
    Message No: SKWF_SDOKERRS119 .
    If iam correct I have given all the required authorisation mentioned in security guide.
    what could be the reason for this kind of behaviour
    Best Regards,
    Alok

    hi
    what is your solman version? chk the sap note
    [ Note 1401196 - Work Centers: attachment not saved in Incident Management|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1401196]
    might be this helps,
    [Message No: SKWF_SDOKERRS119|Message No: SKWF_SDOKERRS119]
    jansi

  • Access Denied Error while accessing "Site Settings Access requests and invitations"

    Hi,
    I am getting Access Denied Error while accessing "Site Settings > Access requests and invitations" in SharePoint  2013 online. Currently I am the owner of the site and have "FULL CONTROL" access. I am able to access using
    site collection account. So, what permission I have to give my regular account to access this page?
    Thanks, Pal

    Hello,
    Have you recently changed the Owners group of the site collection or removed the user from the original owners group? 
    The reason I am asking is when the Access requests and invitations list are created, the permissions are given only to the default owners group at the time that the Access Request list was created.  If this "regular account" is not part of that owners
    group, the user will receive access denied.  Site Collection Admins always have permissions for the Access Request List.
    A workaround for the Access Denied issue is listed in the KB article http://support.microsoft.com/kb/2911390/en-us.  By giving the correct group or user the permissions to this list, the users will not receive
    the Access Denied issue anymore.  
    Preferably, in order to grant the user the full permissions ( you will see features like resending invitations may still fail after implementing the above workaround) there is one other workaround that may be required depending on what the original issue
    was.  Below are additional steps to restore full functionality.
    1)Access the /_layouts/15/permsetup.aspx of the site collection, make sure the default Owners Group
    is set correctly.  (There is a group selected)
    2) Add user to that Owners Group.  (Issue may be resolved at this step if the site collection Owners
    Group was never changed, if not continue to next step.)
    3) Implement workaround on http://support.microsoft.com/kb/2911390/en-us, by adding that owners
    group as Full control on Access Request list Permissions.
    Let me know how this works out for you.
    - Shpendi Jashari

  • Timerjob Access denied error while opening web object

    Hi Team,
    I have created a timer job to get list information on the site. Everything is fine in the development(Stand alone server) . Got access denied error while running same timer job in QA server(one app and one WFE).
    Note: This timer job is globally deployed.
    Code snippet : 
    SPSite site1 = webApp.Sites[0];
    SPWeb web = site1.RootWeb;
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using (SPSite site = new SPSite(site1.ID))
    using (SPWeb currWeb = site.OpenWeb(web.ID))                  // Got access denied error here.
    Additional information:
    Sharepoint timer service account : Domain\SP_Farm
    Site app pool account : Domain\SP_App.
    Both accounts have site collection administrative access on the site. Do i need to check access permissions on DB level also  this error ?
    Waiting for urgent reply..

    Hi,
    1. Please check the link below:
    Fixing Access Denied Errors With SharePoint 2010 Timer Jobs
    http://www.sharepointsecurity.com/sharepoint/sharepoint-security/fixing-access-denied-errors-with-sharepoint-2010-timer-jobs/
    2. Try to set RemoteAdministratorAccessDenied  to false using PowerShell
    Access denied when deploying a timer Job or activating a feature from SharePoint 2010 content web application
    https://support.microsoft.com/kb/2564009?wa=wsignin1.0
    3. Check your ULS log for detail error message.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Getting access denied error while importing file using input type="file"

    Hi All,
    I am using struts application wherein I need to import file for some purpose.I have used input type="file" for the same which goes like:
    <input type="file" id="uploadFile" name="uploadFile" size="50">
    I have the import button on which I have used onClick event to call javascript function submitValues() used to validate all the fields from the page which goes like:
    <input type="button" name="select" value="Import" class="CSSButton" onClick="javascript:submitValues();">
    The JS function then in turn submits the form and calls the action.The problem is sometimes even when the correct path is specified for the file to be imported results in access denied error.This error comes sometimes and other times it works fine.But when this error comes,I need to relogin into the application and then it works fine.I am using IE7 for this.
    Any idea why I am getting access denied error while importing? Has it got something to do with IE7 version or with the input type="file" which is being used here?
    Thanks for any help if anyone can provide.
    Edited by: passionateforjava on Mar 4, 2009 2:18 AM

    vishnuS1984 wrote:
    Hi Friends,
    I have gone through scores of examples and i am failing to understand the right thing to be done to copy a file from one directory to another. Here is my class...So let's see... C:\GetMe1 is a directory on your machine, right? And this is what you are doing with that directory:
    public static void copyFiles(File src, File dest) throws IOException
    // dest is a 'File' object but represents the C:\GetMe1 directory, right?
    fout = new FileOutputStream (dest);If it's a directory, where in your code are you appending the source file name to the path, before trying to open an output stream on it? You're not.
    BTW, this is awful:
    catch (IOException e)
    IOException wrapper = new IOException("copyFiles: Unable to copy file: " +
    src.getAbsolutePath() + "to" + dest.getAbsolutePath()+".");
    wrapper.initCause(e);
    wrapper.setStackTrace(e.getStackTrace());
    throw wrapper;
    }1) You're hiding the original IOException and replacing it with your own? For what good purpose?
    2) Even if you had a good reason to do that, this would be simpler and better:
    throw new IOException("your custom message goes here", e);
    rather than explicitly invokign initCause and setStackTrace. Yuck!

  • Access denied error while writing a file to the file system - myfileupload.saveas() throws system.unauthorizedexception

    hi,
    as part of my requirement , i have to perform read and  write  operations of  few files [ using the file upload control in my custom visual web part] and on submit button click.
    but while writing these files - with the help of  fileupload control - and when i use  myfileupload.saveas(mylocation);
    - i am saving these files into my D:\ drive of my server , where i am executing my code -, am getting access denied error.
    it throws system.unauthorizedexception.
    i have given full control on that folder where i was trying to store my attached files. and also  after following asp.net forums,
    i have added  iusr group added and performed all those steps such that, the file is saved in my D:\ drive.
    but unfortunately  that didnt happen.
    also
    a) i am trying the code with runwithelevatedprivileges(delegate() )  code
    b) shared the drive within the  d :drive where i want o save the files.
    c) given the full privieleges for the app pool identity- in my case , its
    network service.
    the  other strange thing is that, the same code works perfectly in  other machine, where the same sp, vs 2012  etc were installed .
    would like to know, any other changes/ steps i need to make it on this  server, where i am getting the  error.
    help is  appreciated!

    vishnuS1984 wrote:
    Hi Friends,
    I have gone through scores of examples and i am failing to understand the right thing to be done to copy a file from one directory to another. Here is my class...So let's see... C:\GetMe1 is a directory on your machine, right? And this is what you are doing with that directory:
    public static void copyFiles(File src, File dest) throws IOException
    // dest is a 'File' object but represents the C:\GetMe1 directory, right?
    fout = new FileOutputStream (dest);If it's a directory, where in your code are you appending the source file name to the path, before trying to open an output stream on it? You're not.
    BTW, this is awful:
    catch (IOException e)
    IOException wrapper = new IOException("copyFiles: Unable to copy file: " +
    src.getAbsolutePath() + "to" + dest.getAbsolutePath()+".");
    wrapper.initCause(e);
    wrapper.setStackTrace(e.getStackTrace());
    throw wrapper;
    }1) You're hiding the original IOException and replacing it with your own? For what good purpose?
    2) Even if you had a good reason to do that, this would be simpler and better:
    throw new IOException("your custom message goes here", e);
    rather than explicitly invokign initCause and setStackTrace. Yuck!

  • Access denied error while trying to install graphics drivers

    Hello,
    I have a new toshiba laptop P70-A. I have installed windows 7 and the pc was working excellent up until now. Noticed yesterday that the nvidia automated system failed to install the new update. When I tried to install the new driver manually, even from the
    device manager, I got the access denied message. 
    A day now wasted reading all the possible causes and solutions but with no luck. Read all the forums and all the posts, tried almost everything. Below youll find everything I tried as a solution and failed.
    1.Disabled UAC
    2.Enabled the administrator account and trying to take control from there
    3.Run the subinacl and the reset.cmd
    4.Tried manually to take control the folder windows (and access denied while changing the rights)
    5. Scanned the system with everything there is available ( Kaspersky, MalwareBytes, RegCurePro, Tuneup Utilities, CCleaner) The system came out clean.
    6. Tried restoring the system to an earlier time (got again access denied error code 0x80070005)
    7. Checked all the group policies (all seem to be fine)
    8. Run a script to take immediate ownership over all of C:
    TAKEOWN /A /F C:
    then the next one
    TAKEOWN /F C: 
    9. With subinacl I run all the above scripts... (still nothing changed)
    @echo off
    title Resetting ACLs...
    echo.
    echo Determine whether we are on an 32 or 64 bit machine
    echo.
    if "%PROCESSOR_ARCHITECTURE%"=="x86" if "%PROCESSOR_ARCHITEW6432%"=="" goto x86
    set ProgramFilesPath=%ProgramFiles(x86)%
    goto startResetting
    :x86
    set ProgramFilesPath=%ProgramFiles%
    :startResetting
    echo.
    cd /d "%ProgramFilesPath%\Windows Resource Kits\Tools"
    echo. 
    echo Resetting ACLs...
    echo (this may take several minutes to complete)
    echo. 
    echo IMPORTANT NOTE: For this script to run correctly, you must change
    echo the values named Athena to be the Windows user account that
    echo you are logged in with.
    echo.
    echo ==========================================================================
    echo. 
    echo. 
    subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=Athena=f /setowner=administrators > %temp%\subinacl_output.txt
    echo. 
    echo. 
    subinacl /keyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=Athena=f /setowner=administrators >> %temp%\subinacl_output.txt
    echo. 
    echo. 
    subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /grant=restricted=r /setowner=administrators >> %temp%\subinacl_output.txt
    echo. 
    echo. 
    subinacl /keyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /grant=restricted=r /setowner=administrators >> %temp%\subinacl_output.txt
    echo. 
    echo. 
    subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators >> %temp%\subinacl_output.txt
    echo. 
    echo. 
    subinacl /keyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators >> %temp%\subinacl_output.txt
    echo. 
    echo. 
    echo System Drive...
    subinacl /subdirectories %ProgramFilesPath%\ /grant=administrators=f /grant=system=f /grant=users=e >> %temp%\subinacl_output.txt
    echo. 
    echo. 
    echo Windows Directory...
    subinacl /subdirectories %windir%\ /grant=administrators=f /grant=system=f /grant=users=e >> %temp%\subinacl_output.txt
    echo. 
    echo. 
    echo ==========================================================================
    echo. 
    echo FINISHED.
    echo. 
    echo Press any key to exit . . .
    pause >NUL
    Im frustrated really... ANY help at all would be really appreciated.
    Thanks in Advance and sorry for the long post
    Athena 

    Hello,
    Thanks for the replies, i much appreciate it. I tried all of the above with no luck again. Safe mode allows me though to install drivers but thats reverting the moment im entering windows. Im always running commands and programs as a administrator or in
    the Admin enabled account.
    It seems the problem is solved today. Via tune up utilities I disabled most of the startup programs and services and it seems that 1 service is causing this issue. Although I havent played much with the disabled services but 3 remain to be checked. One of
    the three is causing this.
    Thanks again guys and Ill keep you posted about the soft. conflict.
    Athena

  • Access denied Error while calling Web Service form Infopath Form 2010.

    Hi Dear All,
    I have been facing an error while calling an GetUserProfileByName() web service method from InfoPath 2010 from.
    i have FBA(Forms Base Authentication )configured . After Infopath form published to site collection when i select an user from people picker control i want to get Email Id of Selected user for that i am calling getUserProfileByName() Web Method, but 
    i am getting Access denied error code 500.
    Any Help would be more than welcome.
    Thanks.

    Hi,
    Greetings. Please check 
    Check the IE settings. Click Internet Options> Security>Custom level. Make sure that the ‘Access data source across domains’ is enabled. Make sure that you have permission to the web service and to the content which the web service tries to modify.
    For more information, please refer to this site:
    "Access is denied." error in Infopath 2007 form + ASMX: http://us.generation-nt.com/answer/access-denied-error-infopath-2007-form-plus-asmx-help-65808252.html
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Error while upload content in UCM: after site studio integration with UCM

    Hi All,
    To use Site Studio, I enabled following components in UCM:
    Link Manager; DBSearchContainsOpSupport; SiteStudion; SiteStudionExternalApplication
    But after this activity I am facing followig error while uploading any content in UCM. :
    Error
    1/13/14 5:36 PM
    Event generated by user 'weblogic' at host '172.21.140.207:16200'. Unable to execute service CHECKIN_NEW_SUB and function Imeta.
    Unable to execute query 'IdsDocMetaDataDocMeta(INSERT INTO DocMeta(dID,xComments,xExternalDataSet,xIdcProfile,xPartitionId,xWebFlag,xStorageRule,xIPMSYS_APP_ID,xIPMSYS_BATCH_ID1,xIPMSYS_BATCH_SEQ,xIPMSYS_PARENT_ID,xIPMSYS_REDACTION,xIPMSYS_SCKEY,xIPMSYS_STATUS,xCollectionID,xHidden,xReadOnly,xInhibitUpdate,xForceFolderSecurity,xTrashDeleter,xTrashDeleteDate,xTrashDeleteLoc,xTrashDeleteName,xTemplateType,xWCTags,xWCPageId,xWCWorkflowAssignment,xWCWorkflowApproverUserList,xShort_Description,xDetailed_Description,xWebsiteObjectType,xWebsites,xDontShowInListsForWebsites,xWebsiteSection,xRegionDefinition) VALUES(10810,'','','','','','DispByContentId','',0,'',0,0,'','',0,'FALSE','FALSE','FALSE','FALSE','',null,0,'','','','','','','','','','','','',''))'. ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE
    java.sql.SQLException: ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE. [ Details ]  An error has occurred. The stack trace below shows more information. !csUserEventMessage,weblogic,172.21.140.207:16200!$!csServiceDataException,CHECKIN_NEW_SUB,Imeta!$!csDbUnableToExecuteQuery,IdsDocMetaDataDocMeta(INSERT INTO DocMeta(dID\,xComments\,xExternalDataSet\,xIdcProfile\,xPartitionId\,xWebFlag\,xStorageRule\,xIPMSYS_APP_ID\,xIPMSYS_BATCH_ID1\,xIPMSYS_BATCH_SEQ\,xIPMSYS_PARENT_ID\,xIPMSYS_REDACTION\,xIPMSYS_SCKEY\,xIPMSYS_STATUS\,xCollectionID\,xHidden\,xReadOnly\,xInhibitUpdate\,xForceFolderSecurity\,xTrashDeleter\,xTrashDeleteDate\,xTrashDeleteLoc\,xTrashDeleteName\,xTemplateType\,xWCTags\,xWCPageId\,xWCWorkflowAssignment\,xWCWorkflowApproverUserList\,xShort_Description\,xDetailed_Description\,xWebsiteObjectType\,xWebsites\,xDontShowInListsForWebsites\,xWebsiteSection\,xRegionDefinition) VALUES(10810\,''\,''\,''\,''\,''\,'DispByContentId'\,''\,0\,''\,0\,0\,''\,''\,0\,'FALSE'\,'FALSE'\,'FALSE'\,'FALSE'\,''\,null\,0\,''\,''\,''\,''\,''\,''\,''\,''\,''\,''\,''\,''\,''))!$ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE<br>!syJavaExceptionWrapper,java.sql.SQLException: ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE<br> intradoc.common.ServiceException: !csServiceDataException,CHECKIN_NEW_SUB,Imeta!$ *ScriptStack CHECKIN_NEW_SUB 3:doScriptableAction,dDocName=abc0013:doSubService,dDocName=abc001CHECKIN_NEW_SUB,dDocName=abc0012:Imeta,dID=10810,dDocName=ABC001 at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115) at intradoc.server.Service.buildServiceException(Service.java:2326) at intradoc.server.Service.createServiceExceptionEx(Service.java:2320) at intradoc.server.Service.createServiceException(Service.java:2315) at intradoc.server.ServiceRequestImplementor.handleActionException(ServiceRequestImplementor.java:1766) at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1716) at intradoc.server.Service.doAction(Service.java:547) at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458) at intradoc.server.Service.doActions(Service.java:542) at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1322) at intradoc.server.Service.executeSubServiceCode(Service.java:4023) at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200) at intradoc.server.Service.executeServiceEx(Service.java:4018) at intradoc.server.Service.executeService(Service.java:4002) at intradoc.server.Service.doSubService(Service.java:3912) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86) at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310) at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295) at intradoc.server.Service.doCodeEx(Service.java:620) at intradoc.server.Service.doCode(Service.java:575) at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643) at intradoc.server.Service.doAction(Service.java:547) at intradoc.server.Service.doScriptableAction(Service.java:3964) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86) at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310) at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295) at intradoc.server.Service.doCodeEx(Service.java:620) at intradoc.server.Service.doCode(Service.java:575) at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643) at intradoc.server.Service.doAction(Service.java:547) at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458) at intradoc.server.Service.doActions(Service.java:542) at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391) at intradoc.server.Service.executeActions(Service.java:528) at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737) at intradoc.server.Service.doRequest(Service.java:1956) at intradoc.server.ServiceManager.processCommand(ServiceManager.java:437) at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265) at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1354) at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1731) at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222) at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87) at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305) at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278) at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1704) at idcservlet.IdcFilter.doFilter(IdcFilter.java:457) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: intradoc.data.DataException: !csDbUnableToExecuteQuery,IdsDocMetaDataDocMeta(INSERT INTO DocMeta(dID\,xComments\,xExternalDataSet\,xIdcProfile\,xPartitionId\,xWebFlag\,xStorageRule\,xIPMSYS_APP_ID\,xIPMSYS_BATCH_ID1\,xIPMSYS_BATCH_SEQ\,xIPMSYS_PARENT_ID\,xIPMSYS_REDACTION\,xIPMSYS_SCKEY\,xIPMSYS_STATUS\,xCollectionID\,xHidden\,xReadOnly\,xInhibitUpdate\,xForceFolderSecurity\,xTrashDeleter\,xTrashDeleteDate\,xTrashDeleteLoc\,xTrashDeleteName\,xTemplateType\,xWCTags\,xWCPageId\,xWCWorkflowAssignment\,xWCWorkflowApproverUserList\,xShort_Description\,xDetailed_Description\,xWebsiteObjectType\,xWebsites\,xDontShowInListsForWebsites\,xWebsiteSection\,xRegionDefinition) VALUES(10810\,''\,''\,''\,''\,''\,'DispByContentId'\,''\,0\,''\,0\,0\,''\,''\,0\,'FALSE'\,'FALSE'\,'FALSE'\,'FALSE'\,''\,null\,0\,''\,''\,''\,''\,''\,''\,''\,''\,''\,''\,''\,''\,''))!$ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE at intradoc.jdbc.JdbcWorkspace.handleSQLException(JdbcWorkspace.java:2546) at intradoc.jdbc.JdbcWorkspace.execute(JdbcWorkspace.java:586) at intradoc.data.IdcDataSource.modData(IdcDataSource.java:891) at intradoc.data.IdcDataSourceQuery.execute(IdcDataSourceQuery.java:143) at intradoc.data.IdcDataSourceUtils.execute(IdcDataSourceUtils.java:99) at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1616) ... 79 more Caused by: java.sql.SQLException: ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405) at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548) at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:202) at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1110) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488) at oracle.jdbc.driver.OracleStatement.doScrollExecuteCommon(OracleStatement.java:6518) at oracle.jdbc.driver.OracleStatement.doScrollStmtExecuteQuery(OracleStatement.java:6665) at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:2151) at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:2091) at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:320) at weblogic.jdbc.wrapper.Statement.executeUpdate(Statement.java:511) at intradoc.jdbc.JdbcWorkspace.execute(JdbcWorkspace.java:566) ... 83 more 
    Error
    1/13/14 5:37 PM
    Event generated by user 'weblogic' at host '172.21.140.207:16200'. Unable to execute service CHECKIN_NEW_SUB and function Imeta.
    Unable to execute query 'IdsDocMetaDataDocMeta(INSERT INTO DocMeta(dID,xComments,xExternalDataSet,xIdcProfile,xPartitionId,xWebFlag,xStorageRule,xIPMSYS_APP_ID,xIPMSYS_BATCH_ID1,xIPMSYS_BATCH_SEQ,xIPMSYS_PARENT_ID,xIPMSYS_REDACTION,xIPMSYS_SCKEY,xIPMSYS_STATUS,xCollectionID,xHidden,xReadOnly,xInhibitUpdate,xForceFolderSecurity,xTrashDeleter,xTrashDeleteDate,xTrashDeleteLoc,xTrashDeleteName,xTemplateType,xWCTags,xWCPageId,xWCWorkflowAssignment,xWCWorkflowApproverUserList,xShort_Description,xDetailed_Description,xWebsiteObjectType,xWebsites,xDontShowInListsForWebsites,xWebsiteSection,xRegionDefinition) VALUES(10811,'','','','','','DispByContentId','',0,'',0,0,'','',0,'FALSE','FALSE','FALSE','FALSE','',null,0,'','','','','','','','','','','','',''))'. ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE
    java.sql.SQLException: ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE. [ Details ]  An error has occurred. The stack trace below shows more information. !csUserEventMessage,weblogic,172.21.140.207:16200!$!csServiceDataException,CHECKIN_NEW_SUB,Imeta!$!csDbUnableToExecuteQuery,IdsDocMetaDataDocMeta(INSERT INTO DocMeta(dID\,xComments\,xExternalDataSet\,xIdcProfile\,xPartitionId\,xWebFlag\,xStorageRule\,xIPMSYS_APP_ID\,xIPMSYS_BATCH_ID1\,xIPMSYS_BATCH_SEQ\,xIPMSYS_PARENT_ID\,xIPMSYS_REDACTION\,xIPMSYS_SCKEY\,xIPMSYS_STATUS\,xCollectionID\,xHidden\,xReadOnly\,xInhibitUpdate\,xForceFolderSecurity\,xTrashDeleter\,xTrashDeleteDate\,xTrashDeleteLoc\,xTrashDeleteName\,xTemplateType\,xWCTags\,xWCPageId\,xWCWorkflowAssignment\,xWCWorkflowApproverUserList\,xShort_Description\,xDetailed_Description\,xWebsiteObjectType\,xWebsites\,xDontShowInListsForWebsites\,xWebsiteSection\,xRegionDefinition) VALUES(10811\,''\,''\,''\,''\,''\,'DispByContentId'\,''\,0\,''\,0\,0\,''\,''\,0\,'FALSE'\,'FALSE'\,'FALSE'\,'FALSE'\,''\,null\,0\,''\,''\,''\,''\,''\,''\,''\,''\,''\,''\,''\,''\,''))!$ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE<br>!syJavaExceptionWrapper,java.sql.SQLException: ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE<br> intradoc.common.ServiceException: !csServiceDataException,CHECKIN_NEW_SUB,Imeta!$ *ScriptStack CHECKIN_NEW_SUB 3:doScriptableAction,dDocName=vbgfbd3:doSubService,dDocName=vbgfbdCHECKIN_NEW_SUB,dDocName=vbgfbd2:Imeta,dID=10811,dDocName=VBGFBD 
    Caused by: java.sql.SQLException: ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
            at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
            at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
            at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:202)
            at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1110)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
            at oracle.jdbc.driver.OracleStatement.doScrollExecuteCommon(OracleStatement.java:6518)
            at oracle.jdbc.driver.OracleStatement.doScrollStmtExecuteQuery(OracleStatement.java:6665)
            at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:2151)
            at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:2091)
            at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:320)
            at weblogic.jdbc.wrapper.Statement.executeUpdate(Statement.java:511)
            at intradoc.jdbc.JdbcWorkspace.execute(JdbcWorkspace.java:566)
            ... 83 more
    Regards
    -Arvind

    First of all, I think you are in a wrong forum. This seems to be WebCenter Content
    The list of components is available here: About Site Studio for External Applications - 11g Release 1 (11.1.1)
    However, the error you get states something about indexes. You may have to re-run the Indexer after new components are enabled and the server restarted. See Managing Search Features - 11g Release 1 (11.1.1)

  • Access denied error when Loading document library for "contribute" users : Unknown SPRequest error occurred. More information: 0x80070005

    Hi,
    We are facing a very strange issue on a SharePoint Publishing portal. Domain users (contribute level access) have access to document libraries under specific sub sites. Every morning if they try to access the document library pages, users complain about "Access Denied" issue on document library page. But if a SP Farm admin account login on site, and browse to document library page, access denied issue seems to disappear for end users also. For whole day it works fine. But next day access denied error occurs again. I am not sure why this is happening. I have looked into Event Log and SharePoint Logs, found following information useful, but not sure what to do next.
    Please help.
    Event log Details:
    Server: WFE01
    Event Type: Error
    Event Source: Office SharePoint Server
    Event Category: Publishing
    Event ID: 5169
    Date:  17/11/2009
    Time:  07:47:31
    User:  N/A
    Computer: SPWFE01
    Description:
    Console Configuration File Error: XML Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    SP Log files:
    All logs are for process: w3wp.exe (0x031C)                        0x17F4 Windows SharePoint Services  
    ·     Begin OnLoad of XmlConsoleDataSource from file "EditingMenu".
    ·     Attempting to load XML from config file "EditingMenu".
    ·     PermissionMask check failed. asking for 0x00010000, have 0x00000000
    ·     Unknown SPRequest error occurred. More information: 0x80070005
    ·     Access Denied for /Projects/LFB/03 Bid Stage 1/Forms/AllItems.aspx.
    ·     StackTrace: Microsoft.SharePoint.Utilities.SPUtility:Void HandleAccessDenied(System.Exception), Microsoft.SharePoint.SPGlobal:Void HandleUnauthorizedAccessException(System.UnauthorizedAccessException), Microsoft.SharePoint.Library.SPRequest:Void OpenWeb(System.String, System.String ByRef, System.String ByRef, System.String ByRef, System.Guid ByRef, System.String ByRef, UInt32 ByRef, System.Guid ByRef, UInt32 ByRef, UInt32 ByRef, UInt32 ByRef, UInt16 ByRef, Boolean ByRef, Int16 ByRef, UInt32 ByRef, Int16 ByRef, Int16 ByRef, Int16 ByRef, Boolean ByRef, Int16 ByRef, UInt32 ByRef, Int16 ByRef, Int16 ByRef, Int16 ByRef, Int16 ByRef, Int32 ByRef, Boolean ByRef, System.String ByRef, System.String ByRef, Int32 ByRef, Int16 ByRef, ...
    ...System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.String ByRef, System.Object ByRef, Boolean ByRef, UInt64 ByRef, Boolean ByRef, Boolean ByRef, System.Guid ByRef, System.Guid ByRef, Int32 ByRef, System.DateTime ByRef, System.DateTime ByRef, System.String ByRef), Microsoft.SharePoint.SPWeb:Void InitWeb(), Microsoft.SharePoint.SPWeb:Microsoft.SharePoint.SPSecurableObjectImpl get_SecurableObjectImpl(), Microsoft.SharePoint.SPWeb:Microsoft.SharePoint.SPRoleAssignmentCollection get_RoleAssignments(), Microsoft.SharePoint.Publishing.WebControls.ConsoleXmlUtilities:System.String ConfigurationXml(System.String, Boolean), Microsoft.SharePoint.Publishing.W...
    ...ebControls.ConsoleXmlUtilities:Microsoft.SharePoint.Publishing.WebControls.ConsoleNode GetConsoleNodeCollectionFromXmlFile(System.String, Boolean), Microsoft.SharePoint.Publishing.WebControls.XmlConsoleDataSource:Void LoadTreeFromConfigXml(), Microsoft.SharePoint.Publishing.WebControls.XmlConsoleDataSource:Void OnLoad(System.EventArgs), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Control:Void LoadRecursive(), System.Web.UI.Page:Vo...
    ...id ProcessRequestMain(Boolean, Boolean), System.Web.UI.Page:Void ProcessRequest(Boolean, Boolean), System.Web.UI.Page:Void ProcessRequest(), System.Web.UI.Page:Void ProcessRequestWithNoAssert(System.Web.HttpContext), System.Web.UI.Page:Void ProcessRequest(System.Web.HttpContext), System.Web.HttpApplication+CallHandlerExecutionStep:Void System.Web.HttpApplication.IExecutionStep.Execute(), System.Web.HttpApplication:System.Exception ExecuteStep(IExecutionStep, Boolean ByRef), System.Web.HttpApplication+ApplicationStepManager:Void ResumeSteps(System.Exception), System.Web.HttpApplication:System.IAsyncResult System.Web.IHttpAsyncHandler.BeginProcessRequest(System.Web.HttpContext, System.AsyncCallback, System.Object), System.Web.HttpRuntime:Void ProcessRequestInternal(System.Web.HttpWorkerReque...
    ...st), System.Web.HttpRuntime:Void ProcessRequestNoDemand(System.Web.HttpWorkerRequest), System.Web.Hosting.ISAPIRuntime:Int32 ProcessRequest(IntPtr, Int32),
    ·     Releasing SPRequest with allocation Id {E3BC24ED-F243-4DBD-8625-EE7CF9FDA039}
    ·     Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    ·     Console Configuration File Error: XML Exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    ·     Releasing SPRequest with allocation Id {D1A87724-6FB6-4009-B6D1-D7E15918E213}
    Pryank Rohilla
    MCTS, MCAD

    Hi pryank,
    From the log, it seems that the users don’t have permission on this page:
    /Projects/LFB/03 Bid Stage 1/Forms/AllItems.aspx
    Does the sub site have unique permission instead of inheriting permission from the parent site? If no, you need to make the sub site to inherit permission from the site collection so that master page also inherits the right. If this is not allowed in your organization, please go to “Site Actions”à “Site Settings” à “Master Pages and Page Layouts” to give users permissions on this document library.
    Hope this helps.
    Lu Zou

  • Access denied error while exporting chart to excel

    I need to export data from a gridview to chart in excel. Through system account credentials it works fine. But through a user's credentials its giving an access denied error. The gridview data is exported properly but the current chart which is displayed
    on page is not getting displayed in excel.
    So is there any other way to achieve this?
    I was thinking og saving it to virtual folder in the Site but I cannot figure out the exact code for it. Since file upload control is not involved, how to save the chart to the virtual folder. Any inputs on this?

    Hello,
    Would you mind if you use "runwithelevatedprivileges" in your code to execute code with admin privilege?
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx
    >I was thinking og saving it to virtual folder in the Site
    Do you want to save excel in system folder or SP site folder?
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • "general access denied error" while implementing out-of-process COM Server Implementation in Windows Phone 8.1

    I have a Service (.exe) where I was registering for my COM Component like below
    CoInitializeEx(NULL, COINIT_MULTITHREADED);
    HRESULT hres = CoInitializeSecurity(NULL, -1, NULL, NULL, RPC_C_AUTHN_LEVEL_NONE, RPC_C_IMP_LEVEL_IMPERSONATE, NULL, EOAC_NONE, 0);
    if (hres != S_OK)
    OutputDebugStringA("Security Descriptor not initialized");
    ITypeLib* pTypeLib;
    HRESULT hr_1 = LoadTypeLibEx(L"ServiceIdl.tlb", REGKIND_REGISTER, &pTypeLib);
    if (pTypeLib != NULL)
    pTypeLib->Release();
    RegisterServer(L"Service.exe", CLSID_classAImpl, L"ClassAImpl Sample", L"Component.ClassAImpl", L"Component.ClassAImpl.1", 0);
    g_hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
    DWORD reg = 0;
    IClassFactory *pIFactory = new classAFactory;
    HRESULT hr0 = CoRegisterClassObject(CLSID_classAImpl, pIFactory, CLSCTX_LOCAL_SERVER, REGCLS_MULTIPLEUSE, &reg);
    if (FAILED(hr0))
    OutputDebugStringA("classAImpl is not registered");
    CoUninitialize();
    exit(1);
    HRESULT hr1 = CoResumeClassObjects();
    if (hr1 == S_OK)
    OutputDebugStringA("classAImpl is Resumed Registering");
    WaitForSingleObject(g_hEvent, INFINITE);
    CloseHandle(g_hEvent);
    CoRevokeClassObject(reg);
    pIFactory->Release();
    CoUninitialize();
    From Client Code I am CreatingInstance  Like Below
    COSERVERINFO si;
    MULTI_QI qi;
    COAUTHINFO cai = { RPC_C_AUTHN_NONE, RPC_C_AUTHZ_NONE, 0, RPC_C_AUTHN_LEVEL_NONE, RPC_C_IMP_LEVEL_IMPERSONATE, 0, EOAC_NONE };
    si.dwReserved1 = 0;
    si.pwszName = L"\\\\localhost";
    si.pAuthInfo = &cai;
    si.dwReserved2 = 0;
    qi.pIID = &IID_classA;
    qi.pItf = NULL;
    qi.hr = 1;
    CoInitializeEx(NULL, COINIT_MULTITHREADED);
    HRESULT hr = CoCreateInstanceEx(CLSID_classAImpl, 0, CLSCTX_LOCAL_SERVER, &si, 1, &qi);
    hr returning error "general access denied error";

    I think we may run into the limitations mentioned in the remarks of CoCreateInstanceFromApp doc(show as below). If you can provide a repro project, I
    can give you more details about what happens.
    The CoCreateInstanceFromApp function reads class registrations only from Fusion contexts and manifests, and from the HKLM\SOFTWARE\Classes\CLSID registry hive.
    Only built-in classes that are supported in the app container are supplied. Attempts to activate unsupported classes, including all classes installed by 3rd-party code as well as many Windows classes, result in error code
    REGDB_E_CLASSNOTREG.
    The CoCreateInstanceFromApp function is available to Windows Store apps. Desktop applications can call this function, but they have the same restrictions as Windows Store apps.
    If you are trying to call some windows classes in your library, I will suggest you check how to create windows runtime out of process component by viewing
    this sample. This is what I usually do.
    To be honest, I did not try to implement the out of process COM component using the method you tried as we previsouly do on desktop. I will suggest you try to register a very simple library(like a signle class and single interface which returns an integer),
    and see if it will work.
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    Alan Yao
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • Two forests trusted "Access denied error" while RDP

    Hi Everybody,
    I have two forests 
    for ex:
    TestA & TestB
    I have created one Global group called "XYZ" in 'TestA' forest and added the users. 
    Both the forests are trusted. 
    In 'TestB' forest i have two servers. Computer1 & Computer2
    I have added "XYZ" group from "TestA" to Local administrators group of "TestB" and these groups are in restricted groups.
    Iam able to access upn \\computer1\C$ from TestA forest. But when i am trying to RDP to "Computer1" iam getting Access Denied error.
    Computer1 is (2008 R2) and forest & domain functional lever is 2003
    Kindly advise on this issue.
    Thanks!!

    Hi,
    I assume you don't have RDSH role installed.
    Have a look here
    This post is provided AS IS with no warranties or guarantees, and confers no rights.
    ~~~
    Questo post non fornisce garanzie e non conferisce diritti

Maybe you are looking for