Posts

Showing posts from June, 2012

Top Link Bar Menu Dropdown In Sharepoint Site

Image
Top Link Bar Menu Dropdown In Sharepoint Site   step 1:           Make sure SharePoint Server Publishing Infrastructure is activated on your sharepoint Site Collection.If not then Activate that feature.    Site Actions -> Site Settings ->Site collection administraion-> Site Collection Features -> SharePoint Server Publishing Infrastructure    Step 2:          After that was activated, I now could see " Navigation" under Look and Feel under my Site Settings. I then changed this to the following:      Global Navigation -> Display the Navigation items below the current site -> Show subsites.     To add this Programatically see this link

CREATE A LIST AS A TEMPLATE, AND RESTORE THE TEMPLATE TO LIST

CREATE A LIST AS A TEMPLATE, AND RESTORE THE TEMPLATE TO LIST     You can create a list template and restore it in any places as a list. CREATE A LIST AS A TEMPLATE:        Do it in following way. (Open your site->)list->list settings->save list as a template and save the template at any place you want. RESTORE THE TEMPLATE TO LIST:       Do it in following way (open your site)->site actions->site settings->gallaris->list templates->(document->upload document)      And after that Site Actions->more Options->list->(there you can find your template name.And select that template name)

BACKUP AND RESTORE OF A WEB(OR SUBSITE) IN SHARE POINT

Backup web:         Open sharepoint power shell. and type the following  command on your power shell Import-spweb <fullurl which u want to backup> -path <location>  Restore web:         Open sharepoint power shell. and type the following  command on your power shell Export-spweb <fullurl where u want to restore> -path <location>

CREATE A SITE COLLECTION BACKUP AND RESTORE IN SHAREPONT

Image
          Hi, here i will explain how to create a site collection backup from one site, and restore it into another site collection. you can do it by sharepoint powershell. Backup site collection: Open site powershell any type the following command. Backup-spsite <fullurl which u want to backup> -path   <location:filename.bak> Restore site collection: If you restore it in a blank site then. Open site powershell any type the following command. Restore-spsite <fullurl whereu want to restore> -path <location:filename.bak> that's it. It will restore it. Or if you restore in a team site or some data existing  site then Open site powershell any type the following command. Restore-spsite <fullurl whereu want to restore> -path <location:filename.bak>  -force and it will ask you for conformation. type y. and it will automatically restore in that site.  That's i...

create a subsite from top level site collection​:

       You can create a subsite from top level site collection by using power shell commends. Step 1:    Get the top level site collection:        Open sharepoint power shell. and type the following commend Export :  stsadm -o export -url < fullurl which u want to export > -filename < location:filename.dat >  Step 2:     Import as a sub site of another top level site      Open sharepoint power shell. and type the following commend Import : stsadm -o import -url < destination url > -filename < location where u stored.dat file > Step 3:         That's it,the site will imported as a subsite. But you have to check all the webparts are correctly deployed, and you have to manually give the site user permissions.                ...

"fatal error: cannot find feature...​"

"fatal error: cannot find feature...​"            In sharepoint site sometimes you may get this kind of errors, when you are going to connect  your sharepoint site. If you get this kind of errors then just do that following steps to solve it. DO THE FOLLOWING:     In that above error, that should contain the name of some webparts.(note the webpartname)    check the following       central administration -> system setting -> manage form solution -> There check that feature(webpart) is there or not.If it is not present then deploy and install using below add & install command   add feature(or solution): (using sharepoint power shell):           Add-spsolution c:\xxx.wsp      install feature:          Install-spsolution -identity xxx.wsp -webapplication http://srv...

CREATE A SIMPLE NUMBERS LOADING ANIMATION USING C# IN SILVERLIGHT:

Image
CREATE A SIMPLE NUMBERS LOADING ANIMATION USING C# IN SILVERLIGHT :        Hi,  Here i am  explain how to create a simple  numbers loading animation. And here the number will be loaded from '0' to '100' Step 1:            Create a button(name btnnumber) and label(name lblnumber) Step 2:      Here we are going to do that by  DispatcherTimer class. It is from the following name space       using System.Windows.Threading;  What is dispatch timer? How to use that?        DispatcherTimer is a class that is used to call a function in a particular  time interval. see the below example(we should use within any function)          DispatcherTimer timer= new DispatcherTimer ();          ...

"The remote session was disconnected because there are no Remote Desktop client access licenses available for this computer. Please contact the server administrator."

Image
"The remote session was disconnected because there are no Remote Desktop client access licenses available for this computer. Please contact the server administrator."                        when   you are trying to connect your remote system you may get this  error . To solve this do the following steps Step 1:      start->run->and type regedit->hit enter Step 2:      In that regeditor, click HKEY_LOCAL_MACHINE->SOFTWARE Step 3:      click SOFETWARE->MICROSOFT->MSLISENCING (delete this folder) Step 4:      Now goto start->Remote desktop connection->rightclick and run as a administrator(for 1st time only)->give administrator username & password That's it. Now you can connected. and the deleted folder also a...

The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license.

Image
The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license.                             You  my see this kind of errors while you are connection your desktop connection.  Then you have to do the following steps. Step 1:            click start->administrative tools->hit enter Step 2:       click Remote Desktop Services Step 3:            Click Remote Desktop Session Host Configuration     Step 4:     (In this following steps it may display some warning messages.dont worry about it,and do the following steps)     In that remote desktop session host configuration->chec...

"Cannot connect to the configuration database" Error in Sharepoint 2010

Image
"Cannot connect to the configuration database" Error in Sharepoint 2010           When you are trying to connect your share point site, the above error will come. step 1:            Check the sql connection.If it it not connected and show error message then do the following steps. step 2:           Click start and type ->administrative tools in search box->hit enter step 3:       Double click on services Step 4:      In the list of services, fine the MSSQLSERVER service. and check the status column, if it is not started then right click and start  all  MSSQLSERVER services. Step 5:      Now go and connect the sql server, i will connect, and your site also will be connect. Thats it, problem solved. For Reference see this...

CALL A FUNCTION USING TIMER IN C#

Image
CALL A FUNCTION USING TIMER IN C# Hi,       Here we are going to see how to call a particular function using c#. We can do that by using           DispatcherTimer class.Do the following steps.Here i explained using simple button click event. Step1:       Include namespace-> using System.Windows.Threading; Step 2:      Create a instance for the DispatcherTimer class, at where you want to call the function.Here i created and  call with in a button click event.         DispatcherTimer timer= new System.Windows.Threading.DispatcherTimer();             timer.Tick += delegate(object s, EventArgs args)             {                 //writ...