Posts Tagged error

SharePoint Workflow: This workflow requires that the document is checked in. You must first check this document in and then start the workflow

Scenario:

We created two visual studio workflows, say, workflow A and workflow B. Workflow A starts when a document is added or changed and check out the document. We can’t start Workflow A manually. Workflow B can only be started manually. When we try to start workflow B on a document which is already checkout by the workflow A, following pop up appear:

This workflow requires that the document is checked in. You must first check this document in and then start the workflow

If we check in the document, workflow B works fine.

Resolution:

As per my understanding, the trick missing is that SharePoint workflow run with “System Account”. We have deployed two workflows. Workflow A and workflow B. First Workflow A run when document is uploaded or changed and check out the document. Document is checked out using current user token (user token of the user who has uploaded or changed the document). When we want to start Workflow B, it give us error that document needs to be check in as it was check out by another user and we can’t run workflow on it.

We changed the code of Workflow A and used system account to Check out the document. Now, when user try to run the workflow, it is already check out to “System Account” and have no issue in running.

Leave a Comment

SharePoint Document Upload Error: Unable to complete this operation. Please contact your administrator.

Scenario: 

When we try to upload document / images error page appear with following extension: 

Unable to complete this operation. Please contact your administrator. 

When we try to upload text document, it worked but when we increased the sixe from 45Bytes to 450KB, it failed with the same message. 

Resolution: 

You ran out of space either on SQL Server or on Server Machine. Created space and we were back on track.

Comments (5)

Import Spreadsheet Error: Method ‘Post’ of object ‘IOWSPostData’ Failed

We were trying to import Excel sheet data into SharePoint and got following error:

 Method ‘Post’ of object ‘IOWSPostData’ Failed

 Resolution:

 Need to perform following steps: 

  • Go to “C:\Program Files\Microsoft Office\Office12\1033”.
  • Find “EXPTOOWS.XLA” and double click on it.
  • Press “Alt+F11” to display VB code editor.
  • Select code window and find “lVer = Application.SharePointVersion(URL)”
  • Add following line “lVer = 2”.
  • Save and close the window.
  • Restart and see if it worked.
  • If not, change “lVer = 3”.
  • Restart and see if it worked.

Comments (7)

Upgrade Error: Access to this Web site has been blocked. Please contact the administrator to resolve this problem

We were trying to upgrade site gradually one by one from SharePoint 2003 to SharePoint 2007, one site after upgrade displayed following error message on access:

Access to this Web site has been blocked.

Please contact the administrator to resolve this problem.

Server event viewer has following entries:

Event Type:        Error

Event Source:     Office SharePoint Server

Event Category:  Records Center

Event ID:   7894

Date:        XXXXXXXX

Time:                XXXXXXXX

User:         N/A

Computer:  XXXXXXXX

Description:

Records Center processing for site collection http://abc/sites/xyz failed.

Access to this Web site has been blocked.

Please contact the administrator to resolve this problem.

   at Microsoft.SharePoint.Library.SPRequest.OpenWebInternal(String bstrUrl, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags)

   at Microsoft.SharePoint.SPWeb.InitWebPublic()

   at Microsoft.SharePoint.SPWeb.get_ServerRelativeUrl()

   at Microsoft.SharePoint.SPWeb.get_Url()

   at Microsoft.SharePoint.SPWeb.GetProperties()

   at Microsoft.SharePoint.Utilities.SPPropertyBag..ctor(GetProperties getProperties, UpdateProperties updateProperties)

   at Microsoft.SharePoint.SPWeb.get_Properties()

   at Microsoft.Office.RecordsManagement.Holds.Hold.HasRecordsCenter(SPSite site)

   at Microsoft.Office.RecordsManagement.Internal.RecordsRepositoryJobDefinition.Execute(Guid targetInstanceId)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

Event Type:        Error

Event Source:     Office SharePoint Server

Event Category:  Information Policy Management

Event ID:   5016

Date:        XXXXXXX

Time:                XXXXXXX

User:         N/A

Computer:  XXXXXXX

Description:

Expiration Service for site http://abc/sites/xyz failed.

Access to this Web site has been blocked.

Please contact the administrator to resolve this problem.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

Event Type:        Error

Event Source:     Office SharePoint Server

Event Category:  Records Center

Event ID:   7892

Date:        XXXXXXX

Time:                XXXXXXX

User:         N/A

Computer:  XXXXXXX

Description:

HoldProcessAndReport for site http://abc/sites/xyz failed.

Access to this Web site has been blocked.

Please contact the administrator to resolve this problem.

   at Microsoft.SharePoint.Library.SPRequest.OpenWebInternal(String bstrUrl, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags)

   at Microsoft.SharePoint.SPWeb.InitWebPublic()

   at Microsoft.SharePoint.SPWeb.get_ServerRelativeUrl()

   at Microsoft.SharePoint.SPWeb.get_Url()

   at Microsoft.SharePoint.SPWeb.GetProperties()

   at Microsoft.SharePoint.Utilities.SPPropertyBag..ctor(GetProperties getProperties, UpdateProperties updateProperties)

   at Microsoft.SharePoint.SPWeb.get_Properties()

   at Microsoft.Office.RecordsManagement.Holds.Hold.HasRecordsCenter(SPSite site)

   at Microsoft.Office.RecordsManagement.Internal.HoldReportJobDefinition.Execute(Guid targetInstanceId)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

Event Type:        Error

Event Source:     Office SharePoint Server

Event Category:  Information Policy Management

Event ID:   3763

Date:        XXXXXXX

Time:                XXXXXXX

User:         N/A

Computer:  XXXXXXX

Description:

Processing policy updates for site http://abc/sites/xyz failed.

Access to this Web site has been blocked.

Please contact the administrator to resolve this problem.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Resolution:

“Central Administration > Application Management > Site Collection Quotas and Locks” and select “Not locked”

Comments (2)

Web Part Maintenance Page

It is sometimes difficult or rather impossible to delete or edit a web part. When clicked on “Modify Shared web part” link, error page appeared

 

“An unexpected error has occurred.

 

One way to delete the web part is to go to web part maintenance page and delete it. This can be done by adding “?contents=1” to default.aspx page.

 

An example can be http://portal/sitedirectory/abc/default.aspx?contents=1

Leave a Comment

MOSS 2007: MS Office Word 2003 document error

Scenario:

 

When of our client tried to open document using MS Office 2003 from SharePoint 2007, following error displayed:

 

“File is locked. In order to save changes to the file, you can other close the file before making any changes and then re-open it, use Save As (File menu) to save the file using another file name, or turn off Shared Workbook and then save the fie.”

 

 

 

 

 

 

 

Resolution:

 

Rename the file and it will work fine. We tried some other options but things do not seems to be working.

 

Leave a Comment

MOSS 2007: MySite creation error

Scenario:

 

When clicked on “My Site” link on newly created MOSS 2007 server, following error displayed:

 

“Your personal site cannot be created because Self-Service Site Creation is not enabled. Contact your site administrator for more information.”

 

Resolution:

 

Open Central Administration, “Application Management” -> “Self-service site management” under “Application Security”. Select the web application and “Enable Self-Service Site Creation”.

 

Hope this works. 

Comments (1)

Older Posts »
Follow

Get every new post delivered to your Inbox.