SharePoint 2010 MoveTo()

2011-11-01 Thread Steve Taplin
I'm trying to programmatically move a document from a drop off library to a 
document library in a sub-site.  I've tried to use the File.Moveto() method, 
but I get an error to the effect that the method can't find the target document 
library.


1.Does anyone know if it is possible to move documents from a parent 
drop off library to a document library in a sub-site?

2.   If the answer to 1 is Yes, any idea of the format of the target 
location?

Thanks

Steve


"Please consider the environment before printing this email."

"The information contained in this e-mail message and any accompanying files is 
or may be confidential. If you are not the intended recipient, any use, 
dissemination, reliance, forwarding, printing or copying of this e-mail or any 
attached files is unauthorised. This e-mail is subject to copyright. No part of 
it should be reproduced, adapted or communicated without the written consent of 
the copyright owner. If you have received this e-mail in error, please advise 
the sender immediately by return e-mail, or telephone and delete all copies. 
ACH Group does not guarantee the accuracy or completeness of any information 
contained in this e-mail or attached files. Internet communications are not 
secure; therefore ACH Group does not accept legal responsibility for the 
contents of this message or attached files."___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


Re: MOSS 2007 Content Deployment Problems

2011-11-01 Thread Chris Howell
Hi,

Just an update. I made some progress by running: " psconfig -cmd upgrade
-inplace b2b -wait" on the host where the pending upgrade was flagged. This
completed and then Content Deployment started working.

Now gets to the point where the Content Deployment job exports to the new
server. Job then fails with:

"Content deployment job 'Remote import job for job with sourceID =
d5f5cedd-cc28-40b5-8dd9-c5f905f54e7b' failed.The exception thrown was
'System.IO.IOException' : 'The process cannot access the file
'Manifest.xml' because it is being used by another process.'"

Chris

On 2 November 2011 15:39, Chris Howell  wrote:

> Hi,
>
> Can anyone help with some Content Deployment issues I'm experiencing?
>
> I'm trying to move content between two DEV instances of MOSS. Both servers
> report that they are build 12.0.0.6421.
>
> I have tried the following and have issues at every point:
>
> *1. Content deployment from CA on current host pushing to new host*
> Job is permanently stuck in a state of "Preparing"
>
> *2. Exporting/Importing site using Chris O'Brien's SharePoint Content
> Deployment Wizard*
> Exports successfully from host. No errors or warnings.
>
> Error on import on new host: "System.IO.IOException: The process cannot
> access the file 'Manifest.xml' because it is being used by another
> process." shown in GUI
>
> Error in log:
>
> "[11/2/2011 3:31:10 PM]: FatalError: The '
> http://www.w3.org/2001/XMLSchema:attribute' element is not supported in
> this context.
>at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object
> sender, ValidationEventArgs e)
>at System.Xml.Schema.XmlSchemaSet.ParseSchema(String targetNamespace,
> XmlReader reader)
>at System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, String
> schemaUri)
>at Microsoft.SharePoint.Deployment.SPImport.CreateXmlReader(FileStream
> fs, String schemaNamespace, String schemaFile)
>at
> Microsoft.SharePoint.Deployment.SPImport.GetNextManifestFile(XmlReaderAndStream
> reader)
>at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()
>at Microsoft.SharePoint.Deployment.SPImport.Run()"
>
> *3. Restore from CMP file*
> Have tried STSADM Restore of files. Returns error:
>
> "Your backup is from a different version of Windows SharePoint Services
> and cannot be restored to a server running the current version. The backup
> file should be
>  restored to a server with version '1178817357.0.25229151.0' or later."
>
> I can find no information on what version this is meant to be.
>
> I've exhausted all the things I've come across before or can find. I've
> run preupgradecheck on the current host and that reports "*Failed :
> Pending upgrade operation detected in this farm*". There has been no
> upgrade attempted that I'm aware of and I've run the config wizard again
> with it completing successfully.
>
> Any help would be greatly appreciated.
>
> Cheers,
>
> Chris
>
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


Peoplesearch results - image sizes

2011-11-01 Thread Nigel Hertz
Hi all

I'm modifying our 'people search results' page to show details in a tabular 
format. I've got everything displaying the way it should, except for the fact 
that I want to make the employee photo smaller (it defaults to the 96x96 px 
sizing)

Does anyone know how to modify the xslt to use the "small" (32x32 px) thumbnail 
for a user that is stored in the profile database? I've included the snippets 
of xslt below. (You can change the placeholder to use the small one easily, but 
I have no idea how to change the user photo)

Nigel

P.S. I've tried changing the 'Fetched Properties' to pull back 
PictureThumbnailURL instead of PictureURL, and reference that, but no luck :(


Code to populate result

  

  
  

  
  

  
  


  

  

  





[cid:image002.png@01CC9976.84FDFBD0]

Kind Regards,
Nigel Hertz

SharePoint Administrator & Developer, Information Technology
Stockland, Level 25, 133 Castlereagh Street, Sydney NSW 2000
T: +61 2 9035 2617  M: +61 4 0103 4605
F: +61 2 8988 2617   E:  nigel.he...@stockland.com.au
www.stockland.com.au
Before printing this email, please consider the environment.


_

Stockland Notice: If this communication has been sent to you by mistake, please 
delete and notify us.  If it has been sent to you by mistake, legal privilege 
is not waived or lost and you are not entitled to use it in any way. Stockland 
and its subsidiaries reserve the right to monitor e-mail communication through 
its networks.
<>___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


MOSS 2007 Content Deployment Problems

2011-11-01 Thread Chris Howell
Hi,

Can anyone help with some Content Deployment issues I'm experiencing?

I'm trying to move content between two DEV instances of MOSS. Both servers
report that they are build 12.0.0.6421.

I have tried the following and have issues at every point:

*1. Content deployment from CA on current host pushing to new host*
Job is permanently stuck in a state of "Preparing"

*2. Exporting/Importing site using Chris O'Brien's SharePoint Content
Deployment Wizard*
Exports successfully from host. No errors or warnings.

Error on import on new host: "System.IO.IOException: The process cannot
access the file 'Manifest.xml' because it is being used by another
process." shown in GUI

Error in log:

"[11/2/2011 3:31:10 PM]: FatalError: The '
http://www.w3.org/2001/XMLSchema:attribute' element is not supported in
this context.
   at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object
sender, ValidationEventArgs e)
   at System.Xml.Schema.XmlSchemaSet.ParseSchema(String targetNamespace,
XmlReader reader)
   at System.Xml.Schema.XmlSchemaSet.Add(String targetNamespace, String
schemaUri)
   at Microsoft.SharePoint.Deployment.SPImport.CreateXmlReader(FileStream
fs, String schemaNamespace, String schemaFile)
   at
Microsoft.SharePoint.Deployment.SPImport.GetNextManifestFile(XmlReaderAndStream
reader)
   at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()
   at Microsoft.SharePoint.Deployment.SPImport.Run()"

*3. Restore from CMP file*
Have tried STSADM Restore of files. Returns error:

"Your backup is from a different version of Windows SharePoint Services and
cannot be restored to a server running the current version. The backup file
should be
 restored to a server with version '1178817357.0.25229151.0' or later."

I can find no information on what version this is meant to be.

I've exhausted all the things I've come across before or can find. I've run
preupgradecheck on the current host and that reports "*Failed : Pending
upgrade operation detected in this farm*". There has been no upgrade
attempted that I'm aware of and I've run the config wizard again with it
completing successfully.

Any help would be greatly appreciated.

Cheers,

Chris
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss