Monday, August 30, 2010

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level , the name does not exist"

Error Description:


Suppose you have created folder under C:\inetpub\..\80 .It's having user control files & images .If you try to access the user control or images in sharepoint site ,then you will get the above error. bcoz the folder is not mapped to IIS.

To fix the issue .Pls do the following steps

2.Under websites folder->Your website->Select the folder->Right click ->Properties->Directory Tab
3.Click the Create button (It is visible if application is not created,otherwise you can see the "Remove" button - It means Application already created for this folder)
4.Select the URL name (where the application is used).
5.Reset the IIS


Sunday, August 29, 2010

Paging Content Query Webpart

Hi Guys,

If you want to add the Paging option in Content Query webpart. Pls have a look(

The following steps you need to do:

1.Download the .wsp file
2.Put the file in ..12/bin/
3.Run this command "stsadm -o addsolution -filename ExtendedCQWP.wsp
4.Goto Central Admin->Operations->Solution Management
5.Deploy the ExtendedCQWP.wsp file(Specify the Web application)
6.Goto your sharepoint Site Settigs->Site Collection Feature->Actiavate the Extended Content Query webpart.
7.Now the ExtendedCQWP & ExtendedCQWP Pager webpart is added in webart gallery.
8.Just add the webparts(Both ECQWP & Pager) in your page where you need.
9.Connect the webparts (Click the connections(next to modify shared webpart)).
10 .In Extended CQWP ->Modify shared webpart -> Data view->Query string variable (Type "page")
11. In "items per page" give the value more than 0(zero).
12.Publish the page.
13.At first time just append "?page=1" in url then only it will work.

Ask me , if you have any queries.