Getting 'access is denied' error when access Flight Example sample gateway service

Hi All, Greetings! I am new to SAPUI5. I am getting 'Access is denied' when trying to load data from the sample gateway service (Flight Example). Please help.
Here's the entire code:
view1.view.js
sap.ui.jsview("ui5_proj09_flightdemo.view1", {
      getControllerName : function() {
         return "ui5_proj09_flightdemo.view1";
      createContent : function(oController) {
     var serviceURL = "https://sapes1.sapdevcenter.com/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT/";
     var readRequestURL = "/FlightCollection(carrid='AA',connid='0017',fldate=datetime'2013-05-01T00:00:00')/?$format=xml";
       var loginoDataModel = new sap.ui.model.odata.ODataModel(serviceURL, true, "my_sapes1_userid", "my_sapes1_pwd");
       alert("Before Service Call");
       loginoDataModel.read(readRequestURL, null, null, false, 
                   function(oData, oResponse) {
                  alert("Success");
                         var result = oData.results;
                         alert(result.length);
                         if(result.length > 0){
                             webmodel.setData({modelData: result});
                             table.bindRows("/modelData");
                   function(oError){
                         alert("Error::"+oError.message); //getting 'access is denied' error message popup at this line
       alert("After Service Call");
          var oTable = new sap.ui.table.Table( {
  id : "oTableid", // sap.ui.core.ID
  width : "auto", // sap.ui.core.CSSSize
  rowHeight : undefined, // int
  columnHeaderHeight : undefined, // int
  columnHeaderVisible : true, // boolean
  visibleRowCount : 10, // int
  firstVisibleRow : 0, // int
  selectionMode : sap.ui.table.SelectionMode.Single // sap.ui.table.SelectionMode
  //Define the columns and the control templates to be used
  var oColumn = new sap.ui.table.Column({
  label: new sap.ui.commons.Label({text: "City From"}),
  template: new sap.ui.commons.TextField().bindValue("cityFrom"),
  sortProperty: "lastName",
  filterProperty: "lastName",
  width: "200px"
  oTable.addColumn(oColumn);
  var oColumn2 = new sap.ui.table.Column({
  label: new sap.ui.commons.Label({text: "City To"}),
  template: new sap.ui.commons.TextView().bindProperty("text", "cityTo"),
  sortProperty: "firstName",
  filterProperty: "firstName",
  width: "200px"
  oTable.addColumn(oColumn2);
// oTable.bindRows("/modelData");
  oTable.placeAt("content");
index.html
<!DOCTYPE HTML>
<html>
       <head>
              <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <script src="resources/sap-ui-core.js"
                      id="sap-ui-bootstrap"
                      data-sap-ui-libs="sap.ui.commons,sap.ui.table,sap.ui.core"
                      data-sap-ui-theme="sap_goldreflection" >
              </script>
              <!-- add sap.ui.table,sap.ui.ux3 and/or other libraries to 'data-sap-ui-libs' if required -->
     <script>
          sap.ui.localResources("ui5_proj09_flightdemo");
                     var view = sap.ui.view({id:"idview11", viewName:"ui5_proj09_flightdemo.view1", type:sap.ui.core.mvc.ViewType.JS});
            view.placeAt("content");
     </script>
       </head>
       <body class="sapUiBody" role="application">
              <div id="content"></div>
       </body>
</html>
Regards,
Sai

Hi Sai,
You can refer my blog How to create SAPUI5 application consuming Gateway service with the help of SAP NW Gateway Plug-in for Eclipse
Please go though it and see if it helps you to resolve this issue.
Regards,
Chandra

Similar Messages

  • "SCRIPT5: Access is denied" error when accessing web sites using LocalStorage

    We are having an issue with Internet Explorer 10 affecting users on a number of our Windows 8 workstations. When a user visits a web site that uses the Local Storage feature of HTML5, the page is not displayed correctly. For example, if you visit this page:
    http://jsfiddle.net/xFtQR/
    You should see text in the grey boxes in the lower-right hand corner if everything is working. For the affected users, nothing is displayed. In addition, if you open the F12 Developer Tools and reload the page, the following error message is displayed: "SCRIPT5:
    Access is denied.". It appears the LocalStorage feature is broken for these users.
    From the troubleshooting I've done so far, I've determined that this issue does not affect the Local Administrator account on these computers, but it does affect any domain user and any new local user I create, whether the local user is in the Administrators
    group or not. This leads me to believe the issue may be related to the default user profile in the image that was applied to these computers.
    Other observations:
    Performing a complete reset of Internet Explorer settings (from Tools > Internet Options... > Advanced) does not resolve the issue
    These sites do work correctly after turning off Protected Mode for the Internet Zone (from Tools > Internet Options... > Security) 
    These sites also work correctly when InPrivate Browsing is turned on
    I've tried using Process Monitor to determine whether access is being blocked to a folder. On a working computer, iexplore.exe creates a file within a folder at C:\Users\username\AppData\LocalLow\Microsoft\Internet Explorer\DOMStore. I can't see
    anything on an affected computer that would prevent IE from creating this folder, as the security settings on the folder all appear to be correct.
    The location of this folder appears to be stored in the registry at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\LowCache\Extensible Cache\DOMStore. I've tried copying this key from a working computer and blanking
    it out entirely to have IE recreate it, but neither resolved the issue. I've even gone as far as to try and compare an export of the registry from the default user profile from a working system and an affected system but I haven't been able to pinpoint any
    differences which I thought might be relevant.
    I've tried the "Internet Explorer Performance" and "Internet Explorer Safety" troubleshooters in the Control Panel.
    Here are some links to articles on other sites which make reference to the same (or a similar) issue:
    http://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/ie10-script5-access-is-denied/e87bdb30-7f2a-4510-bfa3-a22b995f777b
    http://community.spiceworks.com/topic/357825-ie10-script5-access-is-denied
    https://github.com/meteor/meteor/issues/1291
    Unlike these other cases, deleting an affected user's profile does not resolve the issue (further bolstering my theory that the issue is due to an issue in the default profile in my case).
    Thanks in advance for any assistance anyone can provide!

    With some excellent detective work by Microsoft Product Support (thanks Siddarth!), the solution has been found.
    It turns out that in addition to the security settings on a folder, there is an integrity setting. More information about it is
    here.
    The integrity setting on the AppData\LocalLow folder in each user's profile is supposed to be set to "Low" (hence the name, presumably). In our case, the integrity level was not set correctly on this folder. To rectify the problem, we will need
    to run the following command under each user's profile (with a login script, for example):
    icacls %userprofile%\Appdata\LocalLow /t /setintegritylevel (OI)(CI)L
    As for how this incorrect setting was propagated in the first place, it is because the LocalLow folder in the C:\Users\Default\Appdata folder in our customized OS image had the wrong setting. The C:\Users\Default folder is the template for a new user profile,
    so each new user on these computers was affected. I examined the C:\Users\Default\AppData folder on another machine without a customized user template and found the LocalLow folder is not present at all, so in our environment we will be deleting the C:\Users\Default\AppData\LocalLow
    from each machine to prevent the issue from affecting future new users.
    EDIT: If the command above does not resolve the issue, the registry key that points to the low integrity DOMStore folder may have been changed. Check the
    CachePath registry value at HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\LowCache\Extensible Cache\DOMStore. It should be
    %USERPROFILE%\AppData\LocalLow\Microsoft\Internet Explorer\DOMStore.

  • Access is denied error when launching HFM based Financial Reports

    When attempting to run Financial Reports where the data source is an HFM application, users sometimes get the following error(s):
    Access is denied
    <BR>Access is denied
    Sometimes the error is more detailed:
    1001:datasourcename=HOLX;errorMsg=Access is Denied. <BR>Access is denied. (The more detailed error is followed by references to POV members display names and member names, etc.)
    The error is intermittent and cannot be easily reproduced. Sometimes users get it for hours at a time, other times they can log out and log back in and run the report fine. The users are running the reports via Workspace.
    We are running the following versions, and Web Logic is our application server.
    HFM Server: 9.3.1.3
    Workspace: 9.3.1.0
    Financial Reports: 9.3.1.0
    I did increased the JVM heap size allocation on the Reports server from:
    -Xms512m
    -Xmx1024m
    to
    -Xms768m
    -Xmx1280m
    That setting change appears to have made the issue not appear as frequently, but it is still occurring. I may have bandwidth to increase the heap size limits to 1024 and 1536.
    Any advice and / or help would be appreciated! The fact that I cannot easily reproduce the error and the lack of references to it in the application logs are making it very frustrating!

    We had gotten this exact same error with some users getting it, some not getting it, and other users getting it sometimes.
    We were told it happened when a certain number of users are in HFM reports at the same time.
    To fix it you need to do the following on the HFM production servers (Foundation/Core Servers, Application Servers, and Web Servers)
    Apply registry changes to prod servers:
    On the server click Start, click Run, type regedit, and then click OK
    Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Rpc
    Click the Edit menu, point to New, and then click DWORD Value.
    Type Server2003NegotiateDisable as the name of the new DWORD Value
    Right-click Server2003NegotiateDisable, and then click Modify.
    In the Value Data box, type 1, and then click OK.

  • Getting HTTP 403/500 errors when accessing SharePoint 2010 pages

    Hi,
    I'm getting intermittent HTTP 403/500 errors when accessing SharePoint Foundation 2010 pages.
    When it happens, any SharePoint pages I access I get a HTTP 403 error (example: /sites/test/default.aspx) . If I don't specify a page, I get a HTTP 500 error (example: /sites/test/). What's odd is that I have non-SharePoint .NET applications running on the
    same server under the "_layouts" directory and those still work just fine.
    After recycling the IIS application pool, it starts to work again, but sometime won't stay up very long.
    Does anyone encounter this problem before?
    TIA
    Also, I'm hoping to understand what the "Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo" method does to help me track down this issue. If you have any info on what the above method is doing, I really appreciated.
    EVENT LOG
    Nothing
    ULS LOG
    System.Runtime.InteropServices.COMException: Cannot complete this action.  Please try again.   
     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts,
    Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent,
    Byte& pVerGhostedSetupPath, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags,
    Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder)  
     at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts,
    Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent,
    Byte& pVerGhostedSetupPath, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags,
    Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder)

    These are the associated lines in the ULS.
    01/07/2014 02:59:24.33    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    Logging Correlation Data    xmnv    Medium    Name=Request (GET:https://XXXXXXXXXXXXXXXXXXXXX)  
     e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.48    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    General    8kh7    High    Cannot complete this action.  Please try
    again.    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.48    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    Monitoring    b4ly    High    Leaving Monitored Scope (PostResolveRequestCacheHandler).
    Execution Time=6.79828022835305    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.48    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    Runtime    tkau    Unexpected    System.Runtime.InteropServices.COMException:
    Cannot complete this action.  Please try again.    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32
    iRequestVersion, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid&
    pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, Byte& pVerGhostedSetupPath, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl,
    Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies,
    Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder)     at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet,
    String bstrCurrentFolderUrl, Int32 iRequestVersion, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage,
    String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, Byte& pVerGhostedSetupPath, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders,
    String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32&
    pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder)    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.48    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    General    8kh7    High    Cannot complete this action.  Please try
    again.    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.48    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    General    8kh7    High    Cannot complete this action.  Please try
    again.    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.50    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    General    8kh7    High    Cannot complete this action.  Please try
    again.    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.50    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    General    8kh7    High    Cannot complete this action.  Please try
    again.    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.50    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    General    8kh7    High    Cannot complete this action.  Please try
    again.    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.50    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    General    8kh7    High    Cannot complete this action.  Please try
    again.    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.50    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    General    8kh7    High    Cannot complete this action.  Please try
    again.    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.50    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    General    8kh7    High    Cannot complete this action.  Please try
    again.    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.51    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    General    8kh7    High    Cannot complete this action.  Please try
    again.    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.51    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    General    8kh7    High    Cannot complete this action.  Please try
    again.    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    01/07/2014 02:59:24.51    w3wp.exe (0x1988)    0x10A4    SharePoint Foundation    Monitoring    b4ly    Medium    Leaving Monitored Scope (Request (GET:https://XXXXXXXXXXXXXXXXXXXXX)).
    Execution Time=187.132582493026    e8e08e76-1b88-4913-bce6-b9300e7b63f6
    Thanks,

  • Pls help, (Access is denied) error when file upload to a local directory

    Hi, I've been stuck on this for the past few days and I am quite new at developing web application.
    Here is the problem that I am having, I don't know why it keeps on saying "access is denied" when I can see that the file is uploaded to the directory. I am developing a JSP page file upload using Jakarta Fileupload v1.2. However, every time when I try to upload a file to a local path (e:\temp) on the server I keep getting this problem. I even try looking into the server.policy file on glassfish but no luck, your help is appreciated thanks
    Here's the log after file upload, note: I can see the file being uploaded in the e:\temp but why does it keep telling me the error?
    I'm using netbean 5.5.1 and glassfish v2
    Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context '/TestReport'
    java.io.FileNotFoundException: e:\temp (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at org.apache.commons.fileupload.disk.DiskFileItem.write(DiskFileItem.java:390)
    at org.apache.jsp.ProcessFileUpload_jsp._jspService(ProcessFileUpload_jsp.java:83)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:80)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:818)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:464)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:358)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:818)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:345)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)

    Hi, I've been stuck on this for the past few days and
    I am quite new at developing web application.
    Here is the problem that I am having, I don't know
    why it keeps on saying "access is denied" when I can
    see that the file is uploaded to the directory. I am
    developing a JSP page file upload using Jakarta
    Fileupload v1.2. However, every time when I try to
    upload a file to a local path (e:\temp)Hi there,
    Typically in a Web Container, applications are deployed to a folder called webapps (this is the case in Tomcat, I'm not sure about Glassfish)
    So the directory structure is something like C:/Tomcat/webapps/MyApplication/other folders......
    When you upload a file , you normally can upload it only to a folder under your application and not to a folder outside the application.
    First you can try to upload the file to a folder under the webapp and not outside the webapp, once you get that to work --- then internally in the Servlet you can write code to save the file to any directory on the server, but the Servlet must be located on the server.

  • SOLVED: Getting an Input/Output error when accessing certain files

    My system started failing a few days ago because of sudden Input/Output errors when trying to access certain files. It was running fine until various applications started crashing like for example Pidgin (in retrospect probably because of DBus crashing). I decided to reboot and now can't login anymore because the DBus module fails to load which in turn means that HAL doesn't load either and so I can't use my keyboard to login.
    The error message I get from DBus is that it can't access the file /etc/dbus-1/system.d/org.freedesktop.PolicyKit.conf because of an Input/Output error. I tried to fix/see what was wrong using the arch livecd. Because I thought my problem had to do with a pacman update that had failed before I'd rebooted, I updated my system and I noticed that when pacman tried to access other files it came back with the same error message. The files seemed pretty random, one of them was fakeroot.conf and then several library files like libfaad (sorry this is kind of vague but I'm away from home right now and can't go online very often so I'm writing this from memory).
    I'm guessing its a hard drive problem because checking the filesystem for errors came back with nothing. I was just wondering whether anyone had any other ideas before I go and reinstall. I'm going back home tomorrow so I'll be able to follow any advice/reinstall then.
    Last edited by siell (2010-04-08 17:01:37)

    UPDATE
    It seems to be fixed! The second run of e2fsck fixed some more issues and the files that were causing the problems earlier seemed to have bad inodes. Boots fine now and I can get into my system. I checked and I still have a reasonable amount of free space so I don't think that was the reason ... I have no idea how the filesystem got so corrupted out of nowhere.
    A few things are different, for example, it asked me to unlock the keyring and I couldn't mount my external encrypted drive anymore and had to do it manually with cryptsetup. e2fsck made quite a few changes so I imagine it's due to that. Shouldn't be to hard to fix though.
    Thanks for your help!

  • Access is denied Error while accessing WPC webpage

    Hello,
    I am getting following error while trying to access a web page created through Web Page Composer. I am able to access correctly if I assign WPC role to user but I don't want assign this to user as I want it to be read only for this user.
    Please help.
    #1.5 #0019B9E818EB006A0000009000000178000451E63DC00C48#1215949227398#com.sap.nw.wpc.runtime.ContainerComponent#sap.com/irj#com.sap.nw.wpc.runtime.ContainerComponent#employee1#9368##n/a##7cb0479050d011ddabce0019b9e818eb#SAPEngine_Application_Thread[impl:3]_13##0#0#Error##Plain###Error creating node Access is denied: com.sap.nw.wpc.runtime.DropTargetComponent - user: Johnson, Terry#
    #1.5 #0019B9E818EB006A0000009100000178000451E63DC00ED2#1215949227398#com.sap.nw.wpc.runtime.AbstractDisplayComponent#sap.com/irj#com.sap.nw.wpc.runtime.AbstractDisplayComponent#employee1#9368##n/a##7cb0479050d011ddabce0019b9e818eb#SAPEngine_Application_Thread[impl:3]_13##0#0#Error##Java###Can not get node for component from the request, Access is denied: com.sap.nw.wpc.runtime.DropTargetComponent - user: Johnson, Terry
    [EXCEPTION]
    #1#com.sap.nw.wpc.runtime.WcmRuntimeException: Access is denied: com.sap.nw.wpc.runtime.DropTargetComponent - user: Johnson, Terry
         at com.sap.nw.wpc.runtime.ContainerComponent.getNodeForComponent(ContainerComponent.java:317)
         at com.sap.nw.wpc.runtime.AbstractDisplayComponent.doOnPOMReady(AbstractDisplayComponent.java:185)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:396)
         at com.sapportals.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:703)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)
         at com.sapportals.portal.prt.pom.PortalNode.processEventQueue(PortalNode.java:799)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:652)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         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:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    regards,
    Jaish

    Hi,
    No WPC role should (not compulsory)  be given to user if he / she wants to use web page created in WPC.
    create a custom role, under which add a work set and add your web pages to this workset. thats it. and give this custom role to your user.
    here is everything on WPC (creating wpc worksets, roles, showing them to end users) all... including video presentations...
    Web Content Management: Web Page Composer in SAP NetWeaver Portal
    hope this will solve your problem
    regards,
    Pradeep
    Edited by: pradeep bondla on Jul 14, 2008 12:41 PM

  • Farm Account gets Access Denied error when accessing SharePoint Subsites after Account was deleted and recreated in Active Directory .

    A SharePoint Domain Account(farm admin account) was deleted and recreated with the same absolute credentials in AD due to this i cannot navigate to certain sites, not even able to edit web parts and cant view site actions menu.
    The account has full permissions across the site and is a site admin.
    I have tried to import the old login to the new login 
    stsadm -o migrateuser-oldlogin <domain\name>-newlogin <domain\name> [-ignoresidhistory]
    But this did not help as it didnt resolve  the SID's issues.
    I couldn't restore the deleted object(AD acc) too.
    Is there a way that i can use to get this account to work again?
    There option of creating a new domain accout and give it full permissions is not recommened by the client.
    So i must find a to get this account to work again.
    Thank you in Advance.
    Calvin

    Hi,
    I would have a look in Active Directory first. Because a new account can't have same IDs that an old one, your new account can't be used instead of the old one, even if login, password and group memberships seems to be set all the same.
    If your forest functionnal level is 2008R2 or more, and if Active Directory Recycle bin has been enabled, you can probably restore the deleted account.
    you can find the way to restore a deleted account here :
    https://technet.microsoft.com/en-us/library/dd379509%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396
    If your forest is set to a previous functionnal level or the recycle bin is not enabled, you could give a chance to authoritative restore, as described here :
    https://technet.microsoft.com/fr-fr/library/cc816878(v=ws.10).aspx
    hope it helps
    Sébastien

  • Window.open in IE with URL "file:///" results in "Access is Denied" error

    Hi All:
    In a JSP, which gets launched with HTTP or HTTPS protocol, we have a link to open/view the file(attached from local PC) after it gets uploaded to the server. We used the "file:" protocol to open it in a new window. Currently we are stuck with a problem. We are getting "Access is denied" error when trying to click the link in IE 6.0. It used work in XP until SP1. And we read that starting with SP2 this problem is occurring and it is coming because of the change in Protocol (lauching a window using "file" protocol from a page lauched with HTTP(S) protocol).
    We did some research over the NET but could not find a solution to overcome it. Could you please share with us if you have any ideas or soultions with us. It will greatly help us to proceed. Appreciate any help in this regard.
    Thanks in advance...
    -Shiva

    Thanks for the reply.
    But it will be simpler to open the attachement from the local directory from where it got selected for uploading. We have been doing this until we hit this roadblock.
    Any solutions to over come ??

  • I get an access denied error when logging into extension builder 2.1 on Flash Builder 4.6

    I get an access denied error when logging into extension builder. The error is: You are not eligible to use CSIDE1 services due to the Service Eligibility Requirements.. Very frustrating since there is no other option than to read the adobe legal docs.
    Before this started happening I was prompted to put in my birthday (WHO KNOWS WHY ADOBE NEEDS MY BIRTHDAY). I filled it in wrong and now this....
    PLEASE HELP

    Ok this problem is fixed.
    Info for anyone else who faces this problem.
    Apparently when adobe designed the extension builder installer package, they decided to get cute and try to figure out what version of the software, the extension builder package files should be installed into. So if you have FB4, FB4.6, and FB.7 there is no telling where it will go. Also if you try moving these folders somewhere else out of the applications directory, the installer will still find them on the system. I finally figured this out by watching my system log and seeing
    11/22/13 12:13:46.258 AM cp[70909]: Cannot make directory /Applications/Adobe Flash Builder 4.6/Adobe Flash Builder 4.6.app
          Location: /Users/myuser/Downloads/Adobe Flash Builder 4.6-adobegarbage/plugins/com.adobe.cside.ui_2.1.0.201304282312/icons: No such file or directory
    After removing every single instance of places the package installer was trying to use. It finally resolved to the correct FB4.6 location. Why adobe could'nt spend a little extra time add a destination selector in the package installer is beyond me, but hey i only wasted 3 days trying to figure this out.... Sadly it isnt the first time i've wasted copius amounts of time fighting Flashbuilder problems.
    Halligrimur, thank you for your help. It did lead to me solving the problem.

  • Access denied error when starting DIAdem from LabVIEW

    We are using the DIAdem Connectivity Toolkit in our application.  Our application starts a DIAdem session to handle querying and datasheet creation.  On a recent installation at a customer, our application was not able to communicate with DIAdem, i.e. we get an Access Denied error when our application tries to start up DIAdem.
    The location of the error is in the DIAdem Open Connection.vi.  I believe it is when the Automation Open is run.
    Is there some system setting that could be blocking communication between the two, i.e. ActiveX setting, etc?  If so, where could we control these settings from?

    Hello Derrick,
    While cBauer is away from the office, I will be working with this case on his behalf.  I will try to answer your questions as best I can to determine what might be causing this failure.
    1. The error which we encounter is an "Access Denied" error (as stated above).  I am currently investigating the error code, and will update this post accordingly when I have it.
    2. Our application is a built (.exe) application using LabVIEW 8.5 and DIAdem 10.2
    3. We do not install the toolkit directly on the customers machine as this is a built application.  We install the FULL LabVIEW 8.5 Runtime engine, as well as a licensed copy of the DIAdem 10.2 Basic edition.
    4. The error occurs in run-time environment at a customer site.  We have been unable to duplicate the error in development.
    5. We're using the "DIAdem Open Connection.vi" from the DIAdem.dll library to initialize the connection (this is the VI which appears to be producing the error via the "Automation Open" node), and we're using the "DIAdem Close Reference.vi" from the same library to close the reference.
    6. I will instrument a simple application which performs these tasks and post the results when we have tried this operation.
    7. I am unsure whether the repair operation has been attempted.  I will verify this behavior and again post the results to this forum.
    Thank you for your help.  Please let me know if you require additional information.  Hopefully we can discover a solution to our problem.
    Ken

  • Access Denied Error when Installing Suitcase

    I am encountering an Access Denied Error when installing Suitcase X1 on a 600 MHz G3 ibook running 10.4.3 with all updates and it gets to 2 items remaining to be installed and I get access denied error and then another screen pops up and says "You do not have enough access privileges for this installation". I am logged in as an administrator, I tried creating a new Administrator account, I have repaired permissions, I have tried downloading a new file, all with no luck and now I am stuck. Any ideas?
    G3 Pismo, G4 Desktop   Mac OS X (10.4.3)  

    Hi,
    Firstly, please let us know if it is a workgroup or domain environment.
    Also, please let us know more details about the configurations of the server and clients.
    Meanwhile, you can check the settings by referring to the following:
    Allow someone to connect to your computer using Remote Desktop Connection
    http://windows.microsoft.com/en-HK/windows7/allow-someone-to-connect-to-your-computer-using-remote-desktop-connection
    Remote Desktop Connection: frequently asked questions
    http://windows.microsoft.com/en-hk/windows/remote-desktop-connection-faq#1TC=windows-8
    If issue persists, please provide us the unedited error message or screenshot for further research.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • I keep getting script errors when accessing Amazon Seller merchant pages. I get the following A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script

    I keep getting script errors when accessing Amazon Seller merchant pages. I get the following A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script: chrome://spautofill/content/spOverlay.js:150, I also get js210 as well. I have cleared all cookies and history and unistalled Firefaox and reinstalled. Been thru my AVS and set the site as trusted in every possible place. Still get the problem. Do not get it with IE on same PC.
    == URL of affected sites ==
    https://sellercentral.amazon.co.uk

    Same problem but with a different vendor site:
    https://www.webvitamins.com/myfavorites.aspx
    Not only does the page hang, but the other tabs also hang.
    I contacted the vendor and their reply was "we were told that this looks like a script that is used by "Sticky Password", third-party software that must have been installed on your browser. However, our website did not install it and does not have anything to do with it." As far as I can tell, "Sticky Password" is not installed on my Firefox.
    Same problem as above occurs, but with IE 8.0.6001.18702. Therefore, it is not unique to Firefox.
    CAUSE DETERMINED: Have determined that this problem only occurs when Kaspersky Password Manager is installed. In Firefox, if the "Password Manager Autofill Engine" add-on is disabled, the problem goes away.

  • I get a 404 error when accessing my website which is supported by Apple.  The message says that the server can't find my page.  My browser is Safari.  How can I fix this when it just stopped working today?

    I get a 404 error when accessing my website which is supported by Apple.  The message says that the server can't find my page.  My browser is Safari.  How can I fix the problem when it failed just today?

    If you uploaded to MobileMe, it's no longer available. Apple's closed MobileMe and stopped offering web hosting.
    (116252)

  • I get a 404 error when accessing my website which is supported by Apple.  The message says that the server can't find my page.  My browser is Safari.  How can I fix this?

    I get a 404 error when accessing my website which is supported by Apple.  The message says that the server can't find my page.  My browser is Safari.  How can I fix this?

    If you uploaded to MobileMe, it's no longer available. Apple's closed MobileMe and stopped offering web hosting.
    (116252)

Maybe you are looking for

  • "No disk in the drive" error when iTunes attempts to sync

    When I connect my iPod to Windows XP, it syncs initially. Once the update is completed, the iPod screen returns to normal and all is well...until I attempt to update the iPod again. It gives me this error: <" Yes, there is a space between "drive" and

  • Macbook pro mid 2011 video card problems

    Hi. I have a Macbook pro late 2011 and a have problems with my graphic card. I read 150 pages about this problem in apple forum, but don't receive any solutions to resolve a problem.

  • How to clear customer credit memo

    Hi Expert, I have a opne credit memo for my customer. Now i have to clear this open invoice. What is the exact procedure for doing this. Shall i direcetly go in F-32 and clear it agiainst open item ?? Regards.

  • Need help urgent in PL/SQL or SQL

    I have table like TIMESTAMP SID 11/12/2008 1:25:02 PM 10 11/12/2008 1:25:02 PM 20 11/12/2008 1:25:02 PM 30 11/12/2008 1:30:02 PM 10 11/12/2008 1:30:02 PM 40 11/12/2008 1:35:00 PM 40 11/12/2008 1:35:00 PM 50 11/12/2008 1:35:00 PM 60 11/12/2008 1:35:00

  • SAP E-Commerce 7.0 and Guest Checkout

    Hi, I searched through the forums here on the sdn and also through teh web in general looking for information on implementing Guest Checkout functionality for SAP E-Commerce 7.0. We are looking at adding in Guest Checkout functionality and before we