Qn: Getting Around Windows File Lockup Property -- use FileHandling in Java

I am encountering a problem in developing a software for my business. The task I am trying to achieve is that, I need to update a file (.txt) while that file is being constantly accessed by another program.
The ultimate setting is this: I will have a software running, constantly reading the content of a feed file (call it info.txt). I have another script running, constantly updating the feed file (info.txt).
I realized the serious conflict in using the file after I implemented the above setting. With the software (call it AAA) running, I can't make an edit to info.txt even manually. I open up info.txt, make a change, and click save, windows return an error message: "The process cannot access the file because it is being used by another process." If I try to delete info.txt, the error message is "the action can't be completed because the file is open in AAA.exe".
When I run my (java) script that constantly updates info.txt, the file IO exception is:
java.io.FileNotFoundException: info.txt (The process cannot access the file because it is being used by another process)
The software AAA is not that well developped. (It's a foreign software to my enterpise so I can't modify its behavior/source code.) The way it is accessing files locks up the file completely. I thought of temperarily pointing away the reference to info.txt in the software's profile files to allow a temparory edit, but this approach would fail because with AAA running (and I need it to), I can't make any change to any file it's using.
I consulted one of the main developer of software AAA. He acknowledges this is a problem right now, he would improve it in next release. But meanwhile I would like the set up to work. He told me he programs with .NET, and he provided a line that could help me to get around my problem:
FileStream fs = new FileStream(@"info.txt", FileMode.OpenOrCreate, FileAccess.Write, FileShare.ReadWrite);
Supposedly, by supplying these arguments, this filestream are allowed to be shared on both writes and reads.
I am a java programmer, and I've had no experience with .NET. However I did some research and learning, I realized his code is the syntex of C#, which runs in the CLR of .NET framework. I set up C# on my computer and studied some C# beginer tutorial, and comes up with the following script, hoping to solve my problem.
If it's really true that C# allows to change the access property of a file at a fundamental level, I would open up the filestream of info.txt, allowing it to be shared with both read and write. Once I do that, I can run my script of updating info.txt, and then run the software AAA that keeps refreshing info.txt.
Trying to achieve the above implementation, I come up with a C# script:
================================================
using System;
using System.IO;
class CopyFeed
static void Main()
string fileName1 = "info.txt";
string fileName2 = "info2.txt";
FileStream fs = new FileStream(@fileName1, FileMode.OpenOrCreate, FileAccess.Write, FileShare.ReadWrite);
StreamWriter sw = null;
// attempting to unlock part of the file, didn't work
string contents = File.ReadAllText(@fileName2);
fs.Unlock(0, contents.Length * 2);
while (true)
Console.WriteLine("Copying Feed...");
string contents = File.ReadAllText(@fileName2);
try
sw = new StreamWriter(fs);
sw.Write(contents);
catch (Exception e)
Console.WriteLine("CopyFeed :: " + e.Message);
finally
if (sw != null)
sw.Flush();
//sw.Close();
Console.WriteLine("Pausing For 2 sec...");
System.Threading.Thread.Sleep(2000);
================================================
Supposedly, I will have my java script constantly updating info2.txt . Then I will have this C# script constantly copying the entire content of info2.txt into info.txt.
(The above script is still buggy, because all it does is keep appending to the file info.txt. I need to find a way that I can clear the content of file at the start of every iteration and just copy over the content of file2. Right now if I execute the script, it will create a infinitely large file as time goes.)
I wish to seek help with this post:
Based on the description above, could I find a solution using Java? does Java have file handling capability that interacts with Windows system in a more fundamental level and unlocks the file? Or does any 1 have any better suggestions?
I've been working on this problem for the past few days and am really stuck. I would sincerely thank any one who offers any insight!

Good news for you--people have spent billions of dollars on research, in part, to solve those problems!
The solution is: use a database.

Similar Messages

  • Help me out to get the jar files for FileUpload using MyFaces.

    hi,
    Can anyone help to get the jar files for FileUpload using MyFaces.
    I want myfaces-extensions.jar and commons-fileupload-1.0.jar.
    Thank you.

    you can't control the speed of a for-loop.
    you can remove your code from a for-loop and use a function to execute the code in your for-loop and you control how frequently you call the function.

  • [svn] 674: LCDS-110: If you don' t specify file type when using DocumentReference, a java.lang. NullPointerException occurs.

    Revision: 674
    Author: [email protected]
    Date: 2008-02-27 09:41:30 -0800 (Wed, 27 Feb 2008)
    Log Message:
    LCDS-110: If you don't specify file type when using DocumentReference, a java.lang.NullPointerException occurs.
    qa: yes
    bug: LCDS-110
    doc: no
    checkintests: passed
    Details:
    modules/common/src/java/flex/messaging/errors.properties
    * new error message
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-110
    http://bugs.adobe.com/jira/browse/LCDS-110
    Modified Paths:
    blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/errors.properties

    Yes I know that ;) and I fixed it myself too by initializing it like this: private GameObject[] apple = new GameObject[max_apples];But now I get this error instead:
    Exception in thread "Thread-4" java.lang.ArrayIndexOutOfBoundsException: 3
         at Main.run(Main.java:35)
         at java.lang.Thread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-1" java.lang.ArrayIndexOutOfBoundsException: 3
         at Main.paint(Main.java:134)
         at sun.awt.RepaintArea.paintComponent(Unknown Source)
         at sun.awt.RepaintArea.paint(Unknown Source)
         at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)So now I need help on this... =D CHEERS! :P

  • Can get my .swf files to load using the place option

    For our website www.divineunity1.com we have several videos we want our customers and patrions to be able to watch once they visit the website. We ultimately had to use the embedd funtionin flash because we can't get the video to show up using the file-> place method  suggested here on Adobe. I contacted live chat and was told that we needed to "make changes to the code which you are using toinsert in muse and use some javascript" but we don't k now how to do this. Can someone guide us through the process or link us to a tutorial of how to do this so that we are able to add flash video players to our site. Thank
    Eliana Hebrew

    Currently, Muse only supports importing SWF files, not FLV. Nor do we support placing MOV, MPEG or other video formats yet. Embedding video in SWF is a possible solution. How is SWF import into Muse not working for you? 
    You can also embed video from streaming services like YouTube and Vimeo. For more information see this thread:
    http://forums.adobe.com/thread/1004462
    As for modifying the raw HTML and JS to attach video players, this is possible if you have web programming skills to bring to bear, but the changes you make to your site will not come back (round-trip) into Muse, so this is not advisable.

  • Getting the log files from client using java program

    hi
    this is lalita...and i am doing a project in networking.... i am new to socket programming....i have established the socket connection between the client and server...with this site members' help....now i have to get the log files of the client system from the server.... via the created socket....i need it by tomorrow...i.e apr 12th ....as i have to show it to my guide...
    i just need a core java program that will get the log information of the client from the server......
    Can anybody please help me in this regard..... it would be of great help to me and my group....
    Anxiously awaiting for the replies....
    Thanking you and regards...
    Lalita.

    Simple.
    Server is listening on a specific port for the connection from the clients.
    Connect the client with the server on the above mentioned port.
    Open the streams on both side for the connection and run in separate thread.
    Define a protocol for communication between client and server.
    e.g after connection with the server the server send a text message to the client (send log) now the client first should the log file name and size to the sever and then send the file. the server should save the file.
    then disconnect the client or want to get another file or for other tasks define the other commands

  • Exporting to PDF - How Can I Get A Small File Size When Using Lots of Vector Art?

    I am trying to create a small PDF file for e-book distribution purposes. My Indesign pages contain a variety of photographs, vector icons and vector maps.
    A publisher in Britain who does similar books on a Mac using Creative Suite was able to create a 22-page document very similar to mine (similar icons, graphics, density, etc) that is only 2.84 mb, a small fraction of the file size that I'm getting! I've included a sample page of his below, which is a low-res jpeg, but on the original PDF all of the text and images (except the jpeg cliff background) are super sharp - they look like vectors when you zoom in. I've also included screenshots of his PDF export settings.
    I don't know if he's exporting directly out of Indesign, but my best guess is that he is.
    My vector-based icons, numbers and maps are bloating my PDFs considerably. When I remove them, the Indesign and exported PDF file sizes drop dramatically. For the life of me, I can't figure out how he got such small PDF files sizes using so much vector art! The PDF graphic compression settings don't seem to include any options for vector art.
    My vector art graphics (numbering, icons, maps) are all saved as Illustrator AI files and then placed in Indesign as linked graphics. My best guess as to why I can't achieve smaller PDF files is I'm either doing something wrong with the vector graphics themselves or handling/exporting them improperly out of Indesign.
    I am using CS4 for PC and am on a Dell Machine running Windows 7.

    I am trying to create a small PDF file for e-book distribution purposes. My Indesign pages contain a variety of photographs, vector icons and vector maps.
    A publisher in Britain who does similar books on a Mac using Creative Suite was able to create a 22-page document very similar to mine (similar icons, graphics, density, etc) that is only 2.84 mb, a small fraction of the file size that I'm getting! I've included a sample page of his below, which is a low-res jpeg, but on the original PDF all of the text and images (except the jpeg cliff background) are super sharp - they look like vectors when you zoom in. I've also included screenshots of his PDF export settings.
    I don't know if he's exporting directly out of Indesign, but my best guess is that he is.
    My vector-based icons, numbers and maps are bloating my PDFs considerably. When I remove them, the Indesign and exported PDF file sizes drop dramatically. For the life of me, I can't figure out how he got such small PDF files sizes using so much vector art! The PDF graphic compression settings don't seem to include any options for vector art.
    My vector art graphics (numbering, icons, maps) are all saved as Illustrator AI files and then placed in Indesign as linked graphics. My best guess as to why I can't achieve smaller PDF files is I'm either doing something wrong with the vector graphics themselves or handling/exporting them improperly out of Indesign.
    I am using CS4 for PC and am on a Dell Machine running Windows 7.

  • Getting error in File adapter while using ChunkSize

    Hi,
    I am trying to move a large file using the ChunkSize property of the file adapter as shown below. However I am getting the error during the run time in the SOA server.
    Code used:
    <adapter-config name="SyncReadFile" adapter="File Adapter" wsdlLocation="SyncReadFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/FileAdapter"/>
      <endpoint-interaction portType="SynchRead_ptt" operation="SynchRead">
        <interaction-spec className="oracle.tip.adapter.file.outbound.FileIoInteractionSpec">
          <property name="DeleteFile" value="true"/>
          <property name="PhysicalDirectory" value="C:\JDeveloper\mywork\JCAPs\ChunkFileRead\Input"/>
          <property name="FileName" value="overwriteme.txt"/>
          <property name="ChunkSize" value="55"/>
        </interaction-spec>
      </endpoint-interaction>
    </adapter-config>
    Error:
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'SynchRead' failed due to: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileIoInteractionSpec due to: Cannot set JCA WSDL Property. Error while setting JCA WSDL Property. Property setChunkSize is not defined for oracle.tip.adapter.file.outbound.FileIoInteractionSpec Please verify the spelling of the property. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Please suggest a resolution to this. I am using Jdeveloper 11.1.1.7.0

    Thank Daniel for the reply.
    But what is the impact user messaging service has here.  Can it happen that my oracle.tip.adapter.file.outbound.FileIoInteractionSpec is corrupted?
    Thanks
    Santanu

  • Windows File Share not using Correct NIC Interface.

    Hi
    I have Windows 2012 R2 server with two 1gb NICs.  I want to use NIC1 for the regular network traffic/Internet and the NIC2 for database traffic.  NIC1 has IP Addresses of 64.141.xxx.xxx (I am not showing the last 6 digits for security reasons)
    and 192.168.10.21.  NIC2 has the IP Address of 192.168.11.2.
    The Workstation accessing this server also has two NICS.  NIC1 has the IP address of 64.141.xxx.xxx and 192.168.10.22.  NIC2 has the IP Address of 192.168.11.4.
    I created a share on the server myDataShare$.  On the Workstation I access the share using \\192.168.11.2\myDataShare$ and everything works accept that the data from the share is sent across NIC1 but I want it to go over NIC2.  If I add static
    routes to both machines it makes no difference all network traffic always goes out on NIC1 for both machines.
    If look at the status of each NIC on the send and receive bytes only NIC1 show any traffic.  NIC2 is silent.  How do I get traffic for the 192.168.11.0/24 subnet to use NIC2?
    The strange thing is that if I ping a 192.168.11.0/24 address it goes over NIC2 but file sharing seems to ignore NIC2 altogether.
    Thanks,
    Simon

    Hi Simon,
    Windows Vista and later are based on the strong host model. In the strong host model, the host can only send packets on an interface if the interface is assigned the source
    IP address of the packet being sent. Also the concept of a primary IP address does not exist.
    If the program specifies a source IP address, that IP address is used as the source IP address for connections sourced from that socket and the adapter associated with that
    source IP is used as the source interface. The route table is searched but only for routes that can be reached from that source interface.
    You can try to set the “skipassource” flag ,by using this flag, the added new addresses are not used for outgoing packets unless explicitly set for use by outgoing packets.
    The detail information about skipassource flag:
    Source IP address selection on a Multi-Homed Windows Computer
    http://blogs.technet.com/b/networking/archive/2009/04/25/source-ip-address-selection-on-a-multi-homed-windows-computer.aspx
    The related KB:
    How multiple adapters on the same network are expected to behave
    https://support.microsoft.com/en-us/kb/175767/en-us
    The related third party article:
    Exchange 2013 on Windows Server 2012 with multiple IP addresses on a single NIC
    http://blog.enowsoftware.com/solutions-engine/bid/185076/Exchange-2013-on-Windows-Server-2012-with-multiple-IP-addresses-on-a-single-NIC
    I’m glad to be of help to you!
    *** This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these
    sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use
    of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. ***
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Can't get popup window to work, could use code help.

    This is the first time I've tried to open a popup window in
    flash, and I can't get it to work. The site I'm building has the
    navigation buttons contained in an animated movie clip. All of the
    navigation buttons work fine. But there's a link that the company
    wants me to add that opens a window to another site who hosts a
    video commercial for the company (it has to be a link to the other
    site, it can't be added directly to the customers site).
    The link the other company sent me is for javascript (I'll
    include it in the attached code), and the code works great if I
    just insert the javascript in the html. But I wanted to try and get
    the link in the Flash menu. I've tried several versions of the
    code, from applying it directly to the button to naming an instance
    of it and attaching the actionscript in the movie clip. When I'm
    done, I get two different problems. On my XP machine, I get a
    warning error about the flash trying to open something to another
    server. On my Vista machine, nothing happens at all.
    Anyway, I'm including the original javascript and several
    versions of the actionscript I've tried (with the actual site
    information replaced with "fakeurl.com", wasn't sure how these
    forums felt about including site info). Any help at all would be
    greatly appreciated. I've searched and searched for about a week,
    and I'm tempted to just do away with the Flash button and use a
    cheesy javascript button for this one link.
    Thanks!
    MoAtt

    In article <[email protected]>,
    [email protected] wrote:
    > All I want to do is have a Close Window link in my popup window that works.
    Select your text that you want to act as a trigger to close the window,
    just as if you were going to create a link.
    Then paste the following line of code into the link Inspector:
    javascript:self.close();
    That should do the trick.
    Cheers Martin

  • Hi...i planned to install windows xp on my macbook pro OS 10.8.3..is it compatible with my mac?if so,how can i get the windows file?

    and i planned to use VMware...

    If you are using a Virtual Machine like Vmware you should check with Vmware to see what versions of Windows run in their virtual machine. It is not Windows that has to be compatible with your Apple computer when using a virtual machine, it is the virtual machine version that must be compatible.

  • I have a website that I want to save my login details but there is no "key" in the top left-hand corner. How do I get around this? I am using version 35.

    This particular website previously had a "wrong" password. No matter how many times I changed the password, the website failed to issue a "Changed password" update. So I removed it altogether. Now the website doesn't appear in any of the Options screens and there is no "key" in the left hand corner so I am unable to save either login or password. I am using the latest version of Firefox ... ver. 35.0.1

    Did you check the exceptions?
    You can inspect and manage permissions for the domain in the currently selected tab via these steps:
    *Click the "[[Site Identity Button|Site Identity Button]]" (globe/padlock) on the location/address bar
    *Click "More Information" to open "Tools > Page Info" with the Security tab selected
    *Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab
    You can inspect and manage permissions for all domains on the <b>about:permissions</b> page.
    *https://support.mozilla.org/kb/how-do-i-manage-website-permissions
    Make sure that you do not run Firefox in permanent Private Browsing mode (Never remember history).
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    *Deselect: [ ] "Always use Private Browsing mode"

  • Created "Test" user to get around corrupt file.

    Everything seems to be working fine so far. Up and running again. Problem is when I changed the name from test to a different name than I had on my original user id/pw, it's still showing the short name as test and not the new name. Not sure if that's a problem or not!?!
    I changed the shortname under sys pref, but it returns as test. I rebooted using dvd and changed the name again but is still showing shortname as test.
    Thanks in advance for any suggestions!

    Return to default desktop, apparent "loss" of home directory, (it can happen spontaneously too)...
    http://docs.info.apple.com/article.html?artnum=107854
    ChangeShortName 10.4 only...
    http://www.macupdate.com/info.php/id/16620

  • Reading files from KM using PDK for Java

    Hi Experts,
    I am developing an application in PDK for Java.This application will read the latest files in the KM folder.
    There are 100s of files in 100 of folders in KM. So I want to display the latest files that are from the KM folder. For eg., need to display the last 6 files that are created.
    Please let me know,how to do this, because, if we search in all the files,then it will take some time, so I want to reduce this time.
    How can be this done.
    Awaiting for your replies.
    Thanks & Regards,
    Palani

    your Km folder can be sorted based on the 'Creation date' in descendgin order.
    Then you will get all the latest documents in the top of your folder.
    You can do this in the Collectione renderer of your layoutset used.
    There in the sorting mode you can give cm_created
    Raghu

  • Unable get complete filepath from jsp page using request.getParameter()

    Hey all,
    i am actually trying to get the selected file path value using request.getParameter into the servlet where i will read the (csv or txt) file but i dont get the full path but only the file name(test.txt) not the complete path(C:\\Temp\\test.txt) i selected in JSP page using browse file.
    Output :
    FILE NAME : TEST
    FILE PATH : test.txt
    Error : java.io.FileNotFoundException: test.txt (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileReader.<init>(FileReader.java:55)
    at com.test.TestServlet.processRequest(TestServlet.java:39)
    at com.test.TestServlet.doPost(TestServlet.java:75)
    JSP CODE:
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>DEMO SERVLET</title>
    </script>
    </head>
    <body>
    <h2>Hello World!</h2>
    <form name="myform" action="TestServlet" method="POST"
    FILE NAME : <input type="text" name="filename" value="" size="25" /><br><br>
    FILE SELECT : <input type="file" name="myfile" value="" width="25" /><br><br>
    <input type="submit" value="Submit" name="submit" />
    </form>
    </body>
    </html>
    Servlet Code :
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException, FileNotFoundException {
    response.setContentType("text/html;charset=UTF-8");
    PrintWriter out = response.getWriter();
    try {
    String filename = request.getParameter("filename");
    out.println(filename);
    String filepath = request.getParameter("myfile");
    out.println(filepath);
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Servlet TestServlet</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("<h1>Servlet TestServlet at " + request.getContextPath() + "</h1>");
    if (filepath != null) {
    File f = new File(filepath);
    BufferedReader br = new BufferedReader(new FileReader(f));
    String strLine;
    String[] tokens;
    while ((strLine = br.readLine()) != null) {
    tokens = strLine.split(",");
    for (int i = 0; i < tokens.length; i++) {
    out.println("<h1>Servlet TestServlet at " + tokens[i] + "</h1>");
    out.println("----------------");
    out.println("</body>");
    out.println("</html>");
    } finally {
    out.close();
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    Needed Output :
    FILE NAME : TEST
    FILE PATH : C:\\Temp\\test.txt
    Any suggestions Plz??

    As the [HTML specification|http://www.w3.org/TR/html401/interact/forms.html] states, you should be setting the enctype to multipart/form-data to be able to upload files to the server. In the server side, you need to process the multipart/form-data binary stream by parsing the HttpServletRequest#getInputStream(). It is a lot of work to get it to work flawlessly. There are 3rd party API's around which can do that for you, such as [Apache Commons FileUpload|http://commons.apache.org/fileupload] (carefully read the User Guide how to use it).
    You can also consider to use a Filter which makes use of the FileUpload API to preprocess the request so that you can continue writing the servlet code as usual. Here is an example: [http://balusc.blogspot.com/2007/11/multipartfilter.html].

  • QUESTIONS: I have an iphone 3gs.just updating to ios5. am at the stage where I chose to restore iphone via itunes. sync seems stuck at step 7 of 7: syncing artwork. Is this necessary and if not how do I get around it?

    QUESTIONS: I have an iphone 3gs.just updating to ios5. am at the stage where I chose to restore iphone via itunes. sync seems stuck at step 7 of 7: syncing artwork. Is this necessary and if not how do I get around it?

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

Maybe you are looking for

  • How to use ScriptList class in Indesign CS5 SDK?

    Hi, Can anyone help to this concern??... I couldn't use ScriptList class in CS5 SDK, as we use in Indesign CS4. It throws the following error when I build my plug-in. Error     1    error LNK2001: unresolved external symbol "__declspec(dllimport)  st

  • Orphaned Applications in software center

    I have seen this a few times but seems to be intermittent.  I created a query based user collection.  My test user account was part of that collection.  I deployed an app to the collection.  The user was able to see it in the app catalog and install

  • ASM Disk Sizes in a Disk Group

    I have a Diskgroup that contains one ASMDisk that is 500gb. It needs to grow and my question is - Does the next disk added to the group need to be of the same size? For example - ASM_Disk1 = 500gb and is in ASM_Diskgrp1 ASM_Disk2 - 250gb >> can it be

  • Move to next record / wildcard search

    Hi Hope you can understand this explanation.. I have searchable database for Holiday & Residential property here http://www.roomtobreathesl.com (search facility in the navigation menu) The results page for this search works fine for when you specify

  • Exception while proccessing method SMARTSYNC

    Hi, Sometimes I get the following exception when synchronizing MAM 2.5 with the Middleware: <i>- Exception while proccessing method SMARTSYNC : com.sap.ip.me.smartsync.sync.InboundTransformException: java.lang.NullPointerException : java.lang.NullPoi