Showing posts with label MOSS. Show all posts
Showing posts with label MOSS. Show all posts

Thursday, March 25, 2010

Content deployment job 'XXX' failed.The remote upload Web request failed.

During a Sharepoint publishing process I got the following error:

Content deployment job 'XXX' failed.The remote upload Web request failed.

The problem that was occuring was that the account that was being used to authenticate against the central administration of the target server in "Content Deployment Settings" from the source did not have permissions in the destination site collection. I gave that account permissions to the site collection and it worked.

Sunday, April 19, 2009

Flushing Expired Session STat Data from SSP Database

To flush expired session' stat Data from SSP Database run the following script:

Use SSP
truncate table ASPStateTempSessions

Tuesday, November 18, 2008

How to get physical path of 12 in code.

//use reference to below
using System.Web;


string strPAthTo12hive =HttpContext.Current.Server.MapPath(@"~\_layouts/1033/PurchaseLinks.js");

Wednesday, August 6, 2008

How to view GAC Folders.

The following command will allow users to see the folders within the "c:\windows\assembly" or GAC folder.

regsvr32 /u c:\WINDOWS\mICROSOFT.net\Framework\v2.0.50727\shfusion.dll

Run the below command to restore your site back to GAC view.

regsvr32 c:\WINDOWS\mICROSOFT.net\Framework\v2.0.50727\shfusion.dll

Thursday, July 24, 2008

MOSS: Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

This Error occurs when adding a wepart to page because the webpart is disposing the spsite or spweb object. If your code looks like below:


using (SPWeb web = SPContext.Current.Web)
{
//some coded here
}


Change it to the format below:


SPWeb web = SPContext.Current.Web;
// your code here

And the Exception (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) should be resolved.