1) Add below configuration in web.config file <system.web> <webServices> <wsdlHelpGenerator href="Deny.aspx"></wsdlHelpGenerator> // You need to create this page (simple aspx/htm to show to users) </webServices> </system.web> OR 2) <system.web> <webServices> <protocols> <remove name="HttpPost" /> <remove name="HttpGet" /> <remove name="Documentation"/> </protocols> </webServices> </system.web>
DECLARE @name VARCHAR ( 128) DECLARE @SQL VARCHAR ( 254) SELECT @name = (SELECT TOP 1 [name] FROM sysobjects WHERE [type] = 'P' AND category = 0 ORDER BY [name]) WHILE @name is not null BEGIN SELECT @SQL = 'DROP PROCEDURE [dbo] . [' + RTRIM ( @name) +']' EXEC (@SQL) PRINT 'Dropped Procedure: ' + @name SELECT @name = (SELECT TOP 1 [name] FROM sysobjects WHERE [type] = 'P' AND category = 0 AND [name] > @name ORDER BY [name]) END GO /* Drop all views */ DECLARE @name VARCHAR ( 128) DECLARE @SQL VARCHAR ( 254) SELECT @name = (SELECT TOP 1 [name] FROM sysobjects WHERE [type] = 'V' AND category = 0 ORDER BY [name]) WHILE @name IS NOT NULL BEGIN SELECT @SQL = 'DROP VIEW [dbo] . [' + RTRIM ( @name) +']' EXEC (@SQL) PRINT 'Dropped View: ' + @name SELECT @name = (SELECT TOP 1 [name] FROM sysobjects WHERE [type] = 'V' AND category = 0 AND [name] > @name O...
net stop SPTimerv4 To start timer service net start SPTimerv4 To stop SharePoint Administration service: net stop SPAdminV4 To start SharePoint Administration service net start SPAdminV4
SPMetal.exe Using the tool called SPMetal, we generate our entity-classes that are needed to perform these object oriented queries toward our SharePoint server Command for Generate entity class C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN>spmetal.exe /web:http://sharepointsite /code:c:\classname.css