Re: MOSS 2007 Content Deployment Problems

2011-11-07 Thread Ajay
This looks tricky as stsadm - backup/restore is much more robust than
stsadm import.
In most cases when we had issue with export-import -- backup/restore has
worked well.

Can you do one quick test to validate if it's the data in site causing the
issue by creating a new OOTB site collection and just put it 1-2 documents
and items and see if that works.



On Tue, Nov 8, 2011 at 6:06 PM, Chris Howell  wrote:

> Hi,
>
> Sorry for the delay in replying.
>
>- Yes, both farms are 64-bit.
>- Both are in the same domain.
>- Yes, path to log files is the same in both.
>- Both farms are based on Server 2003 so no UAC
>
> I've also checked regional settings in every area that I can think of and
> they are the same (Australian English).
>
> Moving content still fails if I try export from old and import to new.
> Puzzled as to why this log date is showing US format though:
>
> [11/8/2011 3:58:48 PM]: Start Time: 11/8/2011 3:58:48 PM.
> [11/8/2011 3:58:48 PM]: Progress: Initializing Import.
> [11/8/2011 3:58:59 PM]: Progress: Starting content import.
> [11/8/2011 3:58:59 PM]: Progress: De-Serializing Objects to Database.
> [11/8/2011 3:58:59 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()
>
>
> On 3 November 2011 09:02, Paul Noone wrote:
>
>> Hi Chris,
>>
>> ** **
>>
>> I have never managed to get clean content deployment setup between two
>> apps in different domains, or with different configurations. A few things
>> you could check:
>>
>> ** **
>>
>> Are both farms running 64-bit OS?
>>
>> Are they in the same domain?
>>
>> Are the log file paths the same in both farms?
>>
>> Have you tried turning off UAC on the destination farm?
>>
>> ** **
>>
>> ** **
>>
>> *From:* ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] *On
>> Behalf Of *Chris Howell
>> *Sent:* Wednesday, 2 November 2011 4:32 PM
>> *To:* ozMOSS
>> *Subject:* Re: MOSS 2007 Content Deployment Problems
>>
>> ** **
>>
>> 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
>> reade

RE: Import error - guidance on troubleshooting please.

2011-11-07 Thread Mike MOSSuMS Stringfellow

Ok - it looks like this actual 2010 install is FUBAR, as the import works fine 
on my dev environment and there are a variety of error in the logs, including 
this from nasty from SQL when importing the list: Unknown SQL Exception 206 
occurred. Additional error information from SQL Server is included 
below.Operand type clash: datetime is incompatible with uniqueidentifierA 
re-run of the config wizard, and a repair, both gave this message 
(WEBCONFIG.ACCSRV.XML file is identical to one on my 'nilla dev sp2010): An 
exception of type System.IO.InvalidDataException was thrown. Additional 
exception information: The web configuration file, C:\Program Files\Common 
Files\Microsoft Shared\Web Server Extensions\14\config\WEBCONFIG.ACCSRV.XML, 
does not have element 
"configuration/configSections/sectionGroup[@name='SharePoint']" or it is 
invalid. Next steps will be a reboot and then a complete reinstall, unless 
there are some other ideas?
 From: mike_stringfel...@hotmail.com
To: ozmoss@ozmoss.com
Subject: RE: Import error - guidance on troubleshooting please.
Date: Tue, 8 Nov 2011 10:06:39 +0800








Many thanks for your help Paul and Matthew
 
 
Definately sounds like we are all thinking the same way as I've checked those 
things.
 
Pach level was fine as it's been moved to the same farm - however missing 
feature references etc in the content, as it originally came from 2007 and was 
then upgraded, is a distinct possibility.
 
We've also tried without identity, security, versions and dependecies - same 
darn com error.
 
It's an RTM 2010, so I'm just investigating if there have been any 
import/export/content migration fixes making SP1 + Oct CU worthwhile - none i 
can see so far. However, if there is some sort of server issue an upgrade may 
be worthwhile.
 
The GL command didn't help, as it does exactly the same stuff under the skin, 
so threw the same unhelpfull error. I'll have a look at the Chris O'Brian 
content migration wizard next.
 
 
From: paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
Date: Tue, 8 Nov 2011 09:16:22 +1100
Subject: RE: Import error - guidance on troubleshooting please.



I’d start by ditching dependencies and security on the export and see if it 
will import OK.   From: ozmoss-boun...@ozmoss.com 
[mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Mike MOSSuMS Stringfellow
Sent: Monday, 7 November 2011 6:10 PM
To: ozmoss@ozmoss.com
Subject: Import error - guidance on troubleshooting please. Any advice on the 
quickest way to trouble-shoot the below error when importing a list that was 
exported from a different farm?
 
Are the ULS logs the place to start, or does the import show all the info 
available to stdout?
 
Or does anyone recommend a tool or technique that gives generally better 
rsults/insights that the standard import/export - e.g. gl-exportlist and 
gl-importlist?
 
In anticipation, thanks for your help!
 
 export-spweb -IDENTITY http://OldSiteURL -ITEMURL "OldListURL" -PATH 
c:\temp\export.cmp -FORCE -INCLUDEUSERSECURITY -INCLUDEVERSIONS 4 import-spweb 
-IDENTITY https://NewSiteURL -PATH c:\temp\export.cmp -FORCE 
-INCLUDEUSERSECURITY -UPDATEVERSIONS OVERWRITE -VERBOSE [7/11/2011 10:29:14 AM] 
[List] [ListName] Progress: Importing[7/11/2011 10:29:14 AM] [List] [ListName]  
 ExtendedVerbose: Creating[7/11/2011 10:29:14 AM] [List] [ER.BusinessUnits]   
Error: An unexpected error has occurred.[7/11/2011 10:29:14 AM] [List] 
[ER.BusinessUnits]   Debug:at 
Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)   at 
Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, Guid& 
pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, 
String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int32 iVersion, 
Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, 
String bstrEventSinkAssembly, String bstrEventSinkClass, String 
bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, 
Boolean bCompressedSchema, DateTime dtTimeCreated)   at 
Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb, 
Dictionary`2 listMetaData, Boolean usingPublicSchema)   at 
Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, 
SerializationInfo info, StreamingContext context, ISurrogateSelector selector)  
 at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object obj, 
SerializationInfo objectData, ISerializationSurrogate surrogate, 
ISurrogateSelector selector)[7/11/2011 10:29:14 AM] FatalError: An unexpected 
error has occurred.[7/11/2011 10:29:14 AM] Debug:at 
Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)   at 
Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, Guid& 
pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, 
String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int32 iVersion, 
Int32 iAuthor, String bstrFields, String bstrContentTypes, S

Re: MOSS 2007 Content Deployment Problems

2011-11-07 Thread Chris Howell
Hi,

Sorry for the delay in replying.

   - Yes, both farms are 64-bit.
   - Both are in the same domain.
   - Yes, path to log files is the same in both.
   - Both farms are based on Server 2003 so no UAC

I've also checked regional settings in every area that I can think of and
they are the same (Australian English).

Moving content still fails if I try export from old and import to new.
Puzzled as to why this log date is showing US format though:

[11/8/2011 3:58:48 PM]: Start Time: 11/8/2011 3:58:48 PM.
[11/8/2011 3:58:48 PM]: Progress: Initializing Import.
[11/8/2011 3:58:59 PM]: Progress: Starting content import.
[11/8/2011 3:58:59 PM]: Progress: De-Serializing Objects to Database.
[11/8/2011 3:58:59 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()


On 3 November 2011 09:02, Paul Noone wrote:

> Hi Chris,
>
> ** **
>
> I have never managed to get clean content deployment setup between two
> apps in different domains, or with different configurations. A few things
> you could check:
>
> ** **
>
> Are both farms running 64-bit OS?
>
> Are they in the same domain?
>
> Are the log file paths the same in both farms?
>
> Have you tried turning off UAC on the destination farm?
>
> ** **
>
> ** **
>
> *From:* ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] *On
> Behalf Of *Chris Howell
> *Sent:* Wednesday, 2 November 2011 4:32 PM
> *To:* ozMOSS
> *Subject:* Re: MOSS 2007 Content Deployment Problems
>
> ** **
>
> 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.
>

Get List by InternalName

2011-11-07 Thread Paul Noone
According to the API, 
SPListItemCollection.Item
 is supposed to get a list by Name. Is that correct? In my tests it will only 
return results when I pass in the Title.
SPSite siteColl = SPContext.Current.Site;
oWeb = siteColl.OpenWeb(oWebUrl);
SPListCollection listColl = oWeb.Lists;
SPList oList = listColl[oListName];
Given that the InternalName is one of the few immutable properties of a list, 
is there a straightforward way to retrieve a list based on this property?
Or do I need to resort to something as ugly as this?
var oDisplayName = (from SPList l in listColl
where l.RootFolder.Name.Equals(oListName, StringComparison.InvariantCulture)
select l).FirstOrDefault();
___
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss


RE: Import error - guidance on troubleshooting please.

2011-11-07 Thread Mike MOSSuMS Stringfellow

Many thanks for your help Paul and Matthew  Definately sounds like we are all 
thinking the same way as I've checked those things. Pach level was fine as it's 
been moved to the same farm - however missing feature references etc in the 
content, as it originally came from 2007 and was then upgraded, is a distinct 
possibility. We've also tried without identity, security, versions and 
dependecies - same darn com error. It's an RTM 2010, so I'm just investigating 
if there have been any import/export/content migration fixes making SP1 + Oct 
CU worthwhile - none i can see so far. However, if there is some sort of server 
issue an upgrade may be worthwhile. The GL command didn't help, as it does 
exactly the same stuff under the skin, so threw the same unhelpfull error. I'll 
have a look at the Chris O'Brian content migration wizard next.  From: 
paul.no...@ceosyd.catholic.edu.au
To: ozmoss@ozmoss.com
Date: Tue, 8 Nov 2011 09:16:22 +1100
Subject: RE: Import error - guidance on troubleshooting please.



I’d start by ditching dependencies and security on the export and see if it 
will import OK.   From: ozmoss-boun...@ozmoss.com 
[mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Mike MOSSuMS Stringfellow
Sent: Monday, 7 November 2011 6:10 PM
To: ozmoss@ozmoss.com
Subject: Import error - guidance on troubleshooting please. Any advice on the 
quickest way to trouble-shoot the below error when importing a list that was 
exported from a different farm?
 
Are the ULS logs the place to start, or does the import show all the info 
available to stdout?
 
Or does anyone recommend a tool or technique that gives generally better 
rsults/insights that the standard import/export - e.g. gl-exportlist and 
gl-importlist?
 
In anticipation, thanks for your help!
 
 export-spweb -IDENTITY http://OldSiteURL -ITEMURL "OldListURL" -PATH 
c:\temp\export.cmp -FORCE -INCLUDEUSERSECURITY -INCLUDEVERSIONS 4 import-spweb 
-IDENTITY https://NewSiteURL -PATH c:\temp\export.cmp -FORCE 
-INCLUDEUSERSECURITY -UPDATEVERSIONS OVERWRITE -VERBOSE [7/11/2011 10:29:14 AM] 
[List] [ListName] Progress: Importing[7/11/2011 10:29:14 AM] [List] [ListName]  
 ExtendedVerbose: Creating[7/11/2011 10:29:14 AM] [List] [ER.BusinessUnits]   
Error: An unexpected error has occurred.[7/11/2011 10:29:14 AM] [List] 
[ER.BusinessUnits]   Debug:at 
Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)   at 
Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, Guid& 
pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, 
String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int32 iVersion, 
Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, 
String bstrEventSinkAssembly, String bstrEventSinkClass, String 
bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, 
Boolean bCompressedSchema, DateTime dtTimeCreated)   at 
Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb, 
Dictionary`2 listMetaData, Boolean usingPublicSchema)   at 
Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, 
SerializationInfo info, StreamingContext context, ISurrogateSelector selector)  
 at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object obj, 
SerializationInfo objectData, ISerializationSurrogate surrogate, 
ISurrogateSelector selector)[7/11/2011 10:29:14 AM] FatalError: An unexpected 
error has occurred.[7/11/2011 10:29:14 AM] Debug:at 
Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)   at 
Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, Guid& 
pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, 
String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int32 iVersion, 
Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, 
String bstrEventSinkAssembly, String bstrEventSinkClass, String 
bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, 
Boolean bCompressedSchema, DateTime dtTimeCreated)   at 
Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb, 
Dictionary`2 listMetaData, Boolean usingPublicSchema)   at 
Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, 
SerializationInfo info, StreamingContext context, ISurrogateSelector selector)  
 at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object obj, 
SerializationInfo objectData, ISerializationSurrogate surrogate, 
ISurrogateSelector selector)   at 
Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType, 
Boolean isChildObject)   at 
Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type objectType, 
Boolean isChildObject, DeploymentObject envelope)   at 
Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream 
serializationStream)   at 
Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream 
serializationStream)   at 
Microso

RE: SPS2010 Office Web Apps - Cache error

2011-11-07 Thread Aaron Saikovski
Ok.
Might be time to raise a support case

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Hertz
Sent: Tuesday, 8 November 2011 7:47 AM
To: ozMOSS
Subject: RE: SPS2010 Office Web Apps - Cache error

No luck.  Will see if I can replicate it in our dev environment before worrying.

From: ozmoss-boun...@ozmoss.com 
[mailto:ozmoss-boun...@ozmoss.com] 
On Behalf Of Aaron Saikovski
Sent: Monday, 7 November 2011 1:03 PM
To: ozMOSS
Subject: RE: SPS2010 Office Web Apps - Cache error

Also try this:
http://technet.microsoft.com/en-us/library/ee837422.aspx

maybe move the cache

From: ozmoss-boun...@ozmoss.com 
[mailto:ozmoss-boun...@ozmoss.com] 
On Behalf Of Nigel Hertz
Sent: Monday, 7 November 2011 12:55 PM
To: ozMOSS
Subject: RE: SPS2010 Office Web Apps - Cache error

Nothing that really makes sense to me :(


11/07/2011 12:05:00.90 OWSTIMER.EXE (0x20BC) 0x2378 
 Office Web Apps  Office Viewing Architecture   
cu85   Medium   Cache Creation Job Starting [JobId: 
0ee8f842-6624-4b99-a4f3-6eb3c86a4be8]
64b4be31-98ad-413a-95cf-6dac151e1300
11/07/2011 12:05:00.91 OWSTIMER.EXE (0x20BC) 0x2378 
 Office Web Apps  Office Viewing Architecture   
cu86   ExceptionCache Creation Job encountered an exception 
[JobId: 0ee8f842-6624-4b99-a4f3-6eb3c86a4be8] System.NullReferenceException: 
Object reference not set to an instance of an object. at 
Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) at 
Microsoft.SharePoint.SPSite.GetSPRequest() at 
Microsoft.SharePoint.SPSite.get_Request() at 
Microsoft.SharePoint.SPSite.get_Usage() at 
Microsoft.Office.Web.Environment.Sharepoint.WacSharepointCacheOM.EnsureCacheSiteCollection(SPWebApplication
 webApp, Boolean elevateReturn, String ownerLogin, String ownerName, String 
ownerEmail) at 
Microsoft.Office.Web.Environment.Sharepoint.WacSharepointCacheOM.EnsureCacheSiteCollection(SPWebApplication
 webApp) at 
Microsoft.Office.Web.Environment.Sharepoint.CacheCreationJob.Execute(SPJo...
 64b4be31-98ad-413a-95cf-6dac151e1300
11/07/2011 12:05:00.91*   OWSTIMER.EXE (0x20BC) 
0x2378  Office Web Apps  Office Viewing 
Architecture cu86   Exception...bState jobState)   
64b4be31-98ad-413a-95cf-6dac151e1300
11/07/2011 12:05:00.91 OWSTIMER.EXE (0x20BC) 0x2378 
 Office Web Apps  Unified Logging Service   
  c91s   Monitorable   Watson bucket parameters: Office Web Apps, 
ULSException14, 52a97675 "office web apps", 0e00178d "14.0.6029.0", 1f65804a 
"microsoft.sharepoint", 0e0017dd "14.0.6109.0", 4e54d0e1 "wed aug 24 20:22:25 
2011", 5786 "5786", 01aa1204 "01aa1204", 4a6d3421 
"nullreferenceexception", 63753836 "cu86"
64b4be31-98ad-413a-95cf-6dac151e1300

From: ozmoss-boun...@ozmoss.com 
[mailto:ozmoss-boun...@ozmoss.com] 
On Behalf Of Aaron Saikovski
Sent: Monday, 7 November 2011 12:34 PM
To: ozMOSS
Subject: RE: SPS2010 Office Web Apps - Cache error

Anything in the ULs logs?

From: ozmoss-boun...@ozmoss.com 
[mailto:ozmoss-boun...@ozmoss.com] 
On Behalf Of Nigel Hertz
Sent: Monday, 7 November 2011 12:13 PM
To: ozMOSS
Subject: RE: SPS2010 Office Web Apps - Cache error

Yup, got a root site collection. Also, when I remove and recreate the cache, it 
creates it as http://servername/sites/Office_Viewing_Service_Cache/ - and the 
site is accessible.

I've just checked, and I can open a word doc and edit it in the browser and 
everything, so Web Apps is working - it's just this cache error in the logs (or 
caching that doesn't appear to be working)


From: ozmoss-boun...@ozmoss.com 
[mailto:ozmoss-boun...@ozmoss.com] 
On Behalf Of Aaron Saikovski
Sent: Monday, 7 November 2011 10:28 AM
To: ozMOSS
Subject: RE: SPS2010 Office Web Apps - Cache error

Do you have a root site collection? /

That is where OWA cache is stored or you could create a web app with a root 
site collection and have the OWA hosted and shared there.
Check out:

http://technet.microsoft.com/en-us/library/ff431687.aspx

and here:
http://blogs.msdn.com/b/aaronsaikovski/archive/2011/10/21/optimising-office-web-apps-rendering-performance.aspx

hth

From: ozmoss-boun...@ozmoss.com 
[mailto:ozmoss-boun...@ozmoss.com] 
On Behalf Of Nigel Hertz
S

RE: Import error - guidance on troubleshooting please.

2011-11-07 Thread Paul Noone
I'd start by ditching dependencies and security on the export and see if it 
will import OK.


From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Mike MOSSuMS Stringfellow
Sent: Monday, 7 November 2011 6:10 PM
To: ozmoss@ozmoss.com
Subject: Import error - guidance on troubleshooting please.

Any advice on the quickest way to trouble-shoot the below error when importing 
a list that was exported from a different farm?

Are the ULS logs the place to start, or does the import show all the info 
available to stdout?

Or does anyone recommend a tool or technique that gives generally better 
rsults/insights that the standard import/export - e.g. gl-exportlist and 
gl-importlist?

In anticipation, thanks for your help!


export-spweb -IDENTITY http://OldSiteURL -ITEMURL 
"OldListURL" -PATH c:\temp\export.cmp -FORCE -INCLUDEUSERSECURITY 
-INCLUDEVERSIONS 4

import-spweb -IDENTITY https://NewSiteURL -PATH 
c:\temp\export.cmp -FORCE -INCLUDEUSERSECURITY -UPDATEVERSIONS OVERWRITE 
-VERBOSE

[7/11/2011 10:29:14 AM] [List] [ListName] Progress: Importing
[7/11/2011 10:29:14 AM] [List] [ListName]   ExtendedVerbose: Creating
[7/11/2011 10:29:14 AM] [List] [ER.BusinessUnits]   Error: An unexpected error 
has occurred.
[7/11/2011 10:29:14 AM] [List] [ER.BusinessUnits]   Debug:at 
Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, 
Guid& pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, 
String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int32 iVersion, 
Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, 
String bstrEventSinkAssembly, String bstrEventSinkClass, String 
bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, 
Boolean bCompressedSchema, DateTime dtTimeCreated)
   at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb 
parentWeb, Dictionary`2 listMetaData, Boolean usingPublicSchema)
   at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, 
SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
   at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object 
obj, SerializationInfo objectData, ISerializationSurrogate surrogate, 
ISurrogateSelector selector)
[7/11/2011 10:29:14 AM] FatalError: An unexpected error has occurred.
[7/11/2011 10:29:14 AM] Debug:at 
Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
   at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, 
Guid& pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, 
String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int32 iVersion, 
Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, 
String bstrEventSinkAssembly, String bstrEventSinkClass, String 
bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, 
Boolean bCompressedSchema, DateTime dtTimeCreated)
   at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb 
parentWeb, Dictionary`2 listMetaData, Boolean usingPublicSchema)
   at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, 
SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
   at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object 
obj, SerializationInfo objectData, ISerializationSurrogate surrogate, 
ISurrogateSelector selector)
   at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType, 
Boolean isChildObject)
   at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type 
objectType, Boolean isChildObject, DeploymentObject envelope)
   at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream 
serializationStream)
   at Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream 
serializationStream)
   at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()
   at Microsoft.SharePoint.Deployment.SPImport.Run()
[7/11/2011 10:29:14 AM] Progress: Import did not complete.
[7/11/2011 10:29:14 AM] Finish Time: 7/11/2011 10:29:14 AM.
[7/11/2011 10:29:14 AM] Duration: 00:01:39
[7/11/2011 10:29:14 AM] Finished with 0 warnings.
[7/11/2011 10:29:14 AM] Finished with 2 errors.

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


RE: SPS2010 Office Web Apps - Cache error

2011-11-07 Thread Nigel Hertz
No luck.  Will see if I can replicate it in our dev environment before worrying.

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Aaron Saikovski
Sent: Monday, 7 November 2011 1:03 PM
To: ozMOSS
Subject: RE: SPS2010 Office Web Apps - Cache error

Also try this:
http://technet.microsoft.com/en-us/library/ee837422.aspx

maybe move the cache

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Nigel Hertz
Sent: Monday, 7 November 2011 12:55 PM
To: ozMOSS
Subject: RE: SPS2010 Office Web Apps - Cache error

Nothing that really makes sense to me :(


11/07/2011 12:05:00.90 OWSTIMER.EXE (0x20BC) 0x2378 
 Office Web Apps  Office Viewing Architecture   
cu85   Medium   Cache Creation Job Starting [JobId: 
0ee8f842-6624-4b99-a4f3-6eb3c86a4be8]
64b4be31-98ad-413a-95cf-6dac151e1300
11/07/2011 12:05:00.91 OWSTIMER.EXE (0x20BC) 0x2378 
 Office Web Apps  Office Viewing Architecture   
cu86   ExceptionCache Creation Job encountered an exception 
[JobId: 0ee8f842-6624-4b99-a4f3-6eb3c86a4be8] System.NullReferenceException: 
Object reference not set to an instance of an object. at 
Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) at 
Microsoft.SharePoint.SPSite.GetSPRequest() at 
Microsoft.SharePoint.SPSite.get_Request() at 
Microsoft.SharePoint.SPSite.get_Usage() at 
Microsoft.Office.Web.Environment.Sharepoint.WacSharepointCacheOM.EnsureCacheSiteCollection(SPWebApplication
 webApp, Boolean elevateReturn, String ownerLogin, String ownerName, String 
ownerEmail) at 
Microsoft.Office.Web.Environment.Sharepoint.WacSharepointCacheOM.EnsureCacheSiteCollection(SPWebApplication
 webApp) at 
Microsoft.Office.Web.Environment.Sharepoint.CacheCreationJob.Execute(SPJo...
 64b4be31-98ad-413a-95cf-6dac151e1300
11/07/2011 12:05:00.91*   OWSTIMER.EXE (0x20BC) 
0x2378  Office Web Apps  Office Viewing 
Architecture cu86   Exception...bState jobState)   
64b4be31-98ad-413a-95cf-6dac151e1300
11/07/2011 12:05:00.91 OWSTIMER.EXE (0x20BC) 0x2378 
 Office Web Apps  Unified Logging Service   
  c91s   Monitorable   Watson bucket parameters: Office Web Apps, 
ULSException14, 52a97675 "office web apps", 0e00178d "14.0.6029.0", 1f65804a 
"microsoft.sharepoint", 0e0017dd "14.0.6109.0", 4e54d0e1 "wed aug 24 20:22:25 
2011", 5786 "5786", 01aa1204 "01aa1204", 4a6d3421 
"nullreferenceexception", 63753836 "cu86"
64b4be31-98ad-413a-95cf-6dac151e1300

From: ozmoss-boun...@ozmoss.com 
[mailto:ozmoss-boun...@ozmoss.com] 
On Behalf Of Aaron Saikovski
Sent: Monday, 7 November 2011 12:34 PM
To: ozMOSS
Subject: RE: SPS2010 Office Web Apps - Cache error

Anything in the ULs logs?

From: ozmoss-boun...@ozmoss.com 
[mailto:ozmoss-boun...@ozmoss.com] 
On Behalf Of Nigel Hertz
Sent: Monday, 7 November 2011 12:13 PM
To: ozMOSS
Subject: RE: SPS2010 Office Web Apps - Cache error

Yup, got a root site collection. Also, when I remove and recreate the cache, it 
creates it as http://servername/sites/Office_Viewing_Service_Cache/ - and the 
site is accessible.

I've just checked, and I can open a word doc and edit it in the browser and 
everything, so Web Apps is working - it's just this cache error in the logs (or 
caching that doesn't appear to be working)


From: ozmoss-boun...@ozmoss.com 
[mailto:ozmoss-boun...@ozmoss.com] 
On Behalf Of Aaron Saikovski
Sent: Monday, 7 November 2011 10:28 AM
To: ozMOSS
Subject: RE: SPS2010 Office Web Apps - Cache error

Do you have a root site collection? /

That is where OWA cache is stored or you could create a web app with a root 
site collection and have the OWA hosted and shared there.
Check out:

http://technet.microsoft.com/en-us/library/ff431687.aspx

and here:
http://blogs.msdn.com/b/aaronsaikovski/archive/2011/10/21/optimising-office-web-apps-rendering-performance.aspx

hth

From: ozmoss-boun...@ozmoss.com 
[mailto:ozmoss-boun...@ozmoss.com] 
On Behalf Of Nigel Hertz
Sent: Monday, 7 November 2011 10:22 AM
To: ozMOSS
Subject: SPS2010 Office Web Apps - Cache error

Hi all

I'm getting a bunch of critical errors in the event viewer on our UAT server, 
which I've traced back to the "Office Web Apps Cache Creation" job (screenshot 
of the error below). The error text is "The Execute method of job definition 
Microsoft.Office.Web.Environment.Sharepoint.CacheCre

RE: Import error - guidance on troubleshooting please.

2011-11-07 Thread Matthew Cosier
My 30 second read and thoughts:

Might be a long shot, but can you verify that they are both patched to the
same versions?   Lots of serialization code being executed in that
callstack, most common issue when deserializing is due to differences in the
current code vs that of the sale object you're trying to deserialize.

 

M

 

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf
Of Mike MOSSuMS Stringfellow
Sent: Monday, 7 November 2011 6:10 PM
To: ozmoss@ozmoss.com
Subject: Import error - guidance on troubleshooting please.

 

Any advice on the quickest way to trouble-shoot the below error when
importing a list that was exported from a different farm?
 
Are the ULS logs the place to start, or does the import show all the info
available to stdout?
 
Or does anyone recommend a tool or technique that gives generally better
rsults/insights that the standard import/export - e.g. gl-exportlist and
gl-importlist?
 
In anticipation, thanks for your help!
 
 

export-spweb -IDENTITY   http://OldSiteURL -ITEMURL
"OldListURL" -PATH c:\temp\export.cmp -FORCE -INCLUDEUSERSECURITY
-INCLUDEVERSIONS 4

 

import-spweb -IDENTITY   https://NewSiteURL -PATH
c:\temp\export.cmp -FORCE -INCLUDEUSERSECURITY -UPDATEVERSIONS OVERWRITE
-VERBOSE

 

[7/11/2011 10:29:14 AM] [List] [ListName] Progress: Importing

[7/11/2011 10:29:14 AM] [List] [ListName]   ExtendedVerbose: Creating

[7/11/2011 10:29:14 AM] [List] [ER.BusinessUnits]   Error: An unexpected
error has occurred.

[7/11/2011 10:29:14 AM] [List] [ER.BusinessUnits]   Debug:at
Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)

   at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String
bstrUrl, Guid& pguidListId, String bstrTitle, String bstrDescription, Int32
lTemplateID, String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags,
Int32 iVersion, Int32 iAuthor, String bstrFields, String bstrContentTypes,
String bstrImageUrl, String bstrEventSinkAssembly, String
bstrEventSinkClass, String bstrEventSinkData, Guid guidDocTemplateId, String
bstrViews, String bstrForms, Boolean bCompressedSchema, DateTime
dtTimeCreated)

   at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb
parentWeb, Dictionary`2 listMetaData, Boolean usingPublicSchema)

   at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object
obj, SerializationInfo info, StreamingContext context, ISurrogateSelector
selector)

   at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object
obj, SerializationInfo objectData, ISerializationSurrogate surrogate,
ISurrogateSelector selector)

[7/11/2011 10:29:14 AM] FatalError: An unexpected error has occurred.

[7/11/2011 10:29:14 AM] Debug:at
Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)

   at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String
bstrUrl, Guid& pguidListId, String bstrTitle, String bstrDescription, Int32
lTemplateID, String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags,
Int32 iVersion, Int32 iAuthor, String bstrFields, String bstrContentTypes,
String bstrImageUrl, String bstrEventSinkAssembly, String
bstrEventSinkClass, String bstrEventSinkData, Guid guidDocTemplateId, String
bstrViews, String bstrForms, Boolean bCompressedSchema, DateTime
dtTimeCreated)

   at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb
parentWeb, Dictionary`2 listMetaData, Boolean usingPublicSchema)

   at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object
obj, SerializationInfo info, StreamingContext context, ISurrogateSelector
selector)

   at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object
obj, SerializationInfo objectData, ISerializationSurrogate surrogate,
ISurrogateSelector selector)

   at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type
objectType, Boolean isChildObject)

   at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type
objectType, Boolean isChildObject, DeploymentObject envelope)

   at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream
serializationStream)

   at Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream
serializationStream)

   at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()

   at Microsoft.SharePoint.Deployment.SPImport.Run()

[7/11/2011 10:29:14 AM] Progress: Import did not complete.

[7/11/2011 10:29:14 AM] Finish Time: 7/11/2011 10:29:14 AM.

[7/11/2011 10:29:14 AM] Duration: 00:01:39

[7/11/2011 10:29:14 AM] Finished with 0 warnings.

[7/11/2011 10:29:14 AM] Finished with 2 errors.

 

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