DFS unable to modify junction

Hi,
On my 2 node Cluster ; OES11 sp1 i can't edit my junction. The error message i got in imanager is :
Error: Storage Error
Bad XML found during parsing.
I move the vldb ressources to the other node but same issue
I repair the vld ressources : same issue.
Any idea ?
Thanks
Stphane

Hi,
Finaly i figure out what was wrong.
My iManager server was OES11 , imanger 2.7.5
I upgade the server to oes11sp1 and so imanager is now 2.7.6
I do't have the error anymore.
Hope it can help someone.
Stphane

Similar Messages

  • Unable to modify embedded Excel spreadsheet

    Unable to modify embedded Excel spreadsheet
    I am having problems with 2 Xcelsius files.  When I open them and try to change the tab name, the embedded Excel spreadsheet is coming up that it is protected, but I have never put a password on these 2 files.
    The following pop-up message appears - "Workbook is protected and cannot be changed".
    Please advise.
    Thanks,
    Neil.

    HI Neil
    Assuming your using Xcelsius 2008, have you tried exporting the spreadsheet (Data > Export), check the exported workbook for passwords and then re-imported the spreadsheet back into your model?
    Regards
    [Charles|http://www.reportex.co.uk/xc_waterfallchart.html]

  • No icons on google toolbar. I just get a blank toolbar with nothing on it. unable to modify/reset. reinstall did not volve the issue.

    no icons on google toolbar. I just get a blank toolbar with nothing on it. unable to modify/reset. reinstall did not volve the issue.
    Cannot click on gmail icon, google maps icon, ect... there is just a blank bar and you can do nothing.

    Do you have the latest version of the Google Toolbar?
    '''7.1.20110512W''' is the latest, as far as I know.

  • I am unable to modify template properties

    Hello,
    I have noticed that I am unable to modify properties of my template. The "Template Properties"  menu is disabled.
    I made a basic html page and saved as template, by thinking that my template is not proper.
    But nothing change
    What migth be reason for this strange situation in CS5 and the any solution?
    Thanks

    Of course I have editable regions.
    <!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>
    <!-- TemplateParam name="OptionalRegion1" type="boolean" value="true" -->
    <!-- TemplateBeginEditable name="head" -->head<!-- TemplateEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <!-- TemplateBeginEditable name="EditRegion1" -->EditRegion1<!-- TemplateEndEditable -->
    <!-- TemplateBeginIf cond="OptionalRegion1" --><!-- TemplateBeginEditable name="EditRegion3" -->OptionalRegion1<!-- TemplateEndEditable --><!-- TemplateEndIf -->
    </body>
    </html>
    I am trying to change OptionalRegion1 property to enable/disable

  • Unable to Modify DB_block_Size for OWB installation

    We are try to install OWB server on oracle DB server in windows xp professional, at the time of installation oracle suggests to increase db_block_size from 8192 to at least 16k for better performance. We are unable to modify the same thru Console or enterprise manager in INIT file since it is disabled or even we tried with multiple options but no use.
    Can you please help us ASAP & let us know if any clarification required.

    Your advice is completely incorrect in any currently supported version of Oracle.
    SQL> select name, value
      2  from gv$parameter
      3  where name like '%cache_size';
    NAME                           VALUE
    db_cache_size                  0
    db_2k_cache_size               0
    db_4k_cache_size               0
    db_8k_cache_size               0
    db_16k_cache_size              0
    db_32k_cache_size              0
    db_keep_cache_size             0
    db_recycle_cache_size          0
    client_result_cache_size       0
    9 rows selected.
    SQL>

  • Unable to modify database

    hi,
    i'm unable to perform the following operations:
    unarchive a repository
    create a new repository
    create a new repository from schema
    duplicate repository
    i'm getting the error "unable to modify database".
    I have tried restarting the MDM server but the problem persists.
    This problem has never occured before. Has someone faced this issue before? if yes then could you kindly provide the cause and resolution?
    I'm on SP05 patch2 HF1 (build 5.5.42.57). MDM is running on Oracle.
    Thanks in advance
    SwarnaDeepika
    Edited by: SwarnaDeepika on Apr 15, 2008 11:11 AM

    Hi Swana,
    <Unable to Modify Datbase>
    This error occurs due to a problem with the database on which MDM server is seated.
    You can try one of these options to correct this problem:
    - Check the oracle data base Listener configuration
    - Stop and start the oracle service from the system on which it is installed.
    Start->Program->oracle->
    - After doing this stop and start the MDM service.
    - Then try performing the above activities.
    It should work.I had faced the similar error.
    Hope it helps
    Kindlt reawrd points if found useful
    Thanks
    Simona

  • I am unable to modify calendar events

      I have set up my Google account to sync with Calendar but I am unable to modify events. I tried to update an even t but the event reverted and lost the updated information after a molment.

    Permissions – Reset Home Folder (includes 10.6.8)
    Permission Issues - Troubleshooting
    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   
    Repair User Permissions

  • Unable to Modify Resource Notes and Roles Responsibility in 8.2

    hi there
    I am unable Unable to Mopendify Resource Notes and Roles Responsibility in 8.2. Whenever i click modify it just open new window with some option of font and other on top ribbon but in the main pane i am not able to write down any thing
    any suggestion

    Did you go to the Resources page itself?
    Try going to resources page from Enterprise-Resources and then select the resource then Modify, subsequently in the window opened you should be able to enter the text. It should work it because am also using V8.2 itself.

  • Unable to modify ANY C2S configurations

    New BM3.8 server. Trying to set up VPM C2S services.
    When I try to modify any DEFAULT or NEW Client to Site configurations, I get this error message when I click on OK. Unable to add any new traffic or authentication rules.
    The Client To Site Service was modified partially. The Failed Items:
    One or More Traffic Rules.

    Truthfully, I tried many things and not sure what fixed it but I know I did follow the Console One steps in TID 10089619
    I also make my VPN (BM) server that Master of the partition that this VPN(BM) server resided in. I really believe this solved the problem.
    Bill
    >>> On 11/12/2007 at 7:18 PM, in message <[email protected]>, Scott<[email protected]> wrote:
    How did you fix this problem? I have the same problem but with the authentication rules.
    Thanks
    "Bill Swisher" <[email protected]> wrote in message news:[email protected]...
    I got it fixed finally.
    >>> On 10/29/2007 at 4:36 PM, in message <[email protected]>, Bill Swisher<[email protected]> wrote:
    Narrowed the problem to seeing this on the console logger screen when I click on OK to save the C2S rule. Not sure what to try next.
    Error:VpnConfig - RuleHandler:createNewRule method
    com.novell.admin.common.exceptions.UniqueSPIExcept ion: (Error -604) An object class that does not exist in the Directory is being referenced by a utility.
    I Ran NBMSCHCK.NLM from this server with no problems.
    Found this TID # 10098678 that is my exact error, but can't figure what else to try to fix it.
    TID says:
    cause
    The server was migrated from nw6 to nw65 and nbm 3.7 to nbm 3.8. During the migration, the server failed to communicate with the master of the partition, causing DS to be in an inconsistence state. This files above showed that server was missing some bordermanager classes, need them to add the value from imanager, causing the java exception.
    fix
    Once DS has been fixed and back to a stable state, re extend the bordermanager schema in one of this ways:
    1. Using the new NBMSCHCK.NLM, included on the beta support pack bm38sp4 ( Bordermanager version 3.8.4)
    2. Using console one and following TID 10089619
    I Ran NBMSCHCK.NLM from on this server from the BM3.8SP5 directory with no problems.
    I do remember during my BM install that said I didn't have privileges to extend the schema but the above check says everything is OK.
    >>> On 10/18/2007 at 9:31 AM, in message <[email protected]>, Bill Swisher<[email protected]> wrote:
    New BM3.8 server. Trying to set up VPM C2S services.
    When I try to modify any DEFAULT or NEW Client to Site configurations, I get this error message when I click on OK. Unable to add any new traffic or authentication rules.
    The Client To Site Service was modified partially. The Failed Items:
    One or More Traffic Rules.

  • Unable to modify share permissions by command

    Hi Folks,
    Im trying to modify my existing share permissions by the net share command, but im unable to complete it.
    NET SHARE
    sharename
              sharename=drive:path [/GRANT:user,[READ | CHANGE | FULL]]
                                   [/USERS:number | /UNLIMITED]
                                   [/REMARK:"text"]
                                   [/CACHE:Manual | Documents| Programs | BranchCache | None]
              sharename [/USERS:number | /UNLIMITED]
                        [/REMARK:"text"]
                        [/CACHE:Manual | Documents | Programs | BranchCache | None]
              {sharename | devicename | drive:path} /DELETE
              sharename \\computername /DELETE
    Is there any suggestion how can this be accomplished by a cmd session?
    Cheers, Alan.

    Hi Alan,
    You can use the subinacl command below to modify share permissions.
    subinacl.exe /share "TheShare" /grant=<Domain>\<UserOrGroup>=<Permission>
    For more detailed information, please see:
    SubInACL (SubInACL.exe)
    https://www.microsoft.com/en-us/download/details.aspx?id=23510
    Dive Deep with SubInACL
    http://redmondmag.com/articles/2008/03/01/dive-deep-with-subinacl.aspx
    Please Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Is the DFS replication DFsrPrivate a junction point folder and if so where are the files stored?

    We have DFS replication set and see an arrow against the folder DFSrPrivate. Do the files reside at this location or elsewhere?
    Thanks
    David

    Hi David,
    The DFsrPrivate folder resides at replicated folders. This folder is in reality a junction point or, in simpler terms, a link to another location on the volume. It seems to point to a path under the ‘System Volume Information’ folder on the same volume.
    For more detailed information, you could refer to the article below:
    Backup/Restore of DFSR Replicated Data - Part 2: Inspecting DFSR's Footprint
    http://blogs.technet.com/b/filecab/archive/2008/06/22/backup-restore-of-dfsr-replicated-data-part-2-inspecting-dfsr-s-footprint.aspx
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Data Maintenance view exist - but unable to modify data in SM30.

    Dear all,
    Had created a customized table, with "Display/Maintenance Allowed". Table maintenance is also generated. So data in the customized table can now be maintained via SM30 in the Development server.
    However, when the customized table is transported into Testing server -- when attempting to modify the table in SM30,
    an info message pop up stating "Client 003 has status not modifiable". With that, could not maintain the table directly.
    Kindly shed so light on the matter above.
    Thanks in advance.

    Your table maintenace generated is flaggedas 'Standard recording routine' - check in - table maintenance -> 'Dialog data transport details'.
    If you want to allow to maintain in QA or in Prod box please set the flag to 'no, or user, recording routine' .

  • Unable to modify Report using JRC alone

    Hi
    I am trying to modify the report generated thru Crystal reports 2008 programmatically using JRC.
    I dont see any API in com.crystaldecisions.reports.sdk.DataDefController to modify filters,groups,parameters,sort objects and summaries.
    I could find Controller API to modify the above in com.crystaldecisions.sdk.occa.report.application package part of RAS SDK which requires RAS to be installed.
    WIll it be possible to modify report using JRC alone?
    because when i use com.crystaldecisions.sdk.occa.report.application.ReportClientDocument class to open a report, it thorws
    ReportSDKServerException: There is no server specified exception.
    and i am not sure what need to set for ReportClientDocument.setReportAppServer()
    Pls help me .

    Hi,
    Thanks for your help.
    I am getting the below  exception when I am trying to open a report programmatically using  com.crystaldecisions.reports.sdk.ReportClientDocument.
    oReportClientDocument.open(reportName, 0);
    I am not sure how to resolve this issue.
    I have even created a new rpt file. I am getting the same exception/
    I could open this report directly thru Crystal Reports.
    12/16/10 16:19:57:376 IST] 10c3f2a6 WebGroup      E SRVE0026E: [Servlet Error]-[The document is being opened.]: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The document is being opened.---- Error code:-2147215349 Error code name:docNotReady
    Error code:-2147215349 Error code name:docNotReady
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
         at com.crystaldecisions.client.helper.ObjectState.a(Unknown Source)
         at com.crystaldecisions.client.helper.ObjectState.if(Unknown Source)
         at com.crystaldecisions.client.helper.ObjectState.stopping(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.close(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.close(Unknown Source)
         at com.crystaldecisions.reports.sdk.ReportClientDocument.close(Unknown Source)
         at org.apache.jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:389)
         at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:662)
         at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(
    Pls help me.
    Edited by: D.Sangeetha on Dec 16, 2010 12:33 PM

  • Unable to modify maintenance view to accommodate new field

    I have a database table for which I have created a maintenance view so that the fields can be edited.
    Now, I modified my database table and added one more
    field to it. I similarly added this new field in my view and
    activated everything. But the new field is not appearing in
    the "view" contents and neither from se54/sm30.
    Can anybody help me with this?
    I want this new field to appear in my already existing view.

    Goto SE54 and carry out the following steps:-
    1) Enter the name of the table or view.
    2) Choose Generated objects.
    3) Choose Create/Change. You go to the generated objects maintenance screen.
    4) Choose Change. A screen of reasons for changes appears.
    Select option(s) and choose Continue.
    The new field will appear in the view.

  • Unable to modify a XML node which is a SimpleType using a Typed XML field.

    Hello,
    I have an XSD schema that uses SimpleTypes.  When I attempt to modify a node in an Schema typed XML field, which has a schema using simpletypes, I receive the error:  XQuery [modify()]: The value is of type "xs:string", which is not a
    subtype of the expected type "<anonymous>"
    To reproduce the problem use the following information:
    SCHEMA:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:ns1="http://testschema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" targetNamespace="http://testschema" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
    <xs:element name="Test">
    <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence>
    <xs:element name="SAPCode">
    <xs:annotation>
    <xs:documentation>Customer Number for Delivery Organization</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:length value="10"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="OrganizationName">
    <xs:annotation>
    <xs:documentation>Name of Organization</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="AttentionTo" minOccurs="0">
    <xs:annotation>
    <xs:documentation>Attention to Recepient for the delivery</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150" fixed="false"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address2" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address3" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="City">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="StateProvince">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PostalCode">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="20"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Country">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:length value="2"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Phone" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="50"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="EmailAddress" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="200"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    The T-SQL That produces the error:
    DECLARE
    @vx_Test xml (CONTENT [dbo].[Test]),
    @vs_ShipToAttentionTo NVARCHAR(50)
    SET
    @vx_Test = N'<ns0:Test xmlns:ns0="http://testschema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ns0:SAPCode>1234567890</ns0:SAPCode>
    <ns0:OrganizationName>Test Org</ns0:OrganizationName>
    <ns0:AttentionTo>Test Person</ns0:AttentionTo>
    <ns0:Address1>123 Main Street</ns0:Address1>
    <ns0:City>Test City</ns0:City>
    <ns0:StateProvince>IL</ns0:StateProvince>
    <ns0:PostalCode>12345</ns0:PostalCode>
    <ns0:Country>US</ns0:Country>
    </ns0:Test>'
    SET
    @vs_ShipToAttentionTo = 'New Attention To'
    SET @vx_Test.modify('declare namespace ns0="http://testschema";
    replace value of (/ns0:Test[1]/ns0:AttentionTo) with sql:variable("@vs_ShipToAttentionTo")');
    -- This would be how I would reference it if I was modifiying the XML in a typed XML column in a table.
    WITH XMLNAMESPACES('http://testschema' AS ns0)
    UPDATE TestItems
    SET TestXML.modify('replace value of (/ns0:Test[1]/ns0:AttentionTo) with sql:variable("@vs_ShipToAttentionTo")')
    SELECT @vx_Test
    How can I make this work.  In this example I am using a typed XML variable, but I really want to do this in a table update.
    Thanks,
    Kent

    Try the change below.  What I did was to create a named simple type for the AttentionTo node.  Here is my understanding (based on this working).  Because you have a simpleType the node cannot accept just any string, it has to be a string of
    the type in the simpleType.  That simpleType has no name (thus anonymous). 
    What I did was to create a named simpleType and used that simpleType as the type for the AttentionTo element.  Then in my XQuery, I cast the value to the name of that type (AttentionToType in my example).
    CREATE xml schema collection Test as '<?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:ns1="http://testschema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" targetNamespace="http://testschema" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
    <xs:element name="Test">
    <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence>
    <xs:element name="SAPCode">
    <xs:annotation>
    <xs:documentation>Customer Number for Delivery Organization</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:length value="10"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="OrganizationName">
    <xs:annotation>
    <xs:documentation>Name of Organization</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="AttentionTo" minOccurs="0" type="ns1:AttentionToType">
    <xs:annotation>
    <xs:documentation>Attention to Recepient for the delivery</xs:documentation>
    </xs:annotation>
    </xs:element>
    <xs:element name="Address1">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address2" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Address3" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="150"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="City">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="StateProvince">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="100"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PostalCode">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="20"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Country">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:length value="2"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="Phone" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="50"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="EmailAddress" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="200"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:simpleType name="AttentionToType">
    <xs:restriction base="xs:string">
    <xs:maxLength value="150" fixed="false"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:schema>';
    go
    DECLARE
    @vx_Test xml (CONTENT dbo.Test),
    @vs_ShipToAttentionTo nvarchar(50)
    SET
    @vx_Test = N'<ns0:Test xmlns:ns0="http://testschema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ns0:SAPCode>1234567890</ns0:SAPCode>
    <ns0:OrganizationName>Test Org</ns0:OrganizationName>
    <ns0:AttentionTo>Test Person</ns0:AttentionTo>
    <ns0:Address1>123 Main Street</ns0:Address1>
    <ns0:City>Test City</ns0:City>
    <ns0:StateProvince>IL</ns0:StateProvince>
    <ns0:PostalCode>12345</ns0:PostalCode>
    <ns0:Country>US</ns0:Country>
    </ns0:Test>'
    SET
    @vs_ShipToAttentionTo = 'New Attention To'
    SET @vx_Test.modify('declare namespace ns0="http://testschema";
    replace value of (/ns0:Test[1]/ns0:AttentionTo) with sql:variable("@vs_ShipToAttentionTo") cast as ns0:AttentionToType?');
    -- This would be how I would reference it if I was modifiying the XML in a typed XML column in a table.
    WITH XMLNAMESPACES('http://testschema' AS ns0)
    UPDATE TestItems
    SET TestXML.modify('replace value of (/ns0:Test[1]/ns0:AttentionTo)
    with sql:variable("@vs_ShipToAttentionTo")')
    SELECT @vx_Test
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

Maybe you are looking for

  • Computer not reading ipod at all

    i bought my nano like a month ago... i connected my nano to the computer and all the songs went on it... a week later though i got a message saying i needed to upgrade so i did and in the middle of the upgrading process it froze and all my songs were

  • FBL1N error - vendor balance with customer item

    Hi gurus, One scenario where i have assign vendor as customer & customer as vendor in vendor & customer data. also make tick mark for both clearing with vendor & customer. when i see the customer report with vendor item it shows me the customer & ven

  • Using jsp in webi(BO).

    How can i use Jsp in BusinessObjects Webintelligence tool and for what purpose i can use jsp coding to create reports? Thanks in advance. Rp

  • R9 270X Gaming OC 2G Black screen

    Now at me stand driver versions 13.101, I tried to install this version of the driver is newer, and on all versions after rebooting the PC was a black screen, the system is not just loaded ... what to do? S/N: 602-V303-03SB1310008061 My BIOS: sendspa

  • I want to cancel the suscription I just made

    I want to cancel the suscription I just made