GetReferencedAssemblies not returning all referenced assemblies

GetReferencedAssemblies is used to retrieve all referenced assemblies by assembly. But sometimes this list is not complete, and does no contain all assemblies, that are simply added to project references in Visual Studio. The problem is, that assembly is loaded to AppDomain “on demand” – lazy load – you must first “call/use something” from that assembly. … Read moreGetReferencedAssemblies not returning all referenced assemblies

Decode signed ZFO file and get XML Content programatically

ZFO files saves data in standart XML format, they can be opened by 602 XML Filler. But if you want get the content programatically, you need to use SignedCms class (on .net). Especially, Czech system for Data Messages (ISDS) sends signed ZFO file content from their web services. To get clean XML content, without signature … Read moreDecode signed ZFO file and get XML Content programatically

Move FILESTREAM database to new instance

To move filestream enabled database to new instance you can follow this process: 1. Identify files in your FILESTREAM DB with this script:     2. Detach your database using Management Studio controls or using this query (On old SQL Server instance): 3.(Not Neccesarry) – Now the database is detached, you can also move physical … Read moreMove FILESTREAM database to new instance

SharePoint Migrated Content-Database is too large

In migration process from SharePoint 2007 to SharePoint 2013 content databases are growing enormously on size. I have encountered growth about 70% (And that is really big problem, when you have limited resources – for example the 10GB limit of Microsoft SQL Server 2008 Free Edition). Because of differences between SharePoint 2007 and 2010 table design, the … Read moreSharePoint Migrated Content-Database is too large

SharePoint Exception: The request uses too many resources

SharePoint Exception: The request uses too many resources can occur if too many commands are executed while calling ExecuteQueryAsync function. Resolution is to up default resource boundaries for SP WebApp. This script outputs informations about resource boundaries for your SP WebApps on local server.   (Note: These settings are unavailable on SharePoint Online, so you must … Read moreSharePoint Exception: The request uses too many resources

System.ServiceModel.ServiceActivationException SharePoint JSOM

Using SharePoint JSOM api i have encountered very strange exception. Call to clientContext.executeQueryAsync threw sometimes exception System.ServiceModel.ServiceActivationException and responded with status 500. In our case it was problem with available RAM on development server. Actually it was thrown when available memory was under 5%. Simple increase on memory resolved this problem (no iisreset needed).

UpdatePanel postback full page reload

On my journey from SharePoint 2007 to SharePoint 2013 occured very strange problem. The project which I was migrating was using ASP UpdatePanels in combination with GridViews. The problem was that, if i clicked on some postback control in UpdatePanel, sometimes it made full page reload and sometimes classic postback refresh. I’ve spent several hours … Read moreUpdatePanel postback full page reload