Oracle Migration Tool giving Access denied error for Read operation

Hi;
Oracle Migration tool is giving access denied error when we are trying to Read a record for Access Profiles.
We are getting (SBL-ODS-50085) error.This is happening only for few records(Access Profiles).
Although the user role is administrator having full access and privilege (Manage User and Access checked).
Pl. help me resolve the issue.
Thanks!

Hi,
Does it happen when you try to read "any" Access Profile?
If yes, please have a look at the
"Admin: Users and Access Controls - Manage Users and Access - Manage Users and establish User Quotas. Define Access Profiles, Roles and Groups to manage data access controls." privilege in the role of the user you use for migration.
In order to avoid any problem, I usually create a "Migration" role temporarily and assign this role ALL the privileges to avoid such failures at the time of export.
Hope this helps,
Best regards,
Charles DUBANT.
http://www.dubant.com/

Similar Messages

  • Access denied error for Read user in sharepoint 2010

    Hello,
    In sharepoint 2010 subsite a user with Read permission getting Access Denied error while login.
     Few points:
       1. Master pages are approved not in pending status.
       2. Site permissions are not inherited.
    Please suggest the way to resolve it.
    Thank You,
    Santosh_09

    Check below threads for troubleshooting access denied issue. You can use fiddler to trace what is causing access denied.
    http://sharepoint.stackexchange.com/questions/75263/user-has-correct-permissions-for-subsite-but-access-is-denied
    http://sharepoint.stackexchange.com/questions/41225/user-permissions-access-denied-sharepoint-2010
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • HFM reports giving "Access Denied" error

    Hi All,
    I am in a really critical situation.
    I am getting "Access Denied" error on accessing any of HFM reports through web or FR studio...all planning reports are working fine...
    I think the DCOM settings have some problem...
    FR is not able to communicate with HFM cluster
    can anyone suggest resolution for this..
    please...thanks in advance

    Hi J,
    Follow the steps below for configuring HFM Cluster and Enabling DCOM and report back any errors or success.
    In the meantime I'll forward you on a troubleshooting guide and checklist.
    1.) Are HFM users still able to access HFM Applications?
    -David
    *Failed To Connect To HFM Application When Using Financial Reporting Studio : "Error connecting to database connection : Server/Cluster is incorrectly configured." [ID 1238573.1]* --------------------------------------------------------------------------------
    Modified 30-DEC-2010 Type PROBLEM Status PUBLISHED
    Applies to:
    Hyperion BI+ - Financial Reporting
    Information in this document applies to any platform.
    Symptoms:
    In Financial Reporting Studio, users are trying to run reports that use a HFM datasource are getting an error.
    "Error connecting to database connection [name]: Server/Cluster is incorrectly configured. Please reconfigure your Cluster or Server connection."
    Cause:
    Financial Reporting Studio is not able to locate the HFM cluster.
    Testing also determined that the HFM client could not connect to the HFM cluster.
    The HFM cluster was not correctly configured.
    Solution:
    Set up the HFM cluster on the FR Studio machine.
    1. Go to Start > All Programs > Hyperion >Financial Management >Server and Web Configuration
    2. Go to the Server/Cluster Registration tab.
    3. Enter the computer name of the HFM server used to get cluster information or the name of the single server if using a non-clustered environment. The HFM server needs to be referenced exactly as it is on the HFM server (hostname/IP/FQDN/clustername, as well as case-sensitivity for any letters).
    4. Apply and OK.
    5. Restart FR Studio.
    Important!:  Make sure that you Enable DCOM on the Server/Cluster Registration tab.
    Note:
    If HFM client is not on the FR Studio box, it will need to be installed prior to set up of the HFM cluster as listed above.
    *Run a Financial Reporting Report with a Financial Management (HFM) Data Source: Error 1001 Invalid Server Cluster [ID 754416.1]* --------------------------------------------------------------------------------
    Modified 11-FEB-2010 Type PROBLEM Status PUBLISHED
    Applies to:
    Hyperion BI+ - Version: 9.0.1.0.00 to 11.1.1.3.00 - Release: 9.0 to 11.1
    Information in this document applies to any platform.
    Symptoms:
    You receive the following error when you run a Financial Reporting report with a Financial Management data source. You receive the message in Financial Reporting Studio and in Workspace.
    "Error: 1001 error connecting to database connection. Server cluster is incorrectly configured. Please reconfigure your cluster or server connection"
    Cause:
    The Financial Reporting Reports Server, Financial Reporting Web Server, and the Financial Reporting Studio workstation must be configured against the same HFM cluster or single server. The cluster or server name must be registered with Shared Services.
    Solution:
    Verify that Financial Management configuration on the Financial Reporting Reports Server, Financial Reporting Web Server, and the local desktop match the configuration on the Financial Management servers, as follows:
    From the Start Menu, select Programs: Oracle EPM: Foundation: EPM Configurator.*
    Select Financial Management.
    Make the necessary changes on each machine so that it matches the HFM server configuration.
    *In System 9, the path is Programs: Hyperion Solutions: Foundation: Configuration Utility.
    Edited by: D2 on Jan 18, 2011 11:32 AM

  • Access denied error for Java application on 2630

    Hello!
    I have bought a 2630 recently. Now I have installed a small Java application that tries to store some data in the phones memory. However, each time the application tries to do so, I get a "java.lang.SecurityException Access denied" message and the application states that it could no save its data. I have set the security settings for that particular application so that the phone should ask before each access to the file system. In fact, before I get the error message, the phone asks whether the application may write data to the file system. But still answering that question with "yes" I get the Access denied error message. Now I am puzzled. By the way, the application uses JSR-75 which the 2630 should support.
    Anybody any ideas?
    Regards,
    Volker

    RESOLVED!
    I was able to create file from java application on Nokia 2630. Here is how:
    1. root C:/ is mapped to folder "Downloads"
    2. The folders does not show with their names
    3. there are 2 folders in C:/ predefgallery and predefjava
    4. in predefgallery there are several predefined folders e.g. predefrecordings is one of them
    5. I am able to create file inside predefrecordings, creating file in upper folders is denied
    6. user created folders aro NOT shown at all
    7. I had to manualy confirm reading of data many times and writing data once.
    I hope this can help to other Nokia users since I did not find this anywhere.
    Luke

  • Access denied error for shared variables in application builder

    I'm trying to use SVs in my app.  I build an exe using app builder.  When I run my VI from the project, it works fine.  When I run from the app exe, I get an access denied error (-2147024891) trying to write a value to a SV.  My SV lib is hosted on my computer (it's a local SVE).  I've disabled autodeploy and my VI calls deploy library on the lvlib file before I try to use it.  What could I be dong wrong?

    Hi knicewar!
    Thank you for posting on the discussion forums!  What are you refering to when you say SVs?  Here is a KnowledgeBase article discussing the same error, although I am not sure it will be a direct application to your VI, since I am unsure what you mean by SV.  
    Kristen H.

  • Access Denied Error For Shared Folder with Win Server 2008R2 Task Manager Scheduled Task

    Hi,
    I have scheduled a Task with the Task scheduler. It invokes an .EXE file after every 5 min.
    The application is supposed to access some files lying on a different Server's shared path, process them and move them across folders on the Shared path only.
    Problem: When the .EXE gets executed from the Task scheduler, I am getting "Access Denied to the Shared path" error. I have already given Full Control to Everyone as well as to the Account with which the Task has been configured with.
    Another important point to note is, if I run the .EXE manually, the solution is able is able to do everything intended; I don't get any Access Denied error.
    Kindly help me with what needs to be done in order that this issue is resolved. This is really urgent for me.
    Thanks a lot in advance..
    AC

    Hello Alex,
    first of all, make sure your task was correctly create: How to Create Advanced Tasks with the Task
    Scheduler.
    Please, read these:
    TechNet Library Task Security Context
    TechNet Forums post How
    does "Run with the highest privileges" really work in Task Scheduler ? - Look at the answer "...When you want to run a program with admin rights from a standard user account, you have to select "run whether the user is logged
    on or not" and select a user which is member of the admingroup."
    TechNet Forums post
    Log on as batch job right (written on previous post)
    serverfault Task Scheduler is not executing the program
    serverfault
    unable to schedule a task (access denied)
    UAC: Do you receive the User Account Control "Windows need your permission to continue" message to approve the scheduled application ?
    If yes, maybe "Run with highest privileges" option will not take precedence of the UAC. While the Admin Approval Mode for built-in Administrator account is enabled, UAC will still ask for approval according to the settings on the Behavior
    of elevation to prompt for the administrators. Check whether the "User Account Control: Admin Approval Mode for built-in Administrator account" is enabled. If yes, disable it or change the setting on "User Account Control: Behavior
    of elevation to prompt for the administrators" to elevate without prompting.
    Local Computer Policy ---> Computer Configuration ---> Windows Settings ---> Security Settings ---> Local policies ---> Security Options (source: Task
    Scheduler "run with highest privileges": does not work on Windows Server 2008 ?)
    Bye,
    Luca
    Disclaimer: This posting is provided AS IS with no warranties or guarantees, and confers no rights. Whenever you see a helpful reply, click on [Vote As Help] and click on [Mark As Answer] if a post answers your question.

  • Cannot use Offline Files with DFS share: "Access denied" error for DfsrPrivate in Sync Center

    Hello,
    I have an infrastructure that uses DFS to move files to different sites and we are using a GPO to define Offline Files for users at those sites. Whenever we try to initiate a manual sync, an error stating "Access
    denied" is generated for all DfsrPrivate directories and the Sync Center reports it as a failed sync. We have tried giving Domain Users, Everyone, and invidiual accounts Write, Modify and even Full Control permissions to the DfsrPrivate directories and
    as it seems, only users with administrative access and allowed to sync properly. Is there something obvious I'm missing here?
    -Girard

    Hi,
    I cannot help test on this moment but we should not create offline files on DfsrPrivate folders which will cause issue. Try to exclude those folders as Offline Files and it should work in Sync Center. 
    If you have any feedback on our support, please send to [email protected]

  • Access denied error for BW Report iView..Please help :(

    Hello All,
    I have created a BW Report iView..containing a Bex query.
    Have created the required BW system object too.
    When I preview this iView, it asks me for BW system authentication....since am not mapped to this BW system.
    Its alright till here......
    Problem:
    Now, when I copy paste the URL (URL generated when you preview this iView) into a new browser window, I get an error saying:
    " <b>An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Access denied (Object(s): <<i>iView path</i>>
    Exception id: 02:57_13/02/06_0034_6204550
    See the details for the exception ID in the log file</b> "
    I checked tha bove mentioned log and it says:
    <b>Permission check failed - Object <<i>iView path</i>>  Pcd.Use Principal: Information not available with current trace level#</b>
    Changed the iView authentication scheme to every value present but it did not resolve.
    Please help me resolve this.
    Awaiting Reply.
    Thanks and Warm Regards
    Ritu

    Hi Raja,
    Firstly thanks for a quick response.
    I did as per you suggested but it isnt working. Am getting the same error again.
    <u>Please refer to the log details below</u>:
    1.5#000F206F053800610000008100000A1000040CAA10AF2627#1139824470727#com.sap.portal.pcd.Gl.Admin#sap.com/irj#com.sap.portal.pcd.Gl.Admin#Guest#0##sapnw2_J2E_6204550#Guest#63f4e0f093d911da8b7b000f206f0538#SAPEngine_Application_Thread[impl:3]_1##0#0#Warning#1#/System/Server#Plain###Permission check failed - Object portal_content/Ritu/MIDAS/CEO_redalert Permissions: Pcd.Use Principal: Information not available with current trace level#
    #1.5#000F206F053800610000008300000A1000040CAA10AF2963#1139824470743#com.sap.portal.pcd.Gl.Admin#sap.com/irj#com.sap.portal.pcd.Gl.Admin#Guest#0##sapnw2_J2E_6204550#Guest#63f4e0f093d911da8b7b000f206f0538#SAPEngine_Application_Thread[impl:3]_1##0#0#Warning#1#/System/Server#Plain###Permission check failed - Object portal_content/Ritu/MIDAS/CEO_redalert Permissions: Pcd.Use Principal: Information not available with current trace level#
    #1.5#000F206F053800610000008600000A1000040CAA10AF4031#1139824470743#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Guest#0##sapnw2_J2E_6204550#Guest#63f4e0f093d911da8b7b000f206f0538#SAPEngine_Application_Thread[impl:3]_1##0#0#Error#1#/System/Server#Java###Exception ID:03:24_13/02/06_0059_6204550
    [EXCEPTION]
    #1#com.sapportals.portal.prt.runtime.PortalRuntimeException: Access is denied: pcd:portal_content/Ritu/MIDAS/CEO_redalert - user: Guest
         at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1932)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:230)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
         at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
         at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object(s): portal_content/Ritu/MIDAS/CEO_redalert)
         at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:390)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1066)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1072)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1072)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java:1072)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1168)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1115)
         at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:909)
         at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:78)
         at com.sapportals.portal.pcd.gl.PcdURLContext.lookup(PcdURLContext.java:238)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1919)
         ... 26 more
    ==========================
    The auth scheme of this iView is set to default
    Please help me resolve this......
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu
    Message was edited by: Ritu  Hunjan

  • SharePoint 2013 - Issue while making URL public. Access denied error for SP.Debug.js and get_effectiveBasePermissions error .

    Hi,
    Our feature code working fine in SP2013 dev environment, but when we  have deployed in test environment where URL is public,
    it is giving below error.
    • “get_effectiveBasePermissions : object is null or undefined”- in sp.ui.exportasscoiatedrelateddocs.js from Infrastructure feature
    • “Access Denied” – in SP.Debug.js file
    • “Unable to get value of the property 'toString': object is null or undefined”- in SP.Debug.js file
    Your help will be appreciated.
    Regards,
    Divyesh Lappawala

    Difficult to guess what's the real problem just seeing the screenshot. But can you check if you are requesting the script files from correct location? Sometimes maybe you are looking script from different site collection/url. Also is there's any possibility
    that users are browsing as anonymous or maybe the requires sharepoint scripts are not loaded beforehand.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Access Denied Error for Students with "Drop Box" or "Shared" Setting

    Georgia State is having the same problem as described the previous threads
    http://discussions.apple.com/thread.jspa?threadID=1868505&tstart=0 and http://discussions.apple.com/thread.jspa?threadID=1872710&tstart=0
    Students see the "Upload and Manage File" link but get an access denied message when they click it. This happens if access for the student is set to either "Drop Box" or "Shared", but not "Edit" for that tab.
    When I log in as a student to a course with a tab set to "Drop Box" access and right-click to get the URL for the "Upload and Manage" file link, it reads:
    https://deimos.apple.com/WebObjects/Core.woa/EditFiles/gsu.edu.1856928078.018569 28090/1
    The error message when run through Woolamaloo is:
    The requested URL /WebObjects/Core.woa/Browse/gsu.edu.1/?credentials=Student%40urn%3Amace%3Agsu.e du%3Aclasses%3Atest01... was not found on this server.

    D:\java\p_java>set
    classpath=%classpath%;D:\java\jdk1.3.1_02\jre\lib;D:\ja
    a\jdk1.3.1_02\lib\set classpath=%classpath%;D:\java\jdk1.3.1_02\jre\lib\rt.jar
    is probably better. :-/
    where p_java is my java programs directory
    jdk1.3.1_02 is the Java 2 SDK directory.
    Problem
    Whenever a java program is compiled, the very same
    error of "Access Denied" is displayed. This can be
    seen in the foll. examples.
    Example 1:
    D:\java\p_java>javac Statik.java
    )Statik.java:3: error while writing Statik:
    Statik.class (Access is denied
    class Statik{
    ^
    1 errorThe problem is when writing to the disk, not due to the classpath. Have you run out of space on the drive? Can you write to the drive in other programs? Try compiling the java file on your C: drive. If it compiles on C:, there's something wrong with your D: drive. :/
    Bhav

  • Group Policy changes cause Access Denied error for Domain Admin account

    Hi All,
    I am battling to get WSUS to work, and I think the route cause is problems editing the domain and domain controller group policy objects.
    We have 1 DC, approx 20 clients. 1 GPO for DC, 1 GPO for clients. Ther e is a link to the default domain GPO in our staff (users) OU, I don't know if it should be there or not.
    I log in as domain administrator, right-click the domain GPO in GPMC, click Edit.
    Find the setting I want to edit (specify intranet microsoft update service location), double click.
    Change something, click OK.
    I get error:
    Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continute.
    Access is denied. (Exception from HRESULT: 0x80070005
    (E_ACCESSDENIED)).
    I have followed the steps in the links posted by Brent in another post called: "restricting-domain-admin-account-to-edit-group-policies" (no links allowed for my account yet sorry) and the user does have edit settings, delete, modify security delecation.
    PLEASE NOTE: the solution may very well be something very simple/basic. I am reasonably computer savvy, but have just upgraded the whole network for an NGO on a voluntary basis. Never seen a sever before I came here, but I'm the best they have. Please bare
    that in mind when offering advice :)
    Any help appreciated!
    James

    More diagnostic info:
    Inside GPMC, there's Group Policy Results.
    If I right-click, Result Wizard, choose this computer, it works fine showing default domain controllers policy with alert that it's enforced.
    If I browse for another PC (it comes up as Domain\PC name), click Next, I get error:
    Failed to connect to DOMAIN\PCNAME due to the error listed below. Ensure that the Windows Management Instrumentation (WMI) service is enabled on the target computer, and consult the event log of the target computer for further details.
    Details: the RPC server is unavailable.
    If you need the recent related events, I will post them. I also checked that service on the client - it's automatic and started.
    PPS Clients are all Win 7, PCs are 32bit, laptops are 64. Server is Windows Server 2012 Datacenter. WSUS when clicking Help -> About from the snap-in/GUI: 6.2.9200.16384.
    PPPS Directory browsing for the whole WSUS object in IIS is enabled, thanks to SorinAlbu over at Spiceworks post WSUS and IIS.
    PPPPS Launching IE and loading http://servername:8530/iuident.cab fails 404 error from both clients and server. That file in C:\Program Files\Update Services\WebServices\Root\iuident.cab doesn't exist. Maybe because we recently removed the WSUS role and reinstalled
    it, to check if something went wrong the first time? It's all been configured using the snapin/GUI, but the new installation of the role hasn't yet connected to the Microsoft Update servers.
    PPPPPS Added the Application Server role with default settings as recommended by the step by step guide to WSUS at Technet. Still no dice.

  • Access Denied error while reading from filestream

    Hi Everyone.
    I have an intranet application that stores files in SQL filestream.
    On my dev machine, everything works like a charm.
    I'm able to upload and store files into SQL filestream (AjaxUpload) and able to downlaod them.
    On the live server, I'm able to upload files, delete them, but when I try to download the file from filestream, I get the following error:
    Access is denied
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.ComponentModel.Win32Exception: Access is denied
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [Win32Exception (0x80004005): Access is denied]
    System.Data.SqlTypes.SqlFileStream.OpenSqlFileStream(String path, Byte[] transactionContext, FileAccess access, FileOptions options, Int64 allocationSize) +1465594
    System.Data.SqlTypes.SqlFileStream..ctor(String path, Byte[] transactionContext, FileAccess access, FileOptions options, Int64 allocationSize) +398
    System.Data.SqlTypes.SqlFileStream..ctor(String path, Byte[] transactionContext, FileAccess access) +27
    quotes_GetFileStream.quotes_GetFileStream_Load(Object sender, EventArgs e) +740
    System.Web.UI.Control.LoadRecursive() +71
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3048
    The application pool is set to integrated, V.4.0,  and I use a domain user for the identity authentication back to SQL.
    I gave that user DB_Owner rights to the SQL Database for that application.
    Even tried giving it all the SQL Server Roles, though i still get the above error.
    When I change the Identity username to mine (I have Domain Admin rights), everything works flawlessly on the live server.
    What rights am I missing to give that user so he can read from SQL filestream properly.
    Here is the block of code that gets the file from filestream and pushes it to the browser, maybe I'm missing something here (though once i modify the user it works great).
    Dim RecId As Integer = -1
    If Not IsNothing(Request.QueryString("ID")) And IsNumeric(Request.QueryString("ID")) Then
    RecId = CType(Request.QueryString("ID"), Integer)
    End If
    Dim ConString As String = ConfigurationManager.ConnectionStrings("ConnectionString").ToString
    Using Con As SqlConnection = New SqlConnection(ConString)
    Con.Open()
    Dim txn As SqlTransaction = Con.BeginTransaction()
    Dim Sql As String = "SELECT FileData.PathName() , GET_FILESTREAM_TRANSACTION_CONTEXT() as TransactionContext, [FileName], [FileExtension] FROM [QAttach] where RecId = @RecId"
    Dim cmd As SqlCommand = New SqlCommand(Sql, Con, txn)
    cmd.Parameters.Add("@RecID", Data.SqlDbType.Int).Value = RecId
    Dim Rdr As SqlDataReader = cmd.ExecuteReader()
    While Rdr.Read()
    Dim FilePath As String = Rdr(0).ToString()
    Dim objContext As Byte() = DirectCast(Rdr(1), Byte())
    Dim fname As String = Rdr(2).ToString()
    Dim FileExtension As String = Rdr(3).ToString()
    Dim sfs As SqlFileStream = New SqlFileStream(FilePath, objContext, FileAccess.Read)
    Dim Buffer As Byte() = New Byte(CInt(sfs.Length) - 1) {}
    sfs.Read(Buffer, 0, Convert.ToInt32(Buffer.Length))
    Response.Buffer = True
    Response.Charset = ""
    Response.Cache.SetCacheability(HttpCacheability.NoCache)
    Response.ContentType = FileExtension
    Response.AddHeader("content-disposition", "attachment;filename=" & fname)
    Response.BinaryWrite(Buffer)
    Response.Flush()
    Response.End()
    sfs.Close()
    End While
    End Using
    Thanks.
    Oren

    @William Bosacker:
    Please accept our apologies for any mistreatment.  While there's certainly no legal recourse for posts on an open forum like this, we do take steps to try to keep the forums a pleasant and friendly place to visit, and toward this end, two other moderators
    have already cleaned the thread and have begun to address the abuse.
    Not to defend the manner in which it was addressed, I must still point out that necro posting to a thread (this thread is from late 2013) and proposing your post as an answer are both generally discouraged. Again, I cannot condone the way in which it was
    presented, but I can understand why the other contributors thought something should be said.
    The recommended way to contribute information like this would be to create a new Discussion thread with content something like:
    "I was experiencing XYZ issue and while searching for a resolution I found this thread [link to old thread].  But after trying A, B, and C, I found that the following actually resolved my problem [code snippet].  I thought this might be helpful
    for anyone else with this issue... yada yada"
    In the case of this original thread, the issue was most certainly permission related.  While the underlying network permissions would certainly need to allow that user to access the server, the root problem may well have been within the SQL table permissions
    themselves.  The OP of the original thread really didn't provide enough context to know if they had the internal database permissions set correctly.
    The information you've provided essentially shows one way to set the table permissions, but it isn't necessarily the only way.  Its also possible that the issue could be resolved by modifying permission entries within the SQL manager rather than through
    a particular script file.  So while this information may indeed be helpful to someone in the future, it does not necessarily answer the question of this thread.  Only the OP has enough information to know if this can be applied to their situation;
    and since the thread is several years old and was originally closed by a moderator, there is very little chance that the OP will be back to respond.
    Hopefully this clears the air a little and will allow us all to get back to trying to help the VB development community within the guidelines of the forum.
    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

  • I cannot get iTunes or QuickTime to install. I receive an "access denied" error even after uninstalling both completely.

    I cannot get iTunes to install on my Windows 7 PC. I have uninstalled iTunes and QuickTime completely, and downloaded the newest versions. On installation, I receive an "access denied" error for both. I am on an administrator account, run as administrator, deleted my temp folder, everything. I cannot get either to install. Any suggestions? Very frustrating.

    I am am seeing exactly the same scenario being played out as  phitzdisco, on a Dell running Windows 7, and normally a very stable install at that. Steps followed
    Uninstalled all the software correctly, following instructions, in the Program & program(x86) folders
    Rebooted
    Cleaned out the \appdata\local\temp directory
    Download the latest iTunes
    Run as user and a second time through after repeating the steps above as administrator
    Three "Access is Denied" messages in the install
    Log file iTunes64SetupD2C.log shows
         fdintCLOSE_FILE_INFO
            file name in cabinet = Bonjour64.msi
         fdintCOPY_FILE
           file name in cabinet = SetupAdmin.exe
           uncompressed file size = 77136
         fdintCLOSE_FILE_INFO
            file name in cabinet = SetupAdmin.exe
    Executing: "C:\Windows\system32\msiexec.exe" /i "C:\Users\Paul\AppData\Local\Temp\IXP322.TMP\iTunes64.msi" INSTALL_SUPPORT_PACKAGES=1
    Returning: 1603
    In the SetupAdmin1B84.log we see
    MessageType: INSTALLMESSAGE_ACTIONSTART
    Message: Action 09:05:24: AllocateRegistrySpace. Allocating registry space
    Returning:   1L
    MessageType: INSTALLMESSAGE_INFO
    Message: Action start 09:05:24: AllocateRegistrySpace.
    Returning:   1L
    MessageType: INSTALLMESSAGE_INFO
    Message: Action ended 09:05:24: AllocateRegistrySpace. Return value 1.
    Returning:   1L
    MessageType: INSTALLMESSAGE_ACTIONSTART
    Message: Action 09:05:24: ProcessComponents. Updating component registration
    Returning:   1L
    MessageType: INSTALLMESSAGE_INFO
    Message: Action start 09:05:24: ProcessComponents.
    Returning:   1L
    MessageType: INSTALLMESSAGE_ERROR
    Message: Access is denied.
    Returning:   1L
    MessageType: INSTALLMESSAGE_INFO
    Message: Action ended 09:05:33: ProcessComponents. Return value 3.
    Returning:   1L
    MessageType: INSTALLMESSAGE_COMMONDATA
    Message: Message type: 2, Argument: 0
    Returning:   1L
    MessageType: INSTALLMESSAGE_COMMONDATA
    Message: Message type: 2, Argument: 1
    Returning:   1L
    MessageType: INSTALLMESSAGE_INFO
    Message: Action ended 09:05:33: INSTALL. Return value 3.
    Returning:   1L
    MessageType: INSTALLMESSAGE_INFO
    Message: Property(S): UpgradeCode = {529316F8-601C-48AB-BAF6-D9E09938D8D3}
    Returning:   1L
    MessageType: INSTALLMESSAGE_INFO
    Message: Property(S): INSTALLDIR = C:\Program Files (x86)\Common Files\Apple\Apple Application Support\
    Returning:   1L
    The other 6 logs files are also present, but somewhat large to post unless required.
    I hope this can potential help us both find the issue

  • 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

  • Oracle Migration Tool Upsert failed

    Hello
    I met the following problem. ReadAll Picklist works fine with the Migration Tool.
    ***     Migrationtool -u <username> -s <CRM on Demand Server> ReadAll Picklist**
    I´ve got the picklist.xml files into my repository folder.
    After that I tried to test the upsert method by changing picklist values for Route in the account object. The following command:
    _**    Migrationtool -u<username> -s<servername> Upsert Picklist <path to xml>*_
    runs successfully
    but nothing has changed in CRM On Demand.
    Any suggestions? They would be highly appriciated.
    thx in advance
    Klaus

    Hello Jan,
    after a while working at the basics I find out, that only new objects or objects that has changed will be downloaded by the ReadAll command. Other XML-Files will be empty, so an error occured on UpSert method. All other UpSert commands will work fine except the UpSert for Role-Settings. That upsert will end up in an "access denied" error. Upserts on Related InformationLayout will suceed but not in full functionality.
    regards
    Klaus

Maybe you are looking for

  • Closing the browser window

    I have a page that opens vignettes [videos] built using Captivate in a new window.  What I'd like is to close this window once the video has stopped playing i.e. reached the last slide/frame. I've tried setting properties on the last slide in the pro

  • Serial number field and table

    Hi, I want Serial number field and table, Scenario like this,for returnable packging material we have assigned serial numbers,mtrl type is LEIH,so for tracking of RTP material now we are going to Develop one Report for this i need ur Help. Logic is:1

  • Windows not loading properly in boot camp, black screen

    Hi guys, having problems with bootcamp, running the latest version under snow leopard on an intel mac mini i bought a copy of XP on ebay, to my dismay, what i actually got in the post was a recovery disk for a dell laptop, and a product key. Although

  • Line on screen, only in iDVD

    whenever i put a dvd into my MacBook, iDVD opens up and just before the dvd starts, the screen turns the to full screen view (all black) and then a white line appears down the right side of the screen (about 1 inch from the edge) it looks like a line

  • Installing without CD drive?

    I was sold Photoshop Elemets 11 with my new laptop which does not have a CD drive. How fo I install it?