PRE_CLONE_CREATE_CMD in mount action

Hello, I would like to ask a question, if it's possible to use some king of PRE_CLONE_CREATE_CMD in Mount action. This command is lauched only in cloneLun or cloneVol action, not in Mount action. What is my problem?Customer creates clones from existing snapshots with Mount action. It works fine, but sometimes it would be very helpful if you can stop the action (in case of some errror) and exit with an error code/message forwarded to DFM before creating snapshot. In Umount action it's ok - PRE_UMOUNT_CMDs run before physical clone destroy. In Mount action, PRE_MOUNT_CMDs are running after the clone is created. It means that clone is created every time if Mount action is started and you have now change to break the clone creation process. And such "zombie" clones stay on the controller and cause problems in snapshot retentoin - snapshots are busy and can't be deleted. Thanks for any help. BR,Rostislav  

Hi, It is possible to customize the mount workflow. SnapCreator installation contains workflow xml files which controls the workflows/actions.  In your case, in the mount.xml, before the "VolCloneCreate" task, add the following task. <step task="preCloneCreateCMD" configs="#APP_VM" abortStep="agentFinalizeWorkflow"if="#APP_VM.application.definedMount == false"></step> In your config file, define the neccesary cmd in PRE_CLONE_CREATE_CMD param. Thanks,Amar

Similar Messages

  • Does "on disk mount" action exist?

    Sorry, I will not use this forum as my only resource. I am sorry for two posts (not double posting) I have just been saving up my questions.
    I want to build an automation that activates when I plug in my compact flash card. Essentially making a workflow that when I plug in my card and the disk image pops up on my desktop (like it currently does) and then the automator activates and asks me "do you want to transfer all of these files to your temp NEF folder?"
    I know how to do everything BUT the action that would start as soon as it detects the card being mounted. I could right click and run the action, but I really want it to be totally streamlined.
    Is there an action like "on disk mount" that I can place before all of my other actions?
    -i
    2x2.0 gHz G5   Mac OS X (10.4.1)  

    TomK,
    I just had your same problem yesterday with my external USB LaCie Porsche disk. I've been using FW disks for years and this never happened to me before.
    I tried running the disk tests with Disk Utility, switching the drive on and off, with no result.
    Disk Warrior 3.0.3 solved the problem by rebuilding the directory structure. Now it works again and no file was (visibly) lost.
    By adding up what I read in this thread, I get to the conclusion that the problem was in the disk (not in the finder prefs) and is not related with USB vs. FW, as at first I guessed.
    I'm curious to know if and how you solved your problem.
    Could you solve it using a standard Apple utility or some terminal command ?
    I can manage unix commands if needed...
    Thanks
    Piero

  • GNOME, nautilus, devicekit-disks: mount USB disk

    Hi,
    I recently upgraded and have now nautlius 2.28.2-1 together with devicekit-disks 009-1 installed.
    As usual mounting/unmounting USB disks in nautilus stopped working. I searched the wiki, forums, bugs and google to gather information about this topic, but you know ...
    When I try to mount a disk (they all show up in nautilus) nautilus pops up an error declaring me "Not Authorized". After quite some reading I think nautilus now uses devicekit-disks to actually mount my USB disks, so I tried to mount it with devicekit-disks:
    [resi@nomad ~]$ devkit-disks --mount /dev/sdc
    Mount failed: Not Authorized
    In older versions of nautilus I used to edit some files in /etc to grant myself permissions (PolicyKit.conf), but this does not work anymore.
    I found a hint and edited /usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy (this one is coming with devicekit-disks) and modified the default for the actions org.freedesktop.devicekit.disks.filesystem-mount action:
    <allow_any>yes</allow_any>
    Having done so I can now mount the USB disks using nautilus, devicekit-disks or palimpsest (suffering from the same "Not Authorized" problem). Unmounting has a little flaw though, it seems like nautilus tries to eject the medium when unmounting, but then again its "Not Authorized" to do so.
    However, this is the only solution I could come up with. Since the file I modified will probably be replaced without notice during the next upgrade I fear I will have to go all the way again, not remembering anymore what I did to fix this (otoh, after writing this I probably will).
    And since the values in org.freedesktop.devicekit.disks.policy are declared as defaults (and by the fact it lives under /usr) I assume there has to be a site configuration file somewhere in /etc.
    Where should I but my customizations? I mean, whats the proper way to do so?
    Thanks,
    Christoph
    P.S.: I like nautilus, it makes me unhappy to use thunar/pmount/whatever to mount my disks.

    me again ... this whole *kit stuff seems so odd to me.
    I finally read all the devicekit, then the policykit docs, Syu-ed and have now devicekit-disks 009-3 installed.
    Using polkit-actions without arguments prints a list of registered actions (known to policykit). This list was pretty short:
    [resi@nomad ~]$ polkit-action
    org.freedesktop.policykit.read
    org.freedesktop.policykit.revoke
    org.freedesktop.policykit.grant
    org.freedesktop.policykit.modify-defaults
    PolicyKit considers all *.policy files under /usr/share/PolicyKit/policy/, only the policykit package installs its files (well, its one file) there.
    devicekit-disks (and probably some other packages providing *.policy files) seems to forget about that. So I added a symlink:
    [root@nomad policy]# ln -s /usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy /usr/share/PolicyKit/policy/
    Thats not enough, the file seems to be out of date. I had to replace all auth_admin_keep defaults with auth_admin_keep_session until the file validated.
    And hurray:
    [resi@nomad ~]$ polkit-action
    org.freedesktop.policykit.read
    org.freedesktop.policykit.revoke
    org.freedesktop.policykit.grant
    org.freedesktop.policykit.modify-defaults
    org.freedesktop.devicekit.disks.filesystem-mount
    org.freedesktop.devicekit.disks.filesystem-mount-system-internal
    org.freedesktop.devicekit.disks.filesystem-check
    org.freedesktop.devicekit.disks.filesystem-check-system-internal
    org.freedesktop.devicekit.disks.filesystem-unmount-others
    org.freedesktop.devicekit.disks.filesystem-lsof
    org.freedesktop.devicekit.disks.filesystem-lsof-system-internal
    org.freedesktop.devicekit.disks.drive-eject
    org.freedesktop.devicekit.disks.drive-detach
    org.freedesktop.devicekit.disks.change
    org.freedesktop.devicekit.disks.change-system-internal
    org.freedesktop.devicekit.disks.drive-ata-smart-refresh
    org.freedesktop.devicekit.disks.drive-ata-smart-selftest
    org.freedesktop.devicekit.disks.drive-ata-smart-retrieve-historical-data
    org.freedesktop.devicekit.disks.luks-unlock
    org.freedesktop.devicekit.disks.luks-lock-others
    org.freedesktop.devicekit.disks.linux-md
    org.freedesktop.devicekit.disks.cancel-job-others
    org.freedesktop.devicekit.disks.inhibit-polling
    org.freedesktop.devicekit.disks.drive-set-spindown
    polkit-auth shows my authorizations, thus:
    [resi@nomad ~]$ polkit-auth | grep mount
    org.freedesktop.devicekit.disks.filesystem-mount
    org.freedesktop.devicekit.disks.filesystem-mount-system-internal
    org.freedesktop.devicekit.disks.filesystem-unmount-others
    It seems to me that I am authorized for all actions listed above, I guess thats because this user is in both the wheel and root groups.
    However, when I try to actually mount something nothing has changed.
    [resi@nomad ~]$ devkit-disks --mount /dev/sdc
    Mount failed: Not Authorized
    Since policykit is now properly configured I can use polkit-action or polkit-gnome-authorization to modify the default values in the way polkit expects me to (not tampering with with the *.policy files).
    [resi@nomad ~]$ polkit-action --action org.freedesktop.devicekit.disks.filesystem-mount
    action_id: org.freedesktop.devicekit.disks.filesystem-mount
    description: Mount a device
    message: Authentication is required to mount the device
    default_any: yes (factory default: no)
    default_inactive: yes (factory default: no)
    default_active: yes
    But even now mounting fails because I'm not authorized.
    Back to the start, if I change the factory defaults in org.freedesktop.devicekit.disks.policy mounting succeeds.
    I think there might be 2 bugs involved here:
    1.) missing links to policy files in /usr/share/PolicyKit/policy/
    2.) policykit fails to consider overrides for factory defaults
    What do you think?

  • Udisksvm GUI UDisks wrapper without writing udev rules

    The scripts udisksvm and traydvm are now written in python and use the gobject introspection approach.
    Here is the link in AUR:
    https://aur.archlinux.org/packages/udisksvm/
    Here is the README content for explanations:
    The 'udisksvm' and 'traydvm' scripts operate between udisks2 and a window
    manager with a mouse and a system tray available. They listen to events and act
    accordingly with removable media.
    The 'traydvm' GUI utility displays a systray icon showing a plugged-in device,
    with a right-click menu to perform actions on it.
    The icon represents a file system/partition on the disk; so if there are
    several partitions, there are one icon for each file system on them.
    With a MBR partition table, only primary partitions are managed presently.
    udisks2------>udisksvm----------->traydvm--------->systray icon
    | |
    | |
    V V
    (automounting) right-click menu
    (non optical disks only) |
    |
    V
    commands to device media
    |
    |
    V
    notification
    The automounting feature is disabled by default.
    It can be enabled for non-optical disks with the '-a', '--auto' command line
    option.
    The old '-n', '--noauto' option is still recognized but not used anymore.
    A notification pops up after a 'Mount' or 'Unmount' action by the right-click
    menu.
    This feature is enabled by default, and can be disabled by the '-s',
    '--silent' command line option.
    In its present form there are only three actions : 'Mount', 'Unmount', 'Eject'
    The 'Mount' action operates on data optical disks, and on block devices with
    plain partitions, ie not a container of other partitions or not contained in
    another partition.
    The 'Eject' action is only activated for an unmounted optical disk.
    And only one CD/DVD drive at /dev/sr0 is considered.
    The tooltip when the mouse pointer hovers over the icon gives the device name,
    the label or the UUID and the state of the device, with the mountpoint, normally
    in /run/media/<user_name>, where the mounted media can be accessed in a file
    manager.
    The 'traydvm' utility has no configuration file: the popup menu and the actions
    are predefined in the script.
    The 'udisksvm' and 'traydvm' scripts use the UDisks2 DBus API.
    If used in a systemd configuration (default in Arch Linux) they also need to
    be ran in an active systemd-logind session:
    loginctl show-session $XDG_SESSION_ID
    should have a line with 'Active=yes'
    For example, in Openbox and Tint2 with systray enabled, only add this line in
    $HOME/.config/openbox/autostart to launch udisksvm with default options and
    without text output:
    udisksvm >/dev/null &
    To see output and errors from the script, run it in a console without the
    redirection to /dev/null;
    for more verbosity, run it with the '-d' or '--debug' option.
    The file system types and mount options are controlled by UDisks2.
    UDisks2 is rather restrictive presently:
    'flush' is available for 'vfat' file system,
    'sync' for 'ext2' file system.
    These options are included in the scripts.
    The traydvm script ignores all changes made to partitions or file
    system types or label, while it is running; if such changes are made
    on a device, while traydvm is running on it, the device has first to be
    plugged out/in to re-launch traydvm on it.
    These scripts can be extended to develop a more complete management of
    removable media in a GUI oriented approach.
    But they can simply be used as is, to automount, unmount or re-mount a USB
    memory stick or an external disk, or for accessing data on optical CD/DVD
    disks, only with mouse clicks.
    They can also be used to only show system tray icons, with other tools to do
    automounting or manual mounting/unmounting.
    Edit for up to date infos with the 2.3.0 release.
    See also other comments at the #58 post
    Last edited by berbae (2013-12-18 15:20:57)

    alleyoopster wrote:Is there a way of having the device volume label or the mount path reflected in the icons tooltips rather than the unhelpful uuid currently displayed?
    The "DeviceMountPaths" property is an array of strings rather than a single string.
    So if I use in default.xml :
    <tooltip executable="/bin/echo">
    <arg>-n</arg>
    <ref>DeviceMountPaths</ref>
    </tooltip>
    I get a wrong format of text.
    Initially I used a script named "echo-mount" instead of "/bin/echo" to reformat the output of the string array:
    #!/bin/bash
    # echo-mount script
    MOUNTPATH=$(echo $1 |cut -d \' -f 2)
    echo -n $MOUNTPATH
    That gives something like /dev/sdb1 as tooltip text.
    But I removed that to have something simpler.
    Concerning the "IdLabel" property, it is not always there; if no label is set, the string is empty.
    So I chose to use the "IdUuid" property which should be always available and is a single string.
    It seemed easier to use and it is also the name of the folder in /media where udisks mounts the device.
    But the default.xml configuration file could surely be modified to show the Label when it is available, something like :
    <icon icon="gtk.STOCK_HARDDISK">
    <displayed_if>
    <and>
    <match key="DeviceIsPartition" bool="true"/>
    <match key="DeviceIsMounted" bool="true"/>
    <not>
    <match key="IdLabel" string=""/>
    </not>
    </and>
    </displayed_if>
    <!--
    Tooltip text is "IdLabel" when it is mounted with a label.
    -->
    <tooltip executable="/bin/echo">
    <arg>-n</arg>
    <ref>IdLabel</ref>
    </tooltip>
    </icon>
    <icon icon="gtk.STOCK_HARDDISK">
    <displayed_if>
    <and>
    <match key="DeviceIsPartition" bool="true"/>
    <match key="DeviceIsMounted" bool="true"/>
    <match key="IdLabel" string=""/>
    </and>
    </displayed_if>
    <!--
    Tooltip text is "IdUuid" when it is mounted without a label
    -->
    <tooltip executable="/bin/echo">
    <arg>-n</arg>
    <ref>IdUuid</ref>
    </tooltip>
    </icon>
    I didn't test it yet on my machine.
    But if you test it, can you tell me please if it works as expected ?
    So I could incoporate the change more quickly in the AUR package.
    Thanks for your contribution.
    Last edited by berbae (2011-05-14 15:46:53)

  • Getting E17's hibernation to work...

    Hey,
    I just installed E17 and can't seem to get its hibernation button to work. (suspend works OK!)
    First of all, hibernation works perfectly through command line with:
    sudo pm-hibernate
    and
    sudo /usr/bin/systemctl hibernate
    my /etc/sudoers
    %users ALL = NOPASSWD: /usr/sbin/pm-hibernate
    %users ALL = NOPASSWD: /usr/sbin/pm-suspend
    %users ALL = NOPASSWD: /usr/bin/systemctl suspend
    %users ALL = NOPASSWD: /usr/bin/systemctl hibernate
    my /etc/enlightenment/sysactions.conf
    action: halt /usr/bin/systemctl poweroff
    action: reboot /usr/bin/systemctl reboot
    action: suspend /usr/bin/systemctl suspend
    action: hibernate sudo /usr/bin/systemctl hibernate
    action: /bin/mount /bin/mount
    action: /bin/umount /bin/umount
    action: /usr/bin/eject /usr/bin/eject
    action: gdb gdb
    # root is allowed to do anything - but it needs to be here explicitly anyway
    user: root allow: *
    # members of operator, staff and admin groups should be able to do all
    group: operator allow: *
    group: staff allow: *
    group: admin allow: *
    group: sys allow: *
    group: wheel allow: *
    group: adm allow: *
    # common "user" groups for "console users" on desktops/laptops
    group: dialout allow: *
    group: disk allow: *
    group: adm allow: *
    group: cdrom allow: *
    group: floppy allow: *
    group: audio allow: *
    group: dip allow: *
    group: plugdev allow: *
    group: netdev allow: *
    group: bluetooth allow: *
    group: video allow: *
    group: voice allow: *
    group: fax allow: *
    group: tty allow: *
    # deny everyone else by default
    user: * deny: *
    Thanks!

    I'm on Debian and discovered E17 two weeks ago. I had the same problem saz mentioned and found no clue anywhere on the Internet. At last, I found out that it's a bug in the default Compositor of E17. I switched to Ecomorph and the hibernation button worked It should also work with all compositors disabled.
    As this page is among the first ones that come up when a solution to this problem is searched, I preferred to post a reply here.
    Last edited by Tsu Jan (2014-02-21 15:03:02)

  • Applescript action attaching to a disk when it mounts not working

    I have a script to open a file that is on a disk image.  the script should open the file when the image mounts.  it used to under 10.6 but since upgrading to 10.8 it does not.
    The script is attached to 'Volumes' and I attached it also to the disk image.  however nothing happens.  if I manually run the script it works fine.
    has anything changed in 10.8? 

    If they are still enabled, folder actions work the same - you might try adding some error statements with logs or dialogs to see if there is another error that is stopping the action.

  • Action cam mount problems

    Hi there, I ordered 2 x mounts (EEACTTIP ACTION CAM ADAPTER MOUNTS) from your web-sit, They arrived today.The problem is, they are the incorrect mounts, you are sending out the packaging mounts- the ones that hold the camera inside the packaging box when you receive it.I just spoke to your distributors (Kondor) and they confirmed someone else had phoned up with this issue earlier, and there product control guy had looked at the product and confirmed this issue.Last time i checked a few minutes ago, they were still available to buy- and Kondor confirmed to me that they do not have the correct product in stock. So there is going to be 100's of these coming back. This needs to be sorted. I purchased this camera on contract to go alongside my ee phone data plan, with the intention of taking it to mexico for diving in 3 weeks, i need these additional mounts. Are the correct mounts going to be available, or is this a huge manufacturing error? Kind regards, Jamie Wiles

    Hello bekti-bsd
    The HP Action Cams all have a feature that can invert the picture orientation for using it as a dash cam.
    HP does not have the specific manual available as you have noticed but the setting will be similar to the other models.
    Look at this link for the ac200. It will give you an idea what to look for.
    Scroll down the page about half way to the Settings Screen Display Information and look for the Up/Down arrows to set the orientation.
    http://support.hp.com/us-en/document/c04021994
    You camera menu may not be exactly like this, but you get the idea.
    Hope it helps.

  • How do I setup an external hard drive to mount at boot (without any login action) in Mavericks?

    First the Details:
    MacBook Pro, Retina, 15-inch, Late 2013
    OS X Mavericks 10.9.5
    USB 3.0 External Hard drive
    I am currently using an external drive for my user storage.  Right now I log in with a separate User account to mount the drive, log off, and then log in with my user.  I am trying to remove the extra steps so I can boot my Mac and log right in.  I have not found any method that pertains specifically to Mavericks, and all of the methods I have tried for older OS versions do not seem to work properly.
    Thank you for your help.

    How is the EHD formatted? It is USB powered?   If it's formatted OS X Extended (journaled) with ownership set to be ignored and connected to a USB port it should mount as soon as the MBP is booted up and the EHD is spun up. It should be accessible to all accounts on the Mac.
    Do you have additional software that came with the drive that you've installed? What make and model drive is it?

  • Mount-Content Database give Action 4.0.32.0 of Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence failed. error

    hi all,
    while attaching content database to SharePoint 2010 I am getting this error. Please help me to solve this issue.
    [powershell] [SPContentDatabaseSequence] [ERROR] [2/26/2014 6:58:44 PM]: Action 4.0.32.0 of Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence failed.
    [powershell] [SPContentDatabaseSequence] [ERROR] [2/26/2014 6:58:44 PM]: Exception: The Database ID 7, Page (1:12779100), slot 1 for LOB data type node does not exist. This is usually caused by transactions that can read uncommitted data on a data page. Run
    DBCC CHECKTABLE.
    [powershell] [SPContentDatabaseSequence] [ERROR] [2/26/2014 6:58:44 PM]:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.SharePoint.Utilities.SqlSession.ExecuteNonQuery(SqlCommand command)
       at Microsoft.SharePoint.Upgrade.SPDatabaseSequence.ExecuteDataDefinitionMethodCore(SqlSession sqlSession, ISqlSession isqlSession, String sqlscript, SPLog log)
       at Microsoft.SharePoint.Upgrade.AlterToNewLOBType.Upgrade()
       at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
    [powershell] [AlterToNewLOBType (4.0.32.0)] [DEBUG] [2/26/2014 6:58:44 PM]: Begin Rollback()
    [powershell] [SPContentDatabaseSequence] [ERROR] [2/26/2014 6:58:44 PM]: Action 4.0.32.0 of Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence failed to rollback.
    [powershell] [SPContentDatabaseSequence] [ERROR] [2/26/2014 6:58:44 PM]: Exception: This SqlTransaction has completed; it is no longer usable.
    [powershell] [SPContentDatabaseSequence] [ERROR] [2/26/2014 6:58:44 PM]:    at System.Data.SqlClient.SqlTransaction.ZombieCheck()
       at System.Data.SqlClient.SqlTransaction.Rollback(String transactionName)
       at Microsoft.SharePoint.Utilities.TransactionalSqlSession.Rollback()
       at Microsoft.SharePoint.Upgrade.SPDatabaseAction.Rollback()
       at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()

    hi Eric,
    Thanks for your reply. using the system_health Extended Events session I got following error.
    <RingBufferTarget eventsPerSec="200" processingTime="40" totalEventsProcessed="8" eventCount="8" droppedCount="0" memoryUsed="81220">
    <event name="error_reported" package="sqlserver" id="100" version="1" timestamp="2014-02-26T11:33:07.028Z">
    <data name="error">
    <type name="int32" package="package0" />
    <value>17830</value>
    <text />
    </data>
    <data name="severity">
    <type name="int32" package="package0" />
    <value>20</value>
    <text />
    </data>
    <data name="state">
    <type name="int32" package="package0" />
    <value>11</value>
    <text />
    </data>
    <data name="user_defined">
    <type name="boolean" package="package0" />
    <value>false</value>
    <text />
    </data>
    <data name="message">
    <type name="unicode_string" package="package0" />
    <value>Network error code 0x2745 occurred while establishing a connection; the connection has been closed. This may have been caused by client or server login timeout expiration. Time spent during login: total 292 ms, enqueued 290 ms, network writes 0 ms, network reads 0 ms, establishing SSL 2 ms, negotiating SSPI 0 ms, validating login 0 ms, including user-defined login processing 0 ms. [CLIENT: 172.16.20.47]</value>
    <text />
    </data>
    <action name="callstack" package="package0">
    <type name="callstack" package="package0" />
    <value>0x0000000000CEDC3E
    0x000000000048BC65
    0x000000000048BA60
    0x00000000024AEE2E
    0x000000000179DD7E
    0x0000000000A5FF35
    0x000000000045CCA8
    0x0000000000A5AA42
    0x000000000081FB5A
    0x000000000041BBD8
    0x000000000041B8BA
    0x000000000041B6FF
    0x0000000000938FB6
    0x0000000000939175
    0x0000000000939839
    0x0000000000939502</value>
    <text />
    </action>
    <action name="session_id" package="sqlserver">
    <type name="uint16" package="package0" />
    <value>0</value>
    <text />
    </action>
    <action name="sql_text" package="sqlserver">
    <type name="unicode_string" package="package0" />
    <value>Unable to retrieve SQL text</value>
    <text />
    </action>
    <action name="tsql_stack" package="sqlserver">
    <type name="unicode_string" package="package0" />
    <value>Unable to retrieve T-SQL stack</value>
    <text />
    </action>
    </event>
    <event name="error_reported" package="sqlserver" id="100" version="1" timestamp="2014-02-26T13:28:44.189Z">
    <data name="error">
    <type name="int32" package="package0" />
    <value>7105</value>
    <text />
    </data>
    <data name="severity">
    <type name="int32" package="package0" />
    <value>22</value>
    <text />
    </data>
    <data name="state">
    <type name="int32" package="package0" />
    <value>6</value>
    <text />
    </data>
    <data name="user_defined">
    <type name="boolean" package="package0" />
    <value>false</value>
    <text />
    </data>
    <data name="message">
    <type name="unicode_string" package="package0" />
    <value>The Database ID 7, Page (1:12779100), slot 1 for LOB data type node does not exist. This is usually caused by transactions that can read uncommitted data on a data page. Run DBCC CHECKTABLE.</value>
    <text />
    </data>
    <action name="callstack" package="package0">
    <type name="callstack" package="package0" />
    <value>0x0000000000CEDC3E
    0x000000000048BC65
    0x000000000048BA60
    0x0000000000E1F5D0
    0x00000000008105B6
    0x000000000080F5D8
    0x000000000080F2A6
    0x00000000022F292D
    0x0000000000C60883
    0x000000000055D558
    0x000000000055D0C7
    0x000000000055CF1C
    0x0000000000560365
    0x0000000000560286
    0x000000000055FD36
    0x00000000005600F9</value>
    <text />
    </action>
    <action name="session_id" package="sqlserver">
    <type name="uint16" package="package0" />
    <value>54</value>
    <text />
    </action>
    <action name="sql_text" package="sqlserver">
    <type name="unicode_string" package="package0" />
    <value>UPDATE [dbo].[AllDocs] SET WelcomePageParameters = CASE WHEN WelcomePageParameters IS NOT NULL AND CONVERT(ntext,WelcomePageParameters) IS NULL THEN NULL ELSE WelcomePageParameters END,MetaInfo = CASE WHEN MetaInfo IS NOT NULL AND CONVERT(image,MetaInfo) IS NULL THEN NULL ELSE MetaInfo END,UnversionedMetaInfo = CASE WHEN UnversionedMetaInfo IS NOT NULL AND CONVERT(image,UnversionedMetaInfo) IS NULL THEN NULL ELSE UnversionedMetaInfo END,BuildDependencySet = CASE WHEN BuildDependencySet IS NOT NULL AND CONVERT(image,BuildDependencySet) IS NULL THEN NULL ELSE BuildDependencySet END,FileFormatMetaInfo = CASE WHEN FileFormatMetaInfo IS NOT NULL AND CONVERT(image,FileFormatMetaInfo) IS NULL THEN NULL ELSE FileFormatMetaInfo END WHERE datalength(WelcomePageParameters)=0 OR datalength(MetaInfo)=0 OR datalength(UnversionedMetaInfo)=0 OR datalength(BuildDependencySet)=0 OR datalength(FileFormatMetaInfo)=0 ;UPDATE [dbo].[AllDocStreams] SET Content = CASE WHEN Content IS NOT NULL AND CONVERT(image,Content) IS NULL THEN NULL ELSE Content END WHERE datalength(Content)=0 ;UPDATE [dbo].[AllDocVersions] SET MetaInfo = CASE WHEN MetaInfo IS NOT NULL AND CONVERT(image,MetaInfo) IS NULL THEN NULL ELSE MetaInfo END,Content = CASE WHEN Content IS NOT NULL AND CONVERT(image,Content) IS NULL THEN NULL ELSE Content END WHERE datalength(MetaInfo)=0 OR datalength(Content)=0 ;UPDATE [dbo].[AllLists] SET tp_Fields = CASE WHEN tp_Fields IS NOT NULL AND CONVERT(ntext,tp_Fields) IS NULL THEN NULL ELSE tp_Fields END,tp_ContentTypes = CASE WHEN tp_ContentTypes IS NOT NULL AND CONVERT(ntext,tp_ContentTypes) IS NULL THEN NULL ELSE tp_ContentTypes END WHERE datalength(tp_Fields)=0 OR datalength(tp_ContentTypes)=0 ;UPDATE [dbo].[AllWebParts] SET tp_View = CASE WHEN tp_View IS NOT NULL AND CONVERT(ntext,tp_View) IS NULL THEN NULL ELSE tp_View END,tp_Source = CASE WHEN tp_Source IS NOT NULL AND CONVERT(ntext,tp_Source) IS NULL THEN NULL ELSE tp_Source END,tp_AllUsersProperties = CASE WHEN tp_AllUsersProperties IS NOT NULL AND CONVERT(image,tp_AllUsersProperties) IS NULL THEN NULL ELSE tp_AllUsersProperties END,tp_PerUserProperties = CASE WHEN tp_PerUserProperties IS NOT NULL AND CONVERT(image,tp_PerUserProperties) IS NULL THEN NULL ELSE tp_PerUserProperties END,tp_Cache = CASE WHEN tp_Cache IS NOT NULL AND CONVERT(image,tp_Cache) IS NULL THEN NULL ELSE tp_Cache END WHERE datalength(tp_View)=0 OR datalength(tp_Source)=0 OR datalength(tp_AllUsersProperties)=0 OR datalength(tp_PerUserProperties)=0 OR datalength(tp_Cache)=0 ;UPDATE [dbo].[AuditData] SET EventData = CASE WHEN EventData IS NOT NULL AND CONVERT(ntext,EventData) IS NULL THEN NULL ELSE EventData END WHERE datalength(EventData)=0 ;UPDATE [dbo].[EventCache] SET EventData = CASE WHEN EventData IS NOT NULL AND CONVERT(image,EventData) IS NULL THEN NULL ELSE EventData END,ACL = CASE WHEN ACL IS NOT NULL AND CONVERT(image,ACL) IS NULL THEN NULL ELSE ACL END WHERE datalength(EventData)=0 OR datalength(ACL)=0 ;UPDATE [dbo].[EventLog] SET FormattedFragment = CASE WHEN FormattedFragment IS NOT NULL AND CONVERT(ntext,FormattedFragment) IS NULL THEN NULL ELSE FormattedFragment END,EventData = CASE WHEN EventData IS NOT NULL AND CONVERT(image,EventData) IS NULL THEN NULL ELSE EventData END WHERE datalength(FormattedFragment)=0 OR datalength(EventData)=0 ;UPDATE [dbo].[EventSubsMatches] SET LookupFieldPermissionResults = CASE WHEN LookupFieldPermissionResults IS NOT NULL AND CONVERT(image,LookupFieldPermissionResults) IS NULL THEN NULL ELSE LookupFieldPermissionResults END WHERE datalength(LookupFieldPermissionResults)=0 ;UPDATE [dbo].[Features] SET Properties = CASE WHEN Properties IS NOT NULL AND CONVERT(ntext,Properties) IS NULL THEN NULL ELSE Properties END WHERE datalength(Properties)=0 ;UPDATE [dbo].[HT_Cache] SET [File] = CASE WHEN [File] IS NOT NULL AND CONVERT(image,[File]) IS NULL THEN NULL ELSE [File] END WHERE datalength([File])=0 ;UPDATE [dbo].[ImmedSubscriptions] SET Properties = CASE WHEN Properties IS NOT NULL AND CONVERT(ntext,Properties) IS NULL THEN NULL ELSE Properties END WHERE datalength(Properties)=0 ;UPDATE [dbo].[NavNodes] SET NodeMetaInfo = CASE WHEN NodeMetaInfo IS NOT NULL AND CONVERT(image,NodeMetaInfo) IS NULL THEN NULL ELSE NodeMetaInfo END WHERE datalength(NodeMetaInfo)=0 ;UPDATE [dbo].[Perms] SET Acl = CASE WHEN Acl IS NOT NULL AND CONVERT(image,Acl) IS NULL THEN NULL ELSE Acl END WHERE datalength(Acl)=0 ;UPDATE [dbo].[Personalization] SET tp_PerUserProperties = CASE WHEN tp_PerUserProperties IS NOT NULL AND CONVERT(image,tp_PerUserProperties) IS NULL THEN NULL ELSE tp_PerUserProperties END,tp_Cache = CASE WHEN tp_Cache IS NOT NULL AND CONVERT(image,tp_Cache) IS NULL THEN NULL ELSE tp_Cache END WHERE datalength(tp_PerUserProperties)=0 OR datalength(tp_Cache)=0 ;UPDATE [dbo].[Resources] SET NtextVal = CASE WHEN NtextVal IS NOT NULL AND CONVERT(ntext,NtextVal) IS NULL THEN NULL ELSE NtextVal END WHERE datalength(NtextVal)=0 ;UPDATE [dbo].[Sites] SET DomainGroupMapCache = CASE WHEN DomainGroupMapCache IS NOT NULL AND CONVERT(image,DomainGroupMapCache) IS NULL THEN NULL ELSE DomainGroupMapCache END WHERE datalength(DomainGroupMapCache)=0 ;UPDATE [dbo].[Webs] SET CachedNavScope = CASE WHEN CachedNavScope IS NOT NULL AND CONVERT(ntext,CachedNavScope) IS NULL THEN NULL ELSE CachedNavScope END,Description = CASE WHEN Description IS NOT NULL AND CONVERT(ntext,Description) IS NULL THEN NULL ELSE Description END,CachedNav = CASE WHEN CachedNav IS NOT NULL AND CONVERT(image,CachedNav) IS NULL THEN NULL ELSE CachedNav END,CachedInheritedNav = CASE WHEN CachedInheritedNav IS NOT NULL AND CONVERT(image,CachedInheritedNav) IS NULL THEN NULL ELSE CachedInheritedNav END,MetaInfo = CASE WHEN MetaInfo IS NOT NULL AND CONVERT(image,MetaInfo) IS NULL THEN NULL ELSE MetaInfo END,DailyUsageData = CASE WHEN DailyUsageData IS NOT NULL AND CONVERT(image,DailyUsageData) IS NULL THEN NULL ELSE DailyUsageData END,MonthlyUsageData = CASE WHEN MonthlyUsageData IS NOT NULL AND CONVERT(image,MonthlyUsageData) IS NULL THEN NULL ELSE MonthlyUsageData END,Ancestry = CASE WHEN Ancestry IS NOT NULL AND CONVERT(image,Ancestry) IS NULL THEN NULL ELSE Ancestry END WHERE datalength(CachedNavScope)=0 OR datalength(Description)=0 OR datalength(CachedNav)=0 OR datalength(CachedInheritedNav)=0 OR datalength(MetaInfo)=0 OR datalength(DailyUsageData)=0 OR datalength(MonthlyUsageData)=0 OR datalength(Ancestry)=0 ;UPDATE [dbo].[SchedSubscriptions] SET Properties = CASE WHEN Properties IS NOT NULL AND CONVERT(ntext,Properties) IS NULL THEN NULL ELSE Properties END WHERE datalength(Properties)=0 ;UPDATE [dbo].[ScheduledWorkItems] SET TextPayload = CASE WHEN TextPayload IS NOT NULL AND CONVERT(ntext,TextPayload) IS NULL THEN NULL ELSE TextPayload END,BinaryPayload = CASE WHEN BinaryPayload IS NOT NULL AND CONVERT(image,BinaryPayload) IS NULL THEN NULL ELSE BinaryPayload END WHERE datalength(TextPayload)=0 OR datalength(BinaryPayload)=0 ;UPDATE [dbo].[UserInfo] SET tp_ExternalToken = CASE WHEN tp_ExternalToken IS NOT NULL AND CONVERT(image,tp_ExternalToken) IS NULL THEN NULL ELSE tp_ExternalToken END WHERE datalength(tp_ExternalToken)=0 ;UPDATE [dbo].[Workflow] SET Modifications = CASE WHEN Modifications IS NOT NULL AND CONVERT(ntext,Modifications) IS NULL THEN NULL ELSE Modifications END,InstanceData = CASE WHEN InstanceData IS NOT NULL AND CONVERT(image,InstanceData) IS NULL THEN NULL ELSE InstanceData END,History = CASE WHEN History IS NOT NULL AND CONVERT(image,History) IS NULL THEN NULL ELSE History END WHERE datalength(Modifications)=0 OR datalength(InstanceData)=0 OR datalength(History)=0 ;UPDATE [dbo].[WorkflowAssociation] SET InstantiationParams = CASE WHEN InstantiationParams IS NOT NULL AND CONVERT(ntext,InstantiationParams) IS NULL THEN NULL ELSE InstantiationParams END WHERE datalength(InstantiationParams)=0 ;UPDATE [dbo].[AllUserData] SET ntext1 = CASE WHEN ntext1 IS NOT NULL AND CONVERT(ntext,ntext1) IS NULL THEN NULL ELSE ntext1 END,ntext2 = CASE WHEN ntext2 IS NOT NULL AND CONVERT(ntext,ntext2) IS NULL THEN NULL ELSE ntext2 END,ntext3 = CASE WHEN ntext3 IS NOT NULL AND CONVERT(ntext,ntext3) IS NULL THEN NULL ELSE ntext3 END,ntext4 = CASE WHEN ntext4 IS NOT NULL AND CONVERT(ntext,ntext4) IS NULL THEN NULL ELSE ntext4 END,ntext5 = CASE WHEN ntext5 IS NOT NULL AND CONVERT(ntext,ntext5) IS NULL THEN NULL ELSE ntext5 END,ntext6 = CASE WHEN ntext6 IS NOT NULL AND CONVERT(ntext,ntext6) IS NULL THEN NULL ELSE ntext6 END,ntext7 = CASE WHEN ntext7 IS NOT NULL AND CONVERT(ntext,ntext7) IS NULL THEN NULL ELSE ntext7 END,ntext8 = CASE WHEN ntext8 IS NOT NULL AND CONVERT(ntext,ntext8) IS NULL THEN NULL ELSE ntext8 END,ntext9 = CASE WHEN ntext9 IS NOT NULL AND CONVERT(ntext,ntext9) IS NULL THEN NULL ELSE ntext9 END,ntext10 = CASE WHEN ntext10 IS NOT NULL AND CONVERT(ntext,ntext10) IS NULL THEN NULL ELSE ntext10 END,ntext11 = CASE WHEN ntext11 IS NOT NULL AND CONVERT(ntext,ntext11) IS NULL THEN NULL ELSE ntext11 END,ntext12 = CASE WHEN ntext12 IS NOT NULL AND CONVERT(ntext,ntext12) IS NULL THEN NULL ELSE ntext12 END,ntext13 = CASE WHEN ntext13 IS NOT NULL AND CONVERT(ntext,ntext13) IS NULL THEN NULL ELSE ntext13 END,ntext14 = CASE WHEN ntext14 IS NOT NULL AND CONVERT(ntext,ntext14) IS NULL THEN NULL ELSE ntext14 END,ntext15 = CASE WHEN ntext15 IS NOT NULL AND CONVERT(ntext,ntext15) IS NULL THEN NULL ELSE ntext15 END,ntext16 = CASE WHEN ntext16 IS NOT NULL AND CONVERT(ntext,ntext16) IS NULL THEN NULL ELSE ntext16 END,ntext17 = CASE WHEN ntext17 IS NOT NULL AND CONVERT(ntext,ntext17) IS NULL THEN NULL ELSE ntext17 END,ntext18 = CASE WHEN ntext18 IS NOT NULL AND CONVERT(ntext,ntext18) IS NULL THEN NULL ELSE ntext18 END,ntext19 = CASE WHEN ntext19 IS NOT NULL AND CONVERT(ntext,ntext19) IS NULL THEN NULL ELSE ntext19 END,ntext20 = CASE WHEN ntext20 IS NOT NULL AND CONVERT(ntext,ntext20) IS NULL THEN NULL ELSE ntext20 END,ntext21 = CASE WHEN ntext21 IS NOT NULL AND CONVERT(ntext,ntext21) IS NULL THEN NULL ELSE ntext21 END,ntext22 = CASE WHEN ntext22 IS NOT NULL AND CONVERT(ntext,ntext22) IS NULL THEN NULL ELSE ntext22 END,ntext23 = CASE WHEN ntext23 IS NOT NULL AND CONVERT(ntext,ntext23) IS NULL THEN NULL ELSE ntext23 END,ntext24 = CASE WHEN ntext24 IS NOT NULL AND CONVERT(ntext,ntext24) IS NULL THEN NULL ELSE ntext24 END,ntext25 = CASE WHEN ntext25 IS NOT NULL AND CONVERT(ntext,ntext25) IS NULL THEN NULL ELSE ntext25 END,ntext26 = CASE WHEN ntext26 IS NOT NULL AND CONVERT(ntext,ntext26) IS NULL THEN NULL ELSE ntext26 END,ntext27 = CASE WHEN ntext27 IS NOT NULL AND CONVERT(ntext,ntext27) IS NULL THEN NULL ELSE ntext27 END,ntext28 = CASE WHEN ntext28 IS NOT NULL AND CONVERT(ntext,ntext28) IS NULL THEN NULL ELSE ntext28 END,ntext29 = CASE WHEN ntext29 IS NOT NULL AND CONVERT(ntext,ntext29) IS NULL THEN NULL ELSE ntext29 END,ntext30 = CASE WHEN ntext30 IS NOT NULL AND CONVERT(ntext,ntext30) IS NULL THEN NULL ELSE ntext30 END,ntext31 = CASE WHEN ntext31 IS NOT NULL AND CONVERT(ntext,ntext31) IS NULL THEN NULL ELSE ntext31 END,ntext32 = CASE WHEN ntext32 IS NOT NULL AND CONVERT(ntext,ntext32) IS NULL THEN NULL ELSE ntext32 END WHERE datalength(ntext1)=0 OR datalength(ntext2)=0 OR datalength(ntext3)=0 OR datalength(ntext4)=0 OR datalength(ntext5)=0 OR datalength(ntext6)=0 OR datalength(ntext7)=0 OR datalength(ntext8)=0 OR datalength(ntext9)=0 OR datalength(ntext10)=0 OR datalength(ntext11)=0 OR datalength(ntext12)=0 OR datalength(ntext13)=0 OR datalength(ntext14)=0 OR datalength(ntext15)=0 OR datalength(ntext16)=0 OR datalength(ntext17)=0 OR datalength(ntext18)=0 OR datalength(ntext19)=0 OR datalength(ntext20)=0 OR datalength(ntext21)=0 OR datalength(ntext22)=0 OR datalength(ntext23)=0 OR datalength(ntext24)=0 OR datalength(ntext25)=0 OR datalength(ntext26)=0 OR datalength(ntext27)=0 OR datalength(ntext28)=0 OR datalength(ntext29)=0 OR datalength(ntext30)=0 OR datalength(ntext31)=0 OR datalength(ntext32)=0 ;</value>
    <text />
    </action>
    <action name="tsql_stack" package="sqlserver">
    <type name="unicode_string" package="package0" />
    <value>&lt;frame level='1' handle='0x02000000C81D290047D9F957FDC9CF5FB9CB20A5D2DF3857' line='1' offsetStart='1824' offsetEnd='2152'/&gt;</value>
    <text />
    </action>
    </event>
    <event name="wait_info" package="sqlos" id="48" version="1" timestamp="2014-02-26T13:28:44.308Z">
    <data name="wait_type">
    <type name="wait_types" package="sqlos" />
    <value>3</value>
    <text>LCK_M_S</text>
    </data>
    <data name="opcode">
    <type name="event_opcode" package="sqlos" />
    <value>1</value>
    <text>End</text>
    </data>
    <data name="duration">
    <type name="uint64" package="package0" />
    <value>461290</value>
    <text />
    </data>
    <data name="max_duration">
    <type name="uint64" package="package0" />
    <value>461290</value>
    <text />
    </data>
    <data name="total_duration">
    <type name="uint64" package="package0" />
    <value>493239</value>
    <text />
    </data>
    <data name="signal_duration">
    <type name="uint64" package="package0" />
    <value>0</value>
    <text />
    </data>
    <data name="completed_count">
    <type name="uint64" package="package0" />
    <value>21</value>
    <text />
    </data>
    <action name="callstack" package="package0">
    <type name="callstack" package="package0" />
    <value>0x0000000000CEDB7D
    0x00000000004141EA
    0x000000000041426D
    0x000000000041299E
    0x000000000094AE87
    0x00000000004FD533
    0x000000000043193F
    0x000000000043657E
    0x000000000094B45E
    0x0000000000446AE5
    0x00000000004472A9
    0x00000000004538C4
    0x0000000000448F9C
    0x0000000000453836
    0x00000000004540A0
    0x000000000045367F</value>
    <text />
    </action>
    <action name="session_id" package="sqlserver">
    <type name="uint16" package="package0" />
    <value>94</value>
    <text />
    </action>
    <action name="sql_text" package="sqlserver">
    <type name="unicode_string" package="package0" />
    <value>(@Version nvarchar(64) output)
    IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[Versions]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
    AND EXISTS (SELECT * FROM sysobjects join syscolumns on sysobjects.id = syscolumns.id WHERE sysobjects.name='Versions' and syscolumns.name = 'TimeStamp')
    BEGIN
    EXEC sp_executesql N'SELECT VersionId, Version FROM [dbo].[Versions] WITH (NOLOCK) ORDER BY VersionId, Id'
    END
    ELSE
    BEGIN
    SELECT NULL, NULL
    END
    </value>
    <text />
    </action>
    </event>
    <event name="wait_info" package="sqlos" id="48" version="1" timestamp="2014-02-26T13:28:44.310Z">
    <data name="wait_type">
    <type name="wait_types" package="sqlos" />
    <value>3</value>
    <text>LCK_M_S</text>
    </data>
    <data name="opcode">
    <type name="event_opcode" package="sqlos" />
    <value>1</value>
    <text>End</text>
    </data>
    <data name="duration">
    <type name="uint64" package="package0" />
    <value>500355</value>
    <text />
    </data>
    <data name="max_duration">
    <type name="uint64" package="package0" />
    <value>500355</value>
    <text />
    </data>
    <data name="total_duration">
    <type name="uint64" package="package0" />
    <value>993594</value>
    <text />
    </data>
    <data name="signal_duration">
    <type name="uint64" package="package0" />
    <value>2</value>
    <text />
    </data>
    <data name="completed_count">
    <type name="uint64" package="package0" />
    <value>22</value>
    <text />
    </data>
    <action name="callstack" package="package0">
    <type name="callstack" package="package0" />
    <value>0x0000000000CEDB7D
    0x00000000004141EA
    0x000000000041426D
    0x000000000041299E
    0x000000000094AE87
    0x00000000004FD533
    0x000000000043193F
    0x000000000043657E
    0x000000000094B45E
    0x0000000000446AE5
    0x00000000004472A9
    0x00000000004538C4
    0x0000000000448F9C
    0x0000000000453836
    0x00000000004540A0
    0x000000000045367F</value>
    <text />
    </action>
    <action name="session_id" package="sqlserver">
    <type name="uint16" package="package0" />
    <value>88</value>
    <text />
    </action>
    <action name="sql_text" package="sqlserver">
    <type name="unicode_string" package="package0" />
    <value>(@Version nvarchar(64) output)
    IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[Versions]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
    AND EXISTS (SELECT * FROM sysobjects join syscolumns on sysobjects.id = syscolumns.id WHERE sysobjects.name='Versions' and syscolumns.name = 'TimeStamp')
    BEGIN
    EXEC sp_executesql N'SELECT VersionId, Version FROM [dbo].[Versions] WITH (NOLOCK) ORDER BY VersionId, Id'
    END
    ELSE
    BEGIN
    SELECT NULL, NULL
    END
    </value>
    <text />
    </action>
    </event>
    <event name="error_reported" package="sqlserver" id="100" version="1" timestamp="2014-02-28T05:48:02.957Z">
    <data name="error">
    <type name="int32" package="package0" />
    <value>7105</value>
    <text />
    </data>
    <data name="severity">
    <type name="int32" package="package0" />
    <value>22</value>
    <text />
    </data>
    <data name="state">
    <type name="int32" package="package0" />
    <value>6</value>
    <text />
    </data>
    <data name="user_defined">
    <type name="boolean" package="package0" />
    <value>false</value>
    <text />
    </data>
    <data name="message">
    <type name="unicode_string" package="package0" />
    <value>The Database ID 7, Page (1:12779100), slot 1 for LOB data type node does not exist. This is usually caused by transactions that can read uncommitted data on a data page. Run DBCC CHECKTABLE.</value>
    <text />
    </data>
    <action name="callstack" package="package0">
    <type name="callstack" package="package0" />
    <value>0x0000000000CEDC3E
    0x000000000048BC65
    0x000000000048BA60
    0x0000000000E1F5D0
    0x00000000008105B6
    0x000000000080F5D8
    0x000000000080F2A6
    0x00000000022F292D
    0x0000000000C60883
    0x000000000055D558
    0x000000000055D0C7
    0x000000000055CF1C
    0x0000000000560365
    0x0000000000560286
    0x000000000055FD36
    0x00000000005600F9</value>
    <text />
    </action>
    <action name="session_id" package="sqlserver">
    <type name="uint16" package="package0" />
    <value>55</value>
    <text />
    </action>
    <action name="sql_text" package="sqlserver">
    <type name="unicode_string" package="package0" />
    <value>UPDATE [dbo].[AllDocs] SET WelcomePageParameters = CASE WHEN WelcomePageParameters IS NOT NULL AND CONVERT(ntext,WelcomePageParameters) IS NULL THEN NULL ELSE WelcomePageParameters END,MetaInfo = CASE WHEN MetaInfo IS NOT NULL AND CONVERT(image,MetaInfo) IS NULL THEN NULL ELSE MetaInfo END,UnversionedMetaInfo = CASE WHEN UnversionedMetaInfo IS NOT NULL AND CONVERT(image,UnversionedMetaInfo) IS NULL THEN NULL ELSE UnversionedMetaInfo END,BuildDependencySet = CASE WHEN BuildDependencySet IS NOT NULL AND CONVERT(image,BuildDependencySet) IS NULL THEN NULL ELSE BuildDependencySet END,FileFormatMetaInfo = CASE WHEN FileFormatMetaInfo IS NOT NULL AND CONVERT(image,FileFormatMetaInfo) IS NULL THEN NULL ELSE FileFormatMetaInfo END WHERE datalength(WelcomePageParameters)=0 OR datalength(MetaInfo)=0 OR datalength(UnversionedMetaInfo)=0 OR datalength(BuildDependencySet)=0 OR datalength(FileFormatMetaInfo)=0 ;UPDATE [dbo].[AllDocStreams] SET Content = CASE WHEN Content IS NOT NULL AND CONVERT(image,Content) IS NULL THEN NULL ELSE Content END WHERE datalength(Content)=0 ;UPDATE [dbo].[AllDocVersions] SET MetaInfo = CASE WHEN MetaInfo IS NOT NULL AND CONVERT(image,MetaInfo) IS NULL THEN NULL ELSE MetaInfo END,Content = CASE WHEN Content IS NOT NULL AND CONVERT(image,Content) IS NULL THEN NULL ELSE Content END WHERE datalength(MetaInfo)=0 OR datalength(Content)=0 ;UPDATE [dbo].[AllLists] SET tp_Fields = CASE WHEN tp_Fields IS NOT NULL AND CONVERT(ntext,tp_Fields) IS NULL THEN NULL ELSE tp_Fields END,tp_ContentTypes = CASE WHEN tp_ContentTypes IS NOT NULL AND CONVERT(ntext,tp_ContentTypes) IS NULL THEN NULL ELSE tp_ContentTypes END WHERE datalength(tp_Fields)=0 OR datalength(tp_ContentTypes)=0 ;UPDATE [dbo].[AllWebParts] SET tp_View = CASE WHEN tp_View IS NOT NULL AND CONVERT(ntext,tp_View) IS NULL THEN NULL ELSE tp_View END,tp_Source = CASE WHEN tp_Source IS NOT NULL AND CONVERT(ntext,tp_Source) IS NULL THEN NULL ELSE tp_Source END,tp_AllUsersProperties = CASE WHEN tp_AllUsersProperties IS NOT NULL AND CONVERT(image,tp_AllUsersProperties) IS NULL THEN NULL ELSE tp_AllUsersProperties END,tp_PerUserProperties = CASE WHEN tp_PerUserProperties IS NOT NULL AND CONVERT(image,tp_PerUserProperties) IS NULL THEN NULL ELSE tp_PerUserProperties END,tp_Cache = CASE WHEN tp_Cache IS NOT NULL AND CONVERT(image,tp_Cache) IS NULL THEN NULL ELSE tp_Cache END WHERE datalength(tp_View)=0 OR datalength(tp_Source)=0 OR datalength(tp_AllUsersProperties)=0 OR datalength(tp_PerUserProperties)=0 OR datalength(tp_Cache)=0 ;UPDATE [dbo].[AuditData] SET EventData = CASE WHEN EventData IS NOT NULL AND CONVERT(ntext,EventData) IS NULL THEN NULL ELSE EventData END WHERE datalength(EventData)=0 ;UPDATE [dbo].[EventCache] SET EventData = CASE WHEN EventData IS NOT NULL AND CONVERT(image,EventData) IS NULL THEN NULL ELSE EventData END,ACL = CASE WHEN ACL IS NOT NULL AND CONVERT(image,ACL) IS NULL THEN NULL ELSE ACL END WHERE datalength(EventData)=0 OR datalength(ACL)=0 ;UPDATE [dbo].[EventLog] SET FormattedFragment = CASE WHEN FormattedFragment IS NOT NULL AND CONVERT(ntext,FormattedFragment) IS NULL THEN NULL ELSE FormattedFragment END,EventData = CASE WHEN EventData IS NOT NULL AND CONVERT(image,EventData) IS NULL THEN NULL ELSE EventData END WHERE datalength(FormattedFragment)=0 OR datalength(EventData)=0 ;UPDATE [dbo].[EventSubsMatches] SET LookupFieldPermissionResults = CASE WHEN LookupFieldPermissionResults IS NOT NULL AND CONVERT(image,LookupFieldPermissionResults) IS NULL THEN NULL ELSE LookupFieldPermissionResults END WHERE datalength(LookupFieldPermissionResults)=0 ;UPDATE [dbo].[Features] SET Properties = CASE WHEN Properties IS NOT NULL AND CONVERT(ntext,Properties) IS NULL THEN NULL ELSE Properties END WHERE datalength(Properties)=0 ;UPDATE [dbo].[HT_Cache] SET [File] = CASE WHEN [File] IS NOT NULL AND CONVERT(image,[File]) IS NULL THEN NULL ELSE [File] END WHERE datalength([File])=0 ;UPDATE [dbo].[ImmedSubscriptions] SET Properties = CASE WHEN Properties IS NOT NULL AND CONVERT(ntext,Properties) IS NULL THEN NULL ELSE Properties END WHERE datalength(Properties)=0 ;UPDATE [dbo].[NavNodes] SET NodeMetaInfo = CASE WHEN NodeMetaInfo IS NOT NULL AND CONVERT(image,NodeMetaInfo) IS NULL THEN NULL ELSE NodeMetaInfo END WHERE datalength(NodeMetaInfo)=0 ;UPDATE [dbo].[Perms] SET Acl = CASE WHEN Acl IS NOT NULL AND CONVERT(image,Acl) IS NULL THEN NULL ELSE Acl END WHERE datalength(Acl)=0 ;UPDATE [dbo].[Personalization] SET tp_PerUserProperties = CASE WHEN tp_PerUserProperties IS NOT NULL AND CONVERT(image,tp_PerUserProperties) IS NULL THEN NULL ELSE tp_PerUserProperties END,tp_Cache = CASE WHEN tp_Cache IS NOT NULL AND CONVERT(image,tp_Cache) IS NULL THEN NULL ELSE tp_Cache END WHERE datalength(tp_PerUserProperties)=0 OR datalength(tp_Cache)=0 ;UPDATE [dbo].[Resources] SET NtextVal = CASE WHEN NtextVal IS NOT NULL AND CONVERT(ntext,NtextVal) IS NULL THEN NULL ELSE NtextVal END WHERE datalength(NtextVal)=0 ;UPDATE [dbo].[Sites] SET DomainGroupMapCache = CASE WHEN DomainGroupMapCache IS NOT NULL AND CONVERT(image,DomainGroupMapCache) IS NULL THEN NULL ELSE DomainGroupMapCache END WHERE datalength(DomainGroupMapCache)=0 ;UPDATE [dbo].[Webs] SET CachedNavScope = CASE WHEN CachedNavScope IS NOT NULL AND CONVERT(ntext,CachedNavScope) IS NULL THEN NULL ELSE CachedNavScope END,Description = CASE WHEN Description IS NOT NULL AND CONVERT(ntext,Description) IS NULL THEN NULL ELSE Description END,CachedNav = CASE WHEN CachedNav IS NOT NULL AND CONVERT(image,CachedNav) IS NULL THEN NULL ELSE CachedNav END,CachedInheritedNav = CASE WHEN CachedInheritedNav IS NOT NULL AND CONVERT(image,CachedInheritedNav) IS NULL THEN NULL ELSE CachedInheritedNav END,MetaInfo = CASE WHEN MetaInfo IS NOT NULL AND CONVERT(image,MetaInfo) IS NULL THEN NULL ELSE MetaInfo END,DailyUsageData = CASE WHEN DailyUsageData IS NOT NULL AND CONVERT(image,DailyUsageData) IS NULL THEN NULL ELSE DailyUsageData END,MonthlyUsageData = CASE WHEN MonthlyUsageData IS NOT NULL AND CONVERT(image,MonthlyUsageData) IS NULL THEN NULL ELSE MonthlyUsageData END,Ancestry = CASE WHEN Ancestry IS NOT NULL AND CONVERT(image,Ancestry) IS NULL THEN NULL ELSE Ancestry END WHERE datalength(CachedNavScope)=0 OR datalength(Description)=0 OR datalength(CachedNav)=0 OR datalength(CachedInheritedNav)=0 OR datalength(MetaInfo)=0 OR datalength(DailyUsageData)=0 OR datalength(MonthlyUsageData)=0 OR datalength(Ancestry)=0 ;UPDATE [dbo].[SchedSubscriptions] SET Properties = CASE WHEN Properties IS NOT NULL AND CONVERT(ntext,Properties) IS NULL THEN NULL ELSE Properties END WHERE datalength(Properties)=0 ;UPDATE [dbo].[ScheduledWorkItems] SET TextPayload = CASE WHEN TextPayload IS NOT NULL AND CONVERT(ntext,TextPayload) IS NULL THEN NULL ELSE TextPayload END,BinaryPayload = CASE WHEN BinaryPayload IS NOT NULL AND CONVERT(image,BinaryPayload) IS NULL THEN NULL ELSE BinaryPayload END WHERE datalength(TextPayload)=0 OR datalength(BinaryPayload)=0 ;UPDATE [dbo].[UserInfo] SET tp_ExternalToken = CASE WHEN tp_ExternalToken IS NOT NULL AND CONVERT(image,tp_ExternalToken) IS NULL THEN NULL ELSE tp_ExternalToken END WHERE datalength(tp_ExternalToken)=0 ;UPDATE [dbo].[Workflow] SET Modifications = CASE WHEN Modifications IS NOT NULL AND CONVERT(ntext,Modifications) IS NULL THEN NULL ELSE Modifications END,InstanceData = CASE WHEN InstanceData IS NOT NULL AND CONVERT(image,InstanceData) IS NULL THEN NULL ELSE InstanceData END,History = CASE WHEN History IS NOT NULL AND CONVERT(image,History) IS NULL THEN NULL ELSE History END WHERE datalength(Modifications)=0 OR datalength(InstanceData)=0 OR datalength(History)=0 ;UPDATE [dbo].[WorkflowAssociation] SET InstantiationParams = CASE WHEN InstantiationParams IS NOT NULL AND CONVERT(ntext,InstantiationParams) IS NULL THEN NULL ELSE InstantiationParams END WHERE datalength(InstantiationParams)=0 ;UPDATE [dbo].[AllUserData] SET ntext1 = CASE WHEN ntext1 IS NOT NULL AND CONVERT(ntext,ntext1) IS NULL THEN NULL ELSE ntext1 END,ntext2 = CASE WHEN ntext2 IS NOT NULL AND CONVERT(ntext,ntext2) IS NULL THEN NULL ELSE ntext2 END,ntext3 = CASE WHEN ntext3 IS NOT NULL AND CONVERT(ntext,ntext3) IS NULL THEN NULL ELSE ntext3 END,ntext4 = CASE WHEN ntext4 IS NOT NULL AND CONVERT(ntext,ntext4) IS NULL THEN NULL ELSE ntext4 END,ntext5 = CASE WHEN ntext5 IS NOT NULL AND CONVERT(ntext,ntext5) IS NULL THEN NULL ELSE ntext5 END,ntext6 = CASE WHEN ntext6 IS NOT NULL AND CONVERT(ntext,ntext6) IS NULL THEN NULL ELSE ntext6 END,ntext7 = CASE WHEN ntext7 IS NOT NULL AND CONVERT(ntext,ntext7) IS NULL THEN NULL ELSE ntext7 END,ntext8 = CASE WHEN ntext8 IS NOT NULL AND CONVERT(ntext,ntext8) IS NULL THEN NULL ELSE ntext8 END,ntext9 = CASE WHEN ntext9 IS NOT NULL AND CONVERT(ntext,ntext9) IS NULL THEN NULL ELSE ntext9 END,ntext10 = CASE WHEN ntext10 IS NOT NULL AND CONVERT(ntext,ntext10) IS NULL THEN NULL ELSE ntext10 END,ntext11 = CASE WHEN ntext11 IS NOT NULL AND CONVERT(ntext,ntext11) IS NULL THEN NULL ELSE ntext11 END,ntext12 = CASE WHEN ntext12 IS NOT NULL AND CONVERT(ntext,ntext12) IS NULL THEN NULL ELSE ntext12 END,ntext13 = CASE WHEN ntext13 IS NOT NULL AND CONVERT(ntext,ntext13) IS NULL THEN NULL ELSE ntext13 END,ntext14 = CASE WHEN ntext14 IS NOT NULL AND CONVERT(ntext,ntext14) IS NULL THEN NULL ELSE ntext14 END,ntext15 = CASE WHEN ntext15 IS NOT NULL AND CONVERT(ntext,ntext15) IS NULL THEN NULL ELSE ntext15 END,ntext16 = CASE WHEN ntext16 IS NOT NULL AND CONVERT(ntext,ntext16) IS NULL THEN NULL ELSE ntext16 END,ntext17 = CASE WHEN ntext17 IS NOT NULL AND CONVERT(ntext,ntext17) IS NULL THEN NULL ELSE ntext17 END,ntext18 = CASE WHEN ntext18 IS NOT NULL AND CONVERT(ntext,ntext18) IS NULL THEN NULL ELSE ntext18 END,ntext19 = CASE WHEN ntext19 IS NOT NULL AND CONVERT(ntext,ntext19) IS NULL THEN NULL ELSE ntext19 END,ntext20 = CASE WHEN ntext20 IS NOT NULL AND CONVERT(ntext,ntext20) IS NULL THEN NULL ELSE ntext20 END,ntext21 = CASE WHEN ntext21 IS NOT NULL AND CONVERT(ntext,ntext21) IS NULL THEN NULL ELSE ntext21 END,ntext22 = CASE WHEN ntext22 IS NOT NULL AND CONVERT(ntext,ntext22) IS NULL THEN NULL ELSE ntext22 END,ntext23 = CASE WHEN ntext23 IS NOT NULL AND CONVERT(ntext,ntext23) IS NULL THEN NULL ELSE ntext23 END,ntext24 = CASE WHEN ntext24 IS NOT NULL AND CONVERT(ntext,ntext24) IS NULL THEN NULL ELSE ntext24 END,ntext25 = CASE WHEN ntext25 IS NOT NULL AND CONVERT(ntext,ntext25) IS NULL THEN NULL ELSE ntext25 END,ntext26 = CASE WHEN ntext26 IS NOT NULL AND CONVERT(ntext,ntext26) IS NULL THEN NULL ELSE ntext26 END,ntext27 = CASE WHEN ntext27 IS NOT NULL AND CONVERT(ntext,ntext27) IS NULL THEN NULL ELSE ntext27 END,ntext28 = CASE WHEN ntext28 IS NOT NULL AND CONVERT(ntext,ntext28) IS NULL THEN NULL ELSE ntext28 END,ntext29 = CASE WHEN ntext29 IS NOT NULL AND CONVERT(ntext,ntext29) IS NULL THEN NULL ELSE ntext29 END,ntext30 = CASE WHEN ntext30 IS NOT NULL AND CONVERT(ntext,ntext30) IS NULL THEN NULL ELSE ntext30 END,ntext31 = CASE WHEN ntext31 IS NOT NULL AND CONVERT(ntext,ntext31) IS NULL THEN NULL ELSE ntext31 END,ntext32 = CASE WHEN ntext32 IS NOT NULL AND CONVERT(ntext,ntext32) IS NULL THEN NULL ELSE ntext32 END WHERE datalength(ntext1)=0 OR datalength(ntext2)=0 OR datalength(ntext3)=0 OR datalength(ntext4)=0 OR datalength(ntext5)=0 OR datalength(ntext6)=0 OR datalength(ntext7)=0 OR datalength(ntext8)=0 OR datalength(ntext9)=0 OR datalength(ntext10)=0 OR datalength(ntext11)=0 OR datalength(ntext12)=0 OR datalength(ntext13)=0 OR datalength(ntext14)=0 OR datalength(ntext15)=0 OR datalength(ntext16)=0 OR datalength(ntext17)=0 OR datalength(ntext18)=0 OR datalength(ntext19)=0 OR datalength(ntext20)=0 OR datalength(ntext21)=0 OR datalength(ntext22)=0 OR datalength(ntext23)=0 OR datalength(ntext24)=0 OR datalength(ntext25)=0 OR datalength(ntext26)=0 OR datalength(ntext27)=0 OR datalength(ntext28)=0 OR datalength(ntext29)=0 OR datalength(ntext30)=0 OR datalength(ntext31)=0 OR datalength(ntext32)=0 ;</value>
    <text />
    </action>
    <action name="tsql_stack" package="sqlserver">
    <type name="unicode_string" package="package0" />
    <value>&lt;frame level='1' handle='0x02000000C81D290047D9F957FDC9CF5FB9CB20A5D2DF3857' line='1' offsetStart='1824' offsetEnd='2152'/&gt;</value>
    <text />
    </action>
    </event>
    <event name="wait_info" package="sqlos" id="48" version="1" timestamp="2014-02-28T05:48:03.333Z">
    <data name="wait_type">
    <type name="wait_types" package="sqlos" />
    <value>3</value>
    <text>LCK_M_S</text>
    </data>
    <data name="opcode">
    <type name="event_opcode" package="sqlos" />
    <value>1</value>
    <text>End</text>
    </data>
    <data name="duration">
    <type name="uint64" package="package0" />
    <value>473655</value>
    <text />
    </data>
    <data name="max_duration">
    <type name="uint64" package="package0" />
    <value>500355</value>
    <text />
    </data>
    <data name="total_duration">
    <type name="uint64" package="package0" />
    <value>1469581</value>
    <text />
    </data>
    <data name="signal_duration">
    <type name="uint64" package="package0" />
    <value>4</value>
    <text />
    </data>
    <data name="completed_count">
    <type name="uint64" package="package0" />
    <value>101</value>
    <text />
    </data>
    <action name="callstack" package="package0">
    <type name="callstack" package="package0" />
    <value>0x0000000000CEDB7D
    0x00000000004141EA
    0x000000000041426D
    0x000000000041299E
    0x000000000094AE87
    0x00000000004FD533
    0x000000000043193F
    0x000000000043657E
    0x000000000094B45E
    0x0000000000446AE5
    0x00000000004472A9
    0x00000000004538C4
    0x0000000000448F9C
    0x0000000000453836
    0x00000000004540A0
    0x000000000045367F</value>
    <text />
    </action>
    <action name="session_id" package="sqlserver">
    <type name="uint16" package="package0" />
    <value>89</value>
    <text />
    </action>
    <action name="sql_text" package="sqlserver">
    <type name="unicode_string" package="package0" />
    <value>(@Version nvarchar(64) output)
    IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[Versions]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
    AND EXISTS (SELECT * FROM sysobjects join syscolumns on sysobjects.id = syscolumns.id WHERE sysobjects.name='Versions' and syscolumns.name = 'TimeStamp')
    BEGIN
    EXEC sp_executesql N'SELECT VersionId, Version FROM [dbo].[Versions] WITH (NOLOCK) ORDER BY VersionId, Id'
    END
    ELSE
    BEGIN
    SELECT NULL, NULL
    END
    </value>
    <text />
    </action>
    </event>
    <event name="wait_info" package="sqlos" id="48" version="1" timestamp="2014-02-28T05:48:03.376Z">
    <data name="wait_type">
    <type name="wait_types" package="sqlos" />
    <value>3</value>
    <text>LCK_M_S</text>
    </data>
    <data name="opcode">
    <type name="event_opcode" package="sqlos" />
    <value>1</value>
    <text>End</text>
    </data>
    <data name="duration">
    <type name="uint64" package="package0" />
    <value>526804</value>
    <text />
    </data>
    <data name="max_duration">
    <type name="uint64" package="package0" />
    <value>526804</value>
    <text />
    </data>
    <data name="total_duration">
    <type name="uint64" package="package0" />
    <value>1996385</value>
    <text />
    </data>
    <data name="signal_duration">
    <type name="uint64" package="package0" />
    <value>47</value>
    <text />
    </data>
    <data name="completed_count">
    <type name="uint64" package="package0" />
    <value>102</value>
    <text />
    </data>
    <action name="callstack" package="package0">
    <type name="callstack" package="package0" />
    <value>0x0000000000CEDB7D
    0x00000000004141EA
    0x000000000041426D
    0x000000000041299E
    0x000000000094AE87
    0x00000000004FD533
    0x000000000043193F
    0x000000000043657E
    0x000000000094B45E
    0x0000000000446AE5
    0x00000000004472A9
    0x00000000004538C4
    0x0000000000448F9C
    0x0000000000453836
    0x00000000004540A0
    0x000000000045367F</value>
    <text />
    </action>
    <action name="session_id" package="sqlserver">
    <type name="uint16" package="package0" />
    <value>56</value>
    <text />
    </action>
    <action name="sql_text" package="sqlserver">
    <type name="unicode_string" package="package0" />
    <value>(@Version nvarchar(64) output)
    IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[Versions]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
    AND EXISTS (SELECT * FROM sysobjects join syscolumns on sysobjects.id = syscolumns.id WHERE sysobjects.name='Versions' and syscolumns.name = 'TimeStamp')
    BEGIN
    EXEC sp_executesql N'SELECT VersionId, Version FROM [dbo].[Versions] WITH (NOLOCK) ORDER BY VersionId, Id'
    END
    ELSE
    BEGIN
    SELECT NULL, NULL
    END
    </value>
    <text />
    </action>
    </event>
    <event name="error_reported" package="sqlserver" id="100" version="1" timestamp="2014-02-28T05:57:22.569Z">
    <data name="error">
    <type name="int32" package="package0" />
    <value>7105</value>
    <text />
    </data>
    <data name="severity">
    <type name="int32" package="package0" />
    <value>22</value>
    <text />
    </data>
    <data name="state">
    <type name="int32" package="package0" />
    <value>6</value>
    <text />
    </data>
    <data name="user_defined">
    <type name="boolean" package="package0" />
    <value>false</value>
    <text />
    </data>
    <data name="message">
    <type name="unicode_string" package="package0" />
    <value>The Database ID 7, Page (1:12779100), slot 1 for LOB data type node does not exist. This is usually caused by transactions that can read uncommitted data on a data page. Run DBCC CHECKTABLE.</value>
    <text />
    </data>
    <action name="callstack" package="package0">
    <type name="callstack" package="package0" />
    <value>0x0000000000CEDC3E
    0x000000000048BC65
    0x000000000048BA60
    0x0000000000E1F5D0
    0x00000000008105B6
    0x000000000080F5D8
    0x000000000080F2A6
    0x00000000022F292D
    0x0000000000C60883
    0x000000000055D558
    0x000000000055D0C7
    0x000000000055CF1C
    0x0000000000560365
    0x0000000000560286
    0x000000000055FD36
    0x00000000005600F9</value>
    <text />
    </action>
    <action name="session_id" package="sqlserver">
    <type name="uint16" package="package0" />
    <value>89</value>
    <text />
    </action>
    <action name="sql_text" package="sqlserver">
    <type name="unicode_string" package="package0" />
    <value>UPDATE [dbo].[AllDocs] SET WelcomePageParameters = CASE WHEN WelcomePageParameters IS NOT NULL AND CONVERT(ntext,WelcomePageParameters) IS NULL THEN NULL ELSE WelcomePageParameters END,MetaInfo = CASE WHEN MetaInfo IS NOT NULL AND CONVERT(image,MetaInfo) IS NULL THEN NULL ELSE MetaInfo END,UnversionedMetaInfo = CASE WHEN UnversionedMetaInfo IS NOT NULL AND CONVERT(image,UnversionedMetaInfo) IS NULL THEN NULL ELSE UnversionedMetaInfo END,BuildDependencySet = CASE WHEN BuildDependencySet IS NOT NULL AND CONVERT(image,BuildDependencySet) IS NULL THEN NULL ELSE BuildDependencySet END,FileFormatMetaInfo = CASE WHEN FileFormatMetaInfo IS NOT NULL AND CONVERT(image,FileFormatMetaInfo) IS NULL THEN NULL ELSE FileFormatMetaInfo END WHERE datalength(WelcomePageParameters)=0 OR datalength(MetaInfo)=0 OR datalength(UnversionedMetaInfo)=0 OR datalength(BuildDependencySet)=0 OR datalength(FileFormatMetaInfo)=0 ;UPDATE [dbo].[AllDocStreams] SET Content = CASE WHEN Content IS NOT NULL AND CONVERT(image,Content) IS NULL THEN NULL ELSE Content END WHERE datalength(Content)=0 ;UPDATE [dbo].[AllDocVersions] SET MetaInfo = CASE WHEN MetaInfo IS NOT NULL AND CONVERT(image,MetaInfo) IS NULL THEN NULL ELSE MetaInfo END,Content = CASE WHEN Content IS NOT NULL AND CONVERT(image,Content) IS NULL THEN NULL ELSE Content END WHERE datalength(MetaInfo)=0 OR datalength(Content)=0 ;UPDATE [dbo].[AllLists] SET tp_Fields = CASE WHEN tp_Fields IS NOT NULL AND CONVERT(ntext,tp_Fields) IS NULL THEN NULL ELSE tp_Fields END,tp_ContentTypes = CASE WHEN tp_ContentTypes IS NOT NULL AND CONVERT(ntext,tp_ContentTypes) IS NULL THEN NULL ELSE tp_ContentTypes END WHERE datalength(tp_Fields)=0 OR datalength(tp_ContentTypes)=0 ;UPDATE [dbo].[AllWebParts] SET tp_View = CASE WHEN tp_View IS NOT NULL AND CONVERT(ntext,tp_View) IS NULL THEN NULL ELSE tp_View END,tp_Source = CASE WHEN tp_Source IS NOT NULL AND CONVERT(ntext,tp_Source) IS NULL THEN NULL ELSE tp_Source END,tp_AllUsersProperties = CASE WHEN tp_AllUsersProperties IS NOT NULL AND CONVERT(image,tp_AllUsersProperties) IS NULL THEN NULL ELSE tp_AllUsersProperties END,tp_PerUserProperties = CASE WHEN tp_PerUserProperties IS NOT NULL AND CONVERT(image,tp_PerUserProperties) IS NULL THEN NULL ELSE tp_PerUserProperties END,tp_Cache = CASE WHEN tp_Cache IS NOT NULL AND CONVERT(image,tp_Cache) IS NULL THEN NULL ELSE tp_Cache END WHERE datalength(tp_View)=0 OR datalength(tp_Source)=0 OR datalength(tp_AllUsersProperties)=0 OR datalength(tp_PerUserProperties)=0 OR datalength(tp_Cache)=0 ;UPDATE [dbo].[AuditData] SET EventData = CASE WHEN EventData IS NOT NULL AND CONVERT(ntext,EventData) IS NULL THEN NULL ELSE EventData END WHERE datalength(EventData)=0 ;UPDATE [dbo].[EventCache] SET EventData = CASE WHEN EventData IS NOT NULL AND CONVERT(image,EventData) IS NULL THEN NULL ELSE EventData END,ACL = CASE WHEN ACL IS NOT NULL AND CONVERT(image,ACL) IS NULL THEN NULL ELSE ACL END WHERE datalength(EventData)=0 OR datalength(ACL)=0 ;UPDATE [dbo].[EventLog] SET FormattedFragment = CASE WHEN FormattedFragment IS NOT NULL AND CONVERT(ntext,FormattedFragment) IS NULL THEN NULL ELSE FormattedFragment END,EventData = CASE WHEN EventData IS NOT NULL AND CONVERT(image,EventData) IS NULL THEN NULL ELSE EventData END WHERE datalength(FormattedFragment)=0 OR datalength(EventData)=0 ;UPDATE [dbo].[EventSubsMatches] SET LookupFieldPermissionResults = CASE WHEN LookupFieldPermissionResults IS NOT NULL AND CONVERT(image,LookupFieldPermissionResults) IS NULL THEN NULL ELSE LookupFieldPermissionResults END WHERE datalength(LookupFieldPermissionResults)=0 ;UPDATE [dbo].[Features] SET Properties = CASE WHEN Properties IS NOT NULL AND CONVERT(ntext,Properties) IS NULL THEN NULL ELSE Properties END WHERE datalength(Properties)=0 ;UPDATE [dbo].[HT_Cache] SET [File] = CASE WHEN [File] IS NOT NULL AND CONVERT(image,[File]) IS NULL THEN NULL ELSE [File] END WHERE datalength([File])=0 ;UPDATE [dbo].[ImmedSubscriptions] SET Properties = CASE WHEN Properties IS NOT NULL AND CONVERT(ntext,Properties) IS NULL THEN NULL ELSE Properties END WHERE datalength(Properties)=0 ;UPDATE [dbo].[NavNodes] SET NodeMetaInfo = CASE WHEN NodeMetaInfo IS NOT NULL AND CONVERT(image,NodeMetaInfo) IS NULL THEN NULL ELSE NodeMetaInfo END WHERE datalength(NodeMetaInfo)=0 ;UPDATE [dbo].[Perms] SET Acl = CASE WHEN Acl IS NOT NULL AND CONVERT(image,Acl) IS NULL THEN NULL ELSE Acl END WHERE datalength(Acl)=0 ;UPDATE [dbo].[Personalization] SET tp_PerUserProperties = CASE WHEN tp_PerUserProperties IS NOT NULL AND CONVERT(image,tp_PerUserProperties) IS NULL THEN NULL ELSE tp_PerUserProperties END,tp_Cache = CASE WHEN tp_Cache IS NOT NULL AND CONVERT(image,tp_Cache) IS NULL THEN NULL ELSE tp_Cache END WHERE datalength(tp_PerUserProperties)=0 OR datalength(tp_Cache)=0 ;UPDATE [dbo].[Resources] SET NtextVal = CASE WHEN NtextVal IS NOT NULL AND CONVERT(ntext,NtextVal) IS NULL THEN NULL ELSE NtextVal END WHERE datalength(NtextVal)=0 ;UPDATE [dbo].[Sites] SET DomainGroupMapCache = CASE WHEN DomainGroupMapCache IS NOT NULL AND CONVERT(image,DomainGroupMapCache) IS NULL THEN NULL ELSE DomainGroupMapCache END WHERE datalength(DomainGroupMapCache)=0 ;UPDATE [dbo].[Webs] SET CachedNavScope = CASE WHEN CachedNavScope IS NOT NULL AND CONVERT(ntext,CachedNavScope) IS NULL THEN NULL ELSE CachedNavScope END,Description = CASE WHEN Description IS NOT NULL AND CONVERT(ntext,Description) IS NULL THEN NULL ELSE Description END,CachedNav = CASE WHEN CachedNav IS NOT NULL AND CONVERT(image,CachedNav) IS NULL THEN NULL ELSE CachedNav END,CachedInheritedNav = CASE WHEN CachedInheritedNav IS NOT NULL AND CONVERT(image,CachedInheritedNav) IS NULL THEN NULL ELSE CachedInheritedNav END,MetaInfo = CASE WHEN MetaInfo IS NOT NULL AND CONVERT(image,MetaInfo) IS NULL THEN NULL ELSE MetaInfo END,DailyUsageData = CASE WHEN DailyUsageData IS NOT NULL AND CONVERT(image,DailyUsageData) IS NULL THEN NULL ELSE DailyUsageData END,MonthlyUsageData = CASE WHEN MonthlyUsageData IS NOT NULL AND CONVERT(image,MonthlyUsageData) IS NULL THEN NULL ELSE MonthlyUsageData END,Ancestry = CASE WHEN Ancestry IS NOT NULL AND CONVERT(image,Ancestry) IS NULL THEN NULL ELSE Ancestry END WHERE datalength(CachedNavScope)=0 OR datalength(Description)=0 OR datalength(CachedNav)=0 OR datalength(CachedInheritedNav)=0 OR datalength(MetaInfo)=0 OR datalength(DailyUsageData)=0 OR datalength(MonthlyUsageData)=0 OR datalength(Ancestry)=0 ;UPDATE [dbo].[SchedSubscriptions] SET Properties = CASE WHEN Properties IS NOT NULL AND CONVERT(ntext,Properties) IS NULL THEN NULL ELSE Properties END WHERE datalength(Properties)=0 ;UPDATE [dbo].[ScheduledWorkItems] SET TextPayload = CASE WHEN TextPayload IS NOT NULL AND CONVERT(ntext,TextPayload) IS NULL THEN NULL ELSE TextPayload END,BinaryPayload = CASE WHEN BinaryPayload IS NOT NULL AND CONVERT(image,BinaryPayload) IS NULL THEN NULL ELSE BinaryPayload END WHERE datalength(TextPayload)=0 OR datalength(BinaryPayload)=0 ;UPDATE [dbo].[UserInfo] SET tp_ExternalToken = CASE WHEN tp_ExternalToken IS NOT NULL AND CONVERT(image,tp_ExternalToken) IS NULL THEN NULL ELSE tp_ExternalToken END WHERE datalength(tp_ExternalToken)=0 ;UPDATE [dbo].[Workflow] SET Modifications = CASE WHEN Modifications IS NOT NULL AND CONVERT(ntext,Modifications) IS NULL THEN NULL ELSE Modifications END,InstanceData = CASE WHEN InstanceData IS NOT NULL AND CONVERT(image,InstanceData) IS NULL THEN NULL ELSE InstanceData END,History = CASE WHEN History IS NOT NULL AND CONVERT(image,History) IS NULL THEN NULL ELSE History END WHERE datalength(Modifications)=0 OR datalength(InstanceData)=0 OR datalength(History)=0 ;UPDATE [dbo].[WorkflowAssociation] SET InstantiationParams = CASE WHEN InstantiationParams IS NOT NULL AND CONVERT(ntext,InstantiationParams) IS NULL THEN NULL ELSE InstantiationParams END WHERE datalength(InstantiationParams)=0 ;UPDATE [dbo].[AllUserData] SET ntext1 = CASE WHEN ntext1 IS NOT NULL AND CONVERT(ntext,ntext1) IS NULL THEN NULL ELSE ntext1 END,ntext2 = CASE WHEN ntext2 IS NOT NULL AND CONVERT(ntext,ntext2) IS NULL THEN NULL ELSE ntext2 END,ntext3 = CASE WHEN ntext3 IS NOT NULL AND CONVERT(ntext,ntext3) IS NULL THEN NULL ELSE ntext3 END,ntext4 = CASE WHEN ntext4 IS NOT NULL AND CONVERT(ntext,ntext4) IS NULL THEN NULL ELSE ntext4 END,ntext5 = CASE WHEN ntext5 IS NOT NULL AND CONVERT(ntext,ntext5) IS NULL THEN NULL ELSE ntext5 END,ntext6 = CASE WHEN ntext6 IS NOT NULL AND CONVERT(ntext,ntext6) IS NULL THEN NULL ELSE ntext6 END,ntext7 = CASE WHEN ntext7 IS NOT NULL AND CONVERT(ntext,ntext7) IS NULL THEN NULL ELSE ntext7 END,ntext8 = CASE WHEN ntext8 IS NOT NULL AND CONVERT(ntext,ntext8) IS NULL THEN NULL ELSE ntext8 END,ntext9 = CASE WHEN ntext9 IS NOT NULL AND CONVERT(ntext,ntext9) IS NULL THEN NULL ELSE ntext9 END,ntext10 = CASE WHEN ntext10 IS NOT NULL AND CONVERT(ntext,ntext10) IS NULL THEN NULL ELSE ntext10 END,ntext11 = CASE WHEN ntext11 IS NOT NULL AND CONVERT(ntext,ntext11) IS NULL THEN NULL ELSE ntext11 END,ntext12 = CASE WHEN ntext12 IS NOT NULL AND CONVERT(ntext,ntext12) IS NULL THEN NULL ELSE ntext12 END,ntext13 = CASE WHEN ntext13 IS NOT NULL AND CONVERT(ntext,ntext13) IS NULL THEN NULL ELSE ntext13 END,ntext14 = CASE WHEN ntext14 IS NOT NULL AND CONVERT(ntext,ntext14) IS NULL THEN NULL ELSE ntext14 END,ntext15 = CASE WHEN ntext15 IS NOT NULL AND CONVERT(ntext,ntext15) IS NULL THEN NULL ELSE ntext15 END,ntext16 = CASE WHEN ntext16 IS NOT NULL AND CONVERT(ntext,ntext16) IS NULL THEN NULL ELSE ntext16 END,ntext17 = CASE WHEN ntext17 IS NOT NULL AND CONVERT(ntext,ntext17) IS NULL THEN NULL ELSE ntext17 END,ntext18 = CASE WHEN ntext18 IS NOT NULL AND CONVERT(ntext,ntext18) IS NULL THEN NULL ELSE ntext18 END,ntext19 = CASE WHEN ntext19 IS NOT NULL AND CONVERT(ntext,ntext19) IS NULL THEN NULL ELSE ntext19 END,ntext20 = CASE WHEN ntext20 IS NOT NULL AND CONVERT(ntext,ntext20) IS NULL THEN NULL ELSE ntext20 END,ntext21 = CASE WHEN ntext21 IS NOT NULL AND CONVERT(ntext,ntext21) IS NULL THEN NULL ELSE ntext21 END,ntext22 = CASE WHEN ntext22 IS NOT NULL AND CONVERT(ntext,ntext22) IS NULL THEN NULL ELSE ntext22 END,ntext23 = CASE WHEN ntext23 IS NOT NULL AND CONVERT(ntext,ntext23) IS NULL THEN NULL ELSE ntext23 END,ntext24 = CASE WHEN ntext24 IS NOT NULL AND CONVERT(ntext,ntext24) IS NULL THEN NULL ELSE ntext24 END,ntext25 = CASE WHEN ntext25 IS NOT NULL AND CONVERT(ntext,ntext25) IS NULL THEN NULL ELSE ntext25 END,ntext26 = CASE WHEN ntext26 IS NOT NULL AND CONVERT(ntext,ntext26) IS NULL THEN NULL ELSE ntext26 END,ntext27 = CASE WHEN ntext27 IS NOT NULL AND CONVERT(ntext,ntext27) IS NULL THEN NULL ELSE ntext27 END,ntext28 = CASE WHEN ntext28 IS NOT NULL AND CONVERT(ntext,ntext28) IS NULL THEN NULL ELSE ntext28 END,ntext29 = CASE WHEN ntext29 IS NOT NULL AND CONVERT(ntext,ntext29) IS NULL THEN NULL ELSE ntext29 END,ntext30 = CASE WHEN ntext30 IS NOT NULL AND CONVERT(ntext,ntext30) IS NULL THEN NULL ELSE ntext30 END,ntext31 = CASE WHEN ntext31 IS NOT NULL AND CONVERT(ntext,ntext31) IS NULL THEN NULL ELSE ntext31 END,ntext32 = CASE WHEN ntext32 IS NOT NULL AND CONVERT(ntext,ntext32) IS NULL THEN NULL ELSE ntext32 END WHERE datalength(ntext1)=0 OR datalength(ntext2)=0 OR datalength(ntext3)=0 OR datalength(ntext4)=0 OR datalength(ntext5)=0 OR datalength(ntext6)=0 OR datalength(ntext7)=0 OR datalength(ntext8)=0 OR datalength(ntext9)=0 OR datalength(ntext10)=0 OR datalength(ntext11)=0 OR datalength(ntext12)=0 OR datalength(ntext13)=0 OR datalength(ntext14)=0 OR datalength(ntext15)=0 OR datalength(ntext16)=0 OR datalength(ntext17)=0 OR datalength(ntext18)=0 OR datalength(ntext19)=0 OR datalength(ntext20)=0 OR datalength(ntext21)=0 OR datalength(ntext22)=0 OR datalength(ntext23)=0 OR datalength(ntext24)=0 OR datalength(ntext25)=0 OR datalength(ntext26)=0 OR datalength(ntext27)=0 OR datalength(ntext28)=0 OR datalength(ntext29)=0 OR datalength(ntext30)=0 OR datalength(ntext31)=0 OR datalength(ntext32)=0 ;</value>
    <text />
    </action>
    <action name="tsql_stack" package="sqlserver">
    <type name="unicode_string" package="package0" />
    <value>&lt;frame level='1' handle='0x02000000C81D290047D9F957FDC9CF5FB9CB20A5D2DF3857' line='1' offsetStart='1824' offsetEnd='2152'/&gt;</value>
    <text />
    </action>
    </event>
    </RingBufferTarget>
    can you help with this error.

  • Can I prevent mounted volume Finder windows opening on startup?

    I look after a studio with about 10 Macs, some of which are running OSX 10.4.11. We automatically mount 3 network volumes containing client data at startup. The Finder always opens a window for each volume but I want to prevent this from happening.
    In Finder preferences I can prevent the volume icons from appearing on the desktop but the Finder still opens a window for each one at startup when the volumes are mounted..
    How can I control this action?

    This is a hack, but you can try to use xtool to close the windows. I place the following script in my login items. You may want to put in a delay of some sort.
    You may also try iKey.
    I use iKey to remap the keys. It has a little more function then youpi key. For many years, I used youpi key before switching to iKey.
    You might like iKey/youpi key. I have my frequently used applications set to f keys. The same f key starts an application and switches to the application.
    Youpi key is free. It works fairly well for me in MAC OS 10.4 although not officially supported. There is a commercial version you can buy, called iKey.
    http://www.versiontracker.com/dyn/moreinfo/macosx/11485&vid=75326
    This applescript could use some clean up. I do not think you need the first two lines.
    do shell script "/usr/sbin/system_profiler SPDisplaysDataType | grep 'Resolution'" -- get info
    tell the result to set {DisplayWidth, DisplayHeight} to {word 2, word 4} -- get resolution
    --move mouse {DisplayWidth div 2, DisplayHeight div 2} -- center mouse
    move mouse {670, 13} --sound
    click mouse
    move mouse {673, 96} --sound level
    click mouse
    move mouse {555, 282} -- center mouse
    click mouse
      First, there is the XTools scripting addition, which will give AppleScript the ability to move the mouse.
      http://www.lestang.org/osax/XTool/
      XTool-2.0-src.dmg.tgz
      Installation :
      Drag XTool.osax from insite the image to one of the following locations (create the directory if it does not exist) :
      a : ~/Library/ScriptingAdditions/
      b : /Library/ScriptingAdditions/
      c : /System/Library/ScriptingAdditions/
      I have it in directory /System/Library/ScriptingAdditions/
      My other two directories do not exit: ~/Library/ScriptingAdditions/ &
         /Library/ScriptingAdditions/
    .    Next, you will need to place a script application into your login items (System Preferences > Accounts > Login Items) that will move the mouse when you log in:
    This script will give you the location of the pointer. I assigned it to a function key with iKey. So, place the cursor of the x then press the function key to get where you need to click.
    do shell script "/usr/sbin/system_profiler SPDisplaysDataType | grep 'Resolution'" -- get info
    tell the result to set {DisplayWidth, DisplayHeight} to {word 2, word 4} -- get resolution
    set {xWidth, yHeight} to position of the mouse
    display dialog ¬
      "DisplayWidth= " & DisplayWidth & ¬
      "  DisplayHeight=" & DisplayHeight & return & ¬
      "  xWidth=" & xWidth & ¬
      "  yHeight=" & yHeight
    --move mouse {DisplayWidth div 2, DisplayHeight div 2} -- center mouse
    You could try sending command + w to the finder. You can get the idea ... See this example, some work needed by reader!!!:
    on open dropped_items
      -- Write a message into the event log.
      log "  --- Starting on " & ((current date) as string) & " --- "
      -- set see to alias "Macintosh-HD:Users:mac:Desktop:app.html"
      -- set dropped_items to {see}
      set the_app to "Safari"
      repeat with dropped_item_ref in dropped_items
         --set UrlBase to "xzzx FILE://" & POSIX path of dropped_item_ref
         --display dialog UrlBase
         -- Activate
         activate application the_app
         -- Open the URL
         tell application the_app
            open dropped_item_ref
            -- print dropped_item_ref
            tell application "System Events"
               tell process the_app
                  delay 3
                  -- click menu item "Print..." of menu "File" of menu bar 1
                  keystroke "p" using command down
                  delay 1
                  keystroke return
                  delay 10
                  keystroke "w" using command down
               end tell
            end tell
            --quit
         end tell
      end repeat
    end open
    Message was edited by: rccharles

  • A better way to make Automator mount a volume?

    I made an Automator application, using the Record function, to mount a volume on a drive connected to my Mini. I also made a similar one to eject it. I use them as Calendar-triggered events as part of my backup scheme.
    They work well ... until I restart the Mini, when occasionally my two connected drives will mount in a different order. What happens then is that the sequence of mouse clicks recorded in Automator don’t find the correct volume.
    I wonder if there’s a better way to automate the mounting of a currently ejected disc (and later its ejection). Automator, as far as I can see, does not have the actions I need. It has Ask For/Connect to/Get specified Servers, but they seem only to be for network-connected stuff.
    Anyone know a better way?

    Welcome to Unix. 
    The key part of that shell script code is the test for the existence of the mount point (if [ -e /Volumes/dbamp ]), followed by a conditional block that — in the "else" section involved when the mount point wasn't found — creates it, and then mounts an AFP file system on that mount point.  Most of the rest of the baggage in that script is used to get the mysqldump database dumps over onto the target disk, once it's been mounted.
    Here's a very quick overview of the basics of scripting , Apple's introduction to the command line manual, there's a generic bash intro (which is good, but doesn't line up exactly with how bash is implemented on OS X) and O'Reilly has some reasonable books on bash and bash scripting.  Once you know and are comfortable with the basics, there are advanced bash guides available.

  • Mount vhdx file from Windows Server Backup 2012

    We have a 2012 server with a network share that other servers backup to using Windows Server Backup.  To view the files from a windows 2008 r2 backup .vhd file all I have to do is open it in windows explorer and it mounts as a drive and opens.  When
    I try to do the same with a 2012 backup (.vhdx) it tells me "you don't have permission to mount the file" but if I open disk management I can see the volume, and if I right click on it and select "Change Drive Letter and Paths" and add
    a drive letter, then I can browse it.  I get the same issue using mount-vhd in powershell.

    Hi Adm1nMikeW,
    Please try to use disk management --> action --> attach VHD (this way will  avoid  the error message).
    The root cause is the attribute "nodefaultdriveletter" of the backup vhd was not set to "no".
    You can try following setps :
    1. in cmd prompt type diskpart
    2. recognize the problematic volume you want to set via list volume
    3. run command select volume "volume number"
    4. run command attributes volume clear nodefaultdriveletter
    then detach it and reattach the disk again .
    Hope this helps
    Best Regards
    Elton Ji
    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.

  • Mounting shares with nautilus

    When I was using Ubuntu a few months ago Nautilus automatically mounted shared folders. That was really convenient and I'm trying to figure out how to do this on Arch. My shared folder icon comes up but when I try to open it I get the error, Unable to Mount Location: Failed to mount windows share.
    I browsed the forum and the wiki looking for answers. I've messed with the samba.conf file and can't seem to get this to work. I even copied my roommates smb.conf from his computer running Ubuntu. Here's the smb.conf:
    # Sample configuration file for the Samba suite for Debian GNU/Linux.
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options most of which
    # are not shown in this example
    # Any line which starts with a ; (semi-colon) or a # (hash)
    # is a comment and is ignored. In this example we will use a #
    # for commentary and a ; for parts of the config file that you
    # may wish to enable
    # NOTE: Whenever you modify this file you should run the command
    # "testparm" to check that you have not made any basic syntactic
    # errors.
    #======================= Global Settings =======================
    [global]
    ## Browsing/Identification ###
    # Change this to the workgroup/NT-domain name your Samba server will part of
    workgroup = WORKGROUP
    # server string is the equivalent of the NT Description field
    server string = %h server (Samba, Ubuntu)
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable its WINS Server
    ; wins support = no
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # This will prevent nmbd to search for NetBIOS names through DNS.
    dns proxy = no
    # What naming service and in what order should we use to resolve host names
    # to IP addresses
    ; name resolve order = lmhosts host wins bcast
    #### Networking ####
    # The specific set of interfaces / networks to bind to
    # This can be either the interface name or an IP address/netmask;
    # interface names are normally preferred
    ; interfaces = 127.0.0.0/8 eth0
    # Only bind to the named interfaces and/or networks; you must use the
    # 'interfaces' option above to use this.
    # It is recommended that you enable this feature if your Samba machine is
    # not protected by a firewall or is a firewall itself. However, this
    # option cannot handle dynamic or non-broadcast interfaces correctly.
    ; bind interfaces only = true
    #### Debugging/Accounting ####
    # This tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/log/samba/log.%m
    # Cap the size of the individual log files (in KiB).
    max log size = 1000
    # If you want Samba to only log through syslog then set the following
    # parameter to 'yes'.
    ; syslog only = no
    # We want Samba to log a minimum amount of information to syslog. Everything
    # should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
    # through syslog you should set the following parameter to something higher.
    syslog = 0
    # Do something sensible when Samba crashes: mail the admin a backtrace
    panic action = /usr/share/samba/panic-action %d
    ####### Authentication #######
    # "security = user" is always a good idea. This will require a Unix account
    # in this server for every user accessing the server. See
    # /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
    # in the samba-doc package for details.
    ; security = user
    # You may wish to use password encryption. See the section on
    # 'encrypt passwords' in the smb.conf(5) manpage before enabling.
    encrypt passwords = true
    # If you are using encrypted passwords, Samba will need to know what
    # password database type you are using.
    passdb backend = tdbsam
    obey pam restrictions = yes
    ; guest account = nobody
    invalid users = root
    # This boolean parameter controls whether Samba attempts to sync the Unix
    # password with the SMB password when the encrypted SMB password in the
    # passdb is changed.
    unix password sync = yes
    # For Unix password sync to work on a Debian GNU/Linux system, the following
    # parameters must be set (thanks to Ian Kahan <<[email protected]> for
    # sending the correct chat script for the passwd program in Debian Sarge).
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    # This boolean controls whether PAM will be used for password changes
    # when requested by an SMB client instead of the program listed in
    # 'passwd program'. The default is 'no'.
    pam password change = yes
    # This option controls how nsuccessful authentication attempts are mapped
    # to anonymous connections
    map to guest = bad user
    ########## Domains ###########
    # Is this machine able to authenticate users. Both PDC and BDC
    # must have this setting enabled. If you are the BDC you must
    # change the 'domain master' setting to no
    ; domain logons = yes
    # The following setting only takes effect if 'domain logons' is set
    # It specifies the location of the user's profile directory
    # from the client point of view)
    # The following required a [profiles] share to be setup on the
    # samba server (see below)
    ; logon path = \\%N\profiles\%U
    # Another common choice is storing the profile in the user's home directory
    ; logon path = \\%N\%U\profile
    # The following setting only takes effect if 'domain logons' is set
    # It specifies the location of a user's home directory (from the client
    # point of view)
    ; logon drive = H:
    ; logon home = \\%N\%U
    # The following setting only takes effect if 'domain logons' is set
    # It specifies the script to run during logon. The script must be stored
    # in the [netlogon] share
    # NOTE: Must be store in 'DOS' file format convention
    ; logon script = logon.cmd
    # This allows Unix users to be created on the domain controller via the SAMR
    # RPC pipe. The example command creates a user account with a disabled Unix
    # password; please adapt to your needs
    ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
    ########## Printing ##########
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    ; load printers = yes
    # lpr(ng) printing. You may wish to override the location of the
    # printcap file
    ; printing = bsd
    ; printcap name = /etc/printcap
    # CUPS printing. See also the cupsaddsmb(8) manpage in the
    # cupsys-client package.
    ; printing = cups
    ; printcap name = cups
    ############ Misc ############
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting
    ; include = /home/samba/etc/smb.conf.%m
    # Most people will find that this option gives better performance.
    # See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
    # for details
    # You may want to add the following on a Linux system:
    # SO_RCVBUF=8192 SO_SNDBUF=8192
    socket options = TCP_NODELAY
    # The following parameter is useful only if you have the linpopup package
    # installed. The samba maintainer and the linpopup maintainer are
    # working to ease installation and configuration of linpopup and samba.
    ; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
    # Domain Master specifies Samba to be the Domain Master Browser. If this
    # machine will be configured as a BDC (a secondary logon server), you
    # must set this to 'no'; otherwise, the default behavior is recommended.
    ; domain master = auto
    # Some defaults for winbind (make sure you're not using the ranges
    # for something else.)
    ; idmap uid = 10000-20000
    ; idmap gid = 10000-20000
    ; template shell = /bin/bash
    # The following was the default behaviour in sarge,
    # but samba upstream reverted the default because it might induce
    # performance issues in large organizations.
    # See Debian bug #368251 for some of the consequences of *not*
    # having this setting and smb.conf(5) for details.
    ; winbind enum groups = yes
    ; winbind enum users = yes
    # Setup usershare options to enable non-root users to share folders
    # with the net usershare command.
    # Maximum number of usershare. 0 (default) means that usershare is disabled.
    ; usershare max shares = 100
    # Allow users who've been granted usershare privileges to create
    # public shares, not just authenticated ones
    usershare allow guests = yes
    usershare owner only = False
    #======================= Share Definitions =======================
    # Un-comment the following (and tweak the other settings below to suit)
    # to enable the default home directory shares. This will share each
    # user's home directory as \\server\username
    ;[homes]
    ; comment = Home Directories
    ; browseable = no
    # By default, the home directories are exported read-only. Change the
    # next parameter to 'no' if you want to be able to write to them.
    ; read only = yes
    # File creation mask is set to 0700 for security reasons. If you want to
    # create files with group=rw permissions, set next parameter to 0775.
    ; create mask = 0700
    # Directory creation mask is set to 0700 for security reasons. If you want to
    # create dirs. with group=rw permissions, set next parameter to 0775.
    ; directory mask = 0700
    # By default, \\server\username shares can be connected to by anyone
    # with access to the samba server. Un-comment the following parameter
    # to make sure that only "username" can connect to \\server\username
    # This might need tweaking when using external authentication schemes
    ; valid users = %S
    # Un-comment the following and create the netlogon directory for Domain Logons
    # (you need to configure Samba to act as a domain controller too.)
    ;[netlogon]
    ; comment = Network Logon Service
    ; path = /home/samba/netlogon
    ; guest ok = yes
    ; read only = yes
    ; share modes = no
    # Un-comment the following and create the profiles directory to store
    # users profiles (see the "logon path" option above)
    # (you need to configure Samba to act as a domain controller too.)
    # The path below should be writable by all users so that their
    # profile directory may be created the first time they log on
    ;[profiles]
    ; comment = Users profiles
    ; path = /home/samba/profiles
    ; guest ok = no
    ; browseable = no
    ; create mask = 0600
    ; directory mask = 0700
    #[printers]
    # comment = All Printers
    # browseable = no
    # path = /var/spool/samba
    # printable = yes
    # guest ok = no
    # read only = yes
    # create mask = 0700
    # Windows clients look for this share name as a source of downloadable
    # printer drivers
    #[print$]
    # comment = Printer Drivers
    # path = /var/lib/samba/printers
    # browseable = yes
    # read only = yes
    # guest ok = no
    # Uncomment to allow remote administration of Windows print drivers.
    # Replace 'ntadmin' with the name of the group your admin users are
    # members of.
    ; write list = root, @ntadmin
    # A sample share for sharing your CD-ROM with others.
    ;[cdrom]
    ; comment = Samba server's CD-ROM
    ; read only = yes
    ; locking = no
    ; path = /cdrom
    ; guest ok = yes
    # The next two parameters show how to auto-mount a CD-ROM when the
    # cdrom share is accesed. For this to work /etc/fstab must contain
    # an entry like this:
    # /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
    # The CD-ROM gets unmounted automatically after the connection to the
    # If you don't want to use auto-mounting/unmounting make sure the CD
    # is mounted on /cdrom
    ; preexec = /bin/mount /cdrom
    ; postexec = /bin/umount /cdrom
    [usershares]
    comment = Video Folder
    path = /home/cd/video
    read only = no
    browseable = yes
    writable = yes
    public = yes
    guest ok = yes
    available = yes
    usershares max shares = 100
    usershares owner only = False

    I'm having the same issue here, though not just in Nautilus.
    Samba is working to some extent because I can access the directories I'm sharing on both of my Linux computer from a Windows laptop with no trouble. Come to think of it the Windows laptop (running XP) and my VirtualBox, also running XP, both access the samba shares fine.
    However, I can not access them from the Linux computers. I have two Linux machines actually, Avalon and Atlantis. The one, Avalon, I can't access anything from/on (though Windows can access it just fine). The other one, Atlantis, I am sharing /homes and /srv, /srv mounts fine, but /homes will not. I'm sharing /srv on Avalon as well, but it won't mount.
    To simplify, /srv on Atlantis is the only share I can access from either Linux machine. But only the /srv on Atlantis, not the /srv on Avalon.
    I have smbnetfs installed. Here are my daemons from rc.conf:
    DAEMONS=(syslog-ng network netfs smbnetfs crond dbus hal fam alsa mysqld mythbackend mpd openntpd lircd cups httpd sshd privoxy tor samba gdm)
    I am curious though: does netfs and smbnetfs need to be running?
    Any help would be appreciated. Thanks.
    Frantic wrote:You should check your logs and see why the mount is failing, it's probably a small tweak (maybe fuse not loaded)
    Probably something I should know already, but what logs should I check? Thanks.
    Last edited by The Avatar of Time (2009-03-06 10:16:03)

  • When connected via USB, my Ipod Classic 160GB mounts as a disc drive, then changes to a white drive.  When iTunes automatically opens, it crashes trying to mount and/ or sync.  When it times out, my only choice is to restore, but that doesn't fix problem.

    I'm running OS 10.6.8 on my 3.06 GHz iMac Intel Core 2 Duo.   I recently upgraded to iTunes 10.5.2.  I'm not sure when the trouble started but I attempted a restore when the iPod would not play correctly.  It would start to play a file and get stuck on 0 seconds.  If I put the iPod on shufle, it will stall on 0 seconds for 15 seconds or so and then move on to the next track and stall again and so on.   Seemingly randomly, it will play a few tracks but eventually start skipping again.  This will continue until the battery is depleted which is fairly quick since the drive is constantly spinning.
    My 160GB iPod Classic after restore attempts now is up to date with 2.0.4. and of course, nothing works as it should and I would say the skipping issue is worse than ever.  
    When I connect with any of three USB connectors, the iPod mounts to the desktop as a grey/silver disk drive picon exactly like the Macintosh HD picon.   Then Finder will stall for a few minutes- spinning pinwheel.  Somehow, the dock is never affected and I am able to open other applications like Safari or tab through open windows- just no action on the desktop.  Eventually, iTunes automatically opens and Finder becomes responsive again.  At this point the grey drive picon on the desktop becomes a white drive mount picon, but the iPod does not mount in iTunes, yet.  At some point, the iPod attempts to sync, iTunes crashes with the spinning pinwheel and eventually times out and I am prompted to restore the iPod again.  Once restored,  the iPod properly mounts under devices in iTunes and, as I have done this several times, even occasionally changes to the regular iPod picon on the desktop.
    I have restored several times going as far a completely deleting iTunes from my iMac, downloading the latest directly from Apple.com, and attempting to restore again, but to no avail.
    I have even used the disk utility to verify and/or repair my Macintosh HD and iPod. 
    It seems lots of folks are going through this ordeal.  Has anyone had any success in fixing the issue, even if only temporarily?

    one more detail, after a restore, when I attempt to reload music to the ipod, if I try and move, say, 20 files, the transfer seems to work as it should but then stalls on the last file.  Eventually, the status will change to "Updates Files on (my ipod)" a and suggests the iPod is syncing  even though I have the auto sync feature turned off.
    This process eventually works itself out, and seems to take longer relative to the number of files I attempt to transfer.   Once done, howver, if I try and eject and dismount the iPod, iTunes stalls with the spinning pinwheel and I am warned that the iPod is syncing again with the spinning candy cane status bar.     Eventually thisd works itself out and the iPod dismounts from iTunes and the desktop and eventually the iPod is free to disconnect.
    Then if I try and play the music I just transfered, the iPod says there is no music loaded.
    Ideas?

  • RAC control file has correpted, unable to mount database

    hi guru's,
    Im trying to startup my rac db, but it giving following error.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 233861120 bytes
    Fixed Size 2212088 bytes
    Variable Size 176164616 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 5152768 bytes
    ORA-00221: error on write to control file
    ORA-00206: error in writing (block 1, # blocks 1) of control file
    ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
    ORA-15081: failed to submit an I/O operation to a disk
    ORA-15081: failed to submit an I/O operation to a disk
    alert log:
    Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
    ORA-15080: synchronous I/O operation to a disk failed
    WARNING: failed to write mirror side 1 of virtual extent 0 logical extent 0 of file 256 in group 2 on disk 1 allocation unit 78
    Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
    ORA-15080: synchronous I/O operation to a disk failed
    WARNING: failed to write mirror side 2 of virtual extent 0 logical extent 1 of file 256 in group 2 on disk 2 allocation unit 76
    Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
    ORA-15080: synchronous I/O operation to a disk failed
    WARNING: failed to write mirror side 3 of virtual extent 0 logical extent 2 of file 256 in group 2 on disk 3 allocation unit 78
    Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
    ORA-00206: error in writing (block 1, # blocks 1) of control file
    ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
    ORA-15081: failed to submit an I/O operation to a disk
    ORA-15081: failed to submit an I/O operation to a disk
    ORA-221 signalled during: ALTER DATABASE MOUNT...
    trace file:
    Trace file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    ORACLE_HOME = /rdbms1/app/oracle/product/11.2.0/db_home/
    System name: Linux
    Node name: RAC-NODE1.vod.com
    Release: 2.6.18-128.el5
    Version: #1 SMP Wed Dec 17 11:41:38 EST 2008
    Machine: x86_64
    Instance name: finance1
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 28
    Unix process pid: 11821, image: [email protected] (TNS V1-V3)
    *** 2013-04-27 00:02:39.859
    *** SESSION ID:(1.3) 2013-04-27 00:02:39.859
    *** CLIENT ID:() 2013-04-27 00:02:39.859
    *** SERVICE NAME:() 2013-04-27 00:02:39.859
    *** MODULE NAME:([email protected] (TNS V1-V3)) 2013-04-27 00:02:39.859
    *** ACTION NAME:() 2013-04-27 00:02:39.859
    ORA-27041: unable to open file
    WARNING: IO Failed. group:2 disk(number.incarnation):1.0xe96d8019 disk_path:/dev/sdd2
    AU:78 disk_offset(bytes):81805312 io_size:16384 operation:Write type:asynchronous
    result:I/O error process_id:11821
    subsys:System iop:0x2b1c84e57250 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
    ORA-27041: unable to open file
    WARNING: IO Failed. group:2 disk(number.incarnation):2.0xe96d801a disk_path:/dev/sdd3
    AU:76 disk_offset(bytes):79708160 io_size:16384 operation:Write type:asynchronous
    result:I/O error process_id:11821
    subsys:System iop:0x2b1c84e57128 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
    ORA-27041: unable to open file
    WARNING: IO Failed. group:2 disk(number.incarnation):3.0xe96d8018 disk_path:/dev/sdd4
    AU:78 disk_offset(bytes):81805312 io_size:16384 operation:Write type:asynchronous
    result:I/O error process_id:11821
    subsys:System iop:0x2b1c84e57000 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
    ORA-15080: synchronous I/O operation to a disk failed
    WARNING: failed to write mirror side 1 of virtual extent 0 logical extent 0 of file 256 in group 2 on disk 1 allocation unit 78
    ORA-15080: synchronous I/O operation to a disk failed
    WARNING: failed to write mirror side 2 of virtual extent 0 logical extent 1 of file 256 in group 2 on disk 2 allocation unit 76
    ORA-15080: synchronous I/O operation to a disk failed
    WARNING: failed to write mirror side 3 of virtual extent 0 logical extent 2 of file 256 in group 2 on disk 3 allocation unit 78
    DDE rules only execution for: ORA 202
    ----- START Event Driven Actions Dump ----
    ---- END Event Driven Actions Dump ----
    ----- START DDE Actions Dump -----
    Executing SYNC actions
    ----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
    Successfully dispatched
    ----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
    Executing ASYNC actions
    ----- END DDE Actions Dump (total 0 csec) -----
    ORA-00206: error in writing (block 1, # blocks 1) of control file
    ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
    ORA-15081: failed to submit an I/O operation to a disk
    ORA-15081: failed to submit an I/O operation to a disk
    all the diskgroups are in mount state only
    SQL> select name,state from v$asm_diskgroup;
    NAME STATE
    ARCLOG MOUNTED
    CTRL MOUNTED
    DBFILE MOUNTED
    FRA MOUNTED
    REDO1 MOUNTED
    REDO2 MOUNTED
    VOTE MOUNTED
    since i did not have mirror copy or backup of current control file to replace the correpted one.
    Is there any way to create new control file and transfered to ASM diskgroup and open database. or i need to drop the existing database.
    if i need to drop the db, without open the db how to drop database.
    kindly help on this.
    Thanks in advance.

    Hi,
    Thanks for the replay. im able to open the db.
    But can you tel me how to make my rac db to open with spfile which is on asmdiskgroup.
    SQL> select name,state from v$asm_diskgroup;
    NAME STATE
    ARCLOG MOUNTED
    CTRL MOUNTED
    DBFILE MOUNTED
    FRA MOUNTED
    REDO1 MOUNTED
    REDO2 MOUNTED
    VOTE MOUNTED
    Spfile:
    ASMCMD [+DBFILE/FINANCE/PARAMETERFILE] > pwd
    +DBFILE/FINANCE/PARAMETERFILE
    ASMCMD [+DBFILE/FINANCE/PARAMETERFILE] > ls
    spfile.262.813843989
    i shutdown the db and up the same but it can't take the spfile.
    SQL> show parameter spfile
    NAME TYPE VALUE
    spfile string
    Thanks in advance.

Maybe you are looking for

  • What is no-op?

    The following line is from doc for java.sql.Connection class. Calling the method close on a Connection object that is already closed is a no-op. What is no-op?

  • Desktop Software Download for Blackberry 7290

    I have just purchased a Blackberry 7290. I do not know which Desktop and Device Software to download. I have tried  Version 4 but it is going to take me 4 hours to download! Any help will be greatly appreciated. Thanks.

  • I just want to manage my pics & my apps only on my iphone, no music, no videos

    I dont own an ipod.  I have never used itunes until just recently when I updraded my iphone IOS.  All I want to do is manage my apps and person pics and videos.  I have no plans or interest in using the iphone (3GS) for purchasing or playing music or

  • My computer does not meet the requirements for iTunes 7.7

    Okay, so I think all these problems that I'm having are because my new computer does not meet the requirements for iTunes 7.7. The requirements are listed here: http://www.apple.com/itunes/download/ I checked my system and I have: 1. 1.60 GHz instead

  • Only one PI per server object!

    As the result of a SR for a problem we were having, it appears that oracle lite does not support more than one publication item being created even in different applications/publications for the same server table/view 10.2 only objects if you try to c