5

I agree with Trevor that you don't have to do anything however, generally if the SQL servers are going to be offline, it's a good idea to shut the SharePoint servers down before SQL goes offline and start them back up after SQL is back online again. This provides a good opportunity to clear any cobwebs from memory while shutting all of SharePoint down ...


4

Sometimes, when a maintenance not completed successfully then it put the Sites/DB in read only mode. to clear this mode please runt he below command. $Admin = new-object Microsoft.SharePoint.Administration.SPSiteAdministration(‘http://weburl/sites/sitecollectionurl’) $Admin.ClearMaintenanceMode() Read more here If that is not the case then check couple ...


3

Nothing. SharePoint will throw errors that it cannot connect to its databases while SQL is offline and will reconnect once SQL is back online and the databases are in an Online state.


2

No, it's not possible, but you can use the javascript csom to accomplish this. Here's an example: var clientContext = new SP.ClientContext.get_current(); var web = clientContext.get_web(); var listCollection = web.get_lists(); var list = listCollection.getByTitle("MyList"); var viewCollection = list.get_views(); var view = viewCollection.getByTitle("MyView"...


2

Generally, when archiving, having an archiving strategy in place is critical. For example for my current client, we use a record centre and have retention policies that move the form but leave a link in the list. This way the file cannot be edited, since it is a record. But the documents remain in SharePoint itself. If you are happy for the InfoPath forms ...


1

I don't believe SharePoint online has any hooks into their Service Health for notifications other than the mobile app. However, it appears if you're able to check the status codes returned from an http request to the site periodically, you could figure out whether the site was working. This example is for powershell - see Jordan Mill's example: https://...


1

Thanks to Ref link Maintenance Page for SharePoint - Quick way to Implement Here is the quick way to implement Maintenance page in SharePoint, during scheduled down times/upgrade/service pack patching: Create a new app_offline.htm file in IIS Root folder of your SharePoint site. Place some descriptive text/images to the file, Make sure the file size is at ...


1

The best way is to create a class library project and add that project as references to other solutions. Now you just need to change/add the common project in a single place. Another option is to have a single visual studio solution which has multiple SharePoint projects. Also add the class library project into the same solution. This way you need to only ...


1

In my opinion, it is a good practice if you can afford it, but it is not strictly necessary. I mean: If you are using SQL Server with SharePoint, you should stop SharePoint services first. That WILL have a performance impact. If you have a timeslot allowed for maintenance, reboot the machine once a month or every 2 months. Adjust this frequency along time ...


1

This Article explains Sql Server Database maintenance.have a look at it


1

Modifying the web.config should be your last choice, in case of SharePoint. Especially, if there are other possibilities, like the following: Store the connection string, user name and password in the the property bag of the SPSite.RootWeb or SPWebApplication or SPFarm (depends on how granular you want to be with these settings). Data in the property bag is ...


1

no need for any of those! you just need to add it to web.config http://msdn.microsoft.com/en-us/library/jj653752(v=vs.110).aspx and http://msdn.microsoft.com/en-us/library/ms228094(v=vs.85).aspx somthing on the lines of: <appSettings> <add key="SQLConnectionString" value="server=http://mysite.mysite.com;database=myDatabaseservername;uid=...


1

I'm reasonably sure that using only OOB functionality that is the only way to do it. In fact, I think the only thing you can delete multiple of at a time is list items/documents.


1

There is app_offline and here is a good extension of this for sharepoint: http://spoffline.codeplex.com/ "SharePoint Offline displays a friendly error messasge that enables farm administrators to take a web application offline and display a custom message" I think this is a nice elegant way, and it also supports a schedule, so you don't have to rush ...


1

It seems like somewhere inside your webpart an exception is thrown. I would suggest you to wrap all your code inside CreateChildControls and client_DownloadStringCompleted methods with try..catch something like that: try{ ... } catch (Exception ex){ this.Controls.Add(new LiteralControl(ex.Message+"; "+ex.StackTrace)); } It is a good practice to ...


1

This 'bug' is fixed by: Copy the web.config file in the "12\Config" folder and paste it in "12\Templates\Layouts". And you can run the SharePoint Products and Technologies Configuration Wizard again. I've found that this bug as happened to me and this is the blog that fixed it for me. Source: http://shareapointkiran.blogspot.com/2010/02/error-while-...


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