I was setting up a demo to populate a Visio 2010 (Beta version) data diagram that reads data from a SQL Server table. I created the data connections in Visio, saved it as Web drawing and published to SharePoint 2010 successfully. But, when I go to view the Visio diagram on the web that is connected to SQL server table, the refresh did not work and an error cropped up "The server failed to process the request". It was baffling initially, since I had another Visio diagram talking to a SharePoint 2010 list working without any issues. Upon reviewing the event viewer, the following error message was logged "Credentials were not found for the current user within the target application 'VisioApplicationID'. Please set the credentials for the current user."
So, the fix is to navigate to Central Administration -- Manage Service Applications -- Visio Graphics Services -- Global Settings and check the Application ID
Go back to Manage Service Applications -- Secure Store Services -- select the visio application id -- Set credentials
Once you set the username and password credentials, save and exit. This will fix the refresh and the visio graphics services error logged in the event viewer.
d6c1614b-abb0-4f46-a37f-a3e70a8a2ef3|0|.0
It's time again for another community presentation on SP 2010. I will be presenting 2 sessions at New Horizons, King of Prussia on Feb 4, 2010 -- SharePoint 2010 Preview and Business Intelligence (BI) with SharePoint 2010.
SharePoint 2010 will cover Administration, ALM, VS 2010, Visual Web Parts, Document Library integration with Office 2010, and SPD 2010. I also have a BCS presentation that shows how to modify and integrate external LOB data.
On the BI session, it will be a combination of excel services, Performance point, Visio web services and BI controls in SP 2010.
0bc3bf8a-e8f0-469e-a817-4423b6a8d2c2|0|.0
If you are in Philadelphia area, you may want to consider attending a SharePoint 2010 Preview session at New Horizons Wayne office. I will presenting and showing you some of SP 2010 features. SP 2010 Administration, ALM, VS 2010, Visual Web Parts, Document Library integration with Office 2010, and SPD 2010. I also have a BCS presentation that shows how to modify and integrate external LOB data.
See you there!
c4cadc2b-c31f-4ca3-a865-25a01e2ae1f8|2|4.0
SharePoint 2010 Beta 2 and TFS 2010 Beta 2 Integration
Environment Setup:
Two different servers
I could have just used one data tier, but I was playing with so many beta versions and wanted to see how SQL 2008 R2 worked against TFS 2010 Beta 2, so dedicated a separate instance. You can just use one common data tier for TFS & SP. In my case on the SQL 2008 R2 box, I had to configure Network protocols (SQL Configuration Manager) to enable TCP/IP & NetBios.
Note: Extensions for SharePoint installation option will show up only when SharePoint instance is found on the local server. If you pop in TFS 2010 Beta2 ISO file and carry on with the installation and don't see "Extensions for SharePoint products", that is the reason. You have to install Extensions for SharePoint products on all instances of SharePoint to tie the integration well.
Step 1: Install "Extensions for SharePoint Products" on all your SP 2010 Beta2 server.
Step 2: After installation, run the Extensions for SharePoint products configuration wizard. Once the configuration is complete, bring up Team Foundation Server Administration Console and click on Grant Access option
Step 3: In the Grant Access window, type in entries as shown and OK
Step 4: Log into your TFS server and bring up TFS Administration Console. I had skipped the SharePoint configuration during TFS configuration, so I have to go back and setup "SharePoint web applications". Expand "Application Tier" and select "SharePoint Web Applications". Click on "Add SharePoint Web Application" and register entries
Click Verify Path and you will be notified that the path is valid.
Step 5: Open up VS 2010 and connect to Team Foundation Server 2010. After connectiong, create a sample team project and when the "Team Site Settings" page displays, select "Create a new SharePoint site" option and select "Configure".
Accept the default values and proceed to the final screen and select "Finish". I encountered the following error messages: TF218017 and TF250021
After some digging around with the TFS Install and Admin guide, discovered that I had to configure SharePoint site on "Team Project Collections"
Step 6: Log back into TFS 2010 Beta 2 server and load TFS Administration Console. In the admin console under Application Tier, select Team Project Collections and select the SharePoint tab on the lower pane. The first time you navigate to that screen, you will see the settings as below
Click on Edit Default Site Location and modify entries
You will be prompted with a confirmation to create a new site and upon accepting, you will see a confirmation screen as shown
You should now be able to go back and create the team project without any errors. You can view the team project portal and if you notice the url, it will point to the SP instance.
Now you have TFS 2010 Beta 2 integrated with SP 2010 Beta 2.
Hope this was helpful!
4ec2f9fa-52f7-445a-bf6f-6a0350b755ae|2|4.0
SharePoint 2010 Beta 2 Installation
Let me share my SharePoint 2010 Beta 2 installation experience:
Environment before SP 2010 Install
-
Windows 2008 with SP1
-
SQL Server 2008 SP1
The SP 2010 pre-requisite installer does a good job of installing all the pre-required software. One catch was that I had PowerShell installed already and the installation failed on the PowerShell part. So, I had to go and remove the previous version of PowerShell (In Windows 2008, this would be on the Feature list of IIS 7.0)
I also downloaded Windows 2008 server SP2 and PowerShell 2.0 CTP 3 and installed it before running the pre-requisite installer again.
So, the rest of the installation went smooth till I got to SharePoint 2010 Configuration Wizard. The configurator complained that the right SQL Server version is not installed. After reading the error message clearly :) I went and downloaded the SQL Server 2008 SP1 Update Patches from
http://support.microsoft.com/kb/970315
For my SQL Server SP1 installation, I had to patch it with 399850_intl_x64.zip
The SharePoint configuration wizard finished successfully and I went it to activate my service applications and selected all default values and got an error message
"The service application proxy "User Profile Service Application" could not be provisioned because of the following error: Unrecognized attribute 'allowInsecureTransport'. Note that attribute names are case-sensitive."
Upon research, found out the issue is notable in the beta release. The SharePoint MSDN team blog as well as this site
http://blogs.msdn.com/opal/archive/2009/11/16/installation-notice-for-sharepoint-2010-public-beta.aspx had this problem documented. I followed Jie Li's link to download WCF patch for Windows 2008 and rebooted my server. Upon restart the User profile service and synchronization service was started. Followed the elaborate steps mentioned in Jie Li's blog regarding User profile synchronization service.
For now, I am ready for some SharePointing stuff!
40c343ab-ef4a-4e54-a239-2094d9271dc5|2|3.5
Just back after attending the SharePoint 2010 conference. Very impressive new features in SharePoint 2010 for developers This is definitely not the complete list, but some of my favorites.
Note: Visual Studio 2010 SharePoint projects will work only with SharePoint 2010. Hard luck, can't use the cool features for MOSS 2007 development.
Developer
- Finally, we can now use client OS (Windows 7/Vista SP1) for SharePoint development. Of course, x64 bit. No need for a separate VM.
- Integrated Debugging -- Yep, you read that right. Debugging your web parts just got a lot easier. Dump your "attaching to worker process" headache. Developer Dashboard provides you with detailed debugging information and performance analysis which will help with problem isolation and fix.
- Deployment of web parts is integrated within VS 2010. Click F5 and watch build, package & deploy. Yes, you can customize the deployment process.
- VS 2010 has now in-built support for Visual Web part development. You can use the designer to control the look and feel of your web part.
- Cascading deletes with Lists -- Handle with care -- but powerful feature. Out of the box support for linking lists. Lists have been scaled to accommodate millions of rows.
- Client Object Model (OM): Tons of posts will invade the web, but for now remember -- it is API on steroids with ability to select, add, manage and update data in SharePoint. Overcome current restrictions of MOSS web services and full support for JavaScript. Also, OM is very low on file size, so easy to redistribute.
- REST APIs support through ADO.NET Data Services -- Yes, strongly typed and full support for REST protocols -- ATOM, JSON, & ATOMPub. Use REST to pull data from Lists, Cloud and Excel sheets.
- LINQ --- If you have not learnt LINQ, I would urge you to do so... LINQ to SharePoint provider is slick for Entity based programming and can be used in event receivers, webparts etc.,
- Ribbon Framework -- People who love the Ribbon, now you have a complete framework to go crazy and this stuff is very extensible.
- BCS - Business Connectivity Services (our good old BDC supercharged) -- With ECT- External Content Types (imagine this as the structure of external systems -- methods, fields, connections), BCS can pull in external data into SP 2010. There is a bunch of enhancements on business data connectivity like custom connections, batch operations, and read and write capabilities. Plus, now we have a GUI type interface to modify application definition files.
- Out of the box ALM (Application Life Cycle Management) support for SharePoint development with Team Foundation Server(TFS) 2010. Code versioning, Code Coverage, CI Builds, Batch builds, Code quality metrics, Work Item Tracking, Automated Load Testing are all integrated for SharePoint development.
- Sandboxed Solutions -- Follows a iterative development and easy deployment model with a separate process for solutions. The good thing is that Sandbox solutions can be restricted by Code Access Security (CAS) and exposes a subset of Microsoft.SharePoint API. As you may guessed by now, Sandbox solution can not be used to develop Visual web parts but Event/Feature receivers, List definitions, Site Pages, Content Types, Infopath Forms services and SharePoint online are all supported.
- Service Applications -- Bye, bye SSP. SSP was all or nothing, but now, each web apps can determine what type of service applications it needs. Service applications can now be shared between farms. Developers who have good WCF experience can now go crazy and develop their own service applications (core service app, app proxy, app end point) enable service apps for discovery and write consumers (web parts, Power Shell cmdlets). You would definitely want to consider writing your own service apps when you want a scalable solution that can share data between site collections.
- Plus, Visio Services (No problem if you don't have visio client, real time data can be shared to a SharePoint Site. Visio diagrams can have different data sources like SharePoint Lists, SQL Database and Excel sheets) is a welcome addition. Excel Services is all beefed up. Not to mention that BI integration with SharePoint is whole lot easier now. Tons of enhancements to Analytic reports. KPIs can be easily deployed from Performance Point to SharePoint sites. Feed Performance Point with data from lists and document libraries.
More to come.....
cbf9ca4e-6aab-4f51-82aa-4a31283a45a6|2|5.0