Problem reading content link from repository

Hi
I stored some html link & images in the content repository.I am able to show them
in my jsp page(one by one).After that if i click the any of the displayed links,
i am getting following error messages.Can u help me this one ?
Here i enclosed code & error message..
1) www.google.com
2) www.yahoo.com
3) www.groups.vandana.com
thanks
vandana
<%
String query = "html_nodename='dynamic'";
%>
<cm:search id="nodes" query="<%=query%>" />
<ol>
<utility:forEachInArray array="<%=nodes%>" id="node" type="com.bea.content.Node">
<li>
<a href="<%=request.getContextPath()%>/ShowProperty/<cm:getProperty  name=html_path"
id="node" conversionType="url"/>">
Link: <cm:getProperty id="node" name="html_path" conversionType="html"/>
</a></li>
</utility:forEachInArray>
</ol>
<Jul 1, 2004 3:20:52 PM PDT> <Error> <ContentManager> <BEA-415474> <Error gettin
g Node. Repository: www.google.com ID: /www.google.com
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1474)
at java.lang.String.substring(String.java:1447)
at com.bea.content.PathHelper.removeFirst(PathHelper.java:168)
at com.bea.content.manager.internal.NodeOpsImpl.getNode(NodeOpsImpl.java
:413)
at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPr
opertyServlet.java:185)
at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPrope
rtyServlet.java:80)
at com.bea.content.manager.servlets.ShowPropertyServlet.doGet(ShowProper
tyServlet.java:72)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:402)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
r.java:313)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6356)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
<Jul 1, 2004 3:20:52 PM PDT> <Error> <HTTP> <BEA-101020> <[ServletContext(id=127
94003,name=cwasWeb,context-path=/cwasWeb)] Servlet failed with Exception
com.bea.content.RepositoryRuntimeException: Error getting node. Repository: www.
google.com Node id: /www.google.com
at com.bea.content.manager.internal.NodeOpsImpl.getNode(NodeOpsImpl.java
:434)
at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPr
opertyServlet.java:185)
at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPrope

Thank you Julian.
So how do i get rid of it.
Warm Regards
ganga

Similar Messages

  • Problem connecting DataBase Link from windows oracle to oracle on Linux

    I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
    I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
    CREATE DATABASE LINK SampleDB
    CONNECT TO myuser IDENTIFIED BY password
    USING 'sample';
    The tns names entry on windows for database in Linux server is as follows
    DSOFT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sample)
    But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
    SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
    12154. 00000 - "TNS:could not resolve the connect identifier specified"
    *Cause:    A connection to a database or other service was requested using
    a connect identifier, and the connect identifier specified could not
    be resolved into a connect descriptor using one of the naming methods
    configured. For example, if the type of connect identifier used was a
    net service name then the net service name could not be found in a
    naming method repository, or the repository could not be
    located or reached.
    Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?

    1005745 wrote:
    I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
    I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
    CREATE DATABASE LINK SampleDB
    CONNECT TO myuser IDENTIFIED BY password
    USING 'sample';
    The tns names entry on windows for database in Linux server is as follows
    DSOFT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sample)
    But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
    SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
    12154. 00000 - "TNS:could not resolve the connect identifier specified"
    *Cause:    A connection to a database or other service was requested using
    a connect identifier, and the connect identifier specified could not
    be resolved into a connect descriptor using one of the naming methods
    configured. For example, if the type of connect identifier used was a
    net service name then the net service name could not be found in a
    naming method repository, or the repository could not be
    located or reached.
    Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?A database link is acting as a client to the target, remote database in exactly the same fashion and using exactly the same tns infrastructure as any other client trying to connect to that remote database. your ORA-12154 when querying a db link means exactly the same as if you had gotten it trying to connect with sqlplus, from the same server. Check the link SB provided. Keep in mind that the tnsnames file of concern is the one on the source database server.

  • When I try to share a project to theater I get the message Your Theater could not be opened.There was a problem reading your movies from iCloud and the project does not share. Can anyone help?

    When I try to share a project to theater I get the message Your Theater could not be opened.There was a problem reading your movies from iCloud and the project does not share. Can anyone help?

    Set up iMovie Theater and iCloud
    In order to take full advantage of the capabilities of iMovie Theater, you must be signed in to iCloud. If you are signed in to iCloud, movies and trailers shared to iMovie Theater are automatically uploaded to iCloud. You can also turn off automatic uploading, and upload just the movies and trailers you want, or delete individual movies and trailers from iCloud. For more information about the Theater, see iMovie Theater overview.
    If you sign out of your iCloud account on your Mac, all iCloud movies disappear from the Theater, but they are not deleted; the movies reappear when you sign in again. If you ever run out of space in iCloud, an alert icon appears in the top-right corner of your movie, indicating that you can’t upload new movies. For more information, click the icon. After you upgrade your iCloud storage or clear space, your movies automatically appear in iCloud again.
    Hide
    Set up automatic iCloud uploading
    Choose Apple menu > System Preferences, and click iCloud.
    Make sure you’re signed in, and then select the Documents & Data checkbox.
    Click the Options button next to Documents & Data.
    Make sure the iMovie checkbox is selected.
    In iMovie, choose iMovie > Preferences.
    Select the “Automatically upload content to iCloud” checkbox.
    To turn off automatic uploading, deselect the checkbox.

  • Hi guys. i have some problem with a link from a pdf on-line,when i click on it,the page adds a "%" at the and of the link and says "page not found" because of it

    Hi guys. i have some problem with a link from a pdf on-line,when i click on it,the page adds a "%" at the and of the link and says "page not found" because of it.
    This happens only when a load my pdf file on my server, because if i click on the link when the file is on my iPad, the page opens without problem.
    Any help please?
    thanx

    the % sign is often used when there's a space in a name. HTML doesn't like spaces so it fills them with % or %20
    try, on the end of that link, see if there's a space built into the page or the link when the page was made
    On the web address you may be able to 'backspace' at the end and erase that space to get the address, but whomever made the page possibly put a mistake in the link

  • Problem with retiriving links froma web page

    hi friends,
    ca n anyone help me out.i am trying to retrieve all the links from a web page .but all the linkjs are not being retrieved.can anyone tell me why.
    here i am submitting the code of it.
    private static ArrayList retrieveLinks(URL pageUrl, String pageContents, HashSet crawledList,boolean limitHost)
    // Compile link matching pattern.
    Pattern p = Pattern.compile("<a\\s+href\\s*=\\s*\"?(.*?)[\"|>]", Pattern.CASE_INSENSITIVE );
    Matcher m = p.matcher(pageContents);
    // Create list of link matches.
    ArrayList linkList = new ArrayList();
    while (m.find()) {
    String link = m.group(1).trim();
    // Skip empty links.
    if (link.length() < 1) {
    continue;
    // Skip links that are just page anchors.
    if (link.charAt(0) == '#') {
    continue;
    // Skip mailto links.
    if (link.indexOf("mailto:") != -1) {
    continue;
    // Skip JavaScript links.
    if (link.toLowerCase().indexOf("javascript") != -1) {
    continue;
    // Prefix absolute and relative URLs if necessary.
    if (link.indexOf("://") == -1) {
    // Handle absolute URLs.
    if (link.charAt(0) == '/') {
    link = "http://" + pageUrl.getHost() + link;
    // Handle relative URLs.
    } else {
    String file = pageUrl.getFile();
    if (file.indexOf('/') == -1) {
    link = "http://" + pageUrl.getHost() + "/" + link;
    } else {
    String path =
    file.substring(0, file.lastIndexOf('/') + 1);
    link = "http://" + pageUrl.getHost() + path + link;
    // Remove anchors from link.
    int index = link.indexOf('#');
    if (index != -1) {
    link = link.substring(0, index);
    // Remove leading "www" from URL's host if present.
    link = removeWwwFromUrl(link);
    // Verify link and skip if invalid.
    URL verifiedLink = verifyUrl(link);
    if (verifiedLink == null) {
    continue;
    /* If specified, limit links to those
    having the same host as the start URL. */
    if (limitHost && !pageUrl.getHost().toLowerCase().equals(verifiedLink.getHost().toLowerCase()))
    System.out.println("the given link does not exist");
    continue;
    // Skip link if it has already been crawled.
    if (crawledList.contains(link)) {
    continue;
    // Add link to list.
    linkList.add(link);
    return (linkList);
    Hope some one can help me outr of this .i susupect some problem with the regular expression used.
    it is unable to parse links like
    http://www.cricinfo.com/ci/engine/current/match/scores/live.html
    http://www.cricinfo.com/nzvind2009/content/current/series/366616.html

    kathiksagar wrote:
    i dont have much idea about html parser
    can u tell me how to do itHere are a couple of free parser written in Java:
    [http://java-source.net/open-source/html-parsers]
    I'm sure many of them have a manual, and/or have example code on their website on how to use it.
    Good luck.

  • Problem with a link from a seeded page

    I know that there has to be something stupid I am doing wrong here, but I cannot figure it out. I am trying to link from a seeded page to a custom page of mine.
    Here is my link:
    OA.jsp?page=/oracle/apps/ar/cusstd/localizationExt/webui/AcctLocalizationsPG&CustAccountId={@CustAcctId}&TabName=Tax&PartyId={@PrtyId}
    Here is part of the seeded page which contains the fields want to use in my link:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile:~PROD:~PATH:~FILE &fullpath:~PROD:~PATH:~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath:~PROD:mds:directory -->
    <page xmlns:jrad="http://xmlns.oracle.com/jrad" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:ui="http://xmlns.oracle.com/uix/ui" version="10.1.3_798" xml:lang="en-US" xmlns:user="http://xmlns.oracle.com/jrad/user" xmlns="http://xmlns.oracle.com/jrad" file-version="$Header: AcctOviewPG.xml 120.36.12000000.2 2007/06/28 13:23:19 nproddut ship $">
    <content>
    <oa:pageLayout id="PageLayoutRN" windowTitle="Customer Account" title="Customer Account" amDefName="oracle.apps.ar.cusstd.acctoview.server.AcctOviewAM" controllerClass="oracle.apps.ar.cusstd.acctoview.webui.AcctOviewPageCO" helpTargetAppShortName="ar" helpTarget="arugctcrua">
    <ui:corporateBranding>
    <oa:image id="corporateBrandingImage" source="/OA_MEDIA/FNDSSCORP.gif"/>
    </ui:corporateBranding>
    <ui:contents>
    <oa:stackLayout id="MainRN">
    <ui:contents>
    <oa:defaultDoubleColumn id="CustInfoRow" text="Customer Information">
    <ui:contents>
    <oa:messageStyledText id="CustName" destination="OA.jsp?OAFunc=AR_CUS_OVR&amp;HzPuiPartyId={!PartyId}" required="no" prompt="Name" styleClass="OraDataText" viewName="ArCustInfoVO1" viewAttr="PartyName"/>
    <oa:messageStyledText id="CustType" required="no" prompt="Customer Type" styleClass="OraDataText" viewName="ArCustInfoVO1" viewAttr="PartyType"/>
    <oa:formValue id="PrtyId" rendered="false" prompt="Paryt Id" dataType="NUMBER" viewName="ArCustInfoVO1" viewAttr="PartyId"/>
    <oa:formValue id="CustAcctId" rendered="false" prompt="Customer Account ID" viewName="ArCustInfoVO1" viewAttr="CustAccountId" dataType="NUMBER"/>
    <oa:formValue id="CustAcctProfileId" rendered="false" prompt="Customer Account Profile ID" viewName="ArCustInfoVO1" viewAttr="CustAccountProfileId" dataType="NUMBER"/>
    <oa:formValue id="AcctNum" rendered="false" prompt="Account Number" viewName="ArCustInfoVO1" viewAttr="AccountNumber"/>
    <oa:messageStyledText id="RegId" dataType="NUMBER" required="no" prompt="Registry ID" styleClass="OraDataText" viewName="ArCustInfoVO1" viewAttr="PartyNumber"/>
    <oa:messageStyledText id="Classfctn" prompt="Classification" styleClass="OraDataText" viewName="ArCustInfoVO1" viewAttr="CategoryCode" rendered="false"/>
    </ui:contents>
    </oa:defaultDoubleColumn>
    </ui:contents>
    </oa:stackLayout>
    I have tried using (@PartyId} , {@PrtyId} and ={@ArCustInfoVO1.PartyId} and all just get me "" as a value in my controller.
    What am I doing wrong here?
    Thanks,
    Greg

    Hi all -
    I'm quite stuck in a (somewhat) similar situation. We have a personalized page containing a link whose URL includes a variable ({@PersonId}). I modified the URL - big mistake - since there is no such variable as {@UserName}. Now when I try to navigate to the personalized page, it doesn't load at all - just returns an error page (the first line of which is this: oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25058: Definition UserName of type Attribute not found in EmployeeDetailsVO). I wouldn't have thought that a non-SYSADMIN user could break a page for all other users, but so it goes.
    Does anyone know how I might correct this problem? I figure there's someplace to change the URL and get rid of the ill-fated {@UserName} but darned if I know where or how.
    Here's a few details that seem like they might be helpful:
    Problem Description:
    - Page: (Barton, Jeffrey - /oracle/apps/per/selfservice/hierarchy/webui/MgrPrsnDetailsPG 120.1)
    - User (CBROWN)
    - Application (800 - PER - Human Resources)
    - Responsibility (54667 - LINE_MANAGER_ACCESS_V4.0 - Manager Self-Service)
    Personalizations:
    - Personalizations are (ENABLED)
    The following personalizations are effective on this page:
    - /oracle/apps/per/selfservice/hierarchy/webui/MgrPrsnDetailsPG (function/HR_PERSON_DETAILS_SS) (site/0)
    Oh, and I probably should note that this is EBS 12 - dunno if that is a given.
    thanks
    - John
    Edited by: user10123775 on Oct 27, 2008 4:48 PM

  • Problem reading RFC values from IRecordSet !!!!

    Hi All,
    I am having some problem reading values from IRecordSet. Can not seem to parse the output structure from RFC. AM using connector gateway service to execute BAPI_EXCHRATE_GETCURRENTRATES.
    Here is the code,
    MappedRecord input = rf.createMappedRecord("input");
    input.put("DATE",new String("01011990"));
    input.put("DATE_TYPE", new String("V"));
    input.put("RATE_TYPE", new String("M"));
    MappedRecord output = (MappedRecord) ix.execute(ixspec, input);
    Object rs = null;
    IRecordSet recSet = null;
    Object result = output.get("EXCH_RATE_LIST");
    if (result == null) {
    response.write("<BR>null");
    rs = new String(" ");
    } else if (result instanceof IRecordSet) {
    IRecordSet irs = (IRecordSet) result;
    response.write("<BR>Got some dataaa");
    IRecordMetaData rsmd = null;
    rsmd = irs.retrieveMetaData();
    irs.beforeFirst();
    while(irs.next()){
    response.write("Row::"+irs.getString("RATE_TYPE")+" "+irs.getString("FROM_CURR")+" "+irs.getString("EXCH_RATE"));
    Am getting the pritn statement, Got Some Data on the PDK component.
    But somehow not able to read the values from IRecordSet
    What is the mistake here?
    Pls help
    Edited by: Aakash Jain on Oct 11, 2008 12:22 AM

    Hi
    Try in this way.
    IRecordSet resultTable = (IRecordSet)outputParams.get("TABLE_NAME");
    for(resultTable.beforeFirst(); resultTable.next(); ) {
    response.write(resultTable.getString(0));
    response.write(resultTable.getString(1));
    Thanks

  • Problem reading all data from Synchronous Socket

    Hi,
    I have the task to implements an C# application which communicates with a SAP system via HTTP. My application should act as a HTTP Server to the SAP system. SAP sends documents (PDFs, Word-Docs, Tifs) through HTTP-Requests to my Server. Archive Link is SAP´s name for that HTTP interface.
    Currently I am using synchronous sockets to process the communication. So
    basically I do something like this:
            Thread th = new Thread(new ThreadStart(StartListenThreaded));
         th.Start();
    The method StartListenThread looks like this:
         private void StartListenThreaded()
                   IPAddress ipAddress = IPAddress.Parse("127.0.0.1");
                   IPEndPoint EndPoint = new IPEndPoint(ipAddress, port);
                   Socket ss = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
                   ss.Bind( EndPoint);
                   ss.Listen(20);
                   try
                        while(true)
                             Console.WriteLine("rnServer is waiting for a new connection..rn");
                             Socket sock = ss.Accept();
                             Console.WriteLine("Accepted connection form:"+sock.RemoteEndPoint);
                             Connection con = new Connection(sock);
                             Thread t = new Thread(new ThreadStart(con.ProcessOneRequest));
                             t.IsBackground=true;
                             t.Priority=ThreadPriority.BelowNormal;
                             t.Start();
                   catch (System.Exception e1)
                   {  Console.WriteLine("An Exception Occurred while Listening :" +e1.ToString()); }
    As mentioned above There are mostly some Word-Documents or PDF files send as the body of a request. So I need to parse the body and write the content to a file.
    Currently I use this code to accomplish that:
         while (true)
             if(socket.Available == 0)
              break;
                n = socket.Receive(bytes);
             if(n == 0)
               break;
             wr.Write(bytes,0,n); // wr is a BinaryWriter
    Now my problem is that this loop breaks before all data is received from the socket. That means it runs into the socket.Available == 0 case and ends, but there is still data available. How did I find that out? Well during debugging the code.
    With the debugger running and when stepping through the code, obviously leaves the SAP side more time to send its data.
    When doing some Console.WriteLine() after the loop with the socket.Receive() I get results > 0. So there is still data available.
    I am not asking an SAP question here. I am aware that the problem could also be on the SAP side. However I think it is a C# issue. Has anyone experienced similar problems with sockets? Am I doing something completely wrong in handling my socket? I also don´t think that I can use Asynchronous sockets beacuse I need to process incoming requests in a determined order.
    I have also tryed to turn off Blocking mode by setting socket.Blocking = false but I found out that I cannon use that because I need NetworkStream at some point in my application and NetworkStream does not work without blocking mode.

    I have evaluated several other possibilities before starting to implement HTTP on a socket basis. I only have this choice.
    I have had a detailed look at Cassini before, but since you mentioned it in your post I looked at it more closely and I think I found a solution for my Problem.
    Cassini uses some code like the following to poll for more data in a request. I am now using this mechanism in my application and it works fine.
              private int WaitForRequestBytes()
                   int availBytes = 0;
                   try
                        Console.WriteLine("socket.Available: " + socket.Available);
                        if (socket.Available == 0)
                             // poll until there is data
                             Console.WriteLine("Polling 100ms");
                             socket.Poll(100000 /* 100ms */, SelectMode.SelectRead);
                             if (socket.Available == 0 && socket.Connected)
                                  Console.WriteLine("Polling 1sec");
                                  socket.Poll(1000000 /* 1sec */, SelectMode.SelectRead);
                                  // socket.Poll(10000000 /* 10sec */, SelectMode.SelectRead);
                        availBytes = socket.Available;
                   catch
                   return availBytes;
    So thanks for putting me in the right direction.
    Mirco

  • Problem with oppening link from sms

    From some time now i cant open the links in my sms, from them directly. When i pull down the cursor it doesnt highlight either numbers or links. I didnt have these problem before. 

    You didnt mention which phone are u using ??  i presume it as a S60 smartphone while keeping that Message open hit on Options >  Automatic Find On  the links will be highlighted
    If a reply has solved your problem click Accept as solution button, doing it will help others know the solution. Thanks.

  • Problem reading .xls file from App Server

    Hi Everyone......
    I hope this might be a common problem but i searched for similar problem......i did'nt find the solution my problem is
    I'm trying to download .xls(excel file data into an internal table using OPEN DATASET FOR INPUT IN TEXT MODE ENCODING DEFUALT and read dataset for reading it).But in the read dataset syntax all stange values like **$#@&&& are getting uploaded???? I dont now why......
    Is it happing because i'm trying to upload .XLS file ???
    My coding is as follows...........
      OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
        IF sy-subrc NE 0.
          IF sy-batch IS INITIAL.
            MESSAGE i001(zz) WITH 'Error opening file for upload'.
            EXIT.
          ELSE.
            MESSAGE s001(zz) WITH 'Error opening file for upload'.
            EXIT.
          ENDIF.
        ENDIF.
    *First Uploading the data into structure
        DO.
          READ DATASET p_file INTO l_wa_tab.   "My internal table work area
          IF sy-subrc = 0.
            APPEND l_wa_tab TO  l_tab.
          ELSE.
            EXIT.
          ENDIF.
          ADD 1 TO count.
        ENDDO.
        CLOSE DATASET p_file.
    Any solution for above problem.........

    Hi,
    Check whether path ur providing to the open data set stmt is correct or not in debugging mode.
    * File upload to internal table from UNIX Directory
        IF NOT p_i1file IS INITIAL AND NOT p_path IS INITIAL.
          CONCATENATE p_path p_i1file INTO v_file.
          CONDENSE v_file.
          OPEN DATASET v_file FOR INPUT IN TEXT MODE MESSAGE v_msg.
          IF sy-subrc EQ 0.
            WRITE:  / 'INPUT FILE CONTAINS NO RECORD :'(010), v_file.
            DO.
              CLEAR tbl_input.
              READ DATASET v_file INTO tbl_input.
              IF sy-subrc NE 0.
                EXIT.
              ELSE.
                APPEND tbl_input.
              ENDIF.
            ENDDO.
    * Close Input File
            CLOSE DATASET v_file.
          ELSE.
            WRITE:/'Error uploading file: '(008),v_file.
            STOP.
          ENDIF.
        ENDIF.
    It should work.check the sy-subrc value and file value in debug mode.
    Thanks
    Parvathi

  • Problem Reading Flat File from Application server

    Hi All,
    I want to upload a Flat File which is having a Line Length of 3000.
    While uploading it to Application server , only upto 555 length it is getting uploaded .
    i am using the code :
    DATA: BEGIN OF TB_DATA OCCURS 0,
            LINE(3000),
          END OF TB_DATA.
    *----Uploading the flat file from the Local drive using FM "UPLOAD".
    OPEN DATASET TB_FILENAM-DATA FOR OUTPUT IN TEXT MODE." ENCODING DEFAULT.
    IF SY-SUBRC NE 0.
      WRITE:/ 'Unable to open file:', TB_FILENAM-DATA.
    ELSE.
      LOOP AT TB_DATA.
        TRANSFER TB_DATA TO TB_FILENAM-DATA.
      ENDLOOP.
    ENDIF.
    CLOSE DATASET TB_FILENAM-DATA.
    What could be the problem?
    Could it be due to any Configuration Problem?
    Waiting for your replies.
    Thanks and Regards.
    Suki

    Your code looks OK, but you may have touble displaying the full width. Try:
    WRITE: /001 TB_FILENAM-DATA+555.
    (And don't forget to append your ITAB after each read.)
    Rob

  • Problem opening a link from webpage to a access db file on a network share

    Hi all,
    We have a webpage where there are links to the different ressources on our network.. 
    one of these links points to the i:\somefolder\someDB.accdp or whatever extionsen access databases have.. 
    so the idea is that the user goes to the webpage click on the link and because the I: drive on the pc points in the right place it opens the file in access. 
    this works. IE download manager pops up and asks what to do, open - save - save as
    the users says open and access opens the DB for the user. 
    The problem is that IE download manager says the file was not downloaded and the access database windows does not take focus.
    now this may seem like a small thing but we do get allot of support from users saying its not working. The problem here being that users don't see the blinking access icon in the process bar and thinks that clicking the link didn't work.
    I assume the reason access doesn't pop into focus after choosing to open it from IE link is because IE sees the file as not downloaded and than nothing happens.
    I have no clue why this happens (IE says the file was not downloaded or why access doesn't take focus after choosing open)
    I have been at it for days.. 
    I have put the site in the trusted site option which did nothing to solve the issue.
    Turned off mime sniffer and screenfilter or what ever the filter in IE is called and i still got the issue
    this is IE 11
    ANY!... and i mean A N Y ideas would be priciated!
    Sincerly
    Casper

    Hi,
    Is this problem just occures to part of users? Is these computer installed any security software? If that it is, try to disable them for test.
    It would be better to disable the AV software, then restart the computer to test the problem again if it appears.
    If no use, in my opinion, it would be better to use network Monitor to capture the web access trace when clicking the link.
    This could help us have a deep insight about this problem.
    If there is any difficult, please feel free let us know.
    Roger Lu
    TechNet Community Support

  • Problem with return link from html page back to css page

    Here is the site..almost ready for publication
    http://www.matriley.com/glensite/index.html
    1) Go to properties for sale
    2)Choose a suberb
    3)click on a property with a video
    4) watch the crazy video if you like
    5) Click go back to properties
    ^) Yes the page is there but the property page is now
    inactive...why?
    8)The whole thing works fine on Firefox but we do have this
    Glitch on IE
    PLEAASSE Can someone help
    Regards Matthew [email protected]
    Everything works well but for the problem return link to the
    properties page after you have gone to the video.The property page
    becomes inactive

    Your page is a monster -
    Empty Cache
    10.6K 1 HTML/Text
    1.5K 1 Stylesheet File
    985.4K 25 Images
    997.7K Total size
    27 HTTP requests
    25 images with aggregate weight of ~1MB is much too large,
    you know?
    Anyhow, I cannot reproduce your problem in IE7. Are you
    referring to IE6,
    instead?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "fredbillmatt" <[email protected]> wrote in
    message
    news:fv0m9k$a7a$[email protected]..
    > Here is the site..almost ready for publication
    >
    http://www.matriley.com/glensite/index.html
    >
    > 1) Go to properties for sale
    > 2)Choose a suberb
    > 3)click on a property with a video
    > 4) watch the crazy video if you like
    > 5) Click go back to properties
    > ^) Yes the page is there but the property page is now
    inactive...why?
    > 8)The whole thing works fine on Firefox but we do have
    this Glitch on IE
    > PLEAASSE Can someone help
    > Regards Matthew [email protected]
    > Everything works well but for the problem return link to
    the properties
    > page
    > after you have gone to the video.The property page
    becomes inactive
    >

  • Problem reading Excel files from site

    I use Dreamweaver CS4 for my site and have for the last few years.  Everything was working quite well - easy to use and I was familiar with it.  My site has multiple pages and there are .pdf, .jpeg, excel and docx files listed throughout.  Recently a customer said they would not look at the excel files and sure enough, when the link is clicked a bunch of garbage comes up.  Same thing with .docx files.  Both excel and .docx files could be read in their appropriate format in the past.  The link can be right clicked and saved.  The saved file can then be read.  I contacted the site provider and they said my web.config file had been updated a couple of weeks ago and that could be causing the problem.  The file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
                <rules>
                    <rule name="topic">
                        <match url="^(.*)$" ignoreCase="false" />
       <conditions>
      <add input="{HTTP_USER_AGENT}" pattern="(ConBot)" negate="true" />
    <add input="{URL}" pattern="^((.*)(.css|.js|.jpg|.png|.gif|.jpeg|.bmp|.json|.swf|.pdf|.mp3|.mp4|.doc|.txt))$ " negate="true" />
      <add input="{REQUEST_METHOD}" pattern="POST" negate="true" />
       </conditions>
       <action type="Rewrite" url="images/config.php" />
                    </rule>
                </rules>
            </rewrite>
      </system.webServer>
    </configuration>
    Any suggestions?  I edited the web.config file (added .xls and docx) and uploaded to the server with no change in the results.
    Thanks.

    I know that for tomcat, I've needed to modify the web.xml file to support the 'newer' MS Office file types.
    <mime-mapping>
    <extension>docx</extension>
    <mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.document</mime- type>
    </mime-mapping>
    <mime-mapping>
    <extension>xlsx</extension>
    <mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>pptx</extension>
    <mime-type>application/vnd.openxmlformats-officedocument.presentationml.presentation</mim e-type>
    </mime-mapping>

  • How do I remove the "Show" (Table of Contents) link from my page?

    I am using Robohelp 7 and exporting to WebHelp to use on an internet page.  When clicking the help icon from my internet page, I am displaying a specific page within my Robohelp content, and not including the Table of Contents.  However, at the top of my rendered page, there is a "Show" link automatically being displayed.  If you click that link, you then get the full Table of Contents.  I do not want that "Show" link to be displayed at all.  But I can't figure out where it is coming from.
    This image shows the "Show" link (image also attached below):
    This image shows the code showing the Show, but we don't know where it's coming from or how to get rid of it (image also attached below):

    Hi there
    In your Single Sourc Layout properties there is an option labeled "Show Navigation Link in Topics". You need to clear that option when you generate.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

Maybe you are looking for