Upgrade from RH8 to RH9 displays error msg for images/hyperlinks

We imported a RH8 project into RH9 on another computer. For the most part, it went smoothly; however, for some images and hyperlinks, we get the message: The image file "___.jpg" used in "______.htm" is outside of the current project and will not be shown in Project Manager.
Additionally, there are approximately 20 broken links displayed in the Broken Links tab.
Your suggestions would be appreciated as we have multple huge projects we need to upgrade. Thanks

Hi there
For each of the messages about the image being outside the project, you will need to carefully note the image file name, the topic and the location it is reporting. Then you will need to edit the topic and click on the image icon and browse to the image to choose it. That action should correct the link and copy the image into your project.
Broken links will have to be resolved on a "link by link" basis. I was assisting someone else in a different thread and it may be of use to you. Click the link below to view that thread.
Click here to view
Cheers... Rick

Similar Messages

  • Chm breadcrumbs color blue after upgrading from RH8 to RH9

    RH9, 9.0.1.232
    My project uses breadcrumbs that are generated during compiling. In RH8, the breadcrumbs would be the a.link/a.visited/a.hover color, the links would be underlined, and the topic name + greater than characters would be black. Now, the links are not underlined anymore, and the topic name +  greater than characters have changed to blue, which looks rather ugly  with the styles I use.
    RH8
    RH9
    I have tried using topic style while setting p.breadcrumbs and a.breadcrumbs to red, or not using topic style and setting the color to green (just to make sure the setting had any effect and to distinguish where the color came from). Alas, the blue stays put.
    Inserting the breadcrumbs in the masterpage works as expected. Below two different breadcrumbs are generated, the bottom one one from the master page and the top one during compile:
    The above has been generated with the following settings:
    p.breadcrumbs { color: #ff0000;}
    A.breadcrumbs { color: #ff0000;}
    A:link {
        color: #000000;
        font-weight: normal;
        font-style: normal;
    A:visited {
        color: #808080;
        font-weight: normal;
        font-style: normal;
    A:hover {
        x-on-hover: fontchange(color=#f5841f);
        color: #f5841f;
    Please note that the direct formatting is set to green AND left aligned, neither of which is used in the output. Please also note that blue does not occur anywhere in my settings (css nor direct formatting).
    Where does the blue come from?? And more importantly, how do I get rid of it?? I'd rather not fix something with master pages that wasn't broken in RH8 to begin with. And even if I'm forced to, I still want to know where the blue came from :-)

    Yep, Dutch. But our Windows installation and programs are the English variants.
    <script type="text/javascript" language="javascript">var strHref = document.location.href;
    var bc1=0;
    var n1 = strHref.toLowerCase().indexOf("642b3b9347ca42c9b00b820c00c373fa=");
    if(n1 != -1)
    bc1 = strHref.substring(n1+33);
    document.location.href = strHref.substring(0, n1);
    </script>
    <style title="hcp" type="text/css">
    <!--
    a.hcp1 { font-size:10pt;
    font-style:normal;
    color:rgb(0, 0, 255);
    text-decoration:none;
    text-align:right; }
    span.hcp2 { word-spacing:normal;
    font:6.0pt "Times New Roman"; }
    img.hcp3 { border:none; }
    -->
    </style>
    </head>
    <body>
    <p style="font-family: ; font-size: 10pt;  font-style:normal; color: rgb(0, 0, 255); text-decoration:none; text-align: right"> <a href="../../Introduction/Reference/Welcome.htm" class="hcp1">Home</a> > <a href="Mounting_the_X_Changer.htm" class="hcp1">Installation</a> > <a href="Configuring_the_barcode_reader_software.htm" class="hcp1">Configuring the Software</a> > Calibrating the barcode reader</p>
    <p style="text-align:right;" class="breadcrumbs"><a class="breadcrumbs" href="../../Introduction/Reference/Welcome.htm">Home</a> &gt; <a href="Mounting_the_X_Changer.htm">Installation</a> &gt; <a href="Configuring_the_barcode_reader_software.htm">Configuring the Software</a> &gt; Calibrating the barcode reader</p>
    Strange that in the 2nd line (the master page line) the gray specifically takes over from the red, so the css link properties override the breadcrumbs properties (whether the p.breadcrumbs is placed above or below the a.link). In the web help the reverse is true: the whole line becomes red.
    Same goes for the first line (generated during compile): the gray takes over from the blue that is specifically inserted as in-line formatting.
    In the web help the opposite occurs (as you can see from the screenshot in my previous post): the whole line becomes red (or green).

  • Missing Snippet Descriptions (upgraded from RH7 to RH9)

    Hi all,
    I've pretty much successfully upgraded my RH7 project to RH9. I only noticed two problems, one of which is the subject of this thread - the descriptions for each of my snippets isn't displaying. It looks to me like this problem has something to do with the way descriptions were previously stored (in a title tag for RH7 and lower versions?) versus the way the descriptions are now stored (in a meta tag, i think, for RH8 and higher versions?).
    I took a look at the hts file for one of my snippets that was upgraded from RH7 to RH9. The code looks like this (I've bolded the snippet description):
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Adobe RoboHelp 9" />
    <title>Use this text above the table that explains Action menu items.</title>
    </head>
    <body>
    <p style="margin-top: 2pt; margin-bottom: 2pt;">Select an action from the
    menu and click Go. </p>
    <p style="margin-top: 2pt; margin-bottom: 2pt;">&#160;</p>
    <p style="margin-top: 2pt; margin-bottom: 2pt;"><span class="NoteTitle">Note:</span>
    The Action menu may change depending on the content, the content's status,
    your permissions and what you have already accessed. Therefore, the options
    explained below may not all be available at the same time.</p>
    </body>
    </html>
    THEN, I created a brand new snippet in RH9. The code looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="topic-comment" content="this is a new test snippet" />
    <title>New Snippet</title>
    <meta name="generator" content="Adobe RoboHelp 9" />
    </head>
    <body>
    <p>This is placeholder text for your snippet. To add content to the body,
    replace this text. </p>
    <p>&#160;</p>
    <p>For information about applying snippets to topics, press <b>F1</b>.</p>
    </body>
    </html>
    Notice how the description for the brand new snippet starts with "<meta name" but for the snippet that was created in RH7 (and then automatically upgraded by RH9), the description for the snippet starts with "<title>".
    I have 101 (exact count) snippet files and would hate to have to go into each one and modify this line of code myself, so my question is this:  Does anybody know a good, faster way to 'upgrade' all of my hts (snippet) files to follow the new RH9 format?
    Here are two things I've tried:
    1. Using TextPad, I manually made the change in the .hts file. Result: The description still does not display in the Description column in the Snippets pod (on the left in the screenshot below), but it DOES display in the Snippet Properties window (on the right in the screenshot below).
    2. Copying the description from TextPad, then opening the Properties window for the snippet and pasting the description into the Description field, and saving the snippet. This WORKS...but I'll have to do it 100 more times to fix all my snippets, AND the Title tag still ends up being incorrect.   Although things LOOK correct in the Properties window (i.e., the Name field indicates the correct name for the snippet, and the Description field now contains the correct description), here's the resulting code:
    <meta name="topic-comment" content="Use this text as the explanation for the Add To Cart Action menu option." />
    <title>Use this text as the explanation for the Add To Cart Action menu option.</title>
    So, the meta and title tags end up having the same values! The title tag should say "Add To Cart" - I don't know how it's possible that it doesn't contain this text as the value for the title tag. Thus, it seems like in order to get the descriptions in there correctly, I have to do a copy, then paste into the Properties window in RH9, but to correct the Title tags I have to open the .hts files in a text editor (i.e., *outside* of RH9) and enter the correct title text for each snippet. Is this really going to be this time-consuming to fix?

    Let's try again.
    First forget thinking in INCLUDE mode. Everything will be included unless you exclude it.
    Example.
    Topic 1 has tag A applied to the topic
    Topic 2 has tag B applied to the topic
    Topic 3 has tag A applied to some of the content (let's say to the word Redrabbit) but not the topic itself.
    Topic 4 has the tag A applied to the word Redrabbit and tag B to the word Greenrabbit but no tag on the topic itself.
    This is how it should work.
    Topic
    Topic tag
    Text tagged
    Expression Not A
    Expression Not B
    Expression Not A and Not B
    Header 6
    1
    A
    Topic will be excluded
    Topic be in output
    Topic will be excluded
    2
    B
    Topic be in output
    Topic will be excluded
    Topic will be excluded
    3
    None
    Redrabbit is tagged A
    Topic will be in output but the word Redrabbit will be excluded
    Whole topic will be in output including the word Redrabbit.
    Topic will be in the output but the words Redrabbit and Greenrabbit will be excluded.
    4
    None
    Redrabbit is tagged A and Greenrabbit is tagged B
    Topic will be in output but the word Redrabbit will be excluded
    Topic will be in the output but the word Greenrabbit will be excluded.
    Topic will be in the output but the words Redrabbit and Greenrabbit will be excluded.
    Below is the expression dialog.
    Here I have selected from Available Tags and put them in Exclude.
    Click Advanced and you will see how RH writes the expression.
    Written like that, does it now work for you?
    See www.grainge.org for RoboHelp and Authoring tips

  • Displaying error msg

    hi,
    how i display error msg on page by using af:message from beans, based on some processing? i tried , but error msg is not coming on af:message?
    i m using jdv10g. i checked by system.out.println(errormsg), & it displaying in console, but not on af:message.
    thanks

    hi thanks,
    it is showing the message on af:messages on top of page. i want to display it on af:message fm bean.
    i dragged a af:message fm components palette. i associated its value attribute to errormsg property in bean like this-
    <af:message id="m1" message="#{xxbean.errormsg}"
    inlineStyle="color:rgb(255,0,0);"/>
    //in bean
    private String errormsg = "";
    based on some processing i filled the 'errormsg' property with desirable error string, by this.errormsg="error....." .
    & getter method is there for returing the value, on page.
    GlobalOnly= true for af:messages.
    i m using 10gdev
    Edited by: user78995 on Apr 7, 2010 2:44 AM

  • Upgrade from RH8 to RH10 formatting

    We upgraded from RH8 to RH10 and some of the topics are not formatted. (1484 topics) There is alot of extra spacing inbetween bullets and alpha numbering.
    For example:
    Enter a Business    Name, if applicable. This field is not required if you    are not establishing a business account and when you provide a    first and last name. The value entered is displayed on the customer's    invoice and is limited to 30 alphanumeric characters.
    What do I need to eliminate in the HTML code? And is there a way to programatically remove all the extra spaces?
    Thank-you,
    Michelle

    I think your problem is because you are generating to a network drive. You should generate to a local drive and publish to a network drive.
    I changed your start page in the project you sent to index.htm as I don't like having a start page with the same name as a topic and generated to a local drive.
    Works fine. Correct formatting.
    Also I would avoid spaces in a CSS file name.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • I am running Snow Leopard 10.6.8 with bootcamp 3.3 on my Imac 2011. I need to updgrade to mountain lion. If I first upgrade to mountain lion, how do I go about upgrading from bootcamp 3.3 to latest bootcamp for mountain lion?

    I am running Snow Leopard 10.6.8 with bootcamp 3.3 on my Imac 2011. I need to updgrade to mountain lion. If I first upgrade to mountain lion, how do I go about upgrading from bootcamp 3.3 to latest bootcamp for mountain lion?
    I have seen a lot of discussions upgrading from Boot Camp 4 to 5 but no answers upgrading from boot camp 3.3 to 5. My worry is that if I upgrade from snow leopard to mountain lion, that my bootcamp partition will no longer be able to boot up. There seem to be a lot of threads suggesting problems that are possible. Has anyone gone through this upgrade with success?

    Before doing any installation restart OSX from your 10.6 Snow Leopard DVD and use Disk Utility to Both Repair The Disk and Repair the Permissions of your Macintosh HD.
    Next remove your Snow Leopard DVD and restart your iMac into OSX.
    Update to the latest version of OS X Snow Leopard by clicking the Apple icon and choose Software Update to install Snow Leopard v10.6.8, the latest version.
    Use Time Machine to make a Full Backup of your Macintosh HD.
    Shut down and restart into Windows by holding the Option key at the chime and selecting Windows.
    Now use Windows Backup to make a Full Image Backup of your Windows Installation to a removable drive.
    Shut Down and Boot back into OSX.
    Open the Mac App Store from your Dock to buy and download Mountain Lion. Then follow the onscreen instructions to install it.
    Upgrading your OSX to 10.8 should not effect the Windows Partition at all since you are only upgrading the Mac side. You should not have to run the Boot Camp Assitant 5 Utility in OSX at all.
    Your Boot Camp 3.3 Windows Support Drivers et. al only effect your Windows installation and should continue to run fine after upgrading.
    Which version of Windows do you already have installed on the existing Boot Camp Partition?
    Is it 32 bit or 64 bit?

  • The page cannot be displayed Error showing for workspace

    Hi All
    The page cannot be displayed Error showing for workspace.
    http://localhost:19000/workspace/index.jsp
    Other web applications working fine.... Shared Services, FDM webclient
    1. I have restarted Hyperion Workspace - Agent Service and IIS Admin service Still my problem didn't get resolved.
    2.Below web services extensions provided *"Allow"* permission in Internet information services(IIS)Manager
    Active Server Pages
    ASP.NET v1.1.4322
    ASP.NET v2.0.50727
    Internet Data Connector
    Server Side Includes
    WebDAV
    Application Pool->DefaultApp Status showing Running
    Web sites->*1.Default web site 2.Administration* Status showing Running
    Regards
    Smilee

    Correct, I just mistyped it in my thread. I just tried "http://epm.southbay.local:19000/workspace/"
    When I click Start Reporting and Analysis core serivces a command prompt window opens with the name "server" on the window, but the command prompt window itself is empty.

  • Hide the error msg for the mandatory fields

    hi
    how can i hide the error msg for the mandatory fields when they are not entered?? when i don't put a value in a mandatory field and commit the form, an error msg occurs teelling to enter the value for that mandatory field, but the error msg is not friendly at all and i want to hide it.
    thnaks

    User,
    I'll assume you are talking about ADF Faces + ADF Business Components application, since you don't mention it.
    If you are talking about the pop-up Javascript dialog box that pops up, you can do the following:
    1). Set required=false on those fields in your JSP.
    2). Set showrequired=true on those same fields so that there is a visual indication that the fields are required
    3). Ensure the attribute to which the fields are bound have "mandatory" set to true in the BC's
    Now, when you commit the form, you will not see the Javascript pop-up, but you will see a message in the af:messages component.
    Best,
    john

  • What is the best, cheapest way to upgrade from CS3 MAC to a newer CS for PC

    What is the best, cheapest way to upgrade from CS3 MAC to a newer CS for PC? I do graphic desing mostly print and some web and want to get into ebooks and more web graphics?

    Hi riverwalk2,
    I have check & found Design Standard CS3 that you have might be eligible for few special offer for the latest version of Adobe Creative Cloud which is independent of Operationg systems.
    Please choose the best option in http://www.adobe.com/products/discount-software-coupons.html?promoid=KAWQR
    Hope it helps you,
    Regards,
    Rajshree

  • Odd pagination issue going from RH8 to RH9

    I just recently upgraded from TCS2 to 3. I'm linking a structured FM book to a RH project. The FM to RH mappings are set to paginate at the ChapterTitle and Heading1 (top level section elements) levels. Everything worked fine in RH8, but in RH9 any time I have a ChapterTitle not followed by a paragraph, RH9 isn't correctly creating a separate topic for the ChapterTitle and instead creating a topic using the chaptertitle with the first Heading1 topic lumped in. This creates a problem since I'm using a htt for the chapter level topics to generate a mini-TOC to the sections in each chapter. If I add a paragraph after the ChapterTitle (before the first Heading1) everything works fine and I get a separate topic for the ChapterTitle and the first Heading1. All other Heading1 styles are correctly being generated as a separate topic.
    To be clear, I'm using the paginate setting in the paragraph styles mapping and then using <$paratext_no_num> topic name pattern. Did something change between RH8 and 9? Do I need to just bite the bullet and add topic name markers?

    There has been a change in the pagination behavior in TCS 3. TCS 3 does not allow creating of empty topics with just a heading text. If pagination is set on two heading styles with one following the other at a particular location, the earlier one is simply ignored at that particular location. In order to achieve pagination at such a location one needs to pick either of the two options as you have already mentioned in your post.
    Add an extra paragraph in between with some relevant content.
    Or use Topic Name Marker for pagination.
    Mayank

  • FacesContext can't display error msg !

    Hi guys,
    I got this problem. For this function:
         public User saveUser(User user) throws DBException {
              try {
                   User newUser = this.userDao.saveUser(user);
                   return newUser;
              } catch (DataIntegrityViolationException di) {
                   String msg = "duplicate user id";
                   this.logger.error(msg, de);
                   throw new DuplicateUserIdException(msg);
    =======================================
    then the below function is to execute when user click the submit button
    public String submitAction() {.....
    catch (DuplicateUserIdException de) {
    String msg = "Username already exists";
    this.logger.info(msg);
    FacesContext.getCurrentInstance().addMessage(null, new FacesMessage( FacesMessage.SEVERITY_INFO, msg, msg));
    return QueryResults.RETRY;
    ========================================
    public class DuplicateUserIdException extends DBException {
         private String username;
         public DuplicateUserIdException(String newUsername) {     
              super("Username " + newUsername + " already exist");
              this.username = newUsername;
         public String getUsername() {
              return this.username;
    ====================================
    So when I click on the submit button after entering a duplicate username, it will just go back to the same page and no error message display. Username is a primary key and email address is set to UNIQUE in MySQL DB. I read the log file and indeed all the error messages can be catched. The registration.jsp page is like:
    <h:inputText value="#{userBean.username}" id="username" required="true">
    <f:validateLength maximum="20" minimum="5"/>
    </h:inputText>
    <h:message for="username"/>
    but I got my login page also the same h:inputText as above.
    I am using JSF + Spring + Hibernate.
    I hv tried to fix it a few time but failed !
    Appreciate any help here.

    K> then the below function is to execute when user click
    K> the submit button
    K>
    K> public String submitAction() {.....
    K>
    K> catch (DuplicateUserIdException de) {
    K> String msg = "Username already exists";
    K> this.logger.info(msg);
    K> FacesContext.getCurrentInstance().addMessage(null,
    K> l, new FacesMessage( FacesMessage.SEVERITY_INFO,
    K> msg, msg));
    K> return QueryResults.RETRY;
    K>           }
    K> }
    K> So when I click on the submit button after entering a
    K> duplicate username, it will just go back to the same
    K> page and no error message display. Username is a
    K> primary key and email address is set to UNIQUE in
    K> MySQL DB. I read the log file and indeed all the
    K> error messages can be catched. The registration.jsp
    K> page is like:
    K>
    K> <h:inputText value="#{userBean.username}"
    K> id="username" required="true">
    K> <f:validateLength maximum="20" minimum="5"/>
    K> </h:inputText>
    K> <h:message for="username"/>
    K>
    K> but I got my login page also the same h:inputText as
    K> above.
    K>
    K> I am using JSF + Spring + Hibernate.
    K>
    K> I hv tried to fix it a few time but failed !
    K> Appreciate any help here.
    Ok, we have to keep in mind the request processing lifecycle here. Your
    submitAction() method is called after conversion and validation have
    already occurred. Therefore, you can never queue an error from an
    action handler. Here's why.
    When your submitAction() is called, you queue a message into the faces
    context. Whatever you return from submitAction(), it's ultimately going
    to cause a requestDispatcher.forward() or
    httpServletRespones.sendRedirect(). Both of these cause a new
    FacesContext instance to be created, obliterating your carefully queued
    message.
    The best practice I've seen used is to handle the validation as close to
    the component in which the validation error occured as possible. I
    recommend creating a custom validator method binding, that does the
    trick. This is really easy to do. Just add a method to your bean:
    public void validate(FacesContext context,
    UIComponent component,
    Object value) throws ValidatorException {
    // queue the message here, make sure to call component.setValid(false)
    Then, in your inputText, you say:
    <h:inputText value="#{userBean.username}" validator="#{userBean.validate}
    id="username" required="true">
    <f:validateLength maximum="20" minimum="5"/>
    </h:inputText>
    And you're done.
    Ed (JSR-252 Spec co-lead)

  • Problm in displaying error msg

    hi
    i hav written error message for production sheduler...
    if the input is wrong i want the errror to be displayed as invalid input...
    if they dnt enter any data then no need to display any error msg i hav written this below code...
    here im getting error if i dont enter account group and if i enter correct group also it is giving error msg...
    wt is wrong in my code?
    AT SELECTION-SCREEN on s_fevor.
      s_fevor-sign = 'I'.
      s_fevor-option = 'EQ'.
      s_fevor-low = s_fevor.
      s_fevor-high = s_fevor.
      APPEND s_fevor.
      CLEAR s_fevor.
      IF not s_fevor-low in s_fevor.
        SELECT fevor
          from afko
          INTO TABLE t_fevor
          WHERE fevor in s_fevor.
          IF sy-subrc ne 0.
              MESSAGE e001.
          ENDIF.
      ENDIF.

    Hello
    Please modify your code as below .WHICH WIll work for all scenarios i mean even if you give Option as EXCLUSIVE also .....
    AT SELECTION-SCREEN on s_fevor.
       DATA : l_t_fevor TYPE TABLE OF afko-fevor WITH HEADER LINE.
      SELECT fevor INTO TABLE l_t_fevor FROM afko.
      LOOP AT s_fevor.
        IF NOT s_fevor-low IS INITIAL.
          READ TABLE l_t_fevor WITH KEY = s_fevor-low.
          IF sy-subrc <> 0.
            SET CURSOR FIELD 'S_FEVOR-LOW'.
            MESSAGE e<>      ENDIF.
        ENDIF.
        IF NOT s_FEVOR-high IS INITIAL.
          READ TABLE l_t_fevor WITH KEY = s_fevor-high.
          IF sy-subrc <> 0.
            SET CURSOR FIELD 'S_FEVOR-HIGH'.
            MESSAGE e<>      ENDIF.
        ENDIF.
      ENDLOOP.
    Regards

  • Help-cannot download podcast from itunes to ipod.  error msg

    I have the IPOD video 30gb, 5th generation, and have itunes 7.02..
    I am able to download the podcast from itunes into my library, but am unable to download it onto my ipod. an error msg pops up:
    "...was not copied to the IPOD because it cannot be played on this IPOD."
    I've searched and searched for an answer to this, and it appears to be a somewhat common problem with the itunes upgradeto 7.02
    does any one have a solution?!?
    HELP! (i'm an ipod newbie-and this is driving me absolutely MAD!!)

    OMG-i just figured it out!!
    *first of all, i came across this in the itunes store help area-->
    "Why won't some video podcasts play on my iPod?
    Some video podcasts, while playable in iTunes, are encoded in formats that are not compatible with iPods. To convert those videos so that they are iPod-compatible, highlight the video in iTunes, right-click on the selection, and choose "Convert Selection for iPod". iTunes will automatically re-encode the video for playback on iPod. Go to the Movies section of your Library to find and play the converted episodes.
    *i had converted the podcast previously, but i had just continued to try and transfer it from the podcast section rather than going to the movie's section, and dragging it from there. once i did that, it worked!
    hope this helps anyone else out there, as i did come across a few other queries...

  • Considering upgrading from RH6 to RH9...

    I am considering upgrading from RoboHelp 6 to RH9; I have 40+ projects merged into a main project -- will they present a problem?
    thanx,
    Lon

    In the words of the younger set: "Duh!" Okay, silly question; what should have asked was:
    Do I open RH 9, then open each of these projects, one at a time, to upgrade them?  (Maybe this is a silly question, too.)
    lr

  • HT1212 My  fully charged iPhone screen is black and not responding. what can I do to get it to work again? I have never syncd on iTunes. I connected to my laptop and iTunes app displays error msg saying phone is locked and unlock phone to connect.

    My fully charged iPhone has a black screen and is not responding but has Siri and sound.  I connected to laptop and iTunes gives error msg indicating phone is locked and I to enter passcode. but I can't enter the passcode because the screen is black. I have never syncd with iTunes. What can I do to get my  phone back?

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

Maybe you are looking for