Showing posts with label SharePoint Server 2007. Show all posts
Showing posts with label SharePoint Server 2007. Show all posts

24 October, 2012

Exception occurred during request processing. (User: Form Name: , IP: , Request: Form ID: , Type: ThreadAbortException, Exception Message: Thread was being aborted.): Infopath


Issue:
Today in our environment we saw an SCOM alert which was continuously getting triggered.

SCOM Alert: Exception occurred while processing an InfoPath form template request
Source: spmwprodweb3
Path: spmwprodweb3.nam.nsroot.net
Alert Raised Time: 10/23/2012 3:21:06 PM Last modified by: System Last modified time: 10/23/2012 3:21:07 PM Alert description: Event ID 5367 from Source Office SharePoint Server on agent computer spmwprodweb3.nam.nsroot.net has triggered this Alert Description : Exception occurred during request processing. (User: Domain\User ID, Form Name: , IP: , Request: https://infopathformlib.site.url, Form ID: , Type: ThreadAbortException, Exception Message: Thread was being aborted.)

In Event logs

Event Type:  Error
Event Source:          Office SharePoint Server
Event Category:     Forms Services Runtime
Event ID:       5367
Date:              10/23/2012
Time:              2:21:55 PM
User:              N/A
Computer:    SPMWPRODWEB1
Description:
Exception occurred during request processing. (User: Domain\User ID, Form Name: , IP: , Request: https://infopathformlib.site.url, Form ID: , Type: ThreadAbortException, Exception Message: Thread was being aborted.)

In ULS logs

10/23/2012 14:28:19.68            w3wp.exe (0x2080)                                  0x327C          Forms Server                              Forms Services Runtime               82fp   Critical           Exception occurred during request processing. (User: Domain\User ID, Form Name: , IP: , Request: https://infopathformlib.site.url, Form ID: , Type: ThreadAbortException, Exception Message: Thread was being aborted.)          

Troubleshooting:
Checked on Google and it refers to the issue with anonymous access on the site http://vettekerry.wordpress.com/2008/06/03/login-required-on-anonymous-site.
MSDN community refers to the issue with “NT AUTHORITY\autenticated user" access on the site http://social.msdn.microsoft.com/Forums/pl/sharepointinfopath/thread/e0312df4-b950-4e42-ba49-a648055c8934.

In our environment we are neither using anonymous access on the site nor client have added “NT AUTHORITY\autenticated user" on the site.

Resolution:
The above article was referring to the permissions related issue. Hence tried to find the if the user is added on the site from “All People” group and no reference was found. Since there were 100 users it was very difficult to check them one by one. Asked the site admin if he has any reference list of users and he also confirmed that these users are yet to be permissioned on the site. Confirmed with the client they all treid to access the site before they were permissioned on the site resulting in SCOM Alert trigger for the InfoPath.

As alert was so huge in nature only a small portion of it was a cause of the issue i.e. user identified was not permissioned on the site. 

If you have any questions do let me know.

03 September, 2012

How to create the DPMRecoveryWebApplication

1.   Open the SharePoint 3.0 Central Administration console from the Start Menu.
2.   Once the SharePoint 3.0 Central Administration console is open, click on the Application Management tab which opens to display all of the various options for managing your SharePoint installation.
3.   Under the SharePoint Web Application Management heading, click on the Create or Extend Web application.
4.   The Create or Extend Web application page appears with two options. Choose Create a new Web application.
5.   After clicking the Create a new Web application link, the Create New Web Application page appears displaying various necessary fields for details about the web application that is being created. Here is a brief summary of the important fields of this page.
o   Chose the Create a new IIS web site and in the description, name it “DPMRecoveryWebApplication”.
o   In the Port field, give it a unique port which is not shared by any other internal application.
o   The Host Header and Path fields can remain unchanged.
o   Scroll down to the radio button Create new application pool and in the Application pool name box, note that the entry name includes the port number and the SharePoint recovery server name.
o   Under the Select a security account for this application pool, select the Configurable radio button and type in a suitable account and password in the fields that follow.

This is the last entry to make before hitting OK to have the web application created. Upon completion of the DPMRecoveryWebApplication web application, Application Created screen appears. At this point, schedule time to run ‘iisreset /noforce’.

If you have any queries/questions regarding the above mentioned information then please let me know, Thank you

Share Point Recovery -- Site recovery on the share point farm itself


Before DPM can be used to recover any individual site/contents on to a protected Farm, following requirements needs to be completed:

1)   An additional dummy SharePoint farm [called as Recovery Farm] is required.
2)   This farm may be a single server and may be hosted in a virtual environment. If you are recovering a WSS 3.0 site, your recovery farm should be WSS 3.0; if you are recovering a MOSS site, your recovery farm should also be MOSS.
3)   The list of features and templates present on the recovery farm must be the same as those on the production farm that is SharePoint Farm build and the SQL SKU installed should be same as the original production farm.
4)   On the Recovery Farm, create a DPMRecoveryWebApplication which would be used by the DPM Application to restore the data on production farm.
5)   Once the Recovery Farm is online, install the DPM Agent, attach the Recovery Farm to the same DPM server and run Configure Protection.exe to configure the WSS Writer.

If you have any queries/questions regarding the above mentioned information then please let me know, Thank you

Share Point Recovery -- Restore the Farm to a Network Folder


Note: Only, if the recovery point was created from an express full backup rather than an incremental synchronization, then you have the option to recover a site to a network folder.

§  Click the Recovery tab.
§  Expand Data on Disk and Tapes->DPM Server->SharePoint Server->and click All Protected SharePoint Data.
§  In the Recoverable Item list, Select SharePointFarm\SharePoint_Config.
§  Click Recover.
§  On the Review Recovery Selection page, click Next.
§  On the Select Recovery Type page, select Copy all SharePoint content and components to a network folder.
§  Click Browse.
§  Expand SharePoint Server->Volumes/Shares->select the Network folder and click OK.
§  Click Next.
§  On the Specify Recovery Options page, click Next.
§  On the Summary page, click Recover.
§  Wait until the recovery status is successful and then click Close.
§  Wait until the status is successful and then click Close

If you have any queries/questions regarding the above mentioned information then please let me know, Thank you

Microsoft System Data Protection Manager 2007 – Recovering SharePoint Server

In this series, I will cover three main sections as follows:
Share Point Recovery -- Restoring the SharePoint at Farm level.
Share Point Recovery -- Restore the Farm to a Network Folder.
Share Point Recovery -- Site recovery on the share point farm itself.

SharePoint Recovery Options using DPM

Data Protection Manager 2007 can be used to protect the data on SharePoint server 2007 and Windows SharePoint services 3.0. DPM can protect the SharePoint at the farm level and can be used for recovering the data at multiple levels like:
·         Farm
·         Content databases
·         Sites
·         Webs/Sub Sites
·         Lists
·         Items/Documents

Share Point Recovery -- Restoring the SharePoint at Farm level.
Please follow the steps given below to restore the complete SharePoint production farm:

1.   Click the Recovery tab.
2.   Expand Data on Disk and Tapes--<Server Name>--MOSS27 and click All Protected SharePoint Data.
3.   In the Recoverable Item list, select SharePoint under the SharePoint Farm
4.   Click Recover
5.   On the Review Recovery Selection page, click Next
6.   On the Select Recovery Type page, point to Recover All SharePoint content and components
7.   Click Next
8.   On the Specify Recovery Options page, click Next
9.   On the Summary page, click Recover

Wait until the status is successful and then click Close

If you have any queries/questions regarding the above mentioned information then please let me know, Thank you

19 February, 2012

Could not load user profile

When we implement SharePoint or when we set up everything right from the scratch i.e. creating service application, web applications, site collections, host headers etc. at that time it might be a possible we did some mistake then it will come in the picture when we provide the site for testing to end users or testing team.

When an end user tries to access their personal My Site, he might encounter this error message.

This error occurs when the SP admin does not connect a User Profile service application with the Web application that hosts My Sites, or disconnects a User Profile service application from the Web application that hosts My Sites.

To resolve this error, please refer the following steps and your issue will be resolved:

1-In Central Administration-Click Application Management.

2-In the Web Applications section, click Manage web applications.

3-On the Web Application Management page, click the Web Application that hosts My Sites, and then, in the Manage section of the ribbon, click Service Connections.

4-In the Configure Service Connections Associations dialog box, ensure that a User Profile service application is selected and set as the default.

If you have any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues. thank you

17 January, 2012

Saving a site as a template

You can save a site as a template at any time using the template option (Save site as template) on the Site Settings page in SharePoint. SharePoint Designer 2010 make it easy by providing a Save as Template option in the ribbon, which takes you to this page in SharePoint. Once you save the template, a solution file is created and stored in the Solution Gallery where you can download or activate the solution.

To save your site as a template using SharePoint Designer 2010, perform the following steps:

1. Open your site in SharePoint Designer 2010.
2. On the Site tab, in the Manage group, click Save as Template


 3.This takes you to the Save as Template page in SharePoint.

4. Specify a name to use for the template file in the File name field.
5. Specify a name and description for the template in the Template name and Template description fields.
6. To include the content of the site in the site template, check the Include Content box.
Note: Including the content of the site can increase the size of the template significantly. Keep in mind that the default size limit for a site template is 50 MB but may be less in your organization.

7. Click OK to save the template.
8. If all of the components on the site are valid, the template is built, and you see a message that says Operation Completed Successfully.
9. To download or activate the solution from the solution gallery, click the user solution gallery link and follow the steps in the procedure below.
10. Or, to return to your site, click OK.



 

Activating the site template in the solution gallery

Once you’ve saved your site as a template, a solution file (.wsp) is created and stored in the Solution Gallery for the site collection. From here, you can download or activate the solution.

To activate your site template, perform the following steps:

1. Browse to the top level site of your site collection in SharePoint.
2. Click Site Actions and choose Site Settings.
3. Under Galleries, click Solutions.
4. To activate your solution, click the pull-down menu beside your solution, and choose Activate


5. On the activate solution confirmation screen, click Activate.
Your solution now has an activated status in the Solution Gallery.
6. To download the solution, just click its name in the Solution Gallery.
7. In the File Download dialog box, click Save, and browse to the location where you want to save the solution.

What gets saved in a template

When you save your SharePoint site as a template, you’re saving the overall framework of the site. Most of the objects in a site are included and supported by the template.
There are a number of objects and features not supported however.


Supported


Lists
Libraries
External Lists
Data source connections
List views and data views
Custom forms
Workflows
Content Types
Custom Actions
Navigation
Site pages
Master pages
Modules
Web Templates


Not Supported


Customized permissions
Running workflow instances
List item version history
Workflow tasks associated with running workflows
People/group field values
Taxonomy field values
Publishing pages and publishing sites
My Sites

What is a SharePoint site template

SharePoint site templates are pre-built definitions designed around a particular business need. You can use these templates as they are to create your own SharePoint site and then customize the site as much as you like. You’re probably familiar with the default site templates, like Team Site, Blog site, and Group Work Site as shown here.
SharePoint Site Template

You can create your own site template based on a site you’ve created and customized in SharePoint. This is a powerful feature in SharePoint that allows you to create a custom solution and then share that solution with your peers, the broader organization, or outside organizations. You can also package the site and open it in another environment or application like Microsoft Visual Studio and further customize it there.
When you save your site as a template, you create a Web Solution Package, or WSP. A WSP is a CAB file with the solution manifest. The solution you create gets stored in the Solution Gallery for the SharePoint site collection. From there, you can download a copy of the solution or activate it on the server.

16 January, 2012

Master pages


Introduction to SharePoint master pages

Learn about master pages in SharePoint 2010 and how to customize them in SharePoint Designer 2010

Working with content placeholder controls

Article Master Pages contain a set of controls that define replaceable content regions on a page. Each content placeholder control on the master page can be mapped...

Customize a master page to brand your site

Article Master Pages provide the look and feel for all of the pages in your site. By changing the styles or content of the master page, you can quickly change the...

Customize your My Site master page

Article Master Pages provide the look and feel for all of the pages in your site. By changing the styles or content of a master page, you can quickly change the...