HTTP Error 403 - Forbidden Error Accessing Simplest Example

If I follow the instructions for creating the SIMPLEST example in the "iFS Online Resources" document, everything seems to work until the very last step. When I click on one of my sample objects a new window is launched for the JSP, but it gets an HTTP-403 error in it.
Anone have any ideas? Thanks.

Strangely enough, we're having no problems viewing the XML case files from within the JSW interface, they call the InsuranceForm jsp without any errors - which would indicate that the Java beans are in the right place. Yes?
The problem we're getting is trying to log into the iFS repository via the URL http://<iFS Server>/public/examples/insuranceApp/src/login.jsp
as per the demo instructions, we get HTTP Error 403 - Forbidden. I checked the permissions on the adk.jar file as per Monty Burns posts, and it's world readable. What gives?
We've installed the 1.0.8.3 patch and the 8.1.6.0.1 JDK. NT Server 4, SP6, 8.1.6 database.
Thanks in advance for your help,
Cheers
Geoff.

Similar Messages

  • HTTP Error 403 - Forbidden  error when auto including a jspx page

    Hi All -
    We have a situation where one of different reports pages gets included inside a main reports page based on user selection via a selectOneChoice control.
    But when the Reports Main page tab is clicked for the first time we get a "You are not authorized to view this page" HTTP Error 403 - Forbidden error.
    Upon clicking "Refresh" and then clicking the Reports Main page tab again, the page renders correctly.
    This is our code snippet. All the report related pages(MainPage.jspx, Schedule.jspx and Budget.jspx) are inside a reports folder under the context root. Please help.
    Thanks for your time.
    MainPage.jspx
    =====================
    Here I have a selection box, and based on the user selection I include different JSPX pages. The page Definition of this page
    contains all the executables and the bindings of the included pages also.
    <af:selectOneChoice value="#{backing_Reports.measureSelected}"
    label="Measure" unselectedLabel="Select One"
    id="selectmeasure" autoSubmit="true"
    immediate="true">
    <af:selectItem label="Schedule Data"
    value="Schedule.jspx"/>
    <af:selectItem label="Budget Data"
    value="Budget.jspx"/>
    </af:selectOneChoice>
    <af:panelGroup>
    <jsp:include page="${backing_Reports.measureSelected}" flush="true"/>
    </af:panelGroup>
    Faces Config:
    ===================
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>GlobalHome</from-outcome>
    <to-view-id>/pages/Welcome.jspx</to-view-id>
    <redirect/>
    </navigation-case>
    <navigation-case>
    <from-outcome>GlobalReports</from-outcome>
    <to-view-id>/reports/MainPage.jspx</to-view-id>
    </navigation-case>
    <!-- 1. Reports menu tab item -->
    <managed-bean>
    <managed-bean-name>menuItem_Reports</managed-bean-name>
    <managed-bean-class>cs.view.menu.MenuItem</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>label</property-name>
    <value>#{resources['scorecard.menu.reports']}</value>
    </managed-property>
    <managed-property>
    <property-name>viewId</property-name>
    <value>/reports/MainPage.jspx</value>
    </managed-property>
    <managed-property>
    <property-name>outcome</property-name>
    <value>GlobalReports</value>
    </managed-property>
    </managed-bean>
    :

    We have solved this, temproarily. But don't know if this is the best method to do this. Please post if somepne has a better way of doing this.
    While debugging we found that the ${backing_Reports.measureSelected} field which was set to a default value in backing bean was returned as null when the page renders for the first time. So we had a work around like this in our MainPage.jspx
    <af:panelBox width="80%" partialTriggers="selectmeasure"
    inlineStyle="margin:40.0px;">
    <af:panelGroup>
    <jsp:include page="${backing_Reports.measureSelected==null?'BlankPage.jspx':backing_Reports.measureSelected}"
    flush="true"/>
    </af:panelGroup>
    </af:panelBox>
    Thanks.

  • Return The remote server returned an error: (403) Forbidden error for some file types

    hi
    am using below code to get the byte array 
    byte[] myDataBuffer = client.DownloadData((new Uri(sourceUrl)));
    for source of type .txt/.jpg no problem with accessing.but the file type with .master/.wsp/.cs
    it is returning "The remote server returned an error: (403) Forbidden error for some file types" Error.how can i get rid of this.please help me
    Thanks in Advance

    Hi,
    It seems there is something wrong with your code, from your code the account and key are the same, because their appsetting name are the same.
    string account = ConfigurationManager.AppSettings["StorageAccountName"];
    //string account = CloudConfigurationManager.GetSetting("StorageAccountName");
    //string key = CloudConfigurationManager.GetSetting("StorageAccountAccessKey");
    string key = ConfigurationManager.AppSettings["StorageAccountName"];
    string connectionString = String.Format("DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}", account, key);
    return CloudStorageAccount.Parse(connectionString);
    If you use CloudConfigurationManager.GetSetting, please consider set azure project as the startup project, if not, this value will be null, this resulted in solution being started as a web project that didn't run inside the Azure emulator. Since CloudConfigurationManager.GetSetting
    tries to get setting by contacting Azure (or Azure emulator in this case), and it is not running, it returns null.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why can't I sign in? I get an "Ajax submit failed: error =403, Forbidden" error message

    Why can I no longer sign in to ePrint Center?
    I get an "Ajax submit failed: error =403, Forbidden" error message -- MAC OS 10.7, D110a printer.

    Here you go.
    http://www.google.com/search?q=Ajax+submit+failed%​3A+error+%3D403%2C+Forbidden&sourceid=ie7&rls=com.​...
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • Getting "Error 403--Forbidden" while accessing ADF bookmarked URL

    Hi,
    Here am trying to work with an ADF application to suport bookmarking.
    Following are the steps I did to create a sample application.
    Created a bounded task-flow (user-details.xml), which has the "Method call" as default activity along with an another view activity(userData.jsff page).
    This task-flow takes an input parameter "Id" to display user details. In the method call activity user data will be initialized using the given input parameter and then the data will be displayed using userData.jsff page.
    Created a view activity (details.jspx page) in adfc-config.xml file.
    Marked the "details.jspx" file as bookmark-able by changing "Bookmark property to true" and given a Bookmark URL Parameter "Name is Id and Value is #{pageFlowScope.user_id}".
    Dropped the bounded task-flow user-details.xml as a region into the details.jspx file.
    Now the user_id which is coming as URL Parameter will be passed to user-details.xml task-flows input parameter value.
    Created users.jspx page which lists all the users as home page. In the users.jspx page we'll have a link to user details page with a parameter Id.
    By running the application will get users page. When I click on the user details link in the users page, the app showing user details page as expected.
    Now I bookmarked the user details page. If I open the bookmarked page in the same tab, it is working fine. But when I open this bookmark in a new tab getting the "Error 403--Forbidden" response.
    Bookmarked URL: localhost:7101/BookmarkTestApp-ViewController-context-root/faces/user_details?id=123&_afrWindowMode=0&_afrLoop=4884151149818&_adf.ctrl-state=35yghmx4f_18
    When I click the above bookmark in another tab the url is processing for few seconds ( 2 to 3 seconds) and converts to localhost:7101/BookmarkTestApp-ViewController-context-root/ and giving 403 response. At this time it is not touching my beans at all (verified this by running the server in debug mode).
    Web.xml looks like:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
             version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
      <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
      </context-param>
      <context-param>
        <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>false</param-value>
      </context-param>
      <context-param>
        <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
        <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
        <param-value>true</param-value>
      </context-param>
      <filter>
        <filter-name>trinidad</filter-name>
        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
      </filter>
      <filter>
        <filter-name>adfBindings</filter-name>
        <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>trinidad</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>adfBindings</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <listener>
        <listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
      </listener>
      <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet>
        <servlet-name>resources</servlet-name>
        <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>MapProxyServlet</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>GatewayServlet</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/adf/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/afr/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <url-pattern>/servlet/GraphServlet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <url-pattern>/servlet/GaugeServlet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>MapProxyServlet</servlet-name>
        <url-pattern>/mapproxy/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/bi/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>GatewayServlet</servlet-name>
        <url-pattern>/flashbridge/*</url-pattern>
      </servlet-mapping>
      <mime-mapping>
        <extension>swf</extension>
        <mime-type>application/x-shockwave-flash</mime-type>
      </mime-mapping>
      <jsp-config>
        <jsp-property-group>
          <url-pattern>*.jsff</url-pattern>
          <is-xml>true</is-xml>
        </jsp-property-group>
      </jsp-config>
    </web-app>
    Am I missing any thing here.
    Thanks in advance.
    -Gopal.

    https://blogs.oracle.com/DavidGiammona/entry/why_do_i_get_this_error_403_--

  • Ajax submit failed: error =403, Forbidden error when signing in

    when trying to log in or create a new account for www.eprintcenter.com this is the error I get, and I can't get past the log in page.

    Try here..
    http://www.google.com/search?q=Ajax+submit+failed%3A+error+%3D403&sourceid=ie7&rls=com.microsoft:en-...=
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • The remote server returned an error: (403) Forbidden on container.CreateIfNotExistsAsync() method

    static class StorageUtils
            public static CloudStorageAccount StorageAccount
                get
                    string account = ConfigurationManager.AppSettings["StorageAccountName"];
                    //string account = CloudConfigurationManager.GetSetting("StorageAccountName");
                    //string key = CloudConfigurationManager.GetSetting("StorageAccountAccessKey");
                    string key = ConfigurationManager.AppSettings["StorageAccountName"];
                    string connectionString = String.Format("DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}", account, key);
                    return CloudStorageAccount.Parse(connectionString);
    I have a web project and I converted it to "MS Azure Cloud Service Project"
    I make the Azure project default and run CreateAndConfigureAsync() to create the container. It works fine and creates the images container in Azure storage.
    Then I make my web project default and change CloudConfigurationManager.GetSetting to ConfigurationManager.AppSettings in StorageUtils class and run the web app project. Then I get "The remote server returned an error: (403) Forbidden" error whencontainer.CreateIfNotExistsAsync()
    line get executed.
    What is the reason for this?
    async public void CreateAndConfigureAsync()
                try
                    CloudStorageAccount storageAccount = StorageUtils.StorageAccount;
                    // Create a blob client and retrieve reference to images container
                    CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
                    CloudBlobContainer container = blobClient.GetContainerReference("images");
                    // Create the "images" container if it doesn't already exist.
                    if (await container.CreateIfNotExistsAsync())
                        // Enable public access on the newly created "images" container
                        await container.SetPermissionsAsync(
                            new BlobContainerPermissions
                                PublicAccess =
                                    BlobContainerPublicAccessType.Blob
                catch (Exception ex)
            }

    Hi,
    It seems there is something wrong with your code, from your code the account and key are the same, because their appsetting name are the same.
    string account = ConfigurationManager.AppSettings["StorageAccountName"];
    //string account = CloudConfigurationManager.GetSetting("StorageAccountName");
    //string key = CloudConfigurationManager.GetSetting("StorageAccountAccessKey");
    string key = ConfigurationManager.AppSettings["StorageAccountName"];
    string connectionString = String.Format("DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}", account, key);
    return CloudStorageAccount.Parse(connectionString);
    If you use CloudConfigurationManager.GetSetting, please consider set azure project as the startup project, if not, this value will be null, this resulted in solution being started as a web project that didn't run inside the Azure emulator. Since CloudConfigurationManager.GetSetting
    tries to get setting by contacting Azure (or Azure emulator in this case), and it is not running, it returns null.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • [SOLVED] The requested URL returned error: 403 Forbidden

    Hi guys
    (sory for my english
    I have a problem with packer -Syu
    the output:
    Proceed with installation? [Y/n] y
    Edit openbox-menu PKGBUILD with $EDITOR? [Y/n] n
    ==> Making package: openbox-menu 0.3.6.8-1 (Tue Feb 12 15:52:19 UTC 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
      -> Downloading openbox-menu-0.3.6.8.tar.bz2...
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    curl: (22) The requested URL returned error: 403 Forbidden
    ==> ERROR: Failure while downloading openbox-menu-0.3.6.8.tar.bz2
        Aborting...
    The build failed.
    for full detials:
    http://pastebin.com/Acq0uY78
    iam try another mirrors... but i get same problen
    i install tor (for use tsocks or torify) but its dont work in my country
    HELP ME PLZ
    thanks
    Last edited by tareef (2013-02-14 19:39:07)

    It's http://mimarchlinux.googlecode.com/file … .8.tar.bz2, just as the PKGBUILD says.
    Edit:
    If something is broken, you should ask on the AUR page for the maintainer to fix the PKGBUILD https://aur.archlinux.org/packages/openbox-menu/, but the PKGBUILD worked for me.
    tareef wrote:
    for full detials:
    http://pastebin.com/Acq0uY78
    iam try another mirrors... but i get same problen
    i install tor (for use tsocks or torify) but its dont work in my country
    openbox-menu is from the AUR and not from the repos, so changing mirrors won't do anything here. You might want to read on what AUR is and deal with the issues with the signatures first.
    Last edited by karol (2013-02-13 00:10:04)

  • WSRM messages stuck in PI with HTTP code:403 forbidden

    Hi Guys,
    We have interface from FILE to WS where file is being sent from third party system to ECC in which we are facing issue.
    This service uses HTTPS protocol and while creating the binding in ECC SOAMANAGER we have used communication security as "SSL over HTTP" whereelse in HTTP portocol "none" is selected.
    I have tested the wsdl url in browser and is working fine but while sending the message it throwing HTTP code: 403 forbidden error.
    Can you help me to resolve this issue?
    Thanks
    Aki

    HI,
      I have tested the wsdl url in browser and is working fine but while sending the message it throwing HTTP code: 403 forbidden error.
      Can you help me to resolve this issue?
         HTTP code: 403 forbidden error might occur The server understood the request, but is refusing to fulfill it
         Path sap/xi/engine not active
                 u2022 HTTP 403 during cache refresh of the adapter framework - Refer SAP Note -751856
                 u2022 Because of Inactive Services in ICF u2013Go to SICF transaction and activate the services. Refer SAP Note -517484
                 u2022 Error in RWB/Message Monitoring- because of J2EE roles u2013 Refer SAP Note -796726
                u2022 Error in SOAP Adapter - "403 Forbidden" from the adapter's servlet. u2013Because of the URL is incorrect or the adapter is not              correctly deployed.
    regards,
    ganesh.

  • Example Basicresponse: HTTP Error 403 - Forbidden

    Hi,
    i installed the developer edition of ocms.
    The eclipse plugin works fine.
    I was able to deploy the "thirdpartycallcontrol" and to access it via http://localhost:8888/tpcc.
    BUT
    the basicresponse example does not work. I can deploy it but on
    http://localhost:8888/basicresponse
    i get HTTP Error 403 - Forbidden
    Is this not accessible via webfrontend?
    How can i see if this is working? In the documentation the use case is missing....

    Hi HEWizard,
    Basicresponse is a SIP only application, hence it's not available via a web front end. It can be accessed via a test SIP testing tool such as sipp: http://sipp.sourceforge.net/
    Hope this helps,
    Adam

  • Error 403--Forbidden while trying to access servlet

              Hi All,
              I am very new to Weblogic server. I have downloaded the 6.1 version of Weblogic
              application server. I tried a simple example in which I have an HTML which calls
              a servlet. I have deployed it on weblogic server using auto deployment feature.
              But when I try to access the html form, it gives me the following error.
              Please can anybody suggest a solution to this problem?
              Thanks,
              Vani
              Error 403--Forbidden
              From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
              10.4.4 403 Forbidden
              The server understood the request, but is refusing to fulfill it. Authorization
              will not help and the request SHOULD NOT be repeated. If the request method was
              not HEAD and the server wishes to make public why the request has not been fulfilled,
              it SHOULD describe the reason for the refusal in the entity. This status code
              is commonly used when the server does not wish to reveal exactly why the request
              has been refused, or when no other response is applicable.
              

    The demo license limits access from browsers to three unique IP addresses.
              When accessed by a fourth IP address, WLS returns '403'. You should see a
              message in the log file about the demo license.
              Mike
              "Vani" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi All,
              > I am very new to Weblogic server. I have downloaded the 6.1 version of
              Weblogic
              > application server. I tried a simple example in which I have an HTML which
              calls
              > a servlet. I have deployed it on weblogic server using auto deployment
              feature.
              > But when I try to access the html form, it gives me the following error.
              >
              > Please can anybody suggest a solution to this problem?
              > Thanks,
              > Vani
              >
              > -----------------------------------------------------------------
              >
              > Error 403--Forbidden
              > From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
              > 10.4.4 403 Forbidden
              > The server understood the request, but is refusing to fulfill it.
              Authorization
              > will not help and the request SHOULD NOT be repeated. If the request
              method was
              > not HEAD and the server wishes to make public why the request has not been
              fulfilled,
              > it SHOULD describe the reason for the refusal in the entity. This status
              code
              > is commonly used when the server does not wish to reveal exactly why the
              request
              > has been refused, or when no other response is applicable.
              >
              > -----------------------------------------------------------------
              

  • I tried to access my website, but Firefox threw the error: 403 Forbidden, you don't have the permissions to view.

    My website - Mousenstein.com - is under construction w/Dreamweaver + Flash.
    I uploaded my files to my server.
    I opened Firefox and entered the URL:
    http://www.mousenstein.com
    The error "403 Forbidden" appeared, and ...
    You do not have the permissions to access.
    I have tried to upload my site countless times, but never successfully - it is a huge headache. That said, I have never gotten the "403 Forbidden - no permissions" before.
    All other failures threw the error "404, can not locate the URL "/" on this server.
    Any help will be enormously appreciated.
    P.S. : Are there permissions preferences on Firefox? I found one under Tools Menu, but it didn't seem to address my problem.
    Thanks

    I get the same thing with Firefox, IE8, Opera, and Safari. It isn't a Firefox only problem.
    Are you new to that webhosting service? <br /> Have you ever uploaded web pages to that same web hosting service previously, pages that worked after an upload? <br /> Are those pages listed as ''' "public" ''' pages in your web hosts control panel?
    My suggestion is to "download" your homepage and associated files & images from your PC, up to the server, using your web hosts control panel and see how that works.
    Beyond that, I suspect that you might have missed an important setting in Dreanweaver for uploading to the web host's server. You might try asking about this issue at a Dreamweaver support forum.

  • 403 Forbidden Error while trying to access External SharePoint site in SP 2010

    I am trying to access external Claims based SP site and trying to download the file from a doc library.
    I am receiving the 403 Forbidden error when executing the code.
    I am using SP 2010 and Client Object Model.
    PFB the code I am running.
    using (SPCOM.ClientContext clientContext = ClaimClientContext.GetAuthenticatedContext(siteURL))
    if (clientContext != null)
    clientContext.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
    clientContext.Load(clientContext.Web);
    clientContext.ExecuteQuery();
    SPCOM.Web web = clientContext.Web;
    clientContext.Load(web);
    clientContext.ExecuteQuery();
    using (SPCOM.FileInformation fInfo = SPCOM.File.OpenBinaryDirect(clientContext, item["FileRef"].ToString()))
    string fileName = (string)item["FileRef"];
    fileName = string.Concat(SaveLocation, fileName.Substring(fileName.LastIndexOf("/") + 1));
    //now save it
    using (System.IO.FileStream outPutFile = System.IO.File.OpenWrite(fileName))
    fInfo.Stream.CopyTo(outPutFile);
    fInfo.Stream.Close();
    I suspect the OpenBinaryDirect method ,
    I am also using Cookie based authentication I guess PFB the code for that.
    public static ClientContext GetAuthenticatedContext(string targetSiteUrl)
    return (GetAuthenticatedContext(targetSiteUrl, 0, 0));
    /// <summary>
    /// This method will return a ClientContext object with the authentication cookie set.
    /// The ClientContext should be disposed of as any other IDisposable
    /// </summary>
    /// <param name="targetSiteUrl"></param>
    /// <returns></returns>
    public static ClientContext GetAuthenticatedContext(string targetSiteUrl, int popUpWidth, int popUpHeight)
    CookieCollection cookies = null;
    cookies = ClaimClientContext.GetAuthenticatedCookies(targetSiteUrl, popUpWidth, popUpHeight);
    if (cookies == null) return null;
    ClientContext context = new ClientContext(targetSiteUrl);
    try
    context.ExecutingWebRequest += delegate(object sender, WebRequestEventArgs e)
    e.WebRequestExecutor.WebRequest.CookieContainer = new CookieContainer();
    foreach (Cookie cookie in cookies)
    e.WebRequestExecutor.WebRequest.CookieContainer.Add(cookie);
    catch
    if (context != null) context.Dispose();
    throw;
    return context;
    If anyone has an idea of why is this happening, pls help me. 
    Thanks,
    K.V.N.PAVAN

    Hi,
    Please try to add following line of code before you initialize cookie container.
    e.WebRequestExecutor.WebRequest.UserAgent = “Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)”;
    http://razirais.wordpress.com/2011/05/19/how-to-fix-sharepoint-online-403-forbidden-error-while-downloading-files-using-client-object-model/
    Or change the following line of code
    clientContext.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
    to
    clientContext.Credentials=new NetworkCredential("Username", "Passworkd", "Domain");
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • HTTP Error 403 - Forbidden on Cisco ISE and SCEP RA

    Dear Experts,
    We are in process of deploying ISE 1.2 in our environment for BYOD.
    The initial step of this process is to configure ISE as an SCEP Proxy and it requires certain configuration on the local CA. We have done all the required configurations on the local CA server.
    Now, when we try to connect ISE with the local CA using SCEP RA Profiles, it gives "HTTP Error 403 - Forbidden". The URL we are using is http://ipaddress/certsrv/mscep/mscep.dll.
    It seems that the local CA is not letting the ISE access the mscep.dll file. Now I dont understand how to allow ISE to access this file or the url. Please advise if there is any step by step process guide. Although, I have followed the ones from Cisco but it doesn't state how to give ISE the required rights for accessing mscep.dll.
    Thanks in advance.
    Jay

    Jay,
    You should use this URL:
    https://ipaddress/certsrv/mscep
    If you try to get the cert from an http address, you will get an error.  You should be using https.  Also, the mscep.dll should not be part of the URL.
    You can test this connectivity from any browser by putting that URL in the sddress bar.  You should see a page similar to this:
    Please Rate Helpful posts and mark this question as answered if, in fact, this does answer your question.  Otherwise, feel free to post follow-up questions.
    Charles Moreton

  • HTTP Server Error - 403 Forbidden

    Hi all
    i was checking the performance of my application server, in HTTP Server (AS instance, not infrastructure instance)
    HTTP Server error rate is high, drilling down if found that i have an unusual number of 403 - Forbidden errors.
    In the access.log of http server i found the following:
    10.42.40.73 - - [05/Apr/2006:15:13:43 +0100] "OPTIONS /cotacoes/ HTTP/1.1" 403 119 10.42.48.237
    10.42.40.73 - - [05/Apr/2006:15:13:43 +0100] "OPTIONS /cotacoes/ HTTP/1.1" 403 119 10.42.48.237
    10.42.40.73 - - [05/Apr/2006:15:13:43 +0100] "OPTIONS /cotacoes/ HTTP/1.1" 403 119 10.42.48.237
    10.42.40.73 - - [05/Apr/2006:15:13:43 +0100] "OPTIONS /cotacoes/ HTTP/1.1" 403 119 10.42.48.237
    10.42.40.73 - - [05/Apr/2006:15:13:43 +0100] "OPTIONS /cotacoes/ HTTP/1.1" 403 119 10.42.48.237
    10.42.40.73 - - [05/Apr/2006:15:13:43 +0100] "OPTIONS /cotacoes/ HTTP/1.1" 403 119 10.42.48.237
    10.42.47.237 is the ip of the Application Server
    /cotacoes is the path to an application that is deployed in OC4J ( this application is built with B4CJ framework)
    i have asked the programming team to find the piece of code that was generating an OPTIONS request to the server, they could not find any reference to an OPTIONS request in all application code.
    Is it some configuration in OC4J container ? or some option in BC4J ??
    my environment:
    Oracle Application Server 9.0.4
    Hp proliant dl580 server
    Windows 2003 enterprise server
    Best Regards
    Rui Madaleno

    I spoke again to my local Nokia dealer and they say the problem is in my Exchange user.
    My IT people say that my user is exactly the same as the rest of the people in the company…
    Can anyone think of a solution???

Maybe you are looking for