Tuesday, October 20, 2009
Sharepoint Conference Keynote Video
Sharepoint 2010 Video Tutorial
Video tutorial for sharepoint 2010.
Video for Create External Content Types using SharePoint Designer 2010
The External Content Types section within SharePoint Designer lets us define connections to Line of Business data that we have access to as a developer, designer or admin of that site. Once the connection is defined, business analysts can use that connection to create what’s called External Lists which shows the content of what the connection is attached to (for example a table in a database).
Video for Navigational components of SharePoint Designer 2010
SharePoint Designer 2010 is the premier tool to configure and customize SharePoint 2010. It has evolved from SharePoint Designer 2007 with a totally new look and feel to it. This video shows how you can navigate around the SPD 2010 environment.
Video for Creating SharePoint 2010 site components
This video shows how to create components of a SharePoint 2010 site such as Lists, Libraries and Subsites.
Video for Create and Manage SharePoint Content using SharePoint Designer 2010
Using SharePoint Designer 2010, it is very easy to create SharePoint 2010 components. This video shows how easy it is and how much faster you can create the objects in this environment compared to using the browser to manage your sites.
Video for What's new in InfoPath 2010 - Walkthrough
A walkthrough of what's new in Microsoft InfoPath 2010. Features such as Page and Section Layouts, Controls and the Ribbon interface are explored in tihs video.
Video for Configuring SharePoint security using SharePoint Designer 2010
SharePoint security can be managed easily using either the browser or SharePoint Designer. This video shows how you can manage it using SharePoint Designer 2010.
Video for Explore InfoPath 2010 Controls
This video explores the various controls which are present in InfoPath 2010. Many have been carried over from InfoPath 2007, but some are brand new in this version of InfoPath.
Video for XSLT List View web parts and Conditional Formatting
XSLT List View web part is a new type of web part that lets you manipulate data in a flexible manner using SharePoint Designer. A designer can easily connect to a variety of data sources to display data as needed and also setup any required conditional formatting of data. The best part about this setup is that a member of the site who is later using this data through the browser can easily interact with the views of this data or create additional views.
Video for Configuring Rules in InfoPath 2010
Use the Rules functionality in InfoPath 2010 to apply formatting, validate data, hide controls and also execute actions. Once a Rules is implemented, it can be easily copied and reused for other fields as well. Also, the Form Load event configuration is shown in this video.
Monday, October 19, 2009
Convert System.Drawing.Color to HTML color
Monday, October 12, 2009
SharePoint Development Virtual Lab
A SharePoint Developer Introduction - Page Branding
Sunday, October 11, 2009
DataView.Table - Problem to Persist Sort or Filter View
I was trying to Sort data with DataView and was trying to convert Dataview to table. I have notice even though view is sorted, when you try to convert it to table it would return only default sort.
Internal server error 500 while running asp.net application
I was getting "Internal server error 500" while running asp.net application.
Cause of Error Code 500
500 Internal Server Error is a general error code and does not reveal any informatino about the actual cause. You need to check the log files for more information i.e. (Event log - Eventviewer). You can also find more details for exact cause of error by disabling "Show friendly HTTP error messages" in your browser.
Solution of Error
Ones you have cause of error, solution would be simple. There could be different error for you, but for me this error was occurring because of following reason.
Event message: Unable to make the session state request to the session state server. Details: last phase='Sending request to the state server', error code=0x80072749, size of outgoing data=0
Exception type: HttpException
Exception message: Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same. If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection. If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '127.0.0.1' as the server name.
Now,
After checking "Services" in Administrative tools of control panel I found that "Asp.net State Service" was not installed.
I have tried to reinstall asp.net state service again using following command.
c:\Windows\Microsoft.NET\Framework64\v2.0.50727>aspnet_regiis -i
ones asp.net state service is installed you need to start the service and change the start up type option to automatic. Finally my asp.net application started working again.
More details for Win Vista Users
If you are running into above error, than try to check following.
1. Check whether IIS is Installed on your machine? (In Run dialogbox type: Inetmgr)
To Install IIS on Win Vista.
Control Panel > Programs and Features > Turns Windows features on or off
Select Ineternet Information Services from popup dialog and press ok button.
2. Open Services and check whether "Asp.net State Service" is installed? (In Run dialogbox type: services.msc)
To install asp.net state service. run following command from your command prompt and make sure that you are pointing to correct directory.
c:\Windows\Microsoft.NET\Framework64\v2.0.50727>aspnet_regiis -i
ones asp.net state service is installed you need to start the service and change the start up type option to automatic. Finally my asp.net application started working again.
Thursday, October 08, 2009
Restore failed for Server 'my-pc\sqlexpress'
Recently I have upgraded my laptop from 32 bit to 64 bit OS. Most of the thing work good except restoring of Database from my old laptop.
Restore failed for Server 'my-pc\sqlexpress'. (Microsoft.SqlServer.Smo)
------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.4035.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476
------------------------------
Program Location:
at Microsoft.SqlServer.Management.Smo.Restore.SqlRestore(Server srv)
at Microsoft.SqlServer.Management.SqlManagerUI.SqlRestoreDatabaseOptions.RunRestore()
===================================
System.Data.SqlClient.SqlError: Directory lookup for the file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\dailyfreecode_DATA.mdf" failed with the operating system error 5(Access is denied.).
(Microsoft.SqlServer.Smo)------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.4035.00&LinkId=20476
------------------------------
Program Location:
at Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQueryWithMessage(StringCollection queries, ServerMessageEventHandler dbccMessageHandler, Boolean errorsAsMessages)
at Microsoft.SqlServer.Management.Smo.BackupRestoreBase.ExecuteSql(Server server, StringCollection queries)
at Microsoft.SqlServer.Management.Smo.Restore.SqlRestore(Server srv)