Tag Info

Hot answers tagged

13

Make sure that you have already configured the “Outgoing e-mail settings”. //Get the site ID Guid siteID = SPContext.Current.Site.ID; protected string GetSMTPHostName() { using (SPSite site = new SPSite(siteID)) { //Get the SMTP host name from “Outgoing e-mail settings” return site.WebApplication.OutboundMailServiceInstance.Parent.Name; ...


5

PowerShell is Microsoft’s next-generation scripting language offering direct access to .NET objects, complex flow and structure capabilities, and an object pipeline that makes passing objects from one command to another extremely easy. Using Powershell in SharePoint 2010, Almost every aspect can be manipulated using any of the more than 500 out-of-the-box ...


5

Not sure if I understand your question entirely, but if you install a language pack, Central Administration should be available in that language too. For example, If your customer installed the Swedish based version of SharePoint then install the English language pack and you'll be able to run Central Administration in English if you want too. You don't ...


4

(1) How do I transfer the Central Admin site from being hosted on the old server to the new server? You do that via the SharePoint 2010 Products Configuration Wizard. Remove the CA from the old server, then add it (again via the wizard) to the new one. Here it is explained in a little more detail: ...


4

Couple of things Disable Loopback. Disable IE SEC from Server Admin. Try adding the http://centraladmin to Trusted Sites / Local Intranet EDIT 2 Could you check the SQL rights for the account that you use to open SharePoint. It should be dbowner and securityadmin or just for the sake of seeing if it fixes your problem make the account a sysadmin on ...


4

In my experience if you update the quota template it does not get applied to the sites that already use it. Through Central Administration apply another quota template to the site then reapply the previous one. If you have 100s or 1000s of sites to update you can use the following PowerShell. Hence, If you want to update the same template just set ...


4

The text is due to confusion SharePoint creates by having three different groups which when you create a site collection start out having the same persons, but are in fact different. The three groups are: Site Collection Owners Are controlled via `Central Administration | Application Management | Change site collection administrators' Receive email about ...


3

Alex, Please verify and check the following sections: System Settings > Manage Services on Server Ensure that "Web Analytics Data Processing Service" and "Web Analytics Web Service" is running Monitoring > Review Job Definitions Change the service to "Microsoft SharePoint Foundation Usage" Make sure the "Microsoft SharePoint Foundation Usage Data ...


3

The two main tools for dealing with upgrade problems on your SharePoint 2010 farm are the Test-SPContentDatabase Powershell command and the stsadm command enumallwebs. The Test-SPContentDatabase tool will check the content db against a specific site collection. It can be safely run either before or after the database is attached, as often as required. I ...


3

It's not too complicated. Move your page from the Layouts mapped directory to the TEMPLATE\ADMIN mapped directory. Modify your Page Link or Module Elements.xml as following : <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="(YourActionId)" GroupId="SiteDirectory" ...


3

Yes, look for properties of SPAdministrationWebApplication, you can access it using SPAdministrationWebApplication.Local. Properties are: OutboundMailCodePage OutboundMailReplyToAddress OutboundMailSenderAddress OutboundMailServiceInstance OutboundSmsServiceAccount Namespace: Microsoft.SharePoint.Administration Assembly: Microsoft.SharePoint ...


3

Yes, it is possible - however I would recommend not doing it. Exposing command-line and administrative functions via web parts has the potential to expose security issues for your SharePoint farm, and allow users to potentially do tasks which they should not be able to do. To remotely execute commands, you can use PowerShell and connect to a remote computer ...


3

Wrote a blog on this some time back: http://vrdmn.blogspot.in/2012/06/use-html-pages-in-sharepoint-2010-html.html So basically there are two modes for file handling in SharePoint 2010. "Strict" and "Permissive". Strict mode entails that only the trusted filetypes in the web application are opened in the browser. For all the rest of the filetypes ...


3

Sounds like SQL Server is configured to put the SQL Server Databases on a different drive than you want. Check the SQL Server Configuration for the Default Database Data Drive and Database Log Drive. Use SQL Server Management Console Connect to your SQL Server Right-Click on the Server Name and choose Properties Click the 'Database Settings' tab Check ...


2

In 2007 Central Administration is broken into two main sections; Operations and Application Management. Operations will all you to manage the farm / system level configuration. Application management will allow you to provision and manage specific applications like your Intranet. An application can contain one or more site collections. If you only have ...


2

The Description text field correlates to the Microsoft.SharePoint.Administration.SPWebApplication.Name property in the object model. This is the only way I know of changing this. The following code (ignoring import statements) is what I used from the IronPython console, though you could also use PowerShell. (C# or VB makes for too much messing around) ...


2

The shortcut to the Central Administration site is not a real URL shortcut, but a shortcut to spconfigui.exe that determines the URL from a registry key: HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\ Edit the CentralAdministrationURL value to reflect the correct location. A lot of interesting scenarios about the location of the ...


2

This is a complicated question. HTTP is stateless, so it's difficult to know how many people are using the platform at a precise moment. A really complete article is standing at the following URL : Check it out Here


2

There is a strong possibility that the application pool for central admin timed out before the application was created on the second node. To fix this: Delete the web application that did not provision on all WFE's On the server hosting Central Admin, open IIS manager. In the tree view, expand the server name and click on Application Pools. Locate the ...


2

There's no Ribbon in the Timer Job config area, so that's not an option. Also, you can't add any custom actions to JobEdit.aspx easily either, so that's out the question, too. What I would do (and have done before), is add your custom action to the place you already can do, and in your config page have a dropdown box that populates with all instances of ...


2

I ran into the same problem on my development instance. I checked the job status for the Immediate Alerts job and there was not one listed for the Central Admin web application. I opened up the SharePoint Management Shell and checked if this was enabled for the CA site with the following command stsadm -o getproperty -pn job-immediate-alerts -url ...


2

Well, I was able to solve my particular error, though it was only by means of a cumbersome process. I loaded this stored procedure onto each affected database which allowed me to search the entire database for a given string. I searched though the database based on the error strings to finally identify the affected pages. One problem that was causing the ...


2

Do you have anything specific on those sites (web parts, master pages) that might causes this? Can you access http://server/sites/thesite/_layouts/settings.aspx? If you use Fiddler what kind of request/responses do you get? 401's, 404's??


2

Something may not be configured correctly, possibly the permissions. I recommend some reading on the User Profile Service. It is a very valuable service but a little tricky to set up. So tricky, in fact, that Spencer Harbar has written an entire guide to setting up the User Profile Service correctly. I also recommend the Stuck on Starting FAQ by the same ...


2

You can set the site collection to Read-Only from CA, so it is possible that someone did this: CA > Application Management > Site Collections section > Configure Quotas and Locks > Select site collection > check if it is set to Read Only I think its default that site collections are set to read only during backup, so maybe you have a failed backup ...


2

Solutions are deployed globally, if they doesn't contain any WebApplication-specific elements. Basically, this means that the solution doesn't affect web.config. Solutions Gallery is only for sandboxed solutions. You will never find anything from farm solutions in this gallery. A farm solution not obligatory contains Site Collection Features. Instead, it ...


2

You can use your web application object in the function like below : private string GetListTitle(SPWebApplication webApp) { //To ensure if your web application object hosts central admin if (webApp.IsAdministrationWebApplication) { SPList list = webApp.Sites[0].RootWeb.Lists["List1"]; return list.Title; ...


2

I found that the problem I had that resulted in a 503 was due to the App Pool being set to support 32-bit applications. I went to IIS manager, app pool, advanced settings, and set "Enable 32-bit applications" to "False". This was on a Content App pool, though, not Central Admin.


2

This is indicating that all of the alternate access mapping zones have been utilized for this web application. Check your alternate access mappings and remove some that are not needed so that you can extend your web application into a zone. You have to have at least one zone free (intranet, extranet, custom, internet) to extend a web application. The default ...


2

Pls. run the jobs in the following order: “Microsoft SharePoint Foundation Usage Data Import” “Microsoft SharePoint Foundation Usage Data Processing” “Web Analytics Trigger Workflows Timer Job” And change the system time to tomorrow or later on the server and run the job as of today.



Only top voted, non community-wiki answers of a minimum length are eligible