Wednesday, February 27, 2013

SSRS


On multiple computer SSRS deployment, Kerberos authentication is needed. If Kerberos hasn’t been set up in the environment, trusted account will work as an alternative. Trusted account settings can be added through central admin, “General Application Settings” à “Report Services Integration”.
On report service site, the IIS manager site requires to set anonymous authentication to be disabled. If not, this may cause lots of issues; one of those issues is that it won’t let you to deploy reports from your BIDS to the SharePoint site.  The most common issue is the sharepoint site keep on popping up login windows. (http://technet.microsoft.com/en-us/library/bb326290.aspx )
To verify Report Server and SharePoint integration, type in browser window http://server_sitename/reportserver, where server_sitename is the report server name.
RSReportServer.config file location: for non Kerberos, the config needs to have RSWindowNTLM.
 C:\Program Files\Microsoft SQL Server\MSRS10.<InstanceName>\Reporting Services\ReportManager
Once Integration has been set up, you can create report from SharePoint document library by using report builder.
Understanding Groups (Report Builder and SSRS) http://technet.microsoft.com/en-us/library/dd255263.aspx


Other References
(Please Select the appropriate version from the "Other Version" option)
SQL server 2008 r2 sp2: http://www.microsoft.com/en-us/download/details.aspx?id=30437
SQL Server 2008 r2 sp2 CU4: http://support.microsoft.com/kb/2777358/en-us
Microsoft® SQL Server® 2008 R2 Service Pack 1 http://www.microsoft.com/en-us/download/details.aspx?id=26727  
Microsoft® SQL Server® 2008 R2 Service Pack 2 http://www.microsoft.com/en-us/download/details.aspx?id=30437

Reporting Services Execution log & Log Files:


Report Server Execution Log and the ExecutionLog3 view
http://msdn.microsoft.com/en-us/library/ms159110(v=sql.105).aspx  
Reporting Services Log Files http://msdn.microsoft.com/en-us/library/ms157403(v=sql.105).aspx  

Reporting Services Report Design Best Practices:


Reporting: Best Practices
http://msdn.microsoft.com/en-us/library/windows/desktop/bb226815(v=vs.85).aspx
Report Design: Best Practices and Guidelines http://msdn.microsoft.com/en-us/library/cc966445.aspx  
Report Design Tips and Tricks http://msdn.microsoft.com/en-us/library/bb395166(v=sql.90).aspx  
Reporting Services Recipes Book Released http://blogs.msdn.com/b/robertbruckner/archive/2010/03/21/reporting-services-recipes-book-released.aspx  | http://blogs.msdn.com/b/robertbruckner/archive/2010/04/11/reporting-services-recipes-book-downloads.aspx
Deciding Whether to Use an Expression or a Variable in SSRS http://sqlserverpedia.com/blog/sql-server-bloggers/deciding-whether-to-use-an-expression-or-a-variable-in-ssrs/  
Global variables in embedded code Reporting Services 2008 deployment http://social.msdn.microsoft.com/Forums/en-NZ/sqlreportingservices/thread/17b25a5a-e7d2-4813-8afc-6fb002357542
 

Thursday, February 7, 2013

SP Upgrade from 07 to 10

Move from 07 to 10
Restore DB to the SQL Server
Create a new web app
Remove content DB for this web app
Do command line (power shell) test-spdatabase
Add database: mount-spdatabase

check result: web application --> site collection list
manage content databases --> if the database is there.



Move from 10 to 10
restore DB to SQL server
create a new web application
remove content DB from this web app
run command: new-spcontentdatabase
check result: web application --> site collection list
manage content databases --> if the database is there. 

Sunday, December 9, 2012

Application Pools


IIS application pools provide a way for multiple sites to run on the same server computer but still have their own worker processes and identity. This can help to prevent an exploit on one site which enables the attacker to inject malicious code that can attack sites in different application pools.


Application pools are used for security separation. Memory leak will not bring other applications down. There are instances when an error (null pointer, buffer overflow) can bring the whole application pool down.
When each Web application starts, it loads an App. Domain into a memory. (.NET Framework instance) Depending on the complexity of all active Web applications, memory required to run all desired Web applications may grow significantly, and general guidance for the maximum number of applications sharing the same application pool may not apply.

Using separate application pools in your EPM Focused Office SharePoint Server Intranet Farm has no adverse effect on Office SharePoint Server and PS  components coexistence such as web parts

Wednesday, November 21, 2012

search through keyevent

 /*
     $("#clickMe").click(function(){
                sF.presentForm("<div>I am presented</div>");
        })
*/
    // _spBodyOnLoadFunctionNames.push("JsonCallwithOneParameter");
     function JsonCallwithOneParameter()
     {
   var htext = ""; 
   htext += "<link rel='stylesheet' type='text/css' href='../JQUERYFiles/jTPS.css' />";  
   htext += "<table id='demoTable' style='border: 1px solid #ccc;' cellspacing='0' width='700'>";
   htext += "   <thead>";
   htext += "  <tr>";
   htext += "   <th sort='description'>Room Type</th>";
   htext += "   <th sort='beds'>Beds</th>";
   htext += "   <th sort='maxGuests'>Occupancy</th>";
   htext += "   <th sort='average'>Nightly Avg</th>";
   htext += "  </tr>";
   htext += " </thead>";
   htext += " <tbody>";
   htext += "  <tr>";
   htext += "   <td>1 Bdrm Condo K (96 left)</td>";
   htext += "   <td>1</td>";
   htext += "   <td>4 max</td>";
   htext += "   <td>$169.00</td>";
   htext += "  </tr>";
   htext += "  </tbody>";
   htext += "  <tfoot class='nav'>";
   htext += "    <tr>";
   htext += "     <td colspan=7>";
   htext += "      <div class='pagination'></div>";
   htext += "      <div class='paginationTitle'>Page</div>";
   htext += "      <div class='selectPerPage'></div>";
   htext += "      <div class='status'></div>";
   htext += "     </td>";
   htext += "    </tr>";
   htext += "   </tfoot>";
   htext += "</table>";
  
   document.getElementById('feedContent').innerHTML = htext;
      }
  function searchpressed(){
 
   var sSearch = document.getElementById('txtSimpleSearch')
   document.getElementById('msg-keypress').innerHTML = sSearch.value;
    //GetFastResources
   var productURL = "http://win-n9fdqlp6lvb:8001/sites/CRManagement/_vti_bin/CSSharePointServices/ContractResourceClassSVC.svc/GetFastResources";
   var entry = {"name":""+ sSearch.value+""};

         $.ajax({
             type: "GET",
             url: productURL,
             data: entry,           
             contentType: "application/json; charset=utf-8",
             dataType: "json",
             //cache: false,
             complete: processobjresult,

             
             error: function () {
           //debugger;
                 alert('error second');
             }
         });

  }
  

Wednesday, November 14, 2012

Create a simple WCF in SharePoint

Create a Simple WCF in SharePoint
http://scottcurrier.wordpress.com/2010/07/28/simple-wcf-service-within-sp2010-note-to-self/

JSON, parseJSON
http://api.jquery.com/jQuery.parseJSON/
var obj = jQuery.parseJSON('{"name":"John"}');
alert( obj.name === "John" );
 

Got REST? Querying SharePoint List data using REST services client-side: Part 1 
https://www.nothingbutsharepoint.com/sites/devwiki/articles/Pages/Got-REST-Querying-SharePoint-List-data-using-REST-services-client-side-Part-1.aspx


Got REST? Querying SharePoint List data using REST services client-side: Part 2
https://www.nothingbutsharepoint.com/sites/devwiki/articles/Pages/Got-REST-Querying-SharePoint-List-data-using-REST-services-client-side-Part-2.aspx
 
  
Overview of using REST in SharePoint 2010
http://www.synergyonline.com/blog/lists/posts/post.aspx?id=35

REST-Based Ajax Services with WCF in .NET 3.5
http://www.code-magazine.com/Article.aspx?quickid=080014

JQUERY DataTable
http://www.overset.com/2008/08/30/animated-sortable-data-table-jquery-plugin--jtps/

Wednesday, October 17, 2012

Remove Duplicates From Fast

2 Useful links:
http://searchunleashed.wordpress.com/2011/12/08/how-remove-duplicate-results-works-in-fast-search-for-sharepoint/

http://msdn.microsoft.com/en-us/library/ff521593.aspx


Search a specific managed property:
and(string("hello world"), filter(property-spec:or(1, 20, 453, ... , 3473)))
and(string("hello world"), filter(property-spec:int("1 20 453 ... 3473", mode="or")))

Search all strings within specific managed property
and(string("."), filter(managedproperty-spec:or(variableofinput)))