Warning messages on programatically created document

Hi,
My program reads the data from a file which is into SharePoint 2010 and massage with the list information. It finally creates a new document and prompt the end user to save it. When user opens the saved document it consecutively prompts with the below two
message -
"The file abc.docx" cannot be opened because there are problem with the contents" [ Details: File is corrupt and cannot be opend"
How to turn off this warning messages? When I re-save this document with different name then the above messages stops prompting. I want these messages should not appear even at first time as well. I tried to add these document on trusted location and also
removed the protection settings but it does not help.
Any help will be greatly appreciated.
Best Regards,
Imran

Hi,
Which program are you using to create the Word documents? Does the program create the document based on a template? If so, please check your template extension and make sure it’s saved as .docx and not .dotx. Additionally, be sure that the template is not
in “Compatibility Mode”.
In addition, if you are using other way to create the document, please also check if the link below applies. It provided a workaround to this issue.
http://social.msdn.microsoft.com/Forums/en-US/87e03278-2e01-47fe-820f-cffe715680c8/able-to-open-word-doc-created-but-with-errors
Regards,
Steve Fan
TechNet Community Support

Similar Messages

  • SQL Developer 1.5.1 - warning messages generated by CREATE TABLE

    Hi,
    Have an issue with a CREATE TABLE statement - it works correctly, but generates a warning message when used in SQL Developer (1.2 or 1.5.1). Full test case below:
    Setup:
    drop table samplenames;
    drop table customers;
    drop table phones;
    drop table customers_phone;
    drop sequence primkey;
    create table samplenames
    (name VARCHAR2(10));
    insert into samplenames values ('dan');
    insert into samplenames values ('joe');
    insert into samplenames values ('bob');
    insert into samplenames values ('sam');
    insert into samplenames values ('weslington');
    insert into samplenames values ('sue');
    insert into samplenames values ('ann');
    insert into samplenames values ('mary');
    insert into samplenames values ('pam');
    insert into samplenames values ('lucy');
    create sequence primkey
    start with 1000000
    increment by 1;
    create table customers as
    select primkey.nextval as cust_id,
    tmp1.name || tmp2.name as first_name,
    tmp3.name || tmp4.name || tmp5.name as last_name
    from samplenames tmp1,
    samplenames tmp2,
    samplenames tmp3,
    samplenames tmp4,
    samplenames tmp5;
    CREATE TABLE PHONES AS
    SELECT cust_id, 'H' as phn_loc, trunc(dbms_random.value(100,999)) as area_cde,
    trunc(dbms_random.value(1000000,9999999)) as phn_num
    FROM customers;
    INSERT INTO PHONES
    SELECT cust_id, 'B' as phn_loc, trunc(dbms_random.value(100,999)) as area_cde,
    trunc(dbms_random.value(1000000,9999999)) as phn_num
    FROM customers;
    --randomly delete ~10% of records to make sure nulls are handled correctly.
    delete from phones
    where MOD(area_cde + phn_num, 10) = 0;
    create table statement (there are legacy reasons for why this is written the way it is):
    CREATE TABLE customers_phone NOLOGGING AS
    SELECT cst.*,
    piv.HOME_PHONE,
    piv.WORK_PHONE
    FROM (SELECT cust_id,
    MAX(decode(phn_loc, 'H', '(' || area_cde || ') ' ||
    substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS HOME_PHONE,
    MAX(decode(phn_loc, 'B', '(' || area_cde || ') ' ||
    substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS WORK_PHONE
    FROM phones phn
    WHERE phn_loc IN ('H', 'B')
    AND cust_id IS NOT NULL
    AND EXISTS (SELECT NULL
    FROM customers
    WHERE cust_id = phn.cust_id)
    GROUP BY cust_id) piv,
    customers cst
    WHERE cst.cust_id = piv.cust_id (+)
    Warning message output:
    "Error starting at line 1 in command:
    CREATE TABLE customers_phone NOLOGGING AS
    SELECT cst.*,
    piv.HOME_PHONE,
    piv.WORK_PHONE
    FROM (SELECT cust_id,
    MAX(decode(phn_loc, 'H', '(' || area_cde || ') ' || substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS HOME_PHONE,
    MAX(decode(phn_loc, 'B', '(' || area_cde || ') ' || substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS WORK_PHONE
    FROM phones phn
    WHERE phn_loc IN ('H', 'B')
    AND cust_id IS NOT NULL
    AND EXISTS (SELECT NULL
    FROM customers
    WHERE cust_id = phn.cust_id)
    GROUP BY cust_id) piv,
    customers cst
    WHERE cst.cust_id = piv.cust_id (+)
    Error report:
    SQL Command: CREATE TABLE
    Failed: Warning: execution completed with warning"
    I am on 10.2.0.3. The CREATE TABLE always completes successfully, but the warning bugs me, and I have had no success tracking it down since there is no associated numberr.
    Anyone have any ideas?

    Hi ,
    The Oracle JDBC driver is returning this warning so I will be logging an issue with them, but for the moment SQL Developer will continue to report the warning as is.
    The reason for the warning is not clear or documented as far as I can tell,
    but I have replicated the issue with a simpler testcase which makes it easier to have a guess about the issue :)
    ----START
    DROP TABLE sourcetable ;
    CREATE TABLE sourcetable(col1 char);
    INSERT INTO sourcetable VALUES('M');
    DROP TABLE customers_phone;
    CREATE TABLE customers_phone AS
    SELECT MAX(decode(col1, 'm','OK' , NULL)) COLALIAS
    FROM sourcetable;
    ----END
    The warning occurs in the above script in SQL Developer , but not in SQL*Plus.
    The warning disappears when we change 'm' to 'M'.
    The warning disappears when we change NULL to 'OK2'
    In all cases the table creates successfully and the appropriate values inserted.
    My gut feeling is ...
    During the definition of customers_phone, Oracle has to work out what the COLALIAS datatype is.
    When it sees NULL as the only alternative (as sourcetable.col1 = 'M' not 'm') it throws up a warning. It then has to rely on the 'OK' value to define the COLALIAS datatype, even though the 'OK' value wont be inserted as sourcetable.col1 = 'M' and not 'm'. So Oracle makes the correct decision to define the COLALIAS as VARCHAR2(2), but the warning is just to say it had to use the alternative value to define the column.
    Why SQL*Plus does not report it and JDBC does, I'm not sure. Either way it doesn't look like a real issue.
    Again, this is just a guess and not a fact.
    Just though an update was in order.
    Regards,
    Dermot.

  • Receiving CO073 warning message while creating PM order for a certain equipment

    Hello experts ,
    Do you have an idea why i receive a warning message : Valuation data is not maintained for valuation type
    While entering a piece of equipment in PM order creation screen ?
    Before creating the PM order , I've entered company code and specific cost center in the master data of this piece of equipment.
    When I erased cost center from equipment's master data ,warning messages disappeared while creating PM order again.
    What configuration has to be done for the CO objects ? maybe MM configuration needs to be done like in automatic account configuration ?
    but it is strange thaw , equipment is not a material,thus and has no valuation class in his mater data record ....
    another problem is: after passing the warning message , in PM order , Location screen , the cost center is not being copied from equipment master record , which contains the cost center.
    Pease advice,
    Daniel

    Hello
    Have you assigned Business Area in  Equipment Or Work Order.If yes please try remove that try to create the wo
    Br
    Rakesh

  • Warning Messages in BPEL to Business rules

    Hi ,
    On Compilation i am receiving the following warning .. Canany one advice me why am i receiving the below warning messages .
    Project: C:\Documents and Settings\600674748\Desktop\BusinessRules\BusinessRules\BusinessRules.jpr
    C:\Documents and Settings\600674748\Desktop\BusinessRules\BusinessRules\BPELProcess2.componentType
    Warning: property "partnerLink.MLCBusniessRulesDictionary1.MLCBusniessRulesDictionary1_DecisionService.DecisionService" may not be understood by BPEL component BPELProcess2 - it will likely be ignored.
    Warning: property "partnerLink.MLCBusniessRulesDictionary1.MLCBusniessRulesDictionary1_DecisionService.wsdlRuntimeLocation" may not be understood by BPEL component BPELProcess2 - it will likely be ignored.
    Warning: property "partnerLink.MLCBusniessRulesDictionary1.MLCBusniessRulesDictionary1_DecisionService.decisionServiceDetails" may not be understood by BPEL component BPELProcess2 - it will likely be ignored.
    Warning: property "partnerLink.MLCBusniessRulesDictionary1.MLCBusniessRulesDictionary1_DecisionService.optSoapShortcut" may not be understood by BPEL component BPELProcess2 - it will likely be ignored.
    Regards ,
    Naga

    Hi Naga,
    How did you resolve this.
    Thanks,
    Ravi

  • If a purchase requisition already exists for an item then system should give warning message

    Hi Experts,
    Is there any standard configuration for showing the user a warning message if while creating a purchase requisition for an item for which one purchase requisition already exits ??
    kindly help,
    Regards,
    Vishal

    Hi Vishal,
    You can configure the message in SPRO as described below
    In SPRO->MM->Purchasing->Define Attributes of Sys. messages
    Click on the New entries, you can get from F4 the below messages
    You can select from the selection screen.
    Thanks and Regards,
    Sravan

  • FV50-Park a G/L Account Document BDC Warning message in screen 1001

    I need some help with a BDC program.  I am working on a BDC program to process transaction FV50.   I went to SHDB and created a recording macro. When I test the recording with u201Csimpleu201D information the recording works correctly and the document is parked.  But, when I try to park a document with todays date for the Document Date and I use a date from a previous period I get a warning message which requires an extra screen to be displayed and u201Centeru201D has to pressed. My recording does not work when I get a warning message. I went back and re-recorded transaction FV50 and cause the u201Cwarningu201D message to be displayed so that I can add the extra screen to my BDC recording. I do not see the u201Cextrau201D screen in the new BDC recording.  Anyone know why? How can I make this BDC program handle this extra warning message?

    You will have to add some logic to your program to check the date. If it is from the previous period, process the warning screen; otherwise, do not.
    You may run into other problems as well. FV50 looks like an EnjoySAP transaction and not well suited to batch input.
    Rob

  • To through custumize warning messages while creating PO

    Hi All,
    I want to through some warning message throgh user exit while creating PO is there any standar message id i can use to through warning message i know '00' with number 398 but that is working only for error message.
    Regards
    Sagar

    If you're doing these in an exit, you decide in your code whether A,E,I,W, message type.  Beware though, how you present...you might want to do I messages with the "display like E" addition.  I utilize message 016 from message class GR a lot...It's just placeholders and you can then issue messages with three or four values, like:
      message e016(gr) with
      <document> <item> 'text' 'more text'
       etc....  mix and match up to four values, literals, constants, text-elements, etc.

  • Create a Warning message

    If you want to add a new functionality in SharePoint 2013 and that is if you want to create a warning message based on selection of document in the document library and then you click on the delete button a warning message should display.
    What and how should I do it?
    What other factors should I take account to?

    Hi,
    According to your description, you might want to create a warning message when there is selection made and another warning message when the delete button is clicked. Please reply
    if I misunderstand what you really mean.
    For the deletion warning, when we want to delete an item, an OOTB dialog with warning message would be popped up:
    For the selection warning, we can create a custom warning dialog by listening the CheckboxStateChange event of the checkbox of each item using JavaScript.
    Here is a link about how to listen to the CheckboxStateChange event of the checkbox:
    http://help.dottoro.com/ljihlcqe.php
    Then we can show a Modal Dialog as what the blog below suggests:
    http://www.ashokraja.me/articles/How-to-Show-and-Hide-a-Modal-Pop-up-Dialog-in-a-SharePoint-2013-Page-or-a-Visual-WebPart
    Best regards
    Patrick Liang
    TechNet Community Support

  • I am getting a warning message when i am trying to create a host-named sitecollection.

    Hi guys,
          I am trying to create a host-named site collection. I have created the root site collection. After that i have tried to create customer root site. I have doing this process with the guidance of this link.
    http://technet.microsoft.com/en-us/library/cc424952.aspx#section2a
    When i tried to create a customer root site. I am getting a warning message
    " WARNING: The port specified for the new host header site does not match any known bindings in the specified Web
    Application.  The new site will not be accessible if the Web Application is not extended to an IIS Web Site serving
    this port."
    I couldn't when this warning message comes. I tried to bind the server with webapplication which is created for host-named site collection. No use.
    Can anyone help me to solve. And i wanna know why this error message comes!!!
    Thanks in advance
    Rajendran.

    First, you shouldn't create a host named site collection on a Web app that has host header named.  Doing that implements host names at two different levels and will not work reliably.  Second I'm not sure what you mean when you say you didn't
    use the FQDN but used just the domain name.  A Full url will always be either an FQDN or a shorter Netbios name.  If you use a Netbios name it simply assumes the local AD domain of the workstation to create an FQDN as the url  There is no way
    to use just the domain name.  For example, Contoso.com is the domain name.  Server.contoso.com or WEbsite.contoso.com are FQDNs.  YOu can also use a shorter version that is just server or website, but when those resolve in TCP/IP they would
    still resolve using server.contoso.com or website.contoso.com if the workstation where your browser is was in the contoso.com domain.  What is the URL for your root site and your host named site?
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Create warning message at the time of order creation

    I am looking for a  solution :- "Create warning message at the time of order creation/save if a cc is assigned in the settlement rule that crosses the company code of the order or where the company code of the plant for the order is different from the company code assigned to the cc"

    The txn code : IW32 (maintenance order) , this warning message for settlement rule creation using Cost center as a settlement receiver.  If the used cost center is belongs to some other company code, said warning message should occure.
    I tried user exit, field exit, also used std message control (KO-458).  Nothing is working.

  • Error message & warning message while creating PO

    Hi,
    I have one requirement like when user create PO with 'critical material',while saving PO,user should get message "critical material".
    For this ,in the enhancement MM06E005,EXIT_SAPMM06E_012(functional module),
    I have written piece of code
    *critical Material by Jaheer,ABAP & MM specialist
    LOOP AT TEKPO.
    IF TEKPO-MATKL EQ '9068'.
    MESSAGE ID 'ZMM' TYPE 'W' NUMBER '013' with TEKPO-MATNR.
    ENDIF.
    endloop.
    Here whenever I put message type 'E',I am getting message "critical material".But I donot want error message ,I want only warning message,so when I changed message type as "W",I am not getting any message while checking My PO.
    What is the reason?
    please,Can somebody throw some light on this?
    With Reg,
    Jaheer

    Hi
    Use the badi ME_PROCESS_PO_CUST, method CHECK, with a coding as this
      include mm_messages_mac.
      data: header       type mepoheader,
            items        type purchase_order_items,
            po_line      type mepoitem,
            line_item    type purchase_order_item.
      header = im_header->get_data( ).
      items  = im_header->get_items( ).
    LOOP AT items INTO line_item.
    IF condition IS TRUE.  "critical material (line_item-matnr)
           mmpur_message 'W' 'ZMM' '013' line_item-matnr ' ' ' '  ' '.
    ENDIF.
    ENDLOOP.
    I hope this helps you
    Regards
    Eduardo

  • General Warning Message while creating po

    Hi Gurus,
    Good Morning.
    I want to pop-up a warning message while creating all types of PO saying that "Contact Person & Email ID text should be filled "
    This message should be applicable to all PO .
    How to create a message and assign in PO ?
    Thanks & Regards,
    Vikas

    Hi Archit,
    Thanks for your reply.
    How to create a new Text No. & Message Text ? or if i want to use any existing text no & Message Text how can I change the Text Description ?
    Thanks & Regards,
    Vikas

  • Pop up warning message while creating PO

    Hi,
    How to give a Genral or a POP up Warning Message while creating and checking a PO in ME21n and ME22n.
    Even i tried in changing the local setting in the menu bar, but it doesnt work.
    Help and suggestions will be much appreciated.
    Thanks & Regards.
    Kumar.

    Hi Jay,
    I tired with the BADI ME_PROCESS_PO_CUST  in the method IF_EX_ME_PROCESS_PO_CUST~CHECK, but still i am able to display only error message not Warning message.
    Any suggestion regarding this.....
    Thanks & Regards.
    Kumar.

  • Warning message, if Quantity=0, when creating a sales order with VA01orVA02

    Hi Experts,
    Currently, if the user do not enters any value in QUANTITY field, while creating a sales order(or even VA02 too) ..........we are getting a Warning message(VU001).
    So, I need to change it to hard error message type, am changing the message type, but, its not reflecting, and still its throwing a warning message(VU001)!!
    Let me know that, What is the correct user exit to incorporate my changes?
    From where this message generating? am keeping a watch point with this message (VU001), but, its not stopping!!
    System is ECC 6.0
    repliaes appreciated
    thanq
    Edited by: SAP ABAPer on Dec 22, 2008 4:38 PM

    thanq
    (the reason, why my original code was worked is that, I put my code in SAVE user exit!!)
    yes, its working, but, the scaenrio is different, so, its like,
    if the user entered my_matnr with quantity = 0,
    then presses ENTER,
    now, we are getting a WARNING MESSAGE of message class & # is VU001, saying the Item 000010 is quantity 0...........so, here I need to change it to HARD ERROR message.
    So, as soon as press the ENTER button(after enetring 0 qty matnr)........I need to get HARD error message, so, where should I incorporate the changes? is it MOVE FIELD TO VBAP user exit?
    thanq

  • Message No BS027 - Create Sales Document is not Allowed

    Hi All
    I have created a status profile zfm00001 copying the status profile FM000001.
    I have created a new user status as OPEN in which I have allowed all the transactions including create sales document.
    All the possible transactions in Funds Management object type is set as allowed.
    After I release these status for " * " FC & " * " CI for 2011, All other transactions are working properly.
    I am getting an error during Sales Order creation as " Message No BS027 - Create Sales Document is not Allowed", even though I have set the status for "Create sales document" as allowed.  I am going wrong somewhere..Please help
    Rgds

    Hi,
    Please, maintain in BS12, VA01-relevant business  transactions for object type FS0.
    Regards,
    Eli

Maybe you are looking for

  • R6034 error Photoshop CS2 drag & drop

    I've had this problem for some time.  I'm on Vista-64-SP2 running Photoshop-CS2 When first installed PS-CS2 worked fine. I got no errors when starting the program and I could drag & drop icons from the desktop or windows onto the Adobe taskbar icon a

  • Is it Possible to Change the Checkbox format

    I'm designing a form for my business and I'm using the "Checkbox" style. I don't mind it as an on screen representation of a checkbox but the gradient fill is unprofessional, affected and unclear as a check box on a printed form (I was hoping it woul

  • Reading data from multiple excel sheets

    hi all i have to read the data from excel file's sheet1 and sheet3. how can i do this using forms6i thanks.

  • Why does firefox many times opens last browsed page when started (I have set 'show a blank page' and 'about blank' in General settings)

    I have made the following settings in general tab of firefox in settings When firefox starts - Show a blank page Home page - About blank Inspite of the above settings, when I start firefox, it many times opens the page I was browsing before I had clo

  • Condition in SD

    Hi, SD Gurus, The client is going to sell a material for a specific period. In that specific period for the particular material he wants to have a discount if the customer purchase 10 Quantity to 20 Quantity he his eligible to buy the material for Rs