Powerpivot – Gemini BI
By peter.stilgoe
PowerPivot gives users the power to create compelling self-service BI solutions, facilitates sharing and collaboration on user-generated BI solutions in a Microsoft SharePoint Server 2010 environment, and enables IT organizations to increase operational efficiencies through Microsoft SQL Server 2008 R2-based management tools.
If you dont have your own test server you can use the virtual lab here:
If your running Sharepoint 2010 Beta 2 be sure to check out the Powerpivot for Sharepoint solution
http://msdn.microsoft.com/en-us/library/ee210682(SQL.105).aspx
More From pstilgoe
How to auto populate InfoPath forms using the people picker
By peter.stilgoe
Step 1:Add the Contact Selector control to InfoPath – this only has to be done once within InfoPath, then it will be available for future forms.
1. From the Controls task pane, click on “Add or Remove Custom Controls…” then click Add.
2. Select “ActiveX Control” then click Next.
3. Locate “Contact Selector” in the list, select it, then click Next.
4. Ensure “Don’t install a .cab file” is selected, click Next.
5. Set the Binding Property to “Value”, click Next.
6. In the drop-down menu for field or group type, select “Field or Group (any data type)” then click Finish.
7. Click Close, click OK.
Step 2: Add a data connection – this must be done for each new form created.
There is some preliminary work here, first you have to create an XML file and save it. Open notepad and paste:
More From pstilgoe
K2 Blackpoint: Troubleshooting & error logs
By peter.stilgoe
Troubleshooting anything to do with K2 Blackpoint the 1st port of call is going through your error logs:
All logging configuration (excluding SmartObject logging) is done through the following file:
C:\Program Files\K2 blackpearl\Host Server\Bin\HostServerLogging.config
When you open the file in notepad, or any other text editor, you will see a section that looks like the following:
This section is where you can configure the various logging destinations as well as the verbosity. The default settings have only the Console destination active but you can turn on the other destinations by changing the Active property from False to True. The LogLevel property specifies the verbosity. The options are, from most verbose to least verbose, All, Debug, Info, and Error. My preference in a development environment is typically for Debug or Info as they give you enough information to be useful but not too much that you get lost. Error will only show you the errors which can be nice however usually some context is helpful. In a production environment however any log level above Error for any destination is probably overkill unless you are actively troubleshooting.
I also preference File logging as this creates a transmittable text file in the C:\Program Files\K2 blackpoint\Host Server\Bin\ directory.
Here is a brief description of the various logging destinations:
•ConsoleExtension – directs messages to the server console window. In a production environment where you are running as a service and have no need for the console output I recommend turning the console extension off as it will improve performance slightly.
•FileExtension – allows you to direct logging to text files. The App settings section in the config file even allows you to specify max file size or file durations.
•EventLogExtension – allows you to direct logging to the Windows Event Log. I typically recommend setting this to Error so that you don’t bloat your event log with standard info or debug messages.
•ArchiveExtension – allows you to use a SQL database as a repository for logging information. This is handy when you have a load balanced environment and don’t want to have to check each server’s log files individually. You can have all the servers in the NLB logging to the same database.
•MSMQExtension – allows you to log messages to the Microsoft Message Queuing system which other applications or services could monitor.
Once you have made the changes you want in the config file save your changes (you might also want to create a backup of this file just in case) and then restart the K2 blackpoint service. The new logging changes will now be in effect.
You may be overwhelmed the first time you open a text log file as there is a lot of information that is captured and browsing the log file in notepad can be daunting. What you will notice however is that the log file is comma delimited meaning that you can easily open this file in a spreadsheet application like Microsoft Excel. This gives you a way to do filtering as well as play with column width to enhance readability.
If you need more information on the logging framework there is an article here: http://kb.k2workflow.com/articles/kb000309.aspx
Source: k2underground.com
More From pstilgoe
Known Issues With K2 Blackpoint
By peter.stilgoe
1.To enable the K2 Web Designer on sub sites, please refer to the K2 blackpoint Documentation under K2 Web Designer for SharePoint > K2 Web Designer Administration Settings. Following the Getting Started Steps located in K2 Studio will enable the feature on a site collection and top level lists or libraries. To enable the K2 Web Designer on sub sites, you need to activate the Site Feature, which is documented in the product documentation.
2.After installing K2 blackpoint 0902 (4.9040.1.0) or (4.9040.2.0) the SOURCECODE data source in Visual Studio required for designing custom reports is missing. To resolve this issue follow the workaround described in KB000411 – Known Issue: Custom Reporting Services component not visible.
3.In the K2 blackpoint documentation in the topic Start Here… > Planning the environment > Requirements > Software by Role > Prerequisites for the SharePoint Server role it states that Microsoft Windows 2008 / Microsoft Windows 2008 Service Pack 1 is supported as an operating system. This is incorrect only Windows 2003 Server with SP2 (Standard or Enterprise) or Windows 2003 Server R2 with SP2 (Standard or Enterprise) is currently supported. This issue is only present in K2 blackpoint 0902 (4.9040.1.0)
4.When selecting columns on the Process Settings screen in the K2 Web Designer for SharePoint the columns cannot contain special characters such as < > &
5.When deploying a K2 Web Designer process the user will receive an error stating that the feature could not be added to the farm. This error is known to surface when the web app pool account of the SharePoint Web Application used to deploy the process is not a SharePoint Farm Administrator.
Resolution: The SharePoint App Pool account must be added manually as a SharePoint Farm Administrator.
6.The environment settings are correctly saved at installation, however, the K2 Studio Option does not read the saved environment setting and defaults to the local machine name. If OK is selected then the incorrect value will be saved. Workaround: Change the Server value in the Connection settings screen before clicking OK.
7.The column headers of the users and their respective actions do not display on the Delegation page. This error occurs if one user is added to the delegates list (e.g., if a new user is added to a list that previously did not have any delegates), then the headers do not display for the new user. However, as soon as a second delegate user is added, the column headers appear and display correctly. This error does not occur if delegates had been previously added to the worklist item.
More From pstilgoe
K2 Process / Workflow Automation – Questions to ask
By peter.stilgoe
PROCESS QUESTIONS
1. Does the process require reporting, auditing, compliance or version control?
2. Can the process be mapped? Or has the process been mapped and optimized already?
3. Is this process in operation today, electronically, in paper or otherwise?
4. If the business process is new to the business, have the necessary participants of the process been informed and involved in the change management and business improvement exercise?
5. Do you have a paper forms and folders that are passed around?
6. Is this process time sensitive? Are there service level agreements? Do you need escalation points when specific time limits are reached based on your SLAs?
7. Do you have a business process that requires more than one type of review or decision at the same time?
8. Does the process share information with any other process?
9. Does the process run for a long time?
PEOPLE QUESTIONS
1. Will tasks need to be performed on behalf of another person?
2. Will the process involve the participation of the entire organization?
3. Are the process participants geographically dispersed?
4. Does the process need to escalate if someone fails to action it?
5. Do multiple people need to review and sign this off?
6. Are external parties involved in the process, for example regulatory agencies, customers and partners?
7. Is it important to notify users of process status?
8. Is overall process visibility important, for example for employees, managers, executives or auditors?
9. Do you need visibility into your process, like who is doing what and how long does tasks take to complete?
More From pstilgoe
K2 deployment error: The partner transaction manager has disabled its support for remote/network transactions
By peter.stilgoe
When deploying a new K2 workflow / process you get an error message containing:
The partner transaction manager has disabled its support for remote/network transactions
First check on the application server(s):
1. Go to “Administrative Tools > Services”
2. Turn on the “Distribute Transaction Coordinator” Service if it is not running
If you still get the error:
First verify the “Distribute Transaction Coordinator” Service is
running on both database server and application servers
1. Go to “Administrative Tools > Services”
2. Turn on the “Distribute Transaction Coordinator” Service if it is not running
If it is running and its not running on the same server as the SQL Server:
1. Go to “Administrative Tools > Component Services”
2. On the left navigation tree, go to “Component Services > Computers
> My Computer” (you may need to double click and wait as some nodes
need time to expand)
3. Right click on “My Computer”, select “Properties”
4. Select “MSDTC” tab
5. Click “Security Configuration”
6. Make sure you check “Network DTC Access”, “Allow Remote Client”,
“Allow Inbound/Outbound”, “Enable TIP” (Some option may not be
necessary, have a try to get your configuration)
7. The service will restart
8. YOU MAY NEED TO REBOOT YOUR SERVER IF IT STILL DOESN’T WORK
On the application server(s) use the same above procedure to open the
“Security Configuration” setting, make sure you check “Network DTC
Access”, “Allow Inbound/Outbound” option, restart service and computer
if necessary.
On you SQL server service manager, click “Service” dropdown, select
“Distribute Transaction Coordinator”, it should be also running on
your server computer
More From pstilgoe
Deploying K2 process: Error occurred adding the feature to the farm Server was unable to process request. —> Access denied.
By peter.stilgoe
When deploying a K2 process you get the following error:
Task Error: System.Exception: Error occurred adding the feature to the farm. —> System.Web.Services.Protocols.SoapException: Server was unable to process request. —> Access denied.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
This is normally a permission problem & you should check the following & make any changes that are required:
1) Check that the MOSS app pool account has Site Collection and Farm Admin Rights and is also a local administrator.
2)Check that the MOSS app pool account is given dbo permission on the SP Admin Config database.
3)Check that the MOSS app pool account is granted modify permissions: [Program Files]\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Features\ and \12\ISAPI folders.
4) Make sure the MOSS app pool account is given K2 export rights.
5) Make sure the “K2 Workflow Integration Content Types” in Central Admin > K2 for SharePoint has been activated.
You may also need to to do an iisreset.
If all of the above are present you should be able to publish your workflow without experiencing the above error.
More From pstilgoe
K2 – “Insufficient SQL database permissions for user in database ‘SharePoint_Config’ on SQL Server instance ‘WSS1′.
By peter.stilgoe
If your seeing the below error in your event viewer:
Error:
“Insufficient SQL database permissions for user in database ‘SharePoint_Config’ on SQL Server instance ‘WSS1′. Additional error information from SQL Server is included below.
EXECUTE permission denied on object ‘proc_putObject’, database ‘SharePoint_Config’, schema ‘dbo’.”
Solution:
The K2 Server account must be part of the Site Collection Admin Group in MOSS.



January 29th, 2010
