14/05/2012

allows a limit of 11 direct dependencies, and that limit has been exceeded.


Parser Error Message: The page '/_catalogs/masterpage/_____.master' allows a limit of 11 direct dependencies, and that limit has been exceeded.

 To solve this error:
Go to web.config of your site collection and modify the value DirectFileDependencies to a larger value.

Read more...

01/05/2012

How To Delete The Log File Data From Database

To delete the Log file use the following script:

dbcc shrinkfile('DB_Name_log', 1)
backup log DB_Name with truncate_only
dbcc shrinkfile('DB_Name_log', 1)


Read more...

Calculate the size of log file in Database

To calculate the size of Log file use the follwoing script:

SELECT DB_NAME(database_id) AS DatabaseName,
Name AS Logical_Name,
Physical_Name, (size*8)/1024 SizeMB
FROM sys.master_files
WHERE DB_NAME(database_id) = 'AdventureWorks'
GO




Read more...

Copy sharepoint pages or folders containing webparts

There is way to copy sharepoint pages that contains webparts to another location without lose the webpart, only follow the following steps:

1- Open sharepoint designer.
2- Go to target page or folder.
3- Right-Click, and chose "Publish Selected Files...".
4- Save it to anywhere on your computer.
5- Copy the published files.
6- Paste it anywhere you want by sharepoint designer.

Read more...

Sharepoint search as you type with jquery


Read more...