Error: The method ReadLine() is undefined for the typ of Objectkey.

I'm new at Java. Can anyone help??? Much appreciated.
public class readfilesAppd {
//     /define string newline for line.seperator
   private static final String nl = System.getProperty("line.separator");
      private static final String userpath = System.getProperty("C:/Documents and Settings/GheeL/My Documents/My Data/835 ERA files/");
      // public static void main(String[] args, Object fr) {
     public static void main(String [] args) {
                 try {
                      ObjectKey br = null;
     //struct stat request_stat_path(char C:/Documents and Settings/GheeL/My Documents/My Data/835 ERA files/, Request *rq);
            // Create file
            //FileReader fr = new FileReader("C:/Documents and Settings/GheeL/My Documents/My Data/835 ERA files/");               
            //String FILENAME = "";
             String FILENAME = userpath;
            String record = new String();
                     int recCount = 0; 
                    while ((record = br.ObjectKey())) != null)
                           recCount++;
                            FILENAME = record.substring(780, 792);
                          FileWriter fstream = new FileWriter("ERA Loads.txt", true);
                           BufferedWriter out = new BufferedWriter(fstream);
                           out.write(FILENAME+" "+recCount);
                           out.close();
                           System.out.println(FILENAME);
                           System.out.println(recCount);
                      catch (Exception e){//Catch exception if any
                          System.err.println("Error: " + e.getMessage());           
                    finally {
                 System.out.println("Is that something to cheer about?");
                         }

You haven't posted the correct code. The error is telling you that you're trying to call a method "ReadLine()" on an object that doesn't have a method by that name. The code you posted doesn't call anything called ReadLine(). Find the code where that happens and post it.

Similar Messages

  • The method logout() is undefined for the type HttpSession

    I am now trying to invalidate all the sessions by calling HttpSession.logout() in doPost(). I can see this API in a famous servlet book (Coreservlet and Javaserver pages by MartyHall) but in Eclipse it is not able to find out even with the latest JDK 1.7.

    Tolls wrote:
    Is it?
    I can't find any logout() method on the HttpSession interface defined in 3.0.
    Got a javadoc link?? I quote and emphasize:
    That's in Servlet 3.0, and it is in HttpServletRequest
    Here you go:
    http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#logout%28%29

  • Custom iterator problem - The method createChildIterator() is undefined for

    Hi there, this is my first post here, still quite new to Java. I'm having trouble with a custom iterator when trying to test it with JUnit. The reason to write a custom iterator is this: I want to get the object in the array, then for each item I want to get it's child items with a new iterator call.
    It's quite complicated because naturally I'm trying to hide the implementation from the "user". The iterator holds a list of classes called StandardSortElement. Each of these classes holds a class called AvailableResouce
    which in turn holds an AbstractResource, and it's AbstractResource that I want the iterator to return. My JUnit testing shows that this part works correctly.
    For the child items, they are also held inside the StandardSortElement as an array list. Here is the error I get
    "The method createChildIterator() is undefined for the type Iterator<AbstractResource>"
    First here is an interface for the custom iterator:
    public interface SortIteratorInterface extends Iterator<AbstractResource>{
         public abstract Iterator<BookingInterface> createChildIterator();
    }Here is the iterator class:
    public class StandardSortIterator implements SortIteratorInterface {
         ArrayList<StandardSortElement> items;
         Integer position = 0;
         * a constructor that passes in a sorted list of StandardSortElement
         public StandardSortIterator(ArrayList<StandardSortElement> items) {
              this.items = items;
         * Return bookings associated with the currently iterated StandardSortElement
         public Iterator<BookingInterface> createChildIterator() {
              return items.get(position).createBookingIterator();
         * Determine if there is another item in the list
         public boolean hasNext() {
              if (position >= items.size()) {
                   return false;
              } else {
                   return true;
         * Return the next resource in the list. We have a list of StandardSortElement but
         * we want to return the resource within.
         public AbstractResource next() {
              StandardSortElement ssa = items.get(position);                                             // Get a handle on the StandardSortElement     
              AbstractResource ar = ssa.getResource();                                                  // Now get the resource that's packaged up inside
              position++;                                                                                          // Increment the position
              return ar;                                                                                          // return the resource
         * Do not implement - mandatory interface implementation but not required here.
         public void remove() {
              // TODO Auto-generated method stub
    }This is the code taken from the JUnit test class
         * This iterator also has an interal child iterator. Check this works as expected
         @Test
         public void testChildIterator() {
              Iterator<AbstractResource> iterator = new StandardSortIterator(items);
              Integer i = 0;
              while (iterator.hasNext()) {
                   AbstractResource abstractResource = (AbstractResource)iterator.next();
                    if (i.equals(0)) {
                         // The first element should contain children - check it works
                         Iterator<BookingInterface> childIterator = iterator.createChildIterator(); // ERROR OCCURS HERE
                   i++;               
              assertTrue(i.equals(items.size()));
         /************************************************************************************/Thank you in advance for any help you can provide!
    Paul

    Your unit test is coded against the Iterator interface, not your SortIteratorInterface, which is where the createChildIterator method is defined. You need to use a reference to a SortIteratorInterface, not an Iterator. Incidentally, when defining an interface, it's unnecessary to declare the methods as public and abstract. They're implicitly that anyway

  • Can someone explain me the error "The method xyz is ambiguous for the type"

    I get this compiler-error "The method compareTo(java.lang.Object) is ambiguous for the type MyClass" everytime when I want to access the method "compareTo(Object)", which is overwritten in MyClass and in the superclass of MyClass.
    What does it mean?
    Thank you for your help!
    Ciao

    it means you are using a method declared in two of your class declared packages...
    the package paradigm was created to provide a way to distinguish the method with the same signature but from different projects..
    many Java API methods has the same signature but comes from diferent packages.. if you declare theese packages using '*', you should declare it variables with its full signature...
    look this:
    http://java.sun.com/docs/books/tutorial/java/interpack/packages.html

  • Method getWorkflowEngineJMS() is undefined for the type IJWFPortalService

    Hi @ll,
    In my web dynpro project, Iu2019m trying to create collaboration task using CreateTask API as described in the following SAP help link:
    http://help.sap.com/saphelp_nw70/Helpdata/en/46/94b9b2b321581ce10000000a1553f7/frameset.htm
    I've added the following JARs:
    com.sap.portal.usermapping_api.jar
    com.sap.security.api.jar
    com.sap.workflow_api.jar
    prtapi.jar
    And, also added the following sharing references:
    PORTAL:sap.com/com.sap.portal.usermapping
    PORTAL:sap.com/com.sap.workflow.apps
    But in the coding time Iu2019m unable to find getWorkflowEngineJMS() method of  IJWFPortalService. Please suggest shorting out this issue.
    Currently Iu2019m working on EP 7.0, SPS 14.
    Thank in advance
    Gautam Singh.

    issue resloved by adding "ejb.jar".

  • The method is undefined for the type

    HI I have a javabean class:
    package database;
    import java.util.*;
    import java.io.*;
    public class CompanyFormBean implements Serializable{
      private String companyparentid;          
      private String companyname;               
      private Hashtable errors;
      //private String notify;
    public boolean validate() {
        boolean allOk=true;
        if (companyname.equals("")) {
          errors.put("companyname","Please enter your Company Name.");
          companyname="";
          allOk=false;
        return allOk;
      public String getErrorMsg(String s) {
        String errorMsg =(String)errors.get(s.trim());
        return (errorMsg == null) ? "":errorMsg;
    // public CompanyFormBean(){}
      public CompanyFormBean() {
        companyparentid          = "";
        companyname               = "";
        errors = new Hashtable();
      public String getCompanyparentid() {
        return companyparentid;
      public String getCompanyname() {
        return companyname;
      public void setCompanyparentid(String fcompanyparentid) {
        companyparentid = fcompanyparentid;
      public void setCompanyname(String fcompanyname) {
        companyname = fcompanyname;
      public void setErrors(String key, String msg) {
        errors.put(key,msg);
    }after the form is submitted I try to display the values
    <%@ page import="database.CompanyFormBean" %>
    <jsp:useBean id="formHandler" class="database.CompanyFormBean" scope="session"/>
    <html>
    <head>
    <title></title>
    <meta name="Generator" content="EditPlus">
    <meta name="Author: Irene Nessa" content="">
    <meta name="Keywords" content="">
    <meta name="Description: creates a new member account" content="">
    </head>
    <body>
    <form name="reg" method="post" action="ProcessMemberRegistration.jsp" onsubmit='return formValidator()'>
    <table>
         <tr>
         <td>Create A New Account</td>
         </tr>
         <tr>
              <td>Existing Company</td>
              <td>
                   <input type="text" name="companyparentid" value='<%=formHandler.getCompanyparentid()%>'>
                   <!-- <select name="campanyparentid" onchange="setcompany(this)">
                        <option>Better Homes</option>
                        <option>Emaar</option>
                   </select>
                   <font size="" color="#FF0033"><b><i>OR</i></b></font>-->
              </td>
         </tr>
         <tr>
              <td>Company Name *</td>
              <td><input type="text" name="companyname" value='<%=formHandler.getCompanyname()%>'>
              </td>
         </tr>
    </table>
    <br>
         <br>
         <input type="reset">  <input type="submit" value='Check Form' />
    </form>
    </body>
    </html>But I keep getting the following errors:*The method getCompanyparentid() is undefined for the type CompanyFormBean* But it defind and the bean class complies. Any idea what am doing wrong.
    thanks.

    I actually got the same error in the same situation the following is my error and Stacktrace. I was trying to using AJAX to retrieve the message from DB and display it in a text area when user click a radio button. It works well untill I add a new method getMessage(String), please help!
    Mar 2, 2009 10:01:03 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 22 in the jsp file: /getmessage.jsp
    The method getMessage(String) is undefined for the type Item
    19: <jsp:setProperty name="items" property="categoryId" value="<%=catid%>" />
    20: <jsp:setProperty name="items" property="effectiveIndicator" value="C" />
    21: <%
    22: String msg = items.getMessage(id);
    23: String decodedmsg = new String(msg.getBytes("iso-8859-1"), "Big5");
    24: System.out.print("MSG: " + msg);
    25: System.out.print("Deco-MSG: " + decodedmsg);
    An error occurred at line: 26 in the jsp file: /getmessage.jsp
    The method write(String) is undefined for the type HttpServletResponse
    23: String decodedmsg = new String(msg.getBytes("iso-8859-1"), "Big5");
    24: System.out.print("MSG: " + msg);
    25: System.out.print("Deco-MSG: " + decodedmsg);
    26: response.write(decodedmsg);
    27: %>
    Stacktrace:
    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
    at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:517)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)
    at java.lang.Thread.run(Thread.java:619)

  • PreparedStatement.getGeneratedKeys():  undefined for the type PreparedState

    All,
    I'm getting this exception:
    "The method getGeneratedKeys() is undefined for the type PreparedStatement" When I try to run this code:
    Connection con = (Connection)getConnection();
    PreparedStatement stmt = null;
    stmt = con.prepareStatement("INSERT INTO article (title, description, creationDate, createdBy) VALUES (?,?,?,?)");
    stmt.setString(1, title);
    stmt.setString(2, description);
    stmt.setDate(3, creationDate);
    stmt.setInt(4, createdBy);
    stmt.executeUpdate();
    ResultSet rs = stmt.getGeneratedKeys();Javadoc says PreparedStatement inherits getGeneratedKeys() from Statement. Then why does it go wrong?
    Thanks alot!

    No sorry, it is a compile time error.
    But I've solved the problem.
    I'm using WSAD and it was pointing to the wrong rt.jar (the one that comes with WSAD). I've changed it to the sun rt.jar and now it works fine!
    Thanks anyway!

  • Adobe Offline Form - Parse method is not possible for this type

    Hi All,
    I have developed an application for the offline scenario of interactive adobe form. I tried to load the adobe form from my desktop. After pressing the button "Display form" it throws an error "Parse method is not possible for this type".
    If I include wdContext.getNodeInfo().getAttribute("pdfObject").getModifiableSimpleType() in the doInit() method of the view I receive this error -
    com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(UploadView.pdfObject): must not modify the datatype of a mapped attribute
    When I comment it out and upload I receive the error enclosed -
    Parse method is not possible for this type
    Can someone please help me with a step by step solution to this problem?
    Any help is highly appreciated.
    Many thanks,
    Divya

    Hi Divya,
    Please try to do it as stated below:
         IWDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute("pdfObject");
         ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
         IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType)type;
    Try putting the code in wdInit() or wdDoModifyView().
    Let me know if you still face the issue.
    Regards,
    Arafat

  • Method fprint(String) is undefined for the type JspWriter.

    please help me with this problem
    below is the jsp code written to access the data from the database and to display it in the new page.
    <%@ page
         import = "java.io.*"
         import = "java.lang.*"
         import = "java.sql.*"
    %>
    <%
         Connection dbconn=null;
         ResultSet results;
         PreparedStatement sql=null;     
                   String empid1=request.getParameter("empids");     
              try
    String driver = "com.mysql.jdbc.Driver";
              Class.forName(driver).newInstance();
                   dbconn =DriverManager.getConnection("jdbc:mysql://localhost/hris","root","redhat");
                   int empid11;
                   empid11=Integer.parseInt(empid1);
                   sql = dbconn.prepareStatement("select * from employee where empid=?");
                   sql.setInt(1,empid11);
                   results=sql.executeQuery();
                   results.next();
    out.print("<html>");
    out.print("<head>");
    out.print("</head>");
    out.print("<body>");
    out.print("<table width=810 border=0>");
    out.print("<tr>");
    out.print("<td width=210>");
    out.print("Employee Id");
    out.print("</td>");
    out.print("<td width=584>");
    int emp=results.getInt("empid");
    out.print(emp);
    out.print("</td>");
    out.print("</tr>");
    out.print("<tr>");
    out.print("<td>");
    out.print("FirstName");
    out.print("</td>");
    out.print("<td>");
    String first=results.getString("fname");
    out.print(first);
    out.print("</td>");
    out.fprint("</tr>");
              catch (SQLException s)
                   out.println("SQL Error <br>"+s);
    catch ( Exception x )
                   x.printStackTrace();
    %>
    but when i click the submit button , the error is
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 9 in the jsp file: /HRIS/empsearch1.jsp
    Generated servlet error:
    The method fprint(String) is undefined for the type JspWriter
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 9 in the jsp file: /HRIS/empsearch1.jsp
    Generated servlet error:
    The method fprint(String) is undefined for the type JspWriter
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:409)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.15 logs.
    i am not able to rectify the error.

    JavaB wrote:
    Hi ,
    I have a method defined in my dataManagerDAO classIs it dataManagerDAO or DataManagerDAO?
    getNoc( strRppsId) throws Exception {}That's not a legal Java method declaration, so it's clearly not your actual declaration, so I have no idea what your actual declaration is, so I can't tell you what you're doing wrong.
    Now I am calling this method inside my JSP page :
    DataManagerDAO dataMgr = new DataManagerDAO();
    dataMgr.getNoc(strRppsId)..
    But whenver I am running it locally , it fails to compile and gives following error msg :
    The method getNoc(String) is undefined for the type DataManagerDAOQuite obviously you're calling a method getNoc(String) but that method doesn't exist on the DataManagerDAO class. No matter how much you may think you know that it does, you're wrong and the compiler is right.
    Maybe you misspelled or mis-capitalized something. Maybe you're passing the wrong type of argument. Maybe you're still using an older version of the DataManagerDAO class from before you added that method. Not enough information here to say for sure.
    ny clue wats going wrong in here ?I assume you mean "any", not "ny" and "what's", not "wats". Clear, correct, precise communication counts with folks here almost as much as it does with the Java compiler.

  • Getting an error 'CalendarNotify' as null or undefined in the code at SP.UI.ApplicationPages.CalendarNotify line in SharePoint 2013 after migration

    Hello,
    I am getting an error 'CalendarNotify' as null or undefined in the code at SP.UI.ApplicationPages.CalendarNotify in SharePoint 2013 after migration from SharePoint 2010.  The SharePoint calendar is customized to display the events with colors and other
    customizations. 
    It was developed in SharePoint 2010 using client side objects /jquery.  After migration to 2013 stopped working.
    The code looks like in the following url...
    http://www.westpoint.edu/news/SiteAssets/ColorCoding.txt
    Thanks in advance.

    Hi,
    According to your description, my understanding is that the CalendarNotify is null after migrating to SharePoint 2013.
    I suggest you can check if the sp.js has been loaded properly using Internet Explorer Developing Tools. We can use the following script to run function after the sp.js has been loaded.
    ExecuteOrDelayUntilScriptLoaded(somefunction(), "sp.js");
    Here is a detailed article for your reference:
    http://msdn.microsoft.com/en-us/library/jj193034.aspx
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Error "codepage could not be determined for the receiver-system"

    Hi,
    we use the idoc-adapter to send message from mySAP ERP to PI.
    All worked fine.
    So, this morning I have changed the datatype of the messageId from "char" to "int" in mySAP ERP in the customizing menue (install param). So, no message received in SAP PI.
    When I start transction "we05" in mySAPERP" I get the following error:
    "codepage could not be determined for the receiver-system" status 02.
    I have changed the datatyp to "char" but the same probleme
    Can anybody help me please?
    Regards
    Stefan

    This error shouldn't occur unless there is some modification at the OS level codepages.
    Please check the entried in the RFC destination for connecting to the XI system. Unicode settings.
    Regards,
    Prateek

  • Main optimizer error - There is already a transaction for the system

    Hi Guru's,
       I am trying to download support packs from maintenance optimizer in solution manager system. When i select the logical system it gives the error
    'There is already a transaction for the system of this product version'
    After this error, it does not proceed further.
    There is many maintanence transactions in Maintanence optimizer. Now how to remove all these.
    Any ideas or solutions most welcome.
    Moses

    As Christian has already written, the only problem is that there is already an open Maintenance Transaction for that specific system. Maintenance Optimizer checks that you do not open two different Maintenance Transactions for a system at the same time.
    You only have to withdraw the old Maintenance Transaction to be able to proceed with the new one. Open the old Maintenance Transaction and click "Withdraw" on the bottom of the page. If it is grayed out, you need to go one step backwards, there you can withdraw it.
    Best regards,
    Joachim

  • Error while creating Absence as "APP-PAY-51271: The assignment is not eligible for the element

    Hi,
    "APP-PAY-51271: The assignment is not eligible for the element."

    Hi Nandhu,
    Can you check below two things which can be cause of this error:
    1. The link definition of the non-recurring element which is tagged with this absence type, as a best practice this should be an open link. If the link definition and the assignment eligibility is not matching then you may receive this error.
    2. If you have defined an accrual plan for this absence type,then check if the accrual plan recurring element is been tagged to the assignment for which you are receiving this error.
    Thanks,
    Sanjay

  • Please help me resolve the Lync server 2013 deployment error: "An error occurred while applying SQL script for the feature BackendStore."

    I am getting an error in "Step 2 - Setup or Remove Lync Server Components" of "Install or Update Lync Server System" step.
    "An error occured while applying SQL script for the feature BackendStore. For details, see the log file...."
    Additionally, all previous steps such as: Prepare Active Directory, Prepare first Standard Edition server, Install Administrative Tools, Create and publish topology are done without any errors. The user that I used to setup the Lync server is member of:
    Administrators
    CSAdministrator
    Domain Admins
    Domain Users
    Enterprise Admins
    Group Policy Creator Owners
    RTCComponentUniversalServices
    RTCHSUniversalServices
    RTCUniversalConfigReplicator
    RTCUniversalServerAdmins
    Schema Admins
    I have tried to re-install all the things and started to setup a new one many times but the same error still occurred. Please see the log below and give me any ideas/solutions to tackle this problem.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
    Initializing DbSetupBase
    Parsing parameters...
    Found Parameter: SqlServer Value lync.lctbu.com\rtc.
    Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
    Found Parameter: Publisheracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Administrators;LCTBU\RTCUniversalServerAdmins.
    Found Parameter: Replicatoracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
    Found Parameter: Consumeracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Read-only Administrators;LCTBU\RTCUniversalReadOnlyAdmins.
    Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
    Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
    Found Parameter: Role Value master.
    Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 2100.
    Sql version is acceptable.
    Validating parameters...
    DbName rtcxds validated.
    SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
    DbFileBase rtcxds validated.
    DbPath D:\CsData\BackendStore\rtc\DbPath validated.
    Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
    LogPath D:\CsData\BackendStore\rtc\LogPath validated.
    Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    Checking state for database rtcxds.
    Checking state for database rtcxds.
    State of database rtcxds is detached.
    Attaching database rtcxds from Data Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath, Log Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    The operation failed because of missing file '\\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath\rtcxds.mdf'
    Attaching database failed because one of the files not found. The database will be created.
    State of database rtcxds is DbState_DoesNotExist.
    Creating database rtcxds from scratch. Data File Path = D:\CsData\BackendStore\rtc\DbPath, Log File Path= D:\CsData\BackendStore\rtc\LogPath.
    Clean installing database rtcxds.
    Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RtcSharedDatabase'****
    Initializing DbSetupBase
    Parsing parameters...
    Found Parameter: SqlServer Value lync.lctbu.com\rtc.
    Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
    Found Parameter: Serveracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
    Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
    Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
    Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 2100.
    Sql version is acceptable.
    Validating parameters...
    DbName rtcshared validated.
    SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
    DbFileBase rtcshared validated.
    DbPath D:\CsData\BackendStore\rtc\DbPath validated.
    Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
    LogPath D:\CsData\BackendStore\rtc\LogPath validated.
    Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    Checking state for database rtcshared.
    Reading database version for database rtcshared.
    Database version for database rtcshared - Schema Version5, Sproc Version 0, Update Version 1.
    Thanks and Regards,
    Thanh Le

    Thanks Lạc
    Phạm 2
    I Had similar issue i end up uninstalling and reinstallting but same issue, then i change the drive but same issue. It was I/O issue. After adjusting my I/O it fix our issue and installation went on without any issue. 
    If any one using KVM here is detail article 
    We just  give this option cache=‘writeback
    using this article http://www.ducea.com/2011/07/06/howto-improve-io-performance-for-kvm-guests/ and http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/ this fix my issue thanks 

  • An error occurred while applying SQL script for the feature BackendStore.

    Hello,
    I am using my AD in Windows Azure VMs. I created new VM of A3 (4 cores, 7 GB Memory) Windows Server 2012 R2, Port 1433 MSSQL added, made it a member of Domain and planned to install first Lync Server 2013 on it.
    In "Setup or Remove Lync Server Components" of "Install or Update Lync Server System", got an Red Coloured text "An error
    occurred while applying SQL script for the feature BackendStore."
    I have not enabled monitoring and archiving server in topology builder. I added "Network Service" and assign "Full Control" in Security Permissions of "C:\CsData" and "C:\LyncShare".
    I executed the SQL Setup Wizard and upgraded any instance to 2012.
    Please guide.
    Thanks, Divyaprakash Koli

    Please check you have enough disk space for the disk where the folders are.
    Check view log for detailed log information.
    The following link is a similar thread for you to refer:
    http://social.technet.microsoft.com/Forums/lync/en-US/a3cb9ab0-7451-4df5-af96-3d2784d1b075/an-error-occurred-while-applying-sql-script-for-the-feature-backendstore-for-details-see-the-log?forum=lyncdeploy
    Lisa Zheng
    TechNet Community Support

Maybe you are looking for

  • Creating and closing statements

    Hi I am new 2 JDBC and have a few doubts, I need 2 move forward and backwards in the resultset, i am using the following declaration for that stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY); can i use the same

  • Enable-CsUser : The EXECUTE permission was denied on the object 'XdsPublishItems', database 'xds', schema 'dbo'

    I have created a PowerShell script that automates enabling users for Lync and setting policies based on group membership. I've successfully tested this script under my domain admin account and now I am working on getting it running as a scheduled tas

  • Metric Halo Users (2882)..please help

    Hey guys, I use the Mobile I/O 2882..... In MIO console, I have my Digital IO routed to DAW 17/18 (the default) within MIO console..... THe Problem: In Logic the SPDIF does not return....weird 'cause all 8 analogs AND all 8 ADAT come in to Logic Just

  • Document\Approach\Guidance for ATG Integration with Webcenter Site

    we have a requirement where pages/templates/content will be created in Webcenter Sites and will be consumed in ATG. I am looking for some Document\Approach\Guidance for Webcenter Site and ATG Integration

  • Glassfish MDB JNDI Issue

    I'm unable to locate the Connection factory for JMS queue of a MBD deployed in Glassfish. Any help is appreciated. Thanks. static javax.naming.InitialContext ic; queueConnectionFactory = (QueueConnectionFactory)ic.lookup("corbaname:iiop:127.0.0.1:370