Streams & Sequential Access Files ....

I have two sequential files that were created from 'FileInputStream' ... TRANSACTIONS.DAT and MASTERFILE.DAT
I have wrapped a 'FileInputSteam' with a 'ObjectInputStream' for both, which will be used for comparisons.
I know how I could compare the two, but I am stuck on the inner working of Java on how to accomplish it.
Here is what I want to do ...
1. Open the first record in MASTERFILE.DAT stream (easy)
2. Itterate through the entire TRANSACTION.DAT stream ... when what I am looking for matches up, then do a certain action and move to the next transaction record. (easy)
3. At the end of itterating through TRANSACTION.DAT ... advance MASTERFILE.DAT one record, but then RESET TRANSACTION.DAT and start a new itteration through the records in that file.
4. Keep doing this until MASTERFILE.DAT is at the end of the file.
I am stuck on how to reset TRANSACTION.DAT. I have looked at the mark() and reset() methods, but that serves me no good for my situation.
Anyone else have any suggestions or approaches or any guidance?
Thanks much
Rusty Rothwell

mark() and reset() do nothing in FileInputStream objects, as one can tell by looking at the javadocs (FileInputStream doesn't override these methods, inheriting them from InputStream, which has do-nothing implementations).
Try using RandomAccessFile instead.

Similar Messages

  • Files and Streams java -- Sequential access file-- Plz help me

    I am able to add records in sequential file and then also I am able to display each record sequentially.
    But after closing the file if I open the file for adding records, the newly added records are not being displayed while clicking the "next" button to read them.
    How to bring the pointer to end of records in sequential file , so that when I stat adding records after opening an existing file, they should be added successively after the last record in that file.
    enter = gui.getTask1();
              enter.setText("Enter");
              enter.setEnabled(true);
              try
              FileOutputStream fos = new FileOutputStream("c:/file.txt",true);
              output = new ObjectOutputStream(fos);
              enter.addActionListener(
                        new ActionListener()
                             public void actionPerformed( ActionEvent e )
                                  addRecord1();
              catch(Exception e)
                   System.out.println("Error in ObjectOutputStream before pressing Enter button");
    private void addRecord1()
              String[] fieldValues = gui.getFieldValues();
              if(! fieldValues[0].equals(""))
                   try
                        int id=Integer.parseInt(fieldValues[0]);
                        if(id>0)
                             Record rcrd = new Record(id, fieldValues[1], fieldValues[2]);
                             System.out.println(" " +rcrd.getString()+"\n");
                             output.writeObject(rcrd);
                             output.flush();
                             gui.clearFields();
                             display.append(" "+rcrd.getId()+" "+rcrd.getName()+" "+rcrd.getAddr()+"\n");
                             readf.setEnabled(true);
                   catch (NumberFormatException nfe)
                        JOptionPane.showMessageDialog(this, "Incorrect id", "Invalid number formate", JOptionPane.ERROR_MESSAGE);
                   catch (IOException io)
                        closeFile();
         }Message was edited by:
    MissJavaa

    You can't append multiple ObjectOutputStreams to the same file unless you know where one ends and the other starts and you use a new ObjectInputStream at each join. And even that mightn't work because of buffering. Keep the file open or start a new file.
    And I wouldn't call the file 'file.txt', it isn't a text file.

  • Sequential Access Problem - Nothing is being written to file.

    Okay, quick introduction. I am a student and am in an intro Java class. I am understanding most of it; however, I am having one issue with an exercise that I am working on.
    Here is the purpose:
    To create a simple car reservation application that stores the reservation information in a sequential access file.
    In the code what I need to happen is when the user clicks the Reserve Car button, the application needs to first check to see if there are cars already reserved for that day (there is a limit of 4 which is taken care of in the While statement). If the file content is null, it skips this while first.
    If the content is null, then I need to open the file for writing, which is taken care of using FileWriter. The program is then to write the date information using the currentDate variable created before the while statement. Next, it is supposed to write the name entered and display a message box stating that the car has been reserved (which it does display).
    However, I can add an infinate amount of reservations without getting the error message box stating that the max has been reached. So, I checked the reservations.txt file (which was intially created as a blank file) and I see that nothing at all is getting written to it. Here is the code, can anyone offer any insight into what I am missing. I am not getting any compliation or run-time errors, so I am sure this is just a simple problem I am overlooking. Thanks!
    // This application allows users to input their names and
    // reserve cars on various days.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.Date;
    import javax.swing.*;
    import javax.swing.event.*;
    public class CarReservation extends JFrame
       // JLabel and JSpinner to display date
       private JLabel selectDateJLabel;
       private JSpinner dateJSpinner;
       // JLabel and JTextField to display name
       private JLabel nameJLabel;
       private JTextField nameJTextField;
       // JButton to reserve car
       private JButton reserveCarJButton;
       // Printwriter to write to files
       private PrintWriter output;
       //BufferedReader to read data from file
       private BufferedReader input;
       // file user will select
       private File reserveFile;
       // no-argument constructor
       public CarReservation()
          createUserInterface();
       // create and position GUI components
       public void createUserInterface()
          // get content pane for attaching GUI components
          Container contentPane = getContentPane();
          // enable explicit positioning of GUI components
          contentPane.setLayout( null );
          // set up selectDateJLabel
          selectDateJLabel = new JLabel();
          selectDateJLabel.setBounds( 16, 16, 96, 23 );
          selectDateJLabel.setText( "Select the date:" );
          contentPane.add( selectDateJLabel );
          // set up dateJSpinner
          dateJSpinner = new JSpinner( new SpinnerDateModel() );
          dateJSpinner.setBounds( 16, 43, 250, 23 );
          dateJSpinner.setEditor( new JSpinner.DateEditor(
             dateJSpinner, "MM/dd/yyyy" ) );
          contentPane.add( dateJSpinner );
          dateJSpinner.addChangeListener(
             new ChangeListener() // anonymous inner class
                // event handler called when dateJSpinner is changed
                public void stateChanged( ChangeEvent event )
                   dateJSpinnerChanged( event );
             } // end anonymous inner class
          ); // end call to addActionListener           
          // set up nameJLabel
          nameJLabel = new JLabel();
          nameJLabel.setBounds( 16, 70, 100, 23 );
          nameJLabel.setText( "Name: " );
          contentPane.add( nameJLabel );
          // set up nameJTextField
          nameJTextField = new JTextField();
          nameJTextField.setBounds( 16, 97, 250, 23 );
          contentPane.add( nameJTextField );
          // set up reserveCarJButton
          reserveCarJButton = new JButton();
          reserveCarJButton.setBounds( 16, 130, 250, 23 );
          reserveCarJButton.setText( "Reserve Car" );
          contentPane.add( reserveCarJButton );
          reserveCarJButton.addActionListener(
             new ActionListener() // anonymous inner class
                // event handler called when reserveCarJButton is clicked
                public void actionPerformed( ActionEvent event )
                   reserveCarJButtonActionPerformed( event );
             } // end anonymous inner class
          ); // end call to addActionListener
          // set properties of application's window
          setTitle( "Car Reservation" ); // set title bar string
          setSize( 287, 190 );           // set window size
          setVisible( true );            // display window
       } // end method createUserInterface
       // write reservation to a file
       private void reserveCarJButtonActionPerformed( ActionEvent event )
       try
           // get file
           reserveFile = new File( "reservations.txt" );
           // open file
           FileReader currentFile = new FileReader( reserveFile );
           input = new BufferedReader( currentFile );
           // get date from dateJSpinner and format
           Date fullDate = ( Date ) dateJSpinner.getValue();
           String currentDate = fullDate.toString();
           String monthDay = currentDate.substring( 0 , 10 );
           String year = currentDate.substring( 24, 27 );
           currentDate = ( monthDay + " " + year );
           // declare variable to store number of people who reserve a car
           int dateCount = 1;
           // read a line from the file and store
           String contents = input.readLine();
           // while loop to read file data
           while ( contents != null )
               // if contents equal currentDate
               if ( contents.equals( currentDate ) )
                   // check reservation number
                   if ( dateCount <4 )
                       dateCount++;
                   else
                       // display error message
                       JOptionPane.showMessageDialog( this,
                          "There are no more cars available for this day!",
                          "All Cars Reserved", JOptionPane.ERROR_MESSAGE );
                       // disable button
                       reserveCarJButton.setEnabled( false );
                       // exit the method
                       return;
                   } // end else                
               } // end if
             // read next line of file
             contents = input.readLine();
           } // end while
           // close the file
           input.close();
           FileWriter outputFile = new FileWriter( reserveFile, true );
           output = new PrintWriter( outputFile );
           // write day to file
           output.println( currentDate );
           // write reserved name to file
           output.println( nameJTextField.getText() );
           // display message that car has been reserved
           JOptionPane.showMessageDialog( this, "Your car has been reserved",
                   "Thank You", JOptionPane.INFORMATION_MESSAGE);
       } // end try
       catch ( IOException exception )
           JOptionPane.showMessageDialog( this, "Please make sure the file exists " +
                   "and is of the right format.", "I/O Error",
                   JOptionPane.ERROR_MESSAGE );
           // disable buttons
           dateJSpinner.setEnabled( false );
           reserveCarJButton.setEnabled( false );
       } // end catch
       // clear nameJTextField
       nameJTextField.setText( "" );
       } // end method reserveCarJButtonActionPerformed
       // enable reserveCarJButton
       private void dateJSpinnerChanged( ChangeEvent event )
          reserveCarJButton.setEnabled( true );
       } // end method dateJSpinnerChanged
       // main method
       public static void main( String[] args )
          CarReservation application = new CarReservation();
          application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
       } // end method main

    Thank you. Sorry about all the code. I have never posted in this forum before and was unsure what all you needed.
    This was the problem though. Right after I posted my question, I went back and looked at the code over again and realized that I left that part out! I added it in and it works perfectly. I came back to update my post but you had already answered it!
    I really appreciate the quick response.
    Mike

  • Streaming multiple avi files?

    I think the problem is I don't know how to ask my question to a search engine, so i have tried searching for the answer already.
    I'm just trying to create a proof of concept and have freshly installed Dev Server 4.5.
    Here is what I need to accomplish:
         1)     A user will access a URL like http://tempvideoserver.org/?ip=75.75.76.76&user=Admin&pass=Password1
         2)     This will start a backend process (vb.net through a much older COM object) that will start creating a series of AVI files of "live" video each being 15 seconds in length and creating an additional file every 15 seconds. All files will be in a dynamically created folder for that individual user.
         3)     FMS will take the sequential AVI files as they are dynamically created and create a stream capable of being watched on an Apple device via HLS (or anything really as long as an Apple device can view it).
         4)     If FMS says that the user has stopped streaming, then stop the backend process for that user.
    That is it in a nutshell. If there are simliar posts that you can point me towards or a good starting point, I'll take any info you have. Or if what I need isn't possible, that is good info too. I'm just starting, so I don't know what puzzle pieces I have access to to build this thing.
    Thanks in advance!
    David Crawford

    First, FMS will not stream AVI files. See the documentation for supported file formats and codecs (generally, you'll want H.264/aac mp4's or vp6/mp3 flv's).
    As for setting up a stream as you suggested, there will be a few pieces to this (all of which you'll do in server side actionscript)
    1. You'll use a series of File objects to read the contents of the directory (which must be local to FMS or on a mapped network drive), and inspect the properties of each file directory
    2. You'll use the Stream class to set up a server side stream for each client, and you'll play your files over that server side stream as a playlist (your client application will subscribe to that stream, so you'll need to work out a method of setting up the stream name accordingly)
    3. You'll devise a method of keeping track of the files (or the LMD of the last played file) for each stream. Could be done with properties on the client object, or could be a class that handles management of all of the clients.
    4. You'll set up an interval to continually repeat the process of reading the directory to look for new files.
    Obviously, this is a simplified description. There will be additional tasks involved in setting up the FMS application to handle user-specific tasks (i.e how will you determine which folder is associated with the client... could be via a webservice call from FMS to your backend app, or could be by virtue of application instance names)

  • Random access file in a midlet

    Hi, I'm trying to develop a small dictionary for MIDP2.0/CLDC1.0, so I need to random access a data file in an efficient way. MIDP API itself only provides a sequential access input stream. What is the best way for me to implement a file input stream that supports random access? Thanks a lot!

    Hi!
    There's nothing like RandmAccessFile in midlets, but there is a way, you can read (only!) a file from jar.
    Here's the code:
    InputStream is = this.getClass().getResourceAsStream("<path_to_the_file>");
    DataInputStream dis = new DataInputStream(is);Then you can read the stream with any of the metods provided.

  • How to read a mixed text and binary random-access file?

    I have a PDF file which I want to decode. The format is a mixture of binary data and text. What I need is to position the file to a particular position, and then to read from that point as a stream either a set of binary bytes or straight ASCII text. I can't see how to do this (if in fact it's possible).
    I can open the file as a SeekableByteChannel and position it, but opening a stream repositions the file to the beginning - just what I don't want.
    Is there any way of opening a stream from part-way through a file?

    I think that I gave this topic a rather misleading title. What it really should be is "How to turn a random access file into a stream"?
    I realise that I can open an InputStream and skip the relevant number of characters - but this is highly inefficient on a large file where I will skipping about within the file. I need a stream so that I can apply other stream functions to it - buffering in memory will I suspect be too big.

  • Accessing files in a foreign computer

    Hello,
    I have an Internet site with a page that lets the user enter a file name and I want to add a button that when the user presses it, it will communicate a servlet that will upload the file from the user's computer.
    My question is: How can I open a stream that accesses a file in the user's computer? I have no idea how to begin. Can you give me please the names of classes I need to use?
    Thanks.

    Have a look at this:
    http://jakarta.apache.org/commons/fileupload/
    ***Annie***

  • How to use random access file to access file in disk?

    I have tried to use random access file stream to access the some files saved in disk, but not very successful. I want to know how I can find a particular file in the disk with file locator or sth else.
    Suggestion is highly welcomed, if you have codes to put, I will test it.

    The scenerao is:
    create a randomAccessfile
    write 100 blank records( for future use)
    open this file
    write data to the records inside file
    close the file.
    I will try to put a testing code for you later on.

  • Applets and accessing files confusion

    Hi
    I am confused about applets and their abilty to access files.
    I know that applets cannot access files on a users hard drive until given pemission but if i design an applet that needs access to files on the server where it is running will it be able to read and write those files in the same location as the applet without the need to set permissions?
    Any feedback would be great
    Neil

    The applet is very much able to read files from the server. This is easiest done by creating a URL and opening a stream to it:
    URL url = new URL(getCodeBase(), "file.dat");
    InputStream in = url.openStream();
    // read from the stream...
    in.close();
    Saving files to the server is also possible without setting permissions but it's a bit harder. In short, you need some sort of server that accepts a connection and saves what you send it to disk. The server can be eg. a servlet, a database or a FTP server.

  • Please Help java.policy signedBy can't access file local

    i create keystore and signjar in web applet
    run tomcat access file in local but not acess file denied
    i goto edit file java.policy
    grant {
         permission java.security.AllPermission;
    can access file
    but put SignedBy cannot access file
    grant SignedBy fuangchai{
         permission java.security.AllPermission;
    Please help me example file keystore,applet.jar,java.policy
    to signedby access file local in webapplet
    env JDE 1.5 ,javascript yui 2.8 ,prototype js,tomcat6
    File html
    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase="http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,5"
    width="1" height="1" >
    <param name=code value="com.arg.aes.test.FileDirectoryBS.class" >
    <param name=archive value="app.jar">
    <param name=codebase value="." >
    <param name="type" value="application/x-java-applet;version=1.5">
    <param name="scriptable" value="true">
    <param name="mayscript" value="true">
    <param name="debug" value="false">
    <comment>
    <embed name="myApplet" id="myApplet"
    type="application/x-java-applet;version=1.5"
    code="com.arg.aes.test.FileDirectoryBS.class"
    archive="app.jar"
    java_codebase="."
    width="1"
    height="1"
    scriptable="true"
    mayscript="true"
    pluginspage="http://java.sun.com/products/plugin/index.html#download">
    <noembed>
    </noembed>
    </embed>
    </comment>
    </object>
    <applet
    code="com.arg.aes.test.FileDirectoryBS"
    width="1"
    height="1"
    archive="app.jar"
    name="myApplet"
    codebase="."
    MAYSCRIPT="true"
    >
    </applet>
    javascript
    initlistfile : function() {
              try
                   var list = $("myApplet").initlistfileInDir();     
                   var jsondata = list.evalJSON();
                   /*alert(jsondata.dirname);
                   alert(jsondata.dirpath);
                   alert(jsondata.listfile.length);*/
                   initTableLeft(jsondata.listfile);
              catch(e)
                   alert("Exception : access denied.");
                   return;
    import java.applet.Applet;
    import java.io.File;
    import java.security.Permission;
    import java.security.PermissionCollection;
    import java.security.Policy;
    import java.security.ProtectionDomain;
    import java.text.DecimalFormat;
    import java.text.NumberFormat;
    import java.util.ArrayList;
    import java.util.Enumeration;
    import java.util.List;
    * @author fuangchai
    public class FileDirectoryBS extends Applet{
    public static File[] ROOTS = File.listRoots();
    public static String HOME = System.getProperty("user.home");
    public String listDir()
    return JsonObj.makeTopDir((ROOTS.length > 0)?ROOTS : new Object[]{HOME});
    public String initlistfileInDir()
    return listfileInDir(null);
    public String listfileInDir(String dirName)
    if(null == dirName || dirName.equals(""))
    System.out.println("root = " + ROOTS.length);
    try {
    dirName = (ROOTS.length > 0)?ROOTS[0].getPath():HOME;
    catch (Exception e) {
    e.printStackTrace();
    return "";
    System.out.println("#########################");
    DirectoryDescImp obj = makeObjDir(dirName);
    return (null == obj)?null:JsonObj.makeDir(obj);
    public String listlinkInDir(String dirName)
    if(null == dirName || dirName.equals(""))
    System.out.println("root = " + ROOTS.length);
    try {
    dirName = (ROOTS.length > 0)?ROOTS[0].getPath():HOME;
    catch (Exception e) {
    e.printStackTrace();
    return "";
    System.out.println("#listlinkInDir#");
    try {
    File obj = new File(dirName);
    return (null == obj)?null:JsonObj.makelinkDir(obj.getName(),obj.getPath());
    } catch (Exception e) {
    System.out.println("I can't access a file here! Access Denied!");
    e.printStackTrace();
    return null;
    public boolean isEnc(File f)
    //TODO
    return false;
    public DirectoryDescImp makeObjDir(String dirName)
    System.out.println("dirName = " + dirName);
    try{
    File dir = new File(dirName);
    String[] entries = dir.list();
    if(null == dir || null == entries || entries.length <= 0)
    System.out.println("Data is null or not obj." );
    return null;
    System.out.println("Dir List = " + dir.list().length);
    System.out.println("Dir Name = " + dir.getName());
    System.out.println("Dir Path = " + dir.getPath());
    DirectoryDescImp dirDesc = new DirectoryDescImp();
    dirDesc.setDirName(dir.getName());
    dirDesc.setDirPath(dir.getPath());
    List<FileDescImp> list = new ArrayList<FileDescImp>();
    for(int i=0; i < entries.length; i++) {
    File f = new File(dir, entries);
    FileDescImp fDesc = new FileDescImp();
    fDesc.setFile(f);
    fDesc.setFileEncrept(isEnc(f));
    list.add(fDesc);
    dirDesc.setListfile(list);
    return dirDesc;
    catch(Exception e){
    System.out.println("I can't access a file here! Access Denied!");
    e.printStackTrace();
    return null;
    Thank you
    Fuangchai Jum
    Mail [email protected]
    Edited by: prositron on Jan 13, 2010 7:35 AM

    OK,
    Let's say I have to intialize Environment, and call method initEnvironment() in Applet's init(). Environment class:
    class Environment
         private KeyStore keyStore;
         private Enumeration<String> aliases;
         public void initEnvironment() {
              Security.addProvider(new sun.security.mscapi.SunMSCAPI());
              keyStore = KeyStore.getInstance("Windows-MY");
              keyStore.load(null);
              aliases = keyStore.aliases();
    }Applet is signed, I trust signer.
    Since Applet is signed I'm able to overwrite existing .java.policy under user.home.
    This doesn't work if I don't have .java.policy:
    grant {
      permission java.security.SecurityPermission "insertProvider.SunMSCAPI";
      permission java.security.SecurityPermission "authProvider.SunMSCAPI";
      permission java.util.PropertyPermission "jsr105Provider", "read";
      permission java.util.PropertyPermission "com.sun.xml.internal.ws.api.pipe.Fiber.serialize", "read";
      permission java.lang.RuntimePermission "setContextClassLoader";
      permission java.util.PropertyPermission "com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory.noPool", "read";
      permission java.lang.RuntimePermission "accessDeclaredMembers";
      permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
      permission java.lang.RuntimePermission "accessClassInPackage.com.sun.xml.internal.ws.fault";
      permission java.util.PropertyPermission "com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory.woodstox", "read";
    };P.S.
    Does it make sense to be able to make changes to file system and not be able to make actions from above policy?!?!

  • Access files on icloud on pc

    I opened an icloud account on my iphone and backed up some files. I'm trying to access those files on my pc. I downloaded icloud on my pc, but can't see how I can access and copy those files onto my pc. Any help is appreciated

    You can't access files in the iCloud backup if that's what you're trying to do.  You can only restore the backup to your device.  You can access your iCloud calendars, contacts, reminders (tasks) and mail if you have Outlook 2007 or 2010.  You can also access your photo stream photos as well as your bookmarks (with Safari or Internet Explorer).

  • Stream a pdf file But want it to open in the browser automatically.

    Hi all,
    I have successfully stream a pdf file to the browser. But it ask the user to save the pdf. This is not what i intended to do. I would like the browser to automatically load the pdf file.
    How could i do that?
    I already added the setContentType to "application/pdf".
    Following is portion of my code:
    JasperReport jasperReport = (JasperReport)JRLoader.loadObject(preprintedForm);
              JasperPrint jasperPrint =JasperFillManager.fillReport(jasperReport, paramMap ,new JREmptyDataSource());
              response.setContentType("application/pdf");
              response.setHeader("Content-Disposition","attachment; filename=test.pdf");
              JRPdfExporter exporter = new JRPdfExporter();
              exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
              OutputStream ouputStream = response.getOutputStream();
              exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, ouputStream);
              try
                                     exporter.exportReport();
                                catch (JRException e)
                                     throw new ServletException(e);
                                finally
                                     if (ouputStream != null)
                                          try
                                               ouputStream.close();
                                          catch (IOException ex)
                                }Thanks in advance.

    Hi,
    Try this
    response.setHeader("Content-Disposition","inline; filename=test.pdf");
    and from the Jsp or HTML from where you are trying to access this use. window.location.href.
    Thanks and Regards,
    Harsha

  • How can multiple users edit and access same ACCESS file

    Hello,
    We have 2 access files and multiple users needs to edit and access those files.
    How can I enable mulitple access but only one user can edit rest of users are in read-only mode for one file and multiple access and edit on the another file.

    Hi,
    You should split your database in a front and backend. Then create two seperate front ends which you can distribute. If you need readonly you can opt for two options, setting the attributes of the file to read only or create a front end with read only forms.
    The last one takes a little more work but is safer than setting the attributes to read only because people can change that back themselfs.
    Maurice

  • Can not get access files from Windows 7 to Claims-based file authorization share

    We have AD level 2012R2, DCs running 2012R2 of course, and we have clustered File Server (3 FSNodes running 2012R2).
    We enabled 2 policies 
    KDC Support for claim
    Kerberos support for claim
    We created 1 claim type in ADAC (For example "Division" Source Property). Filled this property to all IT AD Accounts by our value "IT"
    On FS made a share folder ITDivision:
    - set permissions  Domain Users can Modify if User.Division equals "IT"
    so on Windows 8 IT Users can access files on this share and on Windows 7 they cant
    =\ . We know from many presentations about Dynamic Access Control that File Server must enroll user claims if client do not support this claims (Service-for-User-To-Self)

    Hi,
    >>so on Windows 8 IT Users can access files on this share and on Windows 7 they cant
    =\ . We know from many presentations about Dynamic Access Control that File Server must enroll user claims if client do not support this claims (Service-for-User-To-Self)
    How is it going? Was there any error message? As far as I know, Dynamic Access Control (DAC) should work for downlevel clients. It’s backwards compatible. As Florain explains in the following blog:
    For non-Windows 8 and non-Windows Server 2012 boxes accessing DAC-protected file shares, the users do not carry any claims. For them, the Server 2012-based file share will query Active Directory and proxy the claims request to figure out what claims
    the user and machine bring. The file server checks in the name of the user, whether they should have claims. With that information, the file server evaluates the access to the file share. So yeah – DAC works for downlevel clients, too. It’s backwards compatible.
    And totally transparent to Windows 7.
    Questions regarding Dynamic Access Control (FAQ)
    http://www.frickelsoft.net/blog/?p=293
    In addition, regarding dynamic access control, the following blog can also be referred to for more information.
    Dynamic Access Control in Windows Server 2012
    http://www.infoq.com/news/2012/10/Dynamic-Access-Control
    Please Note: Since the above two website are not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best regards,
    Frank Shen

  • How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; I also have Microsoft Word installed on the Mac as well.

    How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.

    Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.

Maybe you are looking for

  • Zen Xtra no longer recognised by sys

    Player: Zen Xtra (30GB) firmware version: .20.08 I installed the software for my zen from the cd, then I upgraded my software from the CD versions to the following versions, and my player is no longer recognised. These are the files I installed: Medi

  • (XML) HTTP POST to Stored Procedure (mod_plsql)

    Hi, first of all, sorry if this is the wrong forum, I've also tried SQL/PLSQL with no answer at all, so I atleast wanted to give it a go here, as you guys probably have some mod_plsql experience. Let's put up an example scenario: Vendor X wants a URL

  • Lightroom CC does not work

    I installed Lightroom CC via creative cloud. The system says it is installed allright. But when I click the new icon, Lightroom just does not start. I then  removed Lightroom and reinstalled it. This did not help. Lightroom CC just would not start up

  • Light room Modules

    why do i keep getting this message "An error occurred when attempting to change modules.

  • ColorSync Sucks

    A few weeks ago, or months or eons, someone posted a problem he was having with an image that looked different in CS3/CS4. It turned out he didn't explain or post the right image and it led to one of those eternal threads by the usual suspects. Anywa