Writing to a URLConnection question

Hi, I have the following issue hope someone can help!
Thank you in advcance!
Eric
Program Goal
- Want to write a program that logs in to a website that requires a username and password.
- The actual URL of the page I want to login:
     http://www.19lou.com/passportlogin.php?action=login
What I have done
- I followed the Sun Java Networking Tutorial and wrote the program. Below are the steps:
1. Create a URL.
2. Retrieve the URLConnection object.
3. Set output capability on the URLConnection.
4. Open a connection to the resource.
5. Get an output stream from the connection.
6. Write to the output stream.
7. Close the output stream.
Problem
- I wrote my program and printed the server's response. It says invalid login or password. When I manually
logon, the username and password work correctly.
- I suspect that the content line my program HTTP POST to the server is incorrect.
- Here is segment of my code:
     private static final String POST_CONTENT_TYPE = "application/x-www-form-urlencoded";
     private static final String LOGIN_ACTION_NAME = "login";
     private static final String LOGIN_USER_NAME = "test";
     private static final String LOGIN_PASSWORD = "test";
     private static final String TARGET_URL = "http://www.19lou.com/passportlogin.php?action=login";
     //Encode the content to be POSTED
     private String preparePostContent(String loginUserName, String loginPassword) throws UnsupportedEncodingException {
          //Encode username and password to UTF-8 encoding standard
          String encodedLoginUserName = URLEncoder.encode(loginUserName, "UTF-8");
          String encodedLoginPassword = URLEncoder.encode(loginPassword, "UTF-8");
          String content = "login=" + encodedLoginUserName + "&password=" + encodedLoginPassword;
          return content;
     //HTTP POST code
     public HttpURLConnection doHttpPost(String targetUrl, String content) throws IOException {
          HttpURLConnection urlConn = null;
          DataOutputStream dos = null;
          try {
               //Open a connection to the target URL
               URL aUrl = new URL(targetUrl);
               urlConn = (HttpURLConnection)aUrl.openConnection();
               //Specify that we intend to use this connection for input and output
               urlConn.setDoInput(true);
               urlConn.setDoOutput(true);
               //Specify the content type of our post
               urlConn.setRequestProperty("Content-Type", POST_CONTENT_TYPE);
               //Specify the method of HTTP request which is POST
               //throws ProtocolException
               urlConn.setRequestMethod("POST");
               //Prepare an output stream for writing data to the HTTP connection
               //throws IOException
               OutputStream os = urlConn.getOutputStream();
               dos = new DataOutputStream(os);
               //Writing data
               //throws IOException
               dos.writeBytes(content);
               dos.flush();
               dos.close();
               return urlConn;
          catch(IOException e) {
Questions
1. Is anything wrong with the content line that's causing the program not being able to login?
     String content = "login=" + encodedLoginUserName + "&password=" + encodedLoginPassword;
2. Any other parameter that's missing?
3. The keys here are "login" and "password". Are they the same for every system, even a different language?

This is a complicated thing. I have used apache's httpclient and ftpclient in the past to circumvent this. The problem is that it then takes you away from URL + URLConnection. Also, I'm not sure you can do SSL with that.
I recommend you look around the web. I found some good examples of how to do CGI when I was trying to do this.

Similar Messages

  • Writing to a URLConnection

    I am trying to follow the "Writing to a URLConnection" tutorial for here
    http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html
    and I am having some trouble following it. I have made a java application that I would like to use to write to a server via cgi-bin script. This tutorial explains that it is possible but it is a little confusing to me. I don't see how that example takes the input of the URL of the cgi-bin script (or servlet) and a string to reverse as it says it does. For example if the string is 'Reverse Me' the output will be apparently 'eM esreveR'. At what point in the example code do you enter in the URL and string? I am not familiar with cgi-bin scripts. Is the example script provided sufficient to accept input from my application and write to the server? If not, how does it need to be changed? What file on the server will the cgi-bin script write to? Thanks for your help!

    fws wrote:
    Thanks for your help Hiwa. I am interested in exactly which part of Perl I need to point my attention to to achieve my goal. Simply setting out to learn an entire new language for one simple problem is not practical when there is an immense amount of knowledge wrapped up in forums such as this one. However, I am beginning to realize that, while no one else will reply to this post you, hiwa, do not know the answer or it could just be your quick amiss attitude I am sensing. This leads me to wonder why you wasted your time in the first place replying to my post and continue to lurk around this forum. But much more importantly it has become clear that this thread has been a waste of my time and I need to search for someone other than you, hiwa, for help.Hmmm.
    Well for one thing you might make note of the fact that this forum is for Java programming and not Perl programming and since your current question is about a Perl script it is best asked elsewhere.

  • URLConnection question..how to increase performance?

    Hi,
    I am trying to download a text file using FTP and display it in the browser. The code below is within a JSP page.
    My problem is that it works with small files very quickly, but as soon as the file size is large, it is VERY VERY slow. A file which normally takes 30-50 seconds over FTP takes about 25 MINUTES if i use the code below.
    How can I increase the speed...?? Should I used different bufferedreaders?
    I want to preserve the /n/r of the original file so that the file is readable in the browser.
    Thanks for any help....I am new to Java..
                   URL theUrl = new URL("ftp://"+strHost + strFilePath + strFileName);
                   URLConnection uc = theUrl.openConnection();
                   InputStream content = uc.getInputStream();
                   BufferedInputStream in = new BufferedInputStream (content);
                   LineNumberReader lnr = new LineNumberReader (new InputStreamReader (in));
                   String tempStr = "";
                   String str = "";
                   while ((tempStr = lnr.readLine()) != null) {
                   str += (tempStr);
                        %>
                        <%=tempStr%><BR>
                        <%tempStr = "";
                        %>
                   <%
                   in.close();
                   lnr.close();
    /******************************************************/

    Hi, thanks for all your suggestions. Here is what i have used finally and it is remarkably fasssstttt.....
    It has solved all my problems. I am able to download a text file of over 2MB and display it under 20 seconds.
                   URL theUrl = new URL("ftp://"+strHost + strFilePath + strFileName);
                   URLConnection uc = theUrl.openConnection();
                   BufferedReader reader = new BufferedReader(new InputStreamReader(uc.getInputStream()));
                   String line;
                   while( (line= reader.readLine()) != null){
                             line += "<BR>";%>
                        <%=line%>
                   <%}
                   reader.close();
    /********************************************************/

  • Multiple questions on 1 page

    Adobe Captive 5 user here and I would like to know if I can put 10 questions on 1 slide.
    For example we are asking the users to complete 10 true false questions which the answer should be true. I would like to put all the questions on 1 page and mak it appear like a table.
    Can anyone assist

    Hello,
    You can achieve this by creating the question slides yourself, using standard objects, variables and advanced actions. But it means a lot of work, do not know if you want to go that way? You did not tell if the results have to be reported to a LMS? I suppose that each question needs a separate score, so using the default Question slides will be impossible because they only pass a score if all questions have been answered correctly, that is why I think the other proposition by Mr. T_D (using MCQ) will not be appropriate, but of course I may be wrong. MCQ is like the other Question slides: all answers have to be correct to have the score attributed to the user.
    As for the radio buttons, there is a widget coming with Captivate and you can store the answer in a user variable which could server your purpose.
    I have been blogging and writing articles about creating question slides, but your typical usecase is not exactly described. If I find some time I will try to work out an example if you want to go that way? Here is the link to one of my blog posts, which has links to several articles:
    Customize your Quiz using advanced actions
    Lilybiri

  • Setting Paper Size while printing reports in character mode report

    Hi
    I am using developer suite 10g and am able to print the reports in char mode.
    but i have a small problem, i am unable to select the paper size while printing
    i select the parameters in a form and click on run report button
    this button helps me to get the data print directly
    but it takes the paper size as 12" height every time.
    where as my requirement is for difftent sizes. like 6", 9" height
    if i can select the size at runtime i can get my work done.
    can any one help me in this. its very urgent.
    Regrads
    Bhaskar

    HI, I My self writing , who created this question, as I got sucess in changing the font size.
    my dflt.prt in printer folder has the following,
    printer "dflt"
    height 46
    width 130
    after page control(L)
    return control(M)
    linefeed control(J)
    code "1" esc "G"
    code "2" esc "H"
    code "3" esc "4"
    code "4" esc "5"
    code "5" esc "W1"
    code "6" esc "W0"
    code "7" esc "C"
    code "8" control(O)
    code "9" control(R)
    I am able to increase the font size using code &5 and & 6 for the fileds or lables in report.
    But how to reduce the font size ???
    which code should I use in printer file. Our dot matrix printer is of type EPSON.

  • How do I save more than one username and password for one website?

    First, let me say that I'm extremely irritated that I just spent 15 minutes writing a very detailed question and researching my OS, browser version, etc. only to have it all erased because I didn't "verify" my e-mail before I started typing my question. Firefox: please fix your sign-up and question posting process so this doesn't happen. It should retain your info for a smooth process after you verify. What a waste of time and effort when I'm already frustrated.
    ACTUAL QUESTION: I manage two online calendars under one root URL (www.samplepage.com/calendar1 and www.samplepage.com/calendar2). My e-mail address is the user ID for both accounts but the passwords are different.
    FF used to associate your username and password with the ENTIRE URL but now it only associates with the root (www.samplepage.com). So, for me, it will only remember one password.
    How can I get it to remember BOTH passwords?
    Thanks!

    That is not possible with the Firefox password manager. You can only save a user name and its password once for a specific domain, so if the name is the same then it doesn't work.

  • IPod won't restore, is stuck in recovery mode

    This is the email I sent to Apple on Sunday night, they wrote back long enough to say it was being forwarded to the tech department, and I haven't heard anything since:
    Hello,
    I'm writing about a problem with my sister's iPod.
    She was on her iPod touch 8GB tonight, and her iPod suddenly brought up this alarming screen. Attached is a picture of what that screen image looked like. It will not let her do anything whatsoever on her iPod. It appeared it needed and was asking to be plugged into the computer by the image it showed.
    We plugged it into the computer and as soon as iTunes pulled up on the computer it gave a message reading:
    "iTunes has detected an iPod in recovery mode. You must restore this iPod before it can be used with iTunes."
    We tried to restore it, and it would not let us restore it. Everytime we tell it to restore, it goes through the motions as if it is going to try to restore, then blinks a white screen that goes back to black with the Apple logo on the iPod, while at the same time the computer iTunes displays this messsage:
    "The iPod "iPod" could not be restored. An unknown error has occured (1611)."
    It gave me the option of clicking Ok or More Information. I clicked more information which lead me to this page on your website: http://support.apple.com/kb/TS1275 - The picture of what came up is on this page.
    It also gave me an "unknown error (9)" when I tried to plug it back in and restore it after restarting the computer.
    I have done all I know to do to try to fix this issue. It is 1 am, and I've been trying to fix this problem for over 2 hrs. It doesn't seem fixable from everything I've done.
    The computer has been restarted, the iTunes is the most recent version out (matter of fact I downloaded it while trying to figure the problem out, I think it's the 10.1 version), and the software on the iPod is current and up to date. I have tried it on a different computer and it says the same thing. I have tried my best to get it worked out, and I don't konw what else to do.
    I'm writing to ask some questions and get some help. First off why did the iPod suddenly do this? Are there any precautions to take to prevent if from happening again? And finally and most importantly right now, how can I restore and fix it? My sister is lost without her iPod!
    Thanks so much for any help you can give me on this matter!
    Have a great day!
    Sharon
    Does anyone know what to do?

    Thanks everyone for trying to help! I'm sorry for all of those of you that are having issues, or have had issues. Technology is a wonderful thing WHEN it works.
    We ended up taking it to the Apple Store, they said it was unfixable. However told us if we had a guarantee it may be under that. Since the iPods were got at Best Buy with a 2 yr. guarantee, the guarantee was still in use, so we checked with them on it. They said it WAS fixable, so we sent it off. Ended up being that they weren't able to fix it, and they replaced it with a new one. The new one doesn't have the apple logo on the back, but it says it's a iPod touch, and is suppose to be the same kind my sister already had. I'm currently restoring it, so we'll see how it goes.
    Itunes support was NO help. They are lowsy when it comes to support! I do appreciate everyone's help and advice on this. To those of you still having problems I wish you the best!

  • Extremely slow External Drive

    I have just installed a USB 2.0 Lacie 1 TB external hard drive in the rear port of my Airport Extreme router, for the purpose of storing & sharing Photos, Music & video files on our network. All this was done on the advice from the apple guy.......when i open Iphoto it takes well over a full minute to see the photo library (that little pinwheel just keeps on spinning)...Does anyone know a solution to this extreme slowness?

    Just writing to bump your question as I have a very similar question. I want to connect a HD to my Time Capsule for the same purpose as you and want it to be fast like you. I hope you get an answer.

  • Can't open application because it is not supported on this architecture?

    Ok so i was gonna get snow leopard tomorrow and wanted to do a clean install and i backed up all my apps,music,movies,dmgs,textfiles,pictures and games none of them work? they all say the same thing and they are only like 1kb but before i formatted and back up it was bigger even now my hardrive has 100gb taken but the software etc. is only 1kb? then i called apple and it turned out my apple care crap has expired and that i had to pay $40 wow how loyal and i said no then they called me to come here what the ****? so please why is my stuff like this. but previously all apps worked. plus when i try to dray pictures movies or songs they turn into this weird blue usb icon thing then when i try to start it says it is a alias?
    im on 10.5.4, intel, and my hardrive is ntfs
    please help me guys i cant lose all my data.

    I think many would agree that your post is incomprehensible.
    From what I CAN gather, you backed up your data and apps and formatted your hard disc - yes?
    I assume you did not check the backup before formatting, otherwise you'd have seen that your files weren't actually backed-up...
    It seems as if you "backed-up" (copied or created) aliases of your files, rather than the files themselves.
    There are applications which could attempt to recover your lost data - search for "data recovery".
    For the future, be more careful about what and how you back up, and try to be less hasty with your writing too, understanding your questions will help people answer them.
    BTW, what's the connection between the subject of your post and its content?
    Message was edited by: i.3d

  • Reports 6i - character mode report - to reduce font size of field

    HI, friends,
    I am using Developer 6i with windows xp platform.
    In reports how to change the font size of a perticular field in the layout.
    In character mode report it is not possible to change the font size directly.
    I tried using the properties Printer code before ,printer code after i.e for e.g by giving the values
    printer code before - &1, printer code after - &1. But on printing the report on paper there is no change
    in font size.
    what to do? should i change any thing in printer files like .PRT files?? if so how?
    or Any altenate method??
    plz suggest.
    with thanks
    GMS

    HI, I My self writing , who created this question, as I got sucess in changing the font size.
    my dflt.prt in printer folder has the following,
    printer "dflt"
    height 46
    width 130
    after page control(L)
    return control(M)
    linefeed control(J)
    code "1" esc "G"
    code "2" esc "H"
    code "3" esc "4"
    code "4" esc "5"
    code "5" esc "W1"
    code "6" esc "W0"
    code "7" esc "C"
    code "8" control(O)
    code "9" control(R)
    I am able to increase the font size using code &5 and & 6 for the fileds or lables in report.
    But how to reduce the font size ???
    which code should I use in printer file. Our dot matrix printer is of type EPSON.

  • Movies to play in a container

    Hello
    I hope someone can guide me in the right direction. I am
    producing a cd in Flash.
    I want my flash files to play inside of a container/frame.
    The container will be viewed as a red bar at the top and bottom of
    the flash, containing my play, pause buttons etc. The flash movie
    will play inside of the red bars.
    Can the container be a separate object object as I want the
    heading to be maintained in the container, so that heading changes
    will be updated on the container extending the flash movie
    lifespan.
    I also want to add a preloader which is built into the
    container to let users know that the next movie is loading.
    Can the container be built in flash or would I have to use a
    scripting language?
    My flash files currently run as external movies - is this ok
    or would they need to be internal?
    Can anyone help?

    Hi Zvordauk!
    You could easily accomplish your goal in LiveStage Professional... but since you are writing here with this question I will assume you don't have this program (LiveStage's parent company, TotallyHip, went down the tubes a few years ago).
    Which leaves us with an HTML solution (you could use the browser to launch the QuickTime Player instead of playing on a web page). You begin with the default movie and then a list of movies plays as defined by the code structure.
    The following is the code frame work:
    QTNEXTn="<Filename> T<Target>" or GOTOn
    QTNEXT is the command.
    n is an index number for your movie.
    Filename is the name/pathway for your movie. If you put all your movies into one folder it would make the naming scheme easier.
    Target should be "myself" which replaces the current running movie with the next one on the list (as opposed to opening in a new window or the QT Player).
    An example here: http://www.wdd3.info/Xper/Multi-Loader.html
    Below shows the style of the code I used in an HTML Snippet in iWeb for the above example:
    ======
    <embed src="First.mov" height="496" width="640"
    QTNEXT1="<Second.mov> T<myself>"
    QTNEXT2="<Third.mov> T<myself>"
    QTNEXT3=GOTO0 >
    Note the last line of code... instead of a movie file reference there is a GOTO command, in this case "0" (zero) - which plays the opening default movie (index of 0) again and creates an infinite loop - or it could be any movie (number) in the index - or have a third movie play instead, etc. 255 files is the limit that can be sequenced.
    Of course you would want to wrap the above code in an object tag so Windows users could view it.

  • Character mode report w/ esc sequences sent to printer using 10g reports.

    I am currently using 6i to generate character based reports that have escape sequences. Using 6i reports I am able to send the reports to a printer, this controls fonts, page breaks, formatting and loading of an embedded forms on the printer. Is anyone doing something like this. PS. I must be able to print on a printer that is on the client machine, I cannot see the server printers.
    Message was edited by:
    user522424
    Message was edited by:
    user522424

    HI, I My self writing , who created this question, as I got sucess in changing the font size.
    my dflt.prt in printer folder has the following,
    printer "dflt"
    height 46
    width 130
    after page control(L)
    return control(M)
    linefeed control(J)
    code "1" esc "G"
    code "2" esc "H"
    code "3" esc "4"
    code "4" esc "5"
    code "5" esc "W1"
    code "6" esc "W0"
    code "7" esc "C"
    code "8" control(O)
    code "9" control(R)
    I am able to increase the font size using code &5 and & 6 for the fileds or lables in report.
    But how to reduce the font size ???
    which code should I use in printer file. Our dot matrix printer is of type EPSON.

  • Infocubes - TRANSACTIONAL - STANDARD - REAL TIME

    <h3>Some clarity has to be brought in to these three types of CUBES.
    <h5>
    I am using SALES ANALYSIS & SALES BUDGET here as an example.
    <h1>Assumptions & Scenario:
    <h5>1. Sales Budget is prepared once a year, Division / Group / Category / Material wise (may be customerwise, but does not really matter). Once the budget is approved, it more or less remains static, with very little changes. Budgeting is done for Quantity to be sold as well as an approximate unit cost.
    <h5>
    2. Sales Analysis captures the actual sales in the same order Division / Group / Category / Material wise but now the quantity and the unit price are actual values.
    <h5>
    3. Assume that the accounting period for this organization is January to December for a calendar year, and the Sales budget is finalized and approved in November for the next Accounting year. Example, sales budget for Jan, 2010 - Dec, 2010 is finalized and approved in November, 2009.
    <h5>
    4. Review and fine tuning and updates to Sales budget is carried out once in three months for the next quarter. In the case in Mid March, Mid Jun, Mid Sep.
    <h1>BI Requirement:
    <h5>1. Actual sales figures are always compared with Sales Budget and also compared with Last years Actuals.
    <h2>
    Solution Scenario - I.
    <h5>
    Maintain Sales Budget figures in a separate INFOCUBE, FACTS being quantity and value, Dimensions being Division / Group / Category / Material . (since there is very little update to this cube, SHOULD WE CALL IT STANDARD or REALTIME or TRANSACTIONAL)
    <h5>
    Maintain Actual sales in another INFOCUBE, again FACTS being quantity and value, Dimensions being Division / Group / Category / Material . Because of the Data Volume, we want to update this cube on nightly basis, using DELTA. Should we call this STANDARD or TRANSACTIONAL ?
    <h5>
    All the reports, queries will JOIN (dont know how) both the cubes and display BUDGET and ACTUALS in adjacent collumns.
    <h2>_Solution Scenario -II._
    <h5>
    Since the BUDGET figures and ACTUAL figures are always viewed together, create a single INFOCUBE for this department.
    <h5>
    FACTS being BudgetQuantity, BudgetAmount, ActualQuantity and ActualAmount. (include if you want, some computational fields to show Percentage of Variance which can also be done at the query level). DIMENSIONS remain the same as SCENARIO - I.
    <h5>
    You will note immediately that TWO OF THE FACTS are almost STATIC while two of the FACTS are updated everyday.
    <h5>
    What would you call this type of CUBE? TRASACTIONAL / STANDARD / REALTIME ?
    <h5>
    Difference between STANDARD and REALTIME cubes being the way the INDICES are maintained. (Hope my understanding is correct, one designed for better performance for RETRIEVAL and the other for UPDATE).
    <h5>
    In all the cases (Transactional / Standard / Real time) the data is moved from R/3 to PSA and then to the INFOCUBE. so why use the term REAL TIME. And cubes are always built based on Business Transactions, so why use the term TRANSACTIONAL?
    <h5>
    The term "Real Time" somehow conveys the idea that the CUBE Gets updated, when a transaction is Committed in R/3 database. The Help document also is Ambiguous. If the data is moved from R/3 to Data Source and then to PSA and finally reaches Infocube, then  what is REAL TIME?
    <h5>
    I think it would benefit everyone in SAP BI domain, if these things are explained in plain english.
    <h5>
    I apologize for writing such a long QUESTION , but hope it will help many of you,
    <h3>
    Thanks,
    <h5>
    Gold
    Edited by: HornigoldA on Jan 21, 2010 2:33 PM --- I just edited it to make it more readable with MARKUPS

    <h3>Some clarity has to be brought in to these three types of CUBES.
    <h5>
    I am using SALES ANALYSIS & SALES BUDGET here as an example.
    <h1>Assumptions & Scenario:
    <h5>1. Sales Budget is prepared once a year, Division / Group / Category / Material wise (may be customerwise, but does not really matter). Once the budget is approved, it more or less remains static, with very little changes. Budgeting is done for Quantity to be sold as well as an approximate unit cost.
    <h5>
    2. Sales Analysis captures the actual sales in the same order Division / Group / Category / Material wise but now the quantity and the unit price are actual values.
    <h5>
    3. Assume that the accounting period for this organization is January to December for a calendar year, and the Sales budget is finalized and approved in November for the next Accounting year. Example, sales budget for Jan, 2010 - Dec, 2010 is finalized and approved in November, 2009.
    <h5>
    4. Review and fine tuning and updates to Sales budget is carried out once in three months for the next quarter. In the case in Mid March, Mid Jun, Mid Sep.
    <h1>BI Requirement:
    <h5>1. Actual sales figures are always compared with Sales Budget and also compared with Last years Actuals.
    <h2>
    Solution Scenario - I.
    <h5>
    Maintain Sales Budget figures in a separate INFOCUBE, FACTS being quantity and value, Dimensions being Division / Group / Category / Material . (since there is very little update to this cube, SHOULD WE CALL IT STANDARD or REALTIME or TRANSACTIONAL)
    <h5>
    Maintain Actual sales in another INFOCUBE, again FACTS being quantity and value, Dimensions being Division / Group / Category / Material . Because of the Data Volume, we want to update this cube on nightly basis, using DELTA. Should we call this STANDARD or TRANSACTIONAL ?
    <h5>
    All the reports, queries will JOIN (dont know how) both the cubes and display BUDGET and ACTUALS in adjacent collumns.
    <h2>_Solution Scenario -II._
    <h5>
    Since the BUDGET figures and ACTUAL figures are always viewed together, create a single INFOCUBE for this department.
    <h5>
    FACTS being BudgetQuantity, BudgetAmount, ActualQuantity and ActualAmount. (include if you want, some computational fields to show Percentage of Variance which can also be done at the query level). DIMENSIONS remain the same as SCENARIO - I.
    <h5>
    You will note immediately that TWO OF THE FACTS are almost STATIC while two of the FACTS are updated everyday.
    <h5>
    What would you call this type of CUBE? TRASACTIONAL / STANDARD / REALTIME ?
    <h5>
    Difference between STANDARD and REALTIME cubes being the way the INDICES are maintained. (Hope my understanding is correct, one designed for better performance for RETRIEVAL and the other for UPDATE).
    <h5>
    In all the cases (Transactional / Standard / Real time) the data is moved from R/3 to PSA and then to the INFOCUBE. so why use the term REAL TIME. And cubes are always built based on Business Transactions, so why use the term TRANSACTIONAL?
    <h5>
    The term "Real Time" somehow conveys the idea that the CUBE Gets updated, when a transaction is Committed in R/3 database. The Help document also is Ambiguous. If the data is moved from R/3 to Data Source and then to PSA and finally reaches Infocube, then  what is REAL TIME?
    <h5>
    I think it would benefit everyone in SAP BI domain, if these things are explained in plain english.
    <h5>
    I apologize for writing such a long QUESTION , but hope it will help many of you,
    <h3>
    Thanks,
    <h5>
    Gold
    Edited by: HornigoldA on Jan 21, 2010 2:33 PM --- I just edited it to make it more readable with MARKUPS

  • Windows Installer Services Disabled

    Hi,
           Today I have checked my windows installer for some reason and found it's in disabled mode. I just wondered why this services went to disabled mode and able to start or stop the services. The same services I can able start
    and stop with out any issues in other machines. Please see the screen shot for more details.
    OS - Windows 8 Pro
    Regards,
    Thiyagu.

    Contact the machine's maintainer, for example the IT department if it is managed by the IT. If you manage the machine yourself, ask on answers.microsoft.com.
    This web site is for help in writing software, and you are not writing one, so your question is off-topic here. 
    Visual C++ MVP

  • Auto Login Key Search

    Hey everyone.  I have a little bit of a conundrum. I need to be able to run a script on a OU (and subfolders) that will find a specific registry key on the computers and report it into an CSV/XLS file.
    Specifically I need to find all computers within an OU including its subfolders that have autologin enabled on them.  So the script would search for registry key HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\AutoAdminLogon
    with a string value of 1, then log the computer name within an file.
    Any help is much appreciated!

    What is an XPS file?  You cannot create XPS files with PowerShell or VBScript.  You can print to an XPS printer if one is defined.  Perhaps you mean a TXT or LOG file?
    ¯\_(ツ)_/¯
    I meant CSV, but if you weren't going to help anyway then why even reply? 
    Quit Trolling.
    Now that we know the question try this:
    Get-AdComputer -filter *|
          ForEach{
                 # get remote key (from gallery )
                 $enabled=Get-RemoteRegistryValue ......
                 New-Object PsObject -Property @{System=$_.Name;IsEnabled=$enabled}
         } | Export-Csv results.csv
    Just copy and insert the remote registry code. and output objects
    Outputting to a CVS file is easy.  XPS is not easy and cannot be done directly in scripting.
    I am sorry that I teased you for writing such a horrible question.  It was not easy to guess what you were asking so I had fun with pointing that out to you.  Don't take it so personally.  It was meant to be a conundrum.
    ¯\_(ツ)_/¯

Maybe you are looking for

  • Mtn Lion fresh Installed. Now how do I make iTunes recognize my iPhone?

    I decided to wipe my HD clean and do a fresh install of Mountain Lion on my iMac i5 27". My question relates to iTunes and syncing with my iPhone. My iPhone is no longer recognized by my computer. I would hate to have to wipe my iPhone and start sync

  • Can't access songs on itunes

    I can import songs from CD to my ipod, and they will play fine. Why can I not access them on the itunes software? They appear in black text under "Library", but are grayed out whne I look at my ipod. I can not change song titles, etc. or create playl

  • Lost photos,when transfer from a PC to Seagate External Hard Drive n then to Mac

    Lost many photos,I have a lots of photos since I carry a camera constantly ,when transfer from a PC that crash to 5T Seagate External Hard Drive I thought I was saved(in a way)  I use Time Machine to save most of my work n transfer  then to  IMac jus

  • Question Adobe Application Manager download error

    I've  bought Photoshop CC this evening and I've a download error and this what is saying: Adobe Application Manager is damaged and need to be installated again. Please contact customer service. I also can't install it again. So I like to know wahat i

  • Acrobat XI Pro won't Activate

    Hi All, I received Acrobat XI Pro (for free, thanks Adobe) at the launch event in 2012 and it's been a great product to use. It's started asking me to activate it. SO I go to the activation screen, after logging with my Adobe ID, put in the 24 digit