RSS

Monthly Archives: October 2011

SharePoint Designer 2010 Workflow Activities not updating or How to clear sharepoint Designer cache?


Cause:

You may experience this issue when you try to update sharepoint 2010 workflow using SPD.If you are building a workflow activity on WSS for SPD you may have to update your activity DLL regularly. Some times SPD does not recognize your changes in dll. so you might have to clear your  workflow activity cache from system folder.

Solution:

1. Close your Sharepoint Designer.
2. Navigate to "My Computer"
3. Then go to
 - %System Drive%\Documents and Settings\%user%\ Local Settings\ 
 Application Data\Microsoft\WebSiteCache.
 - %System Drive%\Documents and Settings\%user%\Application Data\
 Microsoft\Web Server Extensions\Cache
4. Search for the folder  that looks similar to the name of the website.
5. Delete the assembly with the name similar to the one you are changing.
6. Start SharePoint designer.
7. This should solve your cache problem.
Advertisements
 
Leave a comment

Posted by on October 25, 2011 in Error, Workflow

 

Tags: , ,

The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator.


You may receive this error when trying to publish a infopath form in SharePoint 2010

The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service. For more information, contact your server administrator.

Cause:
State service is not enabled on Server.You would need to install the ‘State Service’ via the Configuration wizard in Central Administration or via PowerShell.

Solution:
To configure the State Service by using Windows PowerShell:
1. Click Start, Administrative Tools, Windows PowerShell Modules.
2. In Windows PowerShell, type $serviceApp = New-SPStateServiceApplication -Name “State Service”
3. Create a State Service database and associate it with a service application, by typing New-SPStateServiceDatabase -Name “StateServiceDatabase” -ServiceApplication $serviceApp
4. Create a State Service Application Proxy and associate it with the service application by typing New-SPStateServiceApplicationProxy -Name “State Service” -ServiceApplication $serviceApp -DefaultProxyGroup

 

 
Leave a comment

Posted by on October 24, 2011 in Error, Infopath 2010

 

Tags: ,

Visual web part deployment error : – Recycle IIS application pool”: The local sharepoint server is not available


When you try to deploy Visual webpart using Visual studio 2010 you will get following error on deployment :Error occured in deployment step: “Recycle IIS application pool”: The local sharepoint server is not available. Check that the server is running and connected to the sharepoint farm.

Cause:-
The account you are running Visual Studio does not have sufficient permission in SQL server database

Solution:-
Make the account you are running Visual Studio a member of the db_owner role on the sharepoint_config and sharepoint_admin databases.

 

 
2 Comments

Posted by on October 19, 2011 in Error, Visual web part

 

Tags: ,