Pages

Friday, October 24, 2014

Installing SharePoint 2013 Developer Tools for Visual Studio 2012

However Visual Studio 2012 does not include the SharePoint 2013 Developer Tools Preview with it.
So, to install the preview tools, you need to grab the Microsoft Web Platform Installer
Download the web platform installer, search for SharePoint and you have it there:

Not enabled Share point solutions for SP 2013





Need to download and install in the following software’s until 9th point and for 10th  point need to install via Microsoft Web Platform Installer












you have to install properly on the office developer tools

Microsoft Office Developer Tools for Visual Studio 2012 - preview
 Microsoft Office Developer Tools for Visual Studio 2012

otherwise you will get in the below error



Then you have to unistall and install again

Now you can create Visual webpart and deploy into SharePoint 2013

Friday, October 10, 2014

Manually Installed Microsoft App Fabric Prerequisite for SharePoint Server 2013


In order to manually install Windows Server App Fabric for SharePoint 2013,

download the install file:

http://www.microsoft.com/en-us/download/details.aspx?id=27115

you just store the file at c drive:

run the following commands from an elevated PowerShell command line:

$file = “c:\WindowsServerAppFabricSetup_x64.exe”


& $file /i CacheClient”,”CachingService”,”CacheAdmin /gac
 
Note: The double quotations around the commas.

Thursday, October 9, 2014

Certificate Validation errors in SharePoint 2013

I got client investigating performance issues – the Portal pages were sometimes taking a very long time to load. Page load times were inconsistent, and the browser would spend a long time “Connecting…”, before content would load on the page. Checking the event logs, we saw a frequent error message:

Error:

A certificate validation operation took 30008.7312 milliseconds
and has exceeded the execution time threshold. 
If this continues to occur, it may represent a configuration issue. 
Please see
http://go.microsoft.com/fwlink/?LinkId=246987 for more details.

 I did something similar before and had to generate a cert via powershell. So I done the following in the SharePoint Management Shell:
$rootCert = (Get-SPCertificateAuthority).RootCertificate
$rootCert.Export(“Cer”) | Set-Content C:\root.cer –Encoding Byte


The Certificate file will be saved on the C drive


 Once done I went back into the certificates snap in and imported the certificate into the trusted root certificate authorities. Once done the bulk of the errors disappeared 

Then I added Host entry of the web app port number in that host file entries

Friday, September 26, 2014

Error 1603 installing AppFabric 1.1 for Windows Server 2012

I just uninstall the AppFabric and re-install the installer would run for a while and then error out with the following message:

Issue:

AppFabric installation failed because installer MSI returned with error code: 1603

Solution:

Removing the extra double quote " in the path of PSModules in Environment Profiles helped in solving this issue on Win server 2012





 

Wednesday, August 27, 2014

how to design ASP.Net Grid control with Survey or quiz records in the Grouping Category of the Questions

1. Create DataList control.
2. Create Grid control inside the DataList
3. Bind Catagory data in the DataList control
4. It will loop all related questions during row databound.


 

Tuesday, July 22, 2014

Configure AJAX Control Toolkit in the Sharepoint 2007 in Windows server 2003 or Windows server 2008 R2




AJAX has been working in the SharePoint 2007 with windows server 2003.
So we migrated the above share point code and installed share point 2007 with windows server 2008 R2, but AJAX is not working in the new environment, after that I researched lot of articles  long long hours for trouble shooting and apply in the below steps
Steps
1.Installing Correct one of the AJAX setup(e.g 1.0,3.0, etc)
2.Modifying Port web config
3.Amend Master Page with script Code
4. Move .JS related files to Layout folders(i missed this step, I face issue then i fixed it)



<ajaxToolkit:ToolkitScriptManager EnablePartialRendering="true" runat="server" ID="ScriptManager1" />

For enabling Ajax in SharePoint 2007, We need first to configure SharePoint Portal to support AJAX. We can do it in following way -
  • Installing ASP.NET AJAX on servers in your farm
    • install the full " AJAX Extensions " from
ajax.asp.net
    • Download ajextoolkit -
http://ajaxcontroltoolkit.codeplex.com/releases/view/11121
  • Configure SharePoint to support AJAX & AjaxControlToolkit
    For enabling Ajax in SharePoint 2007, you need first to configure SharePoint to support AJAX. For this we need to add some configuration settings in web.config file.Locate your default web.config file ("C:\Inetpub\wwwroot\wss\VirtualDirectories\YourWebAppPortNo\web.config").