Multi language web part
i have developed a web part in C# 2013 that displays tow language ,
after deploying it in SharePoint 2013 the web part only display English recourse
any suggestions ??
best regards
Since there is no much information to find what would be the issue is, just make sure from the following post that you have not missed anything
http://sharepointerthilosh.blogspot.in/2013/03/sharepoint-13-multilingual-for-visual.html
http://sharepoint.stackexchange.com/questions/91891/how-to-create-a-multilingual-visual-webpart-in-sharepoint-2013
Cheers,
Similar Messages
-
Multi language web site
What is the best way to have my web site switchable (initially from links on the main index.html page) between different languages?
Do I simply clone the English version (including all the sub-directories and structure) into a sub-directory and translate each page and put a link on the main index.html page to a translated copy of the index.html page in the German sub-directory
That would mean I effectively have two websites to maintain.
More when it is translated into more languages.
Currently all the English pages are made from a template (dwt file)
I assume this adds a level of complication to the design.
Or is there a better/easier way?
thanksThis is a website that the client did not continue with http://ncca.com.au/new/, hence it has not been finished.
In the top right hand corner are two flags, Dutch and English. By clicking on a flag, the language session variable is changed. This session variable is used througout the website to determine the content as in
if ($_SESSION['lang'] == 'en') {include("home_en.php");}
if ($_SESSION['lang'] == 'nl') {include("home_nl.php");}
If there are more languages it is better to use the select switch rather than an if statement. -
Multi-language Help in a multi-language web app
Hello!
I had posted this on the RH HTML forum but removed that and
posted here for a wider audience...
***Please note: this question is not specific to RH but is
applicable now that RH 7 is unicode enabled. If you have experience
that does not relate to RH, please share anyway!
Once I have developed WebHelp (for example) in multiple
languages, how do I connect the help files to the web application
that the help is about? How does the correct language output get
displayed? For example, the application (that the help documents)
changes its interface based on browser language. Can the
appropriate help content be displayed based on browser language?
How is multi-language help generally implemented for an end user?
And, equally important, how does context-sensitive help
(mapping) work with multiple languages?
I have never been involved in a multi-language development
effort and so I have no experience to relate this to. Any guidance
will be greatly (and gratefully
) appreciated!
KathyThat's how our developers do it, but I just want to throw in
one other detail. The help output for each language has to be in a
separate directory. So if you have 5 languages, you'll have 5
directories. It's up to the developers to code the app so it
detects the browser language, then looks in the appropriate help
directory when the user clicks your help link or icon.
--Ben -
Testing on Multi-language Web Dynpro program
Dear all,
I am trying to create a new translation for my web dynpro program with no luck, checked with the document many times and find no idea what's goind wrong...
Here my last finding, please let me know anythings I can check:
1) I tried to add a new xlf for _en and this work
2) After I switch the language, I find that the text "row x of y" in the table control changed to the language I specific, but the label still using the one in *_en.xlf
3) I also tried to use the application property to specific the sap.locale, but point 2 still happen
Thanks in advance
Regards
BillHi Bill,
You can get the user's locale like this:
IWDClientUser clientUser = WDClientUser.forceLoggedInClientUser();
Locale userLocale = clientUser.getLocale();
Afterwards you can use the Locale's methods getCountry() and getLanguage().
One thing you have to remember is reloading your WebDynpro project after adding a new language for a xlf file. Rebuilding is not enough, you have to reload your WebDynpro project (right click on the project folder in the WebDynpro Explorer and choose "Reload" in the context menu. Only then will all the property files for the corresponding xlf files generated.
Cheers Marcel -
I am building a site for a client that will ultimately be
used for a few of their international subsidiaries. What are my
options for translating a site into a language in which I have no
knowledge (e.g. French, Afrikaans)?
Thanks much,
Jonathanallmans wrote:
> I am building a site for a client that will ultimately
be used for a few of
> their international subsidiaries. What are my options
for translating a site
> into a language in which I have no knowledge (e.g.
French, Afrikaans)?
Hire two native speakers of that language. The first does the
translation. The second checks the first's work. Allot plenty
of time to
go over the work of both people in order to resolve disputes
in the
translations.
I am serious. It's the only way. I worked on a project in
five
languages, one of them Japanese, and the translation and
checking
consumed quite a bit of time. But we wanted to do it right.
If you live near a college or university, that could be a
good source
for translators.
JMS -
Web Page Composer Multi Language Content
Hi,
can the content of WPC pages language-dependant?
What is the strategy for multi-languages web sites with WPC?
I have the request of a customer who wants to display WPC content on pages dependant on the language selected by user personalization
#Thanks hsHi Holger,
I worked with WPC and don't find any difficulties. I had requirements create multilanguages interface for portal (English and Russian). Use WPC you can create multilanguages pages. First of all you create page in English, then translate it and publish. When you change language in personalization (for example from English to Russian) russian pages (which I translate in WPC) pull in Portal automatic.
Have a look this presentations
https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/904b071d-79e4-2910-70a9-f62a9004d9ad&overridelayout=true
https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/90347add-ad06-2a10-81a0-e613acff5236&overridelayout=true
Regards
Dmitriy
Edited by: Dmitry Korolev on Jul 2, 2009 9:10 AM -
Hello all,
I have what so far appears to be a fairly unique problem. We are running a multilingual SharePoint 2010 environment with English as the default language and French as the secondary. We have setup the sites in a variance relationship, but the
issue I am discussing happens outside of a variant as well.
We have created a library outside the variant (but within the collection) that the two sites must share. A list view web part was created via Designer to add to each site to provide a quick view into the list. If we are in the libary and switch
to French, then update the column label it will remember the setting (because of the resource file) and maintain it as the language is flipped back and forth. Where it doesn't work is as a web part in a variant or where the language is different.
If the language is different, the out of the box columns work find, but the custom columns (all site columns not library\list columns) remain as the english label. It doesn't matter if within a variant or outside with the browser language changed.
It always reverts back to English. It's like it isn't using the same resource file that was used in the list itself.
I created a custom view and modified it with xslt as per
http://sharepoint.stackexchange.com/questions/50004/how-to-change-column-title-for-a-view-but-not-modify-the-list but this only worked within the list and did not occur in the list view either.
I can't be the first that has come across it, either I am not performing my searches properly, no one has ever documented a fix for this or this is something we just can't fix with OOTB tools. That's the other thing, the solution has to be accomplised
OOTB or with minor client side changes. I can't fire up Visual Studio because they are piloting Office 365 and have put a "No custom code" mandate on for migration.
Thank you all in advance.Ok, I have come up with a solution. I edited the XSLT for the web part on the page. I did the following:
1. Create the variants in the Site Ccollection
2. Create the library outside of the variants.
3. Add all the columns you require for the library. It is very important all the columns are there before you move on.
4. Create a French and English view.
5. Create the list view web part via designer.
6. Add the list view web part to each site selecting the appropriate view to use.
7. Edit the page in SharePoint Designer 2010.
8. Place cursor in the column you wish to modify.
9. Click Design in the List View Tools on the ribbon.
10. Then click Customize XSLT and select Customize Item. Select this option otherwise you will generate a **LOT** of unnecessary XSL code.
11. You are looking for a piece that resembles the following:
<xsl:with-param name="fieldtitle">
<xsl:value-of select="@DisplayName"/>
</xsl:with-param>
12. Modify it by typing in the actual column name you want. You should end up with something like this:
<xsl:with-param name="fieldtitle">
New Column Name.
</xsl:with-param>
13. Now, for this page only, the column will be renamed.
There are some caveats:
1. Doesn’t appear to work in a publishing portal. I think this has to do with how SP stores the pages in this case. In a publishing portal you can only modify the page layout which won’t work as we need to modify the content.
2. If you add another column, you will need to repeat the XSLT modification
Anyways, I hope this helps out any others with the same issue or need as I had. -
hello,
we have 3 server sharepoint 2010 farm as a live system and a 1 server for development and test system. I've got a problem with one of our portals that gives correlation ID (in 2 or 3 times a week) on all my dataview web parts (total 8 Dataview
WP) until i make IIS reset for that portal. (but same portal works like magic on test system over 3 weeks now). there is no custom code in the page other than the customized masterpage and css. and just reseting the IIS solves the problem for a couple
of days but i need to fix that permanantly. if anyone can help me about that i will be happy. thank you all in advance.
here is the log for the correlation ID;
11/08/2011 09:40:11.72 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Logging Correlation Data xmnv Medium Name=Request (GET:http://www.efesithelpdesk.com:80/defaulttr.aspx) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:11.79 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (GetFileAndMetaInfo). Execution Time=63,946744628158 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:11.79 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (GetWebPartPageContent). Execution Time=64,2515319684485 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:11.79 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Logging Correlation Data xmnv Medium Site=/ 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:11.79 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=65.3603321092485 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.22 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=361.680395134018 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.25 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.25* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.25 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (DataBinding DataFormWebPart (HelpDesk)). Execution Time=391.723110060077 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.25 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (Activate web part connections). Execution Time=416.389513192319 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.28 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.28* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.30 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=18.8157992147047 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.34 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.34* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.34 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (DataBinding DataFormWebPart (Related Items in Approves)).
Execution Time=56.5768833748423 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.36 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=16.99475771362 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.41 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.41* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.41 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (DataBinding DataFormWebPart (Related Items in Tasks)).
Execution Time=59.0992011554541 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.43 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=20.8265994700444 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.44 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.44* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.46 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=18.1539832576487 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.47 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.47* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.49 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=13.4458429772499 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.49 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.49* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.52 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=23.1282886512113 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.53 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High Error while executing web part: System.InvalidProgramException: Common Language
Runtime detected an invalid program. at Execute(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)
at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.53* w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Web Parts 89a1 High ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
11/08/2011 09:40:12.57 w3wp.exe (0x1AF4) 0x0BB4 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://www.efesithelpdesk.com:80/defaulttr.aspx)). Execution
Time=845.499567682485 841eadfa-2a71-4cd3-85a4-7b1e3d75355fNicholas Mulder's summary is exactly the issue our server is facing. App pool recycle kicks-off at 2:04am and by 2:06am all our data view web parts are displaying "Unable to display web part ..." I get the same error messages in ULS logs every
time it recycles, however it is able to correct itself some of the time. The other times which is every few days, the web parts never come back up.
Here are a few lines from the log leading up to the recycle and a few after.
-The application domain /LM/W3SVC/1304874868/ROOT-1-130058022909222844 is unloading and going to be recycled.
-Shutdown Reason: HostingEnvironment initiated shutdown HostingEnvironment caused shutdown
-AppDomain shutdown initiated
-Flushing connection pool 'Data Source=SPSQL;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Connect Timeout=15'
-An application domain named /LM/W3SVC/1304874868/ROOT-1-130058174460198926 has just been loaded.
-Failed to look up string with key "FSAdmin_SiteSettings_UserContextManagement_ToolTip", keyfile Microsoft.Office.Server.Search.
-Error initializing Safe control - Assembly:Microsoft.Office.SharePoint.ClientExtensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c TypeName: Microsoft.Office.SharePoint.ClientExtensions.Publishing.TakeListOfflineRibbonControl Error:
-No webtemp*.xml files found for language 1033 and product version 3.
-No webtemp*.xml files found for language 1033 and product version 2.
-Failed to find generic XML file at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\SiteTemplates\STS\xml\stdview.xml"
-Failed to find generic XML file at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\SiteTemplates\STS\xml\stdview.xml"
-Error while executing web part: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
-Error while executing web part: System.ArgumentException: An item with the same key has already been added.
-Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.
-AddWithFile:DfwpXslFilesHashCache=Microsoft.SharePoint.WebPartPages.CloneableHashTable
-Error while executing web part: System.InvalidProgramException: Common Language Runtime detected an invalid program. -
Web part not visible after changing the language
Hello,
we use several languages in our SharePoint based intranet and on our landing page we use content query web part. We use 4 languages and for 3 languages everything works fine but for one language the content query web part is not displayed for standard user.
For site collection admin user everything works fine. Has anyone any idea what the reason for that could be?http://sharepoint.stackexchange.com/questions/84774/content-search-web-part-missing
his webpart has not yet been rolled out to all tenants. The roll out is not yet fully completed.
You can use the trick from
here to check if you have gotten the roll out:
Log in to your SharePoint Online
Navigate to https://YOUR ADDRESS/_vti_pvt/service.cnf
If vti_extenderversion:SR|16.0.0.2120 you should have Content by Search webpart
http://www.looselytyped.net/2013/10/17/content-by-search-webpart-in-office-365/
If this helped you resolve your issue, please mark it Answered -
Does WEB UI Supports multi-language?
Hello Experts,
Does WEB UI supports multi-language?
If yes, what are the languages does it support?
If yes, what are the settings involved to support multi-language?
Thanks in advance & appreciate your replies.
RohanRohan,
German is "easy", lol.. SAP supports German out of the box lol... Seriously though the general procedure is to install the approriate language packs for the system and then login into the system under that particular language using the webUI.
If your system is unicode(hopefully) so, then you will have no issues. Keep in mind you'll need to translate any custom texts into the approriate language, but that is not too hard. I haven't done it myself, but translation in SAP is relatively straightforward.
Pretty straightforward especially for the languages you mentioned.
Take care,
Stephen -
Create a Site Definition file with Visual Web part in Visual Studio
I tried to create a site definition file in Visual Studio 2013 and SharePoint 2013 by following the MSDN tutorial:
Walkthrough: Create a Basic Site Definition Project. Near the end, I added a virtual web part control to the site definition and registered MyWebPartControls in the site definition's default ASPX page as written in the MSDN tutorial:
Unfortunately, IntelliSense doesn't show any MyWebPartControls: tags, and VisualWebPart1 is highlighted with a warning “Element 'SMWebPart3' is not a known element. This can
occur if there is a compilation error in the Web site, or the web.config file is missing.”
Since it’s a warning, I went ahead to build and deploy the solution. However, when I used the site definition template to create a subsite, it returned a parser error:
Unknown server tag 'MyWebPartControls:TestSiteDef1.VisualWebPart1'
I spent half day researching and debugging, and finally solved the problem. The issue is on the registration line:
<%@ Register Tagprefix="MyWebPartControls" Namespace="TestSiteDef.VisualWebPart1" Assembly="$SharePoint.Project.AssemblyFullName$" %>
The $SharePoint.Project.AssemblyFullName$ is a replaceable parameter to provide values for SharePoint solution items whose actual values are not known at design time. Unfortunately, it does not find the right assembly name during the deployment. It should
be replaced by the Assembly’s Strong Name. Here is how I fixed the problem step by step:
In Solution Explorer, open the package node and double click Package.package
Click Manifest tab in the Package.package.
Copy the full assembly name in the package’s manifest. It may be similar like this:
Assembly="TestSiteDef,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
Back to the site definition’s default.aspx page, replace the
Assembly="$SharePoint.Project.AssemblyFullName"
in the registration line with the copied text:
Assembly="TestSiteDef,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
Change the Namespace from
Namespace="TestSiteDef.VisualWebPart1"
to
Namespace="TestSiteDef".
The line to register the web part in a site definition file will look like this:
<%@
Register
Tagprefix="MyWebPartControls"
Namespace="TestSiteDef "
Assembly="TestSiteDef, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
%>
Clean, build and deploy the solution. It works like charm. (Note: the warning message on visual web part may still exist, but you can ignore it).Assuming your .ascx.vb file is inheriting from the web part class, you can add the custom properties in the same manor (language syntax aside).
Be sure to use the attributes to correctly identify and scope the properties. (see:
http://www.sbrickey.com/Tech/Blog/Post/SharePoint_Attributes_for_Web_Part_properties)
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com -
Oracle 9i Support for multi language is not working.. Giving question mark
HI,
We have an application which uses oracle 9i as the database. Riight now we are supporting only english and there is a requirement to support multiple languages like korean, chineese and japaneese.
But we are planning to migrate one part of the application to support multi languages. Means it may affect around 10 tables but with huge data. Totally we have around 100 tables.
How to enable the database for supporting multiple langugages.?
Is there any way to enable only the few tables supporting multiple languages. Because if we change the database level parameters for supporting languages, we may need to migrate entire tables. this will be a huge task.
Even if want to set the parameters for supporting multiple languages.. how to set it. Is it possible set it in the existing database or do we need to re-create the table with these prameters.
I have read in some documentation, that we can create table columns with nVarchar2 for supporting multi languages. I have created it. but if i copy some other language characters into those columns, it is giving question mark.
Is it possible to do search using text in native langugage like chineese..
Could somebody guide me on the above clarificationa and what would be the best approach..
Thanks in advance
Jino
Regards,
Jino George
Ext: 6520You should not use any more Oracle 9.0.1 but at least Oracle 9.2.0.8 to get some extended support if you really cannot upgrade to 10g.
I don't have any Oracle 9.x database available but I've run successfully following test with Oracle 10.2.0.1 in character mode under Linux:
oracle@pbell:~$ export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
oracle@pbell:~$ sqlplus / @nls
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Aug 29 17:29:56 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> drop table t;
Table dropped.
SQL> select * from v$nls_parameters where parameter like '%SET%';
PARAMETER
VALUE
NLS_CHARACTERSET
WE8ISO8859P1
NLS_NCHAR_CHARACTERSET
AL16UTF16
SQL> create table t ( data nvarchar2(100));
Table created.
SQL> insert into t values(unistr('\76EE\7684\5730'));
1 row created.
SQL> select * from t;
DATA
目的地Try to make sure you have the right NLS_LANG setting on the client side (under Windows this is a registry setting). -
How to add a scrolling text to display in a web part?
Hi,
I have 3 files in a doc library that is been referenced by a web part xml viewer in a page. I am referring only the xml file.
WarningMessage.xml
<script type="text/javascript" src="http://icare/sites/IT/tst/XmlWebParts/WarningMessage/WarningMessage.js"></script>
WarningMessage.js
<script type="text/javascript">
<
//set the marquee parameters
function init() { rtl_marquee.start(); }
var rtl_marquee_Text = 'JavaScript scrolling text';
var rtl_marquee_Direction = 'left';
var rtl_marquee_Contents='<span style="font-family:Comic Sans MS;font-size:12pt;white-space:nowrap;">' + rtl_marquee_Text + '</span>';
rtl_marquee = new xbMarquee('rtl_marquee', '19px', '90%', 6, 100, rtl_marquee_Direction, 'scroll', rtl_marquee_Contents);
window.setTimeout( init, 200);
</script>
and
xbMarquee.js
document.writeln('<style type="text/css">');
document.writeln(' div.marqueecenter1 { text-align: center; }');
document.writeln(' div.marqueecenter2 { margin- margin-right: auto; }');
document.writeln(' div.marqueeleft1 { text-align: left; }');
document.writeln(' div.marqueeleft2 { margin- margin-right: auto; }');
document.writeln(' div.marqueeright1 { text-align: right; }');
document.writeln(' div.marqueeright2 { margin- margin-right: 0; }');
document.writeln('</style>');
function xbMarquee(id, height, width, scrollAmount, scrollDelay, direction, behavior, html)
this.id = id;
this.scrollAmount = scrollAmount ? scrollAmount : 6;
this.scrollDelay = scrollDelay ? scrollDelay : 85;
this.direction = direction ? direction.toLowerCase() : 'left';
this.behavior = behavior ? behavior.toLowerCase() : 'scroll';
// this.name = 'xbMarquee_' + (++xbMarquee._name);
this.name = id;
this.runId = null;
this.html = html;
this.isHorizontal = ('up,down'.indexOf(this.direction) == -1);
if (typeof(height) == 'number')
this.height = height;
this.heightUnit = 'px';
else if (typeof(height) == 'string')
this.height = parseInt('0' + height, 10);
this.heightUnit = height.toLowerCase().replace(/^[0-9]+/, '');
else
this.height = 100;
this.heightUnit = 'px';
if (typeof(width) == 'number')
this.width = width;
this.widthUnit = 'px';
else if (typeof(width) == 'string')
this.width = parseInt('0' + width, 10);
this.widthUnit = width.toLowerCase().replace(/^[0-9]+/, '');
else
this.width = 100;
this.widthUnit = 'px';
// xbMarquee UI events
this.onmouseover = null;
this.onmouseout = null;
this.onclick = null;
// xbMarquee state events
this.onstart = null;
this.onbounce = null;
var markup = '';
if (document.layers)
markup = '<ilayer id="' + this.id + 'container" name="' + this.id + 'container" ' +
'height="' + height + '" ' +
'width="' + width + '" ' +
'clip="' + width + ', ' + height + '" ' +
'>' +
'<\/ilayer>';
else if (document.body && typeof(document.body.innerHTML) != 'string')
markup = '<div id="' + this.id + 'container" name="' + this.id + 'container" ' +
'style=" ' +
'height: ' + this.height + this.heightUnit + '; ' +
'width: ' + this.width + this.widthUnit + '; ' +
'clip: rect(0px, ' + this.width + this.widthUnit + ', ' + this.height + this.heightUnit + ', 0px); ' +
'">' +
'<div id="' + this.id + '" style="' +
(this.isHorizontal ? 'width:0px;' : '') + // if we scroll horizontally, make the text container as small as possible
'">' +
(this.isHorizontal ? '<nobr>' : '') +
this.html +
(this.isHorizontal ? '<\/nobr>' : '') +
'<\/div>' +
'<\/div>';
else
markup = '<div id="' + this.id + 'container" name="' +
this.id + 'container" ' +
'style=" overflowY: visible; ' +
'height: ' + this.height + this.heightUnit + '; ' +
'width: ' + this.width + this.widthUnit + '; ' +
'clip: rect(0px, ' + this.width + this.widthUnit + ', ' + this.height + this.heightUnit + ', 0px); ' +
'">' +
'<\/div>';
document.write(markup);
window[this.name] = this;
// Class Properties/Methods
xbMarquee._name = -1;
xbMarquee._getInnerSize = function(elm, propName)
var val = 0;
if (document.layers)
// navigator 4
val = elm.document[propName];
else if (elm.style && typeof(elm.style[propName]) == 'number')
// opera
// bug in Opera 6 width/offsetWidth. Use clientWidth
if (propName == 'width' && typeof(elm.clientWidth) == 'number')
val = elm.clientWidth;
else
val = elm.style[propName];
else
//mozilla and IE
switch (propName)
case 'height':
if (typeof(elm.offsetHeight) == 'number')
val = elm.offsetHeight;
break;
case 'width':
if (typeof(elm.offsetWidth) == 'number')
val = elm.offsetWidth;
break;
return val;
xbMarquee.getElm = function(id)
var elm = null;
if (document.getElementById)
elm = document.getElementById(id);
else
elm = document.all[id];
return elm;
xbMarquee.dispatchUIEvent = function (event, marqueeName, eventName)
var marquee = window[marqueeName];
var eventAttr = 'on' + eventName;
if (!marquee)
return false;
if (!event && window.event)
event = window.event;
switch (eventName)
case 'mouseover':
case 'mouseout':
case 'click':
if (marquee[eventAttr])
return marquee['on' + eventName](event);
return false;
xbMarquee.createDispatchEventAttr = function (marqueeName, eventName)
return 'on' + eventName + '="xbMarquee.dispatchUIEvent(event, \'' + marqueeName + '\', \'' + eventName + '\')" ';
// Instance properties/methods
xbMarquee.prototype.start = function ()
var markup = '';
this.stop();
if (!this.dirsign)
if (!document.layers)
this.containerDiv = xbMarquee.getElm(this.id + 'container')
if (typeof(this.containerDiv.innerHTML) != 'string')
return;
// adjust the container size before inner div is filled in
// so IE will not hork the size of percentage units
var parentNode = null;
if (this.containerDiv.parentNode)
parentNode = this.containerDiv.parentNode;
else if (this.containerDiv.parentElement)
parentNode = this.containerDiv.parentElement;
if (parentNode &&
typeof(parentNode.offsetHeight) == 'number' &&
typeof(parentNode.offsetWidth) == 'number')
if (this.heightUnit == '%')
this.containerDiv.style.height =
parentNode.offsetHeight * (this.height/100) + 'px';
if (this.widthUnit == '%')
this.containerDiv.style.width =
parentNode.offsetWidth * (this.width/100) + 'px';
markup += '<div id="' + this.id + '" name="' + this.id + '" ' +
'style=" ' +
//(this.isHorizontal ? 'width:0px;' : '') + // if we scroll horizontally, make the text container as small as possible
'" ' +
xbMarquee.createDispatchEventAttr(this.name, 'mouseover') +
xbMarquee.createDispatchEventAttr(this.name, 'mouseout') +
xbMarquee.createDispatchEventAttr(this.name, 'click') +
'>' +
(this.isHorizontal ? '<nobr>' : '') +
this.html +
(this.isHorizontal ? '<\/nobr>' : '') +
'<\/div>';
this.containerDiv.innerHTML = markup;
this.div = xbMarquee.getElm(this.id);
this.styleObj = this.div.style;
else /* if (document.layers) */
this.containerDiv = document.layers[this.id + 'container'];
markup =
'<layer id="' + this.id + '" name="' + this.id + '" top="0" left="0" ' +
xbMarquee.createDispatchEventAttr(this.name, 'mouseover') +
xbMarquee.createDispatchEventAttr(this.name, 'mouseout') +
xbMarquee.createDispatchEventAttr(this.name, 'click') +
'>' +
(this.isHorizontal ? '<nobr>' : '') +
this.html +
(this.isHorizontal ? '<\/nobr>' : '') +
'<\/layer>';
this.containerDiv.document.write(markup);
this.containerDiv.document.close();
this.div = this.containerDiv.document.layers[this.id];
this.styleObj = this.div;
if (this.isHorizontal && this.height < xbMarquee._getInnerSize(this.div, 'height') )
this.height = xbMarquee._getInnerSize(this.div, 'height')
this.containerDiv.style.height = this.height + this.heightUnit;
this.containerDiv.style.clip = 'rect(0px, ' + this.width + this.widthUnit + ', ' + this.height + this.heightUnit + ', 0px)';
// Start must not run until the page load event has fired
// due to Internet Explorer not setting the height and width of
// the dynamically written content until then
switch (this.direction)
case 'down':
this.dirsign = 1;
this.startAt = -xbMarquee._getInnerSize(this.div, 'height');
this._setTop(this.startAt);
if (this.heightUnit == '%')
this.stopAt = this.height * xbMarquee._getInnerSize(this.containerDiv, 'height') / 100;
else
this.stopAt = this.height;
break;
case 'up':
this.dirsign = -1;
if (this.heightUnit == '%')
this.startAt = this.height * xbMarquee._getInnerSize(this.containerDiv, 'height') / 100;
else
this.startAt = this.height;
this._setTop(this.startAt);
this.stopAt = -xbMarquee._getInnerSize(this.div, 'height');
break;
case 'right':
this.dirsign = 1;
this.startAt = -xbMarquee._getInnerSize(this.div, 'width');
this._setLeft(this.startAt);
if (this.widthUnit == '%')
this.stopAt = this.width * xbMarquee._getInnerSize(this.containerDiv, 'width') / 100;
else
this.stopAt = this.width;
break;
case 'left':
default:
this.dirsign = -1;
if (this.widthUnit == '%')
this.startAt = this.width * xbMarquee._getInnerSize(this.containerDiv, 'width') / 100;
else
this.startAt = this.width
this._setLeft(this.startAt);
// this.stopAt = -xbMarquee._getInnerSize(this.div,'width')*2;
// this method does not work very well with FireFox. offsetWidth property used in this function returns the absolute width of the div container
// instead of the new offsetWidth when innerHTML is added or when the div becomes wider. To overcome this a new span element is added to
// the document body to measure the new offsetwidth and then it is removed.
var temp_span = document.createElement('span');
temp_span.id = 'span_' + this.div.id;
temp_span.innerHTML = this.html;
document.body.appendChild(temp_span);
this.stopAt = - temp_span.firstChild.firstChild.offsetWidth;
document.body.removeChild(temp_span);
break;
this.newPosition = this.startAt;
this.styleObj.visibility = 'visible';
this.newPosition += this.dirsign * this.scrollAmount;
if ( (this.dirsign == 1 && this.newPosition > this.stopAt) ||
(this.dirsign == -1 && this.newPosition < this.stopAt) )
if (this.behavior == 'alternate')
if (this.onbounce)
// fire bounce when alternate changes directions
this.onbounce();
this.dirsign = -this.dirsign;
var temp = this.stopAt;
this.stopAt = this.startAt;
this.startAt = temp;
else
// fire start when position is a start
if (this.onstart)
this.onstart();
this.newPosition = this.startAt;
switch(this.direction)
case 'up':
case 'down':
this._setTop(this.newPosition);
break;
case 'left':
case 'right':
default:
this._setLeft(this.newPosition);
break;
this.runId = setTimeout(this.name + '.start()', this.scrollDelay);
xbMarquee.prototype.stop = function ()
if (this.runId)
clearTimeout(this.runId);
this.runId = null;
xbMarquee.prototype.setInnerHTML = function (html)
if (typeof(this.div.innerHTML) != 'string')
return;
var running = false;
if (this.runId)
running = true;
this.stop();
this.html = html;
this.dirsign = null;
if (running)
this.start();
// fixes standards mode in gecko
// since units are required
if (document.layers)
xbMarquee.prototype._setLeft = function (left)
this.styleObj.left = left;
xbMarquee.prototype._setTop = function (top)
this.styleObj.top = top;
else
xbMarquee.prototype._setLeft = function (left)
this.styleObj.left = left + 'px';
xbMarquee.prototype._setTop = function (top)
this.styleObj.top = top + 'px';
I have nothing displaying in the web-part. How can I make this to work?This is how i was able to do it. Edit html source.
<div align="center"><marquee id='scroll_news4' bgcolor=#ff9966 "><font color="#000000" size="+1" ><strong>Outlook is down! IT is working on it! </strong></font></marquee></div>
<input type='Button' value='Stop' id ='b1' onClick='button_click()';>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function button_click()
if(document.getElementById('b1').value=="Start"){
document.getElementById('b1').value="Stop";
document.getElementById('scroll_news4').start();
}else{
document.getElementById('b1').value="Start";
document.getElementById('scroll_news4').stop();
// End -->
</script> -
Cannot create mysites from powershell: Original XSLT List View Web Part not found
I have a bizarre problem in my SharePoint 2013 farm. This does not occur in my test farm, only in the farm we were going to go live with.
I'm on windows Server 2012, SQLServer 2012 SP1, SharePoint 2013 April CU. 1 appserver/centraladmin server, 2 web servers.
When I log into our mysitehost and click newsfeed, it will create a mysite (even though first it displays "we are sorry there was a problem creating your site")
But from powershell, whether I use $UserProfile.CreatePersonalSite() or New-SPSite, I get the following error:
Original XSLT List View Web Part not found
So far I've only found one other person with this:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2503e42c-e114-4e89-8e00-89fe70f0b154/cannot-create-sharepoint-mysite-programmatically
This is a brand new farm, created with the same scripts I created my test farm with, and same version of SharePoint. Only the service accounts are different. (Farm account has admin on the servers right now since I was setting up profile service).
Some other errors from the same correlation ID that look related:
It can't seem to find the listemplate 101
And something looks wrong with the MySiteDocumentLibrary feature
I have tried the following:
1. run psconfig.exe on each server
2. install-spfeature -AllExistingFeatures
3. looped through the directory under Features and for each called Install-SPFeature $dirname -Force
4. uninstalled and reinstalled MySiteDocumentLibrary feature
5. blew away the whole farm (removed all servers from farm, deleted all databases) and recreated it.
6. tried creating the UPA from the CentralAdmin gui.
The only real difference I can think of between the working farm and non working farm is, I installed the working farm using RTM, then as they came out added the March PU and April CU. For this farm I installed RTM and March and April, and then ran my build
farm script.
I am at a loss. What do I need to do, re-install the binaries? That's all I can think of. What I love is that our test / POC system worked fine, and now 2 weeks before go-live I'm seeing errors on the production servers I've never seen before. Using the
same scripts no less.
Feature Activation: Feature 'Fields' (ID: 'ca7bd552-10b1-4563-85b9-5ed1d39c962a') was activated
Feature Activation: Feature 'CTypes' (ID: '695b6570-a48b-4a8e-8ea5-26ea7fc1d162') was activated
No document templates uploaded for list "$Resources:core,global_onet_solutiongallery_list;" -- none found for list template "100"
Failed to find <ListTemplate> tag corresponding to ID "101", tried both onet.xml for site definition ID "0" language "1033" and global site definition. Operation failed.
No document templates uploaded for list "$Resources:core,stylelibraryList;" -- none found for list template "121".
System.Runtime.InteropServices.COMException: A user may not remove his or her own account from a site collection.<nativehr>0x81020051</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPUserCollection.UpdateMembers
Feature Activation: Feature 'MySitePersonalSite' (ID: 'f661430e-c155-438e-a7c6-c68648f1b119') was activated
Feature Activation: Activating Feature 'MySiteDocumentLibrary'
Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'MySiteDocumentLibrary'
SharePoint Foundation Upgrade MySiteDocumentLibraryFeatureReceiveraj08n INFO Creating new My Documents library
Unknown SPRequest error occurred. More information: 0x80070002
SPRequest.GetMetadataForUrl: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://contoso/personal/cbuchholz/DOCUMENTS ,METADATAFLAGS=59
System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPWeb.GetObjectForUrl at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.GetSPObjectFromUrl ...
<nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named "/personal/cbuchholz/DOCUMENTS"
Possible mismatch between the reported error with code = 0x81070504 and message: "There is no Web named "/personal/cbuchholz/DOCUMENTS"." and the returned error with code 0x80070002.
Attemping to add webpart id 0F6072F2-E804-4CFD-837E-BB37332B9D1C to web http://contoso/personal/cbuchholz
Adding XsltListViewWebPart calling SPRequest::CreateListViewPart. Web part id 0F6072F2-E804-4CFD-837E-BB37332B9D1C, web http://contoso/personal/cbuchholz
Feature receiver assembly 'Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryFeatureReceiver', method 'FeatureActivated' for feature 'e9c0ff81-d821-4771-8b4c-246aa7e5e9eb' threw an exception: System.InvalidOperationException: Original XSLT List View Web Part not found at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.ReplaceListViewWebPart
Feature Activation: Threw an exception, attempting to roll back. Feature 'MySiteDocumentLibrary'
Exception in EnsureFeaturesActivatedAtSite: System.InvalidOperationException: Original XSLT List View Web Part not found
Failed to activate site-collection-scoped features for template 'SPSPERS#2' in site collection 'http://contoso/personal/cbuchholz'
Failed to apply template "SPSPERS#2" to web at URL "http://contoso/personal/cbuchholz
I've had other problems in this farm: the bug where when you add Administrators to a Search Service via the Manage Service Applications page, it removes the SPSearchDBAdmin role from the search service process account. That one did not happen in the other farm.
At least other people have that one and I could just use the farm admin instead (still troublng of course).Ok,
Here is the problem:
When creating a mysite from powershell or script, apparently you can ONLY do this from a wfe (or a server running Microsoft SharePoint Foundation Web Application in services on server).
You CANNOT create mysites from script on your appserver if it is not also a Web Application Server. I confirmed the same is true in my test farm. I guess I was always running most of these scripts on the webserver.
I searched all over and cannot find this documented anywhere.
Who do I contact to have Microsoft document this?
It's Thursday morning, I've been working non stop since Saturday morning so you don't have to :) -
How do I remove the grouping headings in my list view web part?
I don't have access to SharePoint Designer and so far, that is all I can find that people are saying to use. I understand and know how to edit the HTML in SharePoint, just don't know what code to put in and where exactly to put it so that the Document
Library List View web part is grouped how I want, but doesn't actually show the group titles. Any help would be greatly appreciated. Thank you!Hi,
I understand that you want to hide list view group headers, based on your description, I can suggest as follow:
Add this code to a Content Editor Web Part (CEWP) in the list view. Adding a CEWP in a SharePoint 2010 list view will unfortunately remove the list view selector.
<script type="text/javascript" language="javascript">
_spBodyOnLoadFunctionNames.push("HideHeaders");
function HideHeaders()
var elements = getElementsByClassName(document, "td", "ms-gb");
var elem;
for(var i=0;i<elements.length;i++)
elem = elements[i];
elem.childNodes[3].style.display = "none";
elem.removeChild(elem.childNodes[4]);
elements = getElementsByClassName(document, "td", "ms-gb2");
for(var i=0;i<elements.length;i++)
elem = elements[i];
elem.childNodes[3].style.display = "none";
elem.removeChild(elem.childNodes[4]);
elements = getElementsByClassName(document, "tr", "ms-viewheadertr");
for(var i=0;i<elements.length;i++)
elem = elements[i];
elem.style.display = "none";
Written by Jonathan Snook, http://www.snook.ca/jonathan
Add-ons by Robert Nyman, http://www.robertnyman.com
function getElementsByClassName(oElm, strTagName, strClassName){
var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
var arrReturnElements = new Array();
strClassName = strClassName.replace(/\-/g, "\\-");
var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
var oElement;
for(var i=0; i<arrElements.length; i++){
oElement = arrElements[i];
if(oRegExp.test(oElement.className)){
arrReturnElements.push(oElement);
return (arrReturnElements)
</script>
More information:
http://edinkapic.blogspot.in/2008/06/hiding-list-view-group-headers.html
http://spjsblog.com/2011/08/30/remove-group-label-in-grouped-list-view/
If you have any questions, please reply me.
Thanks,
Qiao Wei
TechNet Community Support
Maybe you are looking for
-
Doesn't open iPod in my computer.
Hi. My boyfriend bought and 5th generation 30GB iPod and sync it in his PC computer. Later he tried to connect it to my computer (powerbook G4) but the iTunes doesn't want to open it. The program said that this iPod is sync to another library, but ne
-
Error 513, no message was created in Support Desk System
After implementing QAS in sp's 15, when the user wants to create a message from QAS solution manager, get the following error "Because of error 513, no message was created in Support Desk System" has been revised rfc connections and have no problem b
-
When I try to edit a photo or open editing options, I get a restart your computer message to launch...It doesnt help and I then get error code 150:30. HELP??
-
Can I enable and disable the system speaker under program control
Can I enable and disable the system speaker under program control? I'm using LabVIEW 2010. The PC is running Windows XP Pro. Thank you
-
Has anyone already worked with idoc Type SYIDOC01, message type SYIDOC? Is there any way to use this Idoc to post idoc types that do not exist in an EBP SRM 3.0 system? If so, which process code should be used? thanks in advance, Raquel.