Not exists - seems confused

hi,
i think i am confused with my own sql statement
select * from tbl1 A
where not exist (select null from tbl2 B
where a.id = b.id and
a.createdate between b.start and b.end)what the above query will return are records from tbl1 other than having the same id and between the date range right ?
my intention is to return all records from tbl1 that might have the same id BUT not between the data range
i am trying not to do a join as it'll return duplicates but how can i rewrite it using NOT EXISTS
pls advise
tks & rdgs

hi ,
here's my sample data
tbl1
id createdate
1 12-nov-2006 4 am -- shld not return this record
1 12-nov-2006 8 am -- shld return this record as it not in the range
1 12-nov-2006 8:30 am -- shld return this record as it not in the range
tbl2
id start end
1 12-nov-2006 3 am 12-nov-2006 6 am
1 12-nov-2006 9am 12-nov-2006 12 pm
2 12-nov-2006 9am 12-nov-2006 12 pm
hope it'll help to make it clearer
tks & rdgs

Similar Messages

  • Problem creating new sites. The formula refers to a column that does not exist

    Good morning,
    I have a problem creating new sites in my development environment. We have a template which works properly when we create new sites with it. However, when we add one new content type in the site created and save it as a new template, we can't create new sites
    with this template. The error log is that there are one problem in one column [The formula refers to a column that does not exist.  Check the formula for spelling mistakes or change the non-existing column to an existing column]. 
    I have opened the wsp template with visual studio but I can´t discover what column is the problem because the log only refers to the feature (ListInstances).
    Anybody knows how to find my problematic column?
    The error is:
    Feature Activation: Threw an exception, attempting to roll back.  Feature 'plantilla Llave en Mano 20141222 v2ListInstances' (ID: '6c61a3bf-3c51-4064-958b-d154729233e7').  Exception: Microsoft.SharePoint.SPException: La fórmula hace referencia a una
    columna que no existe. Compruebe que la fórmula no tiene errores ortográficos o cambie la columna que no existe por otra que exista. ---> System.Runtime.InteropServices.COMException (0x81020057): La fórmula hace referencia a una columna que no existe. Compruebe
    que la fórmula no tiene errores ortográficos o cambie la columna que no existe por otra que exista.     at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateField(String bstrUrl, String bstrListName, String bstrXML)     at Microsoft.SharePoint.Library.SPRequest.UpdateField(String
    bstrUrl, String bstrListName, String bstrXML)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionListInstances(SPFeaturePropertyCollection props, SPSite site,
    SPWeb web, Boolean fForce)     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean
    fForce)     at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)
    Thanks in advance

    Hi Enrique,
    According to your description, after added a content type into the new site and save the site as a template, there is an issue when creating another new with the newly
    site template.
    Based on the error message “The formula refers to a column that does not exist…”, seems that it would be an issue of a Calculated column in the content type you added,
    please go through all the Calculated column in that content type to see if the formulas all work well.
    Feel free to reply if there any progress.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Why I can't I do a songs sort which are marked by !'s (apostrophes) on the left side of list indicating the song does not exist in my music border, instead of scrolling through 1000's of song manually?? Seems stupid, no?

    Why I can't I do a songs sort which are marked by !'s (apostrophes) on the left side indicating the song does not exist in my music border, instead of scrolling through 1000's of song manually?? Seems stupid, no? And these !'s appear only when you try to play that song and it says "unable to locate".

    Use Shift+Delete to remove items from a playlist and the library at the same time.
    tt2

  • GUI_DOWNLOAD - fieldnames does not exist

    Hi All,
    I have managed to sort out the format of my question, so I have closed the other post and started a fresh
    I am wondering if you can help in anyway, I am trying to create a datafile and dump it to a PC, so far I use the cl_gui_frontend_services=>file_save_dialog to allow the user to specify the file location and this does indeed create the file, what I really need are column heading added to the file.
    I have search around and it seems that I have to pass FIELDNAMES to cl_gui_frontend_services=>gui_download.
    I have created the headers and insterted the field FIELDNAMES but get an error saying :
    Formal Parameter FIELDNAMES does not exist.
    Also I really need the fieldnames to be created by myself as a couple of the column types are the same and that would confuse the users.
    Here is the code I use.
    TYPES: BEGIN OF t_fieldnames_structure, " Structure for table of internal fieldnames
                col_text(10) TYPE c,
            END OF t_fieldnames_structure.
            DATA: lw_filename    TYPE string, " For file_save_dialog to store the filename
                  lw_path        TYPE string, " For file_save_dialog to store the filepath
                  lw_fullpath    TYPE string, " For file_save_dialog to store the full path
                  lw_save_result TYPE i,      " For file_save_dialog to store the user input, cancel, save.....
                  li_fieldnames  TYPE TABLE OF t_fieldnames_structure, " Internal table for the fieldnames
                  lwa_fieldnames LIKE LINE OF li_fieldnames.           " Work area for the fieldnames internal table
             lwa_fieldnames-col_text = 'MATNR'.
             APPEND lwa_fieldnames TO li_fieldnames.
             " Display the file save dialog
             cl_gui_frontend_services=>file_save_dialog(
                EXPORTING
                    window_title         = 'Data unload'
                    default_extension    = 'TXT'
                    default_file_name    = 'GLD-datadump'
                    initial_directory    = 'c:\temp\'
                CHANGING
                    filename             = lw_filename
                    path                 = lw_path
                    fullpath             = lw_fullpath
                    user_action          = lw_save_result
             IF sy-subrc <> 0.
             ENDIF.
             IF lw_save_result = 0.
             " User wants the data to be saved
                 " Write the file to the desired destination
                 cl_gui_frontend_services=>gui_download(
                     EXPORTING
                         filename                  = lw_filename
                         filetype                  = 'DAT'
                         write_field_separator     = 'X'
                     CHANGING
                        data_tab                  = i_simulation_structure
                        fieldnames                = li_fieldnames
                     EXCEPTIONS
                         file_write_error          = 1
                         others                    = 24
                 IF sy-subrc <> 0.
                     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
                 ENDIF.
             ENDIF. " User wants the data to be saved
    If you have any ideas how I can achieve this it would be great.
    Thanking you in advance
    Ian

    Hi,
    i would first download the header then the data with append.
    here a short example:
    TYPES: BEGIN OF TY_HEAD,
             MATNR(18),
             MTART(04),
           END   OF TY_HEAD.
    TYPES: BEGIN OF TY_MARA,
             MATNR LIKE MARA-MATNR,
             MTART LIKE MARA-MTART,
           END   OF TY_MARA.
    DATA: IT_MARA TYPE TABLE OF TY_MARA.
    DATA: IT_HEAD TYPE TABLE OF TY_HEAD.
    DATA: WA_HEAD TYPE          TY_HEAD.
    WA_HEAD-MATNR = 'Material'.
    WA_HEAD-MTART = 'Mart'.
    APPEND WA_HEAD TO IT_HEAD.
    SELECT * FROM MARA INTO CORRESPONDING FIELDS OF TABLE IT_MARA UP TO 10 ROWS.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
      EXPORTING
        FILENAME              = 'C:MATNR.TXT
        FILETYPE              = 'ASC'
        WRITE_FIELD_SEPARATOR = 'X'
      CHANGING
        DATA_TAB              = IT_HEAD[].
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
      EXPORTING
        FILENAME              = 'C:MATNR.TXT
        FILETYPE              = 'ASC'
        APPEND                = 'X'
        WRITE_FIELD_SEPARATOR = 'X'
      CHANGING
        DATA_TAB              = IT_MARA[].
    regards, Dieter
    Sorry Rajvansh,
    i have just see, that you post the idea before.
    Regards, Dieter
    Edited by: Dieter Gröhn on Jun 7, 2011 11:39 AM

  • Correlated Subqueries, NOT EXISTS & Anti Joins - Clarification

    I am a bit confused now regarding correlated subqueries and the NOT EXISTS operator (I had originally thought I understood but am all mixed up now!)
    I was reading around and have gathered that if one were to use EXISTS that this isnt the preferred method, and that the query should actually be re-written as a join (im guessing INNER JOIN) to improve performance.
    NOT EXISTS is also not a recommended method from what I read as well.
    Correlated subqueries in general are not recommended for performance issues, since the subquery needs to be executed once for every row returned by the outer query.
    I was reading up on anti joins, and found that a lot of people referred to anti joins with the use of NOT EXISTS and a correlated subquery, which if my above understanding is correct is super bad in performance as it combines two things that people dont recommend.
    I was wondering for anti joins, is there any other way to write them besides a NOT EXISTS with a correlated subquery?
    Essentially what would be the most efficient way of writing an anti join? Or when Im trying to find all the rows that are NOT a common match between two tables.

    Hi,
    chillychin wrote:
    I am a bit confused now regarding correlated subqueries and the NOT EXISTS operator (I had originally thought I understood but am all mixed up now!)That's easy to understand! This is a topic that does not lend itself to easy, general solutions. So much depends on the circumstances of a particular query that you can never honestly say anything like "EXISTS is bad".
    I was reading around and have gathered that if one were to use EXISTS that this isnt the preferred method, and that the query should actually be re-written as a join (im guessing INNER JOIN) to improve performance. It depends. EXISTS and joins do different things. For example, when you have a one-to-many relationship, joining can increase the number of rows. Even if the join is faster than EXISTS, you may have the additional cost of doing a GROUP BY or SELECT DISTINCT to get just one copy of each row.
    NOT EXISTS is also not a recommended method from what I read as well.
    Correlated subqueries in general are not recommended for performance issues, since the subquery needs to be executed once for every row returned by the outer query.There's a lot of truth in that. However, results of coirrelated queries can be cached. That is, the system may remeber the value of a correlation variable and the value it retuned, so the next time you need to run the sub-query for the same value, it will just return the cached result, and not actually run the query again.
    Remember that performance is only one consideration. Sometimes performance is extremely important, but sometimes it is not important at all. Whether a query is easy to understand and maintain is another consideration, that is sometimes more important than performace.
    The optimizer may re-write your code in any case. When perforance really is an issue, there's no substitute for doing a EXPLAIN PLAN, finding out what's making the query slow, and addressing those issues.
    I was reading up on anti joins, and found that a lot of people referred to anti joins with the use of NOT EXISTS and a correlated subquery, which if my above understanding is correct is super bad in performance as it combines two things that people dont recommend. It's actually only one thing that the people who don't recommend it don't recommend. EXISTS sub-queries are always correlated. (Well, almost always. In over 20 years of writing Oracle queries, I only remember seeing one uncorrelated EXISTS sub-query that wasn't a mistake, and that was in a forum question that might have been hypothetical.) Nobody worth listening to objects to EXISTS because it is EXISTS, or to a correlated sub-query because it is correlated. They object to things because they are slow (or confusing, or fragile, but you seem to be concerned with performance, so let's just say slow for now.) If someone tires to avoid an EXISTS sub-query, it precisely because the sub-query is correlated, and that is only an objection because they suspect the correlation will make it slow.
    I was wondering for anti joins, is there any other way to write them besides a NOT EXISTS with a correlated subquery?As the name implies, you can use a join.
    SELECT     d.*
    FROM          scott.dept     d
    LEFT OUTER JOIN     scott.emp     e  ON     d.deptno  = e.deptno
    WHERE     e.deptno     IS NULL
    ;is an anti-join, showing details about the departments that have no employees.
    Essentially what would be the most efficient way of writing an anti join? Or when Im trying to find all the rows that are NOT a common match between two tables.Anytime you can use EXISTS, you can also use IN, or a join. Personally, I tend to use the in the reverse of that order: I'll generally try it with a join first. If that looks like a problem, then I'll try IN. The query above can also be done like this:
    SELECT     *
    FROM     scott.dept
    WHERE     deptno     NOT IN (
                      SELECT  deptno
                      FROM    scott.emp
                      WHERE   deptno   IS NOT NULL   -- If needed
    ;Failing that, I'll try EXISTS.
    Sometimes other methods are useful, too. For example, if we only need to know the deptnos that exist in scott.dept but not scott.emp, and no other information about those departments, then we can say:
    SELECT  deptno
    FROM    scott.dept
        MINUS
    SELECT  deptno
    FROM    scott.emp
    ;

  • Please help - Tomcvat 4.1.27 - package does not exists

    Hi,
    I have created a jsp (handoff1.jsp) that uses a Bean. This is the definition in the jsp:
    <jsp:useBean id="handoff" scope="session" class="cartapp.user.User" />
    the directory (on Windows ME) is:
    C:\ApplicationDef\cartapp\user
    The tomcat context definition is:
    <Context path="/cartapp" docBase="c:\ApplicationDef\cartapp" debug="0" reloadable="true">
    My classpath includes \ApplicationDef as the root of my classpath.
    The User bean start with:
    package cartapp.user;
    With this set-up I can load other jsp's using java code in the jsp. The set-up seems to be OK
    When I try to load the jsp (handoff1.jsp) I get the following browser error:
    C:\tomcat\work\Standalone\localhost\cartapp\jsp\handoff1_jsp.java:41: package ApplicationDef.cartapp.user does not exist
    ApplicationDef.cartapp.user.User handoff = null;
    As far as I can see, the package does exist. Can anybody explain or give advice ?
    Phlip

    I'm a little confused why it thinks the package name in the error message is ApplicationDef.cartapp.user. It should just be cartAapp.user shouldn't it?
    Tomcat (and all other servlet containers) ignores the system classpath. It has its own definition - the web-inf/classes and web-inf/lib directories.
    Put your class files (in their appropriate package structure) under your applications web-inf directory.
    In your case it would be c:\ApplicationDef\cartapp\WEB-INF\classes\cartapp\user\User.class
    If you have any jar files you need to include, they go in the web-inf/lib directory.
    In this way, you can configure each individual web applications resources, and it is independant of the system environment classpath.
    Hope this helps,
    evnafets

  • File does not exist on remote site, yet it does

    I have been trying to understand how Dreamweaver handles remote files in CS5.
    My server is setup as a remote server and a test server.
    I open the remote file, it offers to get dependencies, so I click yes.
    I click on Live view, then it tries to show me the following url
    http://my_site.com/public_html/path/to/my/file/file.php
    It should not put public_html in the path, and I did not specify this in my site setup. My root setting is /.
    Anyway, If I change the url manually, then it shows correctly. Then it offers to discover dunamically linked files, which I agree to.
    Now it tells me that 'Dynamically-related files could not be resolved because the site definition is not correct for this server'
    If I try to open one of the files that it has discovered, I am told that it is not on the disk, so would I like to 'get it', so I agree.
    Finally, I am told that 'Get operation failed since linked-file.php does not exist on remote site'
    I suspect that this is all to do with my site definition, but I fiddled with the settings and can't resolve this. I think that the whole problem goes back to Dreamweaver's insistance on putting public_html in the path, but I can't stop it doing so.
    Any suggestions?
    Thanks
    ian

    Hi,
    Well, yes I did manage to fix the dynamically linked resources issue. As mentioned above, I did need to mention public_html in my Root Directory setting in server setup (silly of me).
    I had tried this at first, but it didn't work, as I had the server set as a test server and not a remote server, anyway, i now have it set as both and all is well.
    Except that, the first issue that mentioned is still with me: namely, dreamweaver mentions the public_html in the url path when on live view, which is not correct and I don't know where it is inferring this from. I can change it manually, but this doesn't seem right to me. Am I still missing a setting?
    In anwer to the questions:
    1) My setting (now) in the Root Directory setting in DW is: /public_html/
    2) My actual path on the server (that i mention in php scripts) is: /home/login_name/public_html//path/to/my/file/file.php
    [In the advanced settings of DW site setup on the Local Info page I have set Links relative to Document option, although it does not seem to make a difference when I change it to Site Root.]
    Any suggestions appreciated.
    Thanks
    Ian

  • The name '' does not exist in the current context

    I have a recurring problem where all of a sudden I can no longer see the values of my variables when I debug my unit tests. I cannot find a pattern as to when this happens but I experience this across one of every 20 tests that I write. Occasionally this
    has also happened during normal debbuging of running code on my machine. 
    I have included 2 screen shots. The first is when it is working. I have a break point set at the declaration of list of types. At this point all my variables are still reporting their values back to the debugger. Once I step over this to the next line (screen
    shot 2) I get the error message 'The name '[variable name]' does not exist in the current context'
    This problem is annoying me to no end. If anyone has any insight as to why this might be happening I would be very much appreciative.
    My Settings/Configuration
    Using Visual Studio 2013 Premium (Version 12.0.31101.00 Update 4)
    Projects are all set to Target Framework = .NET 4.5.1
    Resharper 9.1 is installed
    My active configuration is debug mode, Any CPU
    My PC is 64bit and so is the O/S windows 8.1
    All of my projects are also compiled and built in debug mode
    For all my projects configuration debug has the Optimize Code check box unchecked
    I am unit testing code in an outside project referenced by the unit testing project (standard unit test project setup)
    I make use of the latest version of NSubstitute in my tests although I do not think that would have any bearing on this issue
    I omitted the code following the error because it is not relevant. I had cut it out and replaced it with a Task.Delay(4) which resulted in the same issue. 
    What I have tried so far
    I have tried debugging the unit test  from Visual Studio Test Explorer instead of from Resharper with the same result.
    If I remove 2 items at the end of the array it starts to work again (so 6 items initialized instead of 8)
    I clean solution with rebuild has no effect
    Removing properties of the array also seems to work, example remove all initialization of property Value
    Mark as answer or vote as helpful if you find it useful | Igor

    Hi IWolbers,
    >>I have a recurring problem where all of a sudden I can no longer see the values of my variables when I debug my unit tests. I cannot find a pattern as to when this happens but I experience this across one of every 20 tests that I write. Occasionally
    this has also happened during normal debbuging of running code on my machine.
    So you mean that it worked well before, am I right? 
    If you debug the same app in other VS machine, does it work well? So we could make sure that whether it is related to the VS IDE.
    Please disable all add-ins in your VS IDE, and then reset your VS settings, debug it again.
    https://msdn.microsoft.com/en-us/library/ms247075(v=vs.100).aspx
    Or you could run your VS in safe mode, debug it again, at least, we could know that whether it is the add-in's issue.
    https://msdn.microsoft.com/en-us/library/ms241278.aspx
    To make sure that it is not the project files' issue, create a new blank solution, copy the project files to the new solution, clean and rebuild the solution, check the result.
    >>Once I step over this to the next line (screen shot 2) I get the error message 'The name '[variable name]' does not exist in the current context'
    How about debugging it with "Step Into" instead of "Step Over"? Or you could add breakpoints between 234 line to 241 line, after the breakpoint is hit, check the watch window again. How about the result?
    In addition, do you check other debugger window like local or others?
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hard Disc Not Exist

    To start at the beginning; Just under 3 years ago, my ex wife bought my daughter (then 12) an HP G56-105SA.
    A year ago my daughter moved back in with me, and brought it with her.
    Just the lap-top and power supply. No Recovery discs; no manuals; just the bits she used.
    Last week... she had teen-age hissy-fit, because it didn't work... this became MY problem.
    Of course, being ancient and obtuse  and a PAIR-RENT...I am probably missing the obviouse, like that it's almost Christmas, and what she really wants is a new i-pad.... but she ent getting one... not off me least ways, so I'm stuck trying to fix this thing, so she can do her home-work, and be doubly ungreatful!
    So to the facts.
    1/ I started by switching it on.... which resulted in black screen and 'No Bootable Device' message.
    2/ Turned PC over, undid HDD cover; removed HDD, and cable; re-seated & replaced; turned on again. No Change.
    3/ Removed HDD - Plugged into spare SATA slot on my desk-top.
    Curiousely, it threw up four drived;
    E: which appeared to be a ghost, with nothing on and capacity of the discs full 250Gb.
    F: Which was her C: Operating System partition; aprox 170Mb with all windows directories present and accessible.
    M: HP Restore
    N: HP Tools
    As suspected... her C-Drive (My F) was chocka-block with barely 3% free space.
    3.1/ I took my life in my own hands... and deleted six seasons of 'Glee'..... and transfered the less than a dongle sized directory called 'Home Work' to my desk-top. I emptied her recycle bins.
    3.2/ I ran disc tools on my (Win XP) desk top; and applied Disc Clean Up. Took a while, and I dont think freed much.
    3.3/ I ran disc tools....... and applied Scan Disc, full scan and fix... and 24 hours later it told me it had fixed things!
    3.4/ I ran De-Frag... and another 24 hours later.. it looked reletively healthy; with about 40% free space.
    4/ Returned Hard disk to Lap-Top.... pressed start.... same black screen! Pressed f2, used diagnostics; got 'Hard disc Not Exist'
    5/ Asked Daughter if she had the HP Factory Restore discs..... she looked at me as only a teenager looking at ancient, obtuse, and utterly STOOOPID pair-rent can.... you know, like she had discovered something unsavory on the sole of her shoe, she had never seen before...... with added contempt.
    Phone calls and text messages in her bedroom followed; the unhelpful conclusion of which was... "Mum says, you just run Recovery from the Hard Drive" ...  aparently she had argued that actually when teh computer was first switched on, it would have asked to 'make' recovery DVD's.... but aparently her big-brother had sorted that all out, and said you didn't need them, as it was... on the hard drive.... Can ANYONE tell me why I married the woman? I'm SURE there must have been a reason... but for the life of my I cant think what it could have been!
    6/ I returned HDD to my desk-top. I found the pdf user manual, and found the 'make restore disc' instructions & tried running the make program on my desk-top.... it refused telling me what I already knew... my desk-top isn't an HP G56!
    7/ HASSLED as home-work was now due, and she couldn't print it off my Desk-Top, as I dont have the latest version of MS Office she uses at school..... I went back to basics; pulled Windows 7 install disc from the draw, went to HP support and down-loaded ALL the driver files for an HP G56-105SA... 
    8/ WIPED THE LAP-TOP HARD DRIVE - in XP on desk-top, removed all partitions, then re-formatted the disc, ready for 'fresh' install of Windows 7 and 7 alone, without all the HP factory pre-installs.... get it running, and then worry about installing whatever software she wants/needs after seperately; and with bit of luck, without partisions or extraniouse would-you-like-fries-with-that programs cluttering it up; might give a bit more space so takes a bit longer till its clogged with 'glee' again.
    9/ Inserted HDD in Lap-Top. Switched on... opened DVD draw; switched off. Inserted Windows 7 disc; switched on.
    ALL looked very promicing, and Got windows back-ground, USB mouse, and win 7 install prompts... up to "Select partition to install operating system'.
    HDD showed in the drop-down box as 'Disc 0' with full 250Gb available and healthy
    BUT message below "Windows 7 cannot install on this divice - Not bootable" clicking for details... said check bios to ensure HDD management enabled.
    10/ Switched off, went into bios... NO options for doing anything with HDD as far as I could see; while 'system diagnostics' chucked out error message "Hard disc Not Exist"
    11/ Repeated Windows install... and at prompt tried putting in DVD of down-loaded HP Drivers to load a disc controller... told me there were no drivers on the DVD ( they were all executables I presume intended to be run after Windows install)
    12/ My 'data' Hard-Drive was sat on teh desk where I had removed it to plug in her lap-top disc. JUST for reference... I removed her Lap-top HDD and plugged my Desk-Top HDD in to see if the lap-top would recognise ANY disk... answer no it didn't.
    SO... it would appear that the Lap-Top HDD is 'OK' we have fault on the Lap-Top, which recognises the HDD under windows install... but not under the Bios.
    I found this forum looking for hints where to go next, and did find this thread: http://h30434.www3.hp.com/t5/Notebook-Lockups-Freezes-Hangs/my-laptop-says-my-hard-disk-does-not-exi...
    BUT, whils seemingly the same problem... that was fixed by my first intuative check, taking the HDD out and replacing it.... but ent solved this one.
    So what next? I'm starting to run out of inspiration... and no chance is she having a new lap-top this christmas!

    teflon-mike wrote:
    Follow the instructions on this tutorial page to make a DBAN on a usb flash drive that is at least 1GB.
    OK, followed instructions; down-loaded and ran executable. Selected DBAN v2.2 from drop down as instructed (only option with DBAN in title); 2nd dialogue asked for ISO file, entered DBAN in download dir; it asked to create, clicked 'y', then selected 4GB USB flash as destination, and 'run'. Went into a command screen, and 'did-stuff' with two error messages; first saying something couldn't be found; second that DBAN 2.2 'not supported'.
    Popped dongle into the Lap-top anyway; files were written to it; entered Bios and set Boot order to USB-Floppy first... returned "BootMNGR is Missing" & prompted re-start.... A USB thumbdrive (or flash disk) is not a dongle. That is a different technology for licensing firmware contained in a usb device.
    So, tried & failed, BUT.. the lap-top hard drive is 'blanked' It's been scanned, formatted, un-partitioned & reformatted, and shows as a factory fresh HDD would out the packet. So do I really need to use DBAN to 'nuke' it? Yes. it is a good plan to nuke the hard disk. It sounds like you need a different tutorial than the one I provided. 
    then do a Windows 7 install.  This time use the Microsoft store's  Windows 7 DVD\USB download utility to make a usb installer.
    Thanks; but I dont really want to buy another licence for an operating system (I actually dont much like!) I already have licences for, already have DVD's for, but not bought through Microsofts Down-Load platform so I dont have anything in my purchase history and so would have to buy as if new JUST to get a version that loads through a USB port.. when its loading hapily enough from DVD... just not happy to install to the HDD, its actually recognising, and I'm just as likely, I presume, to get the same problem, of it refusing to install to HDD from a new USB drive version as my existing DVD version, for the expense and trouble.... unless I'm missing a leap in the logic here?
    The Microsoft DVD\USB download utility name is actually  a misnomer. I don't know why Microsoft called it that. It is actually a usb installer and DVD installer creation utility. It does not require you to purchase anything.  Use the license that you already have when using the USB installer during a Windows 7 installation. There is no need to buy another. Licenses are always diistinctly seperate from the installation disk(s) or ISOs.  It is the same thing as a DVD installation disk except much faster.
    You don't necessarily need to use an ISO image as suggested in the following video. You can also use your Windows 7 installation DVD as a source for the Windows 7 DVD\USB download tool.
    Any other suggestions, any-one?
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • User gets "This network connection does not exist" when she tries to log on to Terminal Server (2008 R2)

    User gets "This network connection does not exist" when she tryes to log on to Terminal Server (2008 R2)
    I got more than 100 users. Shes the only one getting is. We tried four computers (All Windows 7 Pro)
    Nothing useful in event viewer to mention.

    Hi,
    Thank you for posting in Windows Server Forum.
    Does that user able to login previously?
    From your comment, it seems that there is some permission issue with that user. As you have checked that user with different system also. Please check that user is added under “Remote Desktop User” local group and also allowed “Allow log on through
    Remote Desktop service” permission under group policy. Also please check that when user tries to login it uses “Domainname\Username” format.
    In addition for a try, also check by disabling firewall on one particular system.
    To add users and groups to the Remote Desktop Users group by using Local Users and Groups snap-in:
    1.  Click Start > Administrative Tools, Open Computer Management.
    2.  In the console tree, click the Local Users and Groups node.
    3.  In the details pane, double-click the Groups folder.
    4.  Double-click Remote Desktop Users, and then click
    Add.
    5.  In the Select Users dialog box, click Locations to specify the search location.
    6.  Click Object Types to specify the types of objects you want to search for.
    7.  Type the name you want to add in the Enter the object names to select (examples) box. 
    8.  Click Check Names.
    When the name is located, click OK.
    More information:
    Remote Desktop disconnected or can’t connect to remote computer or to Remote Desktop server (Terminal Server) that is running Windows Server 2008 R2
    http://support.microsoft.com/kb/2477176/en-us
    Hope it helps!
    Thanks,
    Dharmesh

  • DNS cache " Name Does not Exist"

    Hey Guys,
    So we've been experiencing a really weird issue related to the DNS for past couple of months. Here are the details:
    1) Our domain machines are Windows 7 Enterprise and their DNS points to Windows DNS Servers
    2) For companyxyz.net internal sites, the Windows DNS resolves those from its
    companyxyz.net zone.
    3) For public *.companyxyz.com records, the Windows DNS has conditional forwarders to point these requests to our Linux Bind Servers. And than the authoritative name servers respond to these queries accordingly
    4) Our internal employees use the public records such as testing.companyxyz.com 
    Problems:
    1) Employees on the internal network would randomly experience page not found on their browsers while trying to hit
    testing.companyxyz.com. When we try to ping this URL, ping would fail too. However, NSLOOKUP would work perfectly fine and return the correct results. ipconfig /flushdns fixes the issue right away
    2) During the time when this problem is occurring, if I look into the local cache ( ipconfig /displaydns), I find an entry saying:
        testing.companyxyz.com
        Name does not exist. 
    ipconfig /flushdns obviously clears out this record along with the other local cached records and fixes the issue.
    3) Point the local computers directly to the Linux Bind servers as DNS never create this issue. It's only when they are pointing to the Windows DNS and going to this public record. The problem also seems to occur a lot more frequently if there are considerably
    high number of hits to this URL.
    Have you guys experienced this issue before? I am looking for a fix for this issue and not having the end-users to flush their dns constantly. Also note this problem occurs sometimes once a day, or 2 -3 times a week. It's very random.
    Thanks.
    Bilal
     

    Hi,
    It seems that the issue is related to your Windows 7 client. Considering whether there is DNS attack or virus on this computer.
    Please try to do the safety scan first.
    Please monitor the DNS server performance referring these article:
    Monitoring DNS server performance
    http://technet.microsoft.com/en-us/library/cc778608(WS.10).aspx
    Monitoring and Troubleshooting DNS
    http://www.tech-faq.com/monitoring-and-troubleshooting-dns.html
    For further step, we need to capture the traffic by using Network monitor when the issue happened and we continuously ping
    testing.companyxyz.com.
    Microsoft Network Monitor 3.4
    http://www.microsoft.com/en-us/download/details.aspx?id=4865
    Let’s see whether there is DNS request happened and the DNS request is handled.
    You can post back the save traffic log here for our further research.
    Kate Li
    TechNet Community Support

  • Connection Failed: The server "name" may not exist or it is unavailable...

    So I think I know what caused this problem, but I can't figure out how to make it stop...
    When I go to print, if I try to click on the pop-up to change the default printer setting, there's a LONG delay, then I get a dialog that says:
    Connection Failed
    The server "name" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, then try again.
    Then there's another delay and I get the message a second time. I can then select any of my printer settings and print fine, it's just an annoying delay if I click on that pop-up accidentally or need to change it.
    I have a new iMac and I migrated from my old G5. The "name" of the server it is seeking is my old G5, so that must be in the settings somewhere, but I can't find it. I tried going into the Print & Fax settings in System Preferences, deleting the printer there, and then re-adding, but that didn't clear it up.
    Thanks for any insight you can provide!
    --John

    Hmm, well, this stopped working again for me. I tried swapping ethernet and re-installing the Airport client update - to no avail. I could always see my Mac shares from PCs though. However, I have (for now) managed to connect to the PC using ip address rather than name even though finder quite clearly sees the name. Does your printer connection work by ip rather than name ? I'm going to play name lookup detective for a bit now - it's some kind of Netbios name lookup issue I guess as I've no local DNS service. resolv.conf is apparently not used so a bit of learning to do! ...
    ... nmblookup seems to work but nslookup doesn't. Looks like SL connect via Finder isn't using nmblookup properly and I can't see how to make that work. When this gets reported enough it should get a publicised work-round or a fix. If only I can get dig/nslookup to slave out to nmblookup ...must be something I can configure for that ??

  • The requested resource does not exist - EAR - Jsp

    Hy!
    Following a tutorial I'm trying to create a small application in the Developer Studio.
    I created a Table, an EJB-Project with an Entity Bean and a Stateless Session Bean, a Web-Project with a JSP-File and an EAR which I deployed. Now the JSP form should be available at http://[server-name]:50000/employee/view.
    But I get:
    404   Not Found - SAP J2EE Engine/6.40
    The requested resource does not exist.
    Details:     Go to main page of this application!
    "main page" is a link which refers to http://localhost:50000/index.html which is the SAP Engine Start Page.
    This is my first experience with sap netweaver. So I don't know where I should start to search for the problem or how to solve it.
    In the web.xml of the WebProject there is the following code for the servlet mapping:
    <servlet>
         <servlet-name>NewEmployee.jsp</servlet-name>
         <jsp-file>/NewEmployee.jsp</jsp-file>
    </servlet>
    <servlet-mapping>
         <servlet-name>NewEmployee.jsp</servlet-name>
         <url-pattern>/view</url-pattern>
    </servlet-mapping>
    This is the code in the application.xml of the ear which should make it possible to access the webproject under .../employee.
    <module>
         <web>
              <web-uri>EmployeeWeb.war</web-uri>
              <context-root>employee</context-root>
         </web>
    </module>
    Best Regards,
    Carina

    Hy!
    I tried several changes and found out, I just had to remove the ' / ' bevor NewEmployee.jsp in the jsp-file - tag.
    <servlet>
         <servlet-name>NewEmployee.jsp</servlet-name>
         <jsp-file>NewEmployee.jsp</jsp-file>
    </servlet>
    Now it works and I'm able to test the jsp. There's a form and after a submit a jndi-lookup is performed.
    Object ref=jndiContext.lookup("java:comp/ev/ejb/EmployeeService");
    It seems the EJB reference in the web.xml:
             <ejb-ref>
              <ejb-ref-name>ejb/EmployeeService</ejb-ref-name>
              <ejb-ref-type>Session</ejb-ref-type>
              <home>com.sap.bsp.EmployeeServicesHome</home>
              <remote>com.sap.bsp.EmployeeServices</remote>
              <ejb-link>EmployeeEjb.jar#EmployeeServicesBean</ejb-link>
         </ejb-ref>
    doesn't work, because I get:
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/ev/ejb/EmployeeService.
    Looking forward to a hint
    Best regards,
    Carina

  • The kind infoobject does not exist in the CMS

    hi, all of a sudden, when i import a new biar file to the server, i got the below error message:
    the kind infoobject does not exist in the CMS
    the server worked fine before. and then i imported the biar to another server, it works fine, and seems not the biar problem.
    then i found some error explanation
    Cause
    The InfoObject type does not exist in the CMS
    Action
    Ensure that the InfoObject type is propertly installed.
    and
    Cause
    An InfoObject type is missing.
    Action
    Ensure that the XSD for this type of InfoObject is installed.
    I want to know how to reinstall the infoObject type.
    or any other idear on this.
    thanks all.
    Ada

    WHat's the exact version of the source and the target BO system?
    Regards,
    Sratos

  • SOLVED: Mounting IDE ZIP Drives, "Special Device hdb4 Does Not Exist"

    I thought I would post a follow-up, since I have finally resolved this long standing issue, which has plagued me since my first days with Linux many years ago.
    As outlined in my original post below, every time I would attempt to access a Zip disk for the first time since boot, Linux (pretty much all distros I have ever tried, with the exception of SuSE 9.3) would fail to mount the disk and report back that "Special device hdb4 does not exist". Of course the "hdb4" part varies from distro to distro and machine to machine, depending on how your Zip disk is connected and how the distro names its disks, but the basic error has been constant. I have always worked around it by redoing the mount command specifying just the device, not the partition, and while that would always fail, it would force the creation of the device /dev/hdb4, and I could carry on. Annoying but effective.
    FINALLY, a long term answer. I got my inspiration from a really snarky post I read in another online forum where someone had posted this very same question (this is a very common problem with no common answer it seems!). The respondant, who completely failed to provide a helpful answer, basically said "listen, the OS is telling you what is wrong - the device hdb4 doesn't exist - so fix it, and all will be just fine". Of course, the respondant didn't even bother to offer a suggestion about HOW to fix it.
    However, therein lies the inspiration for the solution. Indeed they are right, /dev/hdb4 *doesn't* exist, so how to fix that? They had a point. I started researching the mysteries of mknod, a program that can create /dev files, and the even deeper mysteries of Linux device numbers, both major and minor.
    In the end, I found a wonderfully informative document that described the current standard for the device numbering scheme used by mknod, and Linux in general. The key things of interest are this:
    1/ The major number for IDE based drives is 3.
    2/ IDE allows for 64 partitions per device, so the minor numbers are 0-63 for device "a", 64-127 for device "b" and so on. You derive the minor number of interest for your particular device by taking the starting value of the minor number range of interest for your device and adding the partition number to it. So, for example, hdb4 would have a minor number of 64 (the start of the minor number range for device "b") plus 4 (the partition number in "hdb4"), yielding a result of 68.
    3/ The major number for SCSI based drives, or those that your OS treats as SCSI, is 8.
    4/ SCSI allows for 16 partitions per device, so the minor numbers are 0-15 for device "a", 16-31 for device "b" and so on. You derive the minor number of interest for your particular device by taking the starting value of the minor number range of interest for your device and adding the partition number to it. So, for example, sdb4 would have a minor number of 16 (the start of the minor number range for device "b") plus 4 (the partition number in "hdb4"), yielding a result of 20.
    In my case, Arch seems to be treating all of my disk based devices as SCSI, perhaps because I do have a real SCSI interfaced Jaz drive in my machine. So, the Zip disk of interest in my machine is sdc4 (my real SCSI jaz is sda, my Arch root is sdb, and the IDE Zip is sdc). Applying the above, for /dev/sdc4:
    - The major number is 8.
    - The minor number is 32 (start of range for device "c") plus 4 (the partition number) = 36.
    Armed with this knowledge, I su'd to root and entered:
    # mknod /dev/sdc4 b 8 36
    and like magic, there is was, /dev/sdc4. I popped a disk into the drive and my first attempt to access it was greeted with success, not the usual "device does not exist" error! By the way, the "b" in the above command is just part of the mknod syntax, and indicates that I am creating a block device (vs. a character device, or some other type of device - disk drives all seem to be "block" devices for apparent reasons).
    SO, determine your major number by device type (it will usually be 3 or 8), compute your minor number by device letter and partition number, and add a mknod command to your system startup (so you don't have to do it manually every time) and you are done! No more annoying "device does not exist" errors.
    Now for the kicker. It turns out that this information has been available under my nose all along. I just didn't recognize the code. If you do the following:
    # ls -ald /dev/sd*
    Linux obligingly provides you with the major number and the start of the minor number range for your device. Since Linux has always detected the Zip *device* (just not the partition) this is really all you need to know. When I issue the above command, I get an output like:
    brw-rw----  1  root  disk  8,   32   date   time   /dev/sdc
    Guess what, there they are! "8" is the major number of interest, "32" is the start of the minor number range of interest. If I had just recognized that, and known that all I had to do was add the partition number to the minor number to get the magic number to feed into mknod, things would have been easier.
    Sorry for the long post, but like so many things in Linux, the OS doesn't make this easy on the uninitiated. I sincerely hope that this post may help lots of other people to resolve this vexing and longstanding problem.

    Solved!
    See the lengthy response in this post:
    http://bbs.archlinux.org/viewtopic.php?id=36468
    I posted the solution separately, with the most informative title I could come up with, so that others Googling this topic on the web may hopefully easily find it.

Maybe you are looking for

  • Time Capsule - Can it run as DHCP router, create a wireless network and plug into switch for wired network all at the same time?

    I have a closet with Wired connections from all over the house terminating in it. I also have the internet modem and a switch in this closet. My old setup was a netgear in the closet creating a wireless network and also feeding the Ethernet ports all

  • WRT54G and Windows 8

    Just purchased a new laptop with Windows 8.  Tried to load the software for the router - WRT54G and it would not load.  Error message said it is not compatible with Windows 8.  Will there be a software upgrade or do I need to purchase a new router?

  • CD burn from iPhoto 9.1 failing

    Open iphoto 9.1 select recent project Share menu -> Burn Choose Speed: Max Verify Burned data Mount on Desktop Click Burn. A small blue bar drops down from iPhoto for 1/4 second and then slides back up to the top. Nothing else happens. CD is not burn

  • How can I create Bookmarks folders?

    I like to group similar bookmarks together for ease of navigation. Without this ability, the browser is of little use to me.

  • External Table to Internal table Data update query

    Hi all , I have Follwoing 2 tables one is external oracle and 2nd is internal and both table have the same data as following this is sample data while actual table contains millions of record. External Table name SE2_EXT         GL_REF_NO     GL_CUST