Wednesday, May 20, 2009
Monday, May 4, 2009
Error while importing a sitecollection in MOSS 2007
Recently got this error message while trying to import a site collection in MOSS 2007:
FatalError: Failed to read package file.
at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest request)
at Microsoft.SharePoint.Deployment.SPImport.Run()
*** Inner exception:
Failure writing to target file
at Microsoft.SharePoint.Library.SPRequest.ExtractFilesFromCabinet(String bstrTempDirectory, String bstrCabFileLocation)
at Microsoft.SharePoint.Deployment.ImportDataFileManager.<>c__DisplayClass2.<Uncompress>b__0()
at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest request)
Resolution: The error is because of insufficient space on c drive. Please clean up c drive run the import process again.
Posted by
Prashanth Palakollu
at
5:20 PM
1 comments
Labels: MOSS 2007
Thursday, April 16, 2009
IE 8 NTLM Authentication on Windows 2008
Once you RDP onto the server and try to connect to the website, it will prompt for your windows credentials and will get an access denied message. This problem occurs because Windows includes a loopback check security feature that helps prevent reflection attacks on your computer(Probably some kind of security change has been made in IE8 related to this feature). Therefore, authentication fails if the FQDN or the custom host header that you use does not match the local computer name.
Resolution: Disable the loopback check
- Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa - Right-click Lsa, point to New, and then click DWORD Value.
- Type DisableLoopbackCheck, and then press ENTER.
- Right-click DisableLoopbackCheck, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor, and then restart your computer.
Posted by
Prashanth Palakollu
at
9:32 AM
3
comments
Labels: General
Sunday, February 1, 2009
Loading this assembly would produce a different grant set from other instances
After installing .NET 3.5 sp1, all the MOSS web applications were working fine except for one. The following error was showing up:
Stack trace:
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
at System.Web.Configuration.Common.ModulesEntry.Create()
at System.Web.Configuration.HttpModulesSection.CreateModules()
at System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers)
at System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) at System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
Fix:
Just restart the application pool account associated with the erroring application and you be all set.
Posted by
Prashanth Palakollu
at
12:17 PM
6
comments
Labels: MOSS 2007
Saturday, January 17, 2009
MOSS search access denied error after .NET Framework 3.5 sp1 installation
Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository.
To fix the above issue, try the below steps:
- Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
- Right-click Lsa, point to New, and then click DWORD Value.
- Type DisableLoopbackCheck, and then press ENTER.
- Right-click DisableLoopbackCheck, and then click Modify.
- In the Value data box, type 1, and then click OK.
- Quit Registry Editor, and then restart your computer.(Try to re-run the crawl after registry change without restart. Sometimes it may not be necessary to restart.)
Posted by
Prashanth Palakollu
at
4:46 PM
1 comments
Labels: MOSS 2007
Tuesday, December 16, 2008
MOSS out of the box search error
In order to fix the error, please make sure the application pool, the site is running under, has access to the search index. Here are the steps to follow:
- First make sure the MOSS Search Service is running. Check the event viewer for error messages. If everything is ok, go to the next step
- Find out the application pool account the site is running under(network service, local account or another account)
- Go to Central administration -> SSP settings -> Search
- Check the default content access and make sure it is the same as the above one
Posted by
Prashanth Palakollu
at
9:33 PM
0
comments
Labels: MOSS 2007
Thursday, December 4, 2008
MOSS SSP URL
1: private string getSSPURL()
2: {
3: string uri = string.Empty;
4: ServerContext sc = ServerContext.Default;
5: object ssp = sc.GetType().GetProperty("SharedResourceProvider", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(sc, null);
6: Guid sspGuid = (Guid)ssp.GetType().GetProperty("AdministrationSiteId").GetValue(ssp, null);
7: using (SPSite sspSite = new SPSite(sspGuid))
8: {
9: uri = sspSite.WebApplication.GetResponseUri(SPUrlZone.Default).AbsoluteUri + "ssp/admin";
10: }
11: return uri;
12: }
Posted by
Prashanth Palakollu
at
10:21 PM
1 comments
Labels: MOSS 2007
