Pages

Saturday, October 23, 2010

Upload Big Size Files In Sharepoint Applications

Hello Friends
Let us see what we need to make changes for uploading Big Size files for Sharepoint Applications. Here
are the changes which we need to make in web.config files and Central Administration.
1>     Open the Web.config file of this webapplication by going to Local Drive:\Inetpub\wwwroot\wss\VirtualDirectories\SharepointTestApplicationPortNumber(example 80)
2>     Find < httpRuntime and replace that line with the following line.
<httpRuntime  executionTimeout="999999" maxRequestLength="2097151"   />
3>     Go to Sharepoint  3.0 Central Administration à Application Management à Under Sharepoint WebApplication Management you find “WebApplication General Settings”.
4>     Click on that.
5>     Change the proper sharepoint test webapplication .
6>     In that there is one option “Maximum Uplod Size”  50 MB is by default , make it Enter 2047.
7>     Click OK

Thanks
Disha Shah

Error Resolution For COM Error For Sharepoint Application on Windows Server 2008 64 Bit

Hello Friends
Retrieving the COM class factory for component with CLSID {BDEADEE2-C265-11D0-BCED-00A0C90AB50F} failed due to the following error: 800703fa
We have noticed that this error occurs only on SharePoint 2007/Windows 2008 64 Bit server. The error pattern is kind of strange, application will work fine initially and then intermittently server will start throwing "COM Class factory" Error. As of now we did not find any set of steps to reproduce this error. The only quick resolution we have found during research is to perform IISRESET and error will go away. The Error will again reappear after 1-2 days. Finally after opening case with Microsoft support and extensive research we got the resolution. Please follow the steps –
1.       To open IIS 7 Manager from the Start menu
1.   Click Start, and then click All Programs.
2.   Click Administrative Tools, and then click Internet Information Services (IIS)    Manager.
3.   To open IIS Manager from the Search box
4.   Click Start.
5.   In the Start Search box, type inetmgr and press ENTER.
2.   Access Application Pools within IIS manager. Find and select “Application Pool” for your  SharePoint application. 
3.   Click “Advanced Settings” from Actions menu. You will be presented with settings window. Find “Load User Profile” settings under “Process Model” section. By default the value is set to “False”. Change it to “True”.
4.   Click “OK” to save the settings. Exit IIS manager from File->Exit.
5.   Changing Load User Profile setting from FALSE to TRUE will stop Intermittant COM errors.


Thanks
Disha Shah

Error Resolution for Server Authentication Issue with Sharepoint Application which uses Host Headers

When you create a web application with a host header on SharePoint which is installed on Windows Server 2008, your credentials can not be authenticated if you try to log in to the web application on the server itself; although you can access the site from outside.

The main reason for this issue is, the system blocks the authentication procedure while resolving the host header given to the web application. To resolve this issue, a modification must be done to the server’s registry.

To resolve this problem,  Administartor has to perform following steps.
1.      Click Start, click Run, type regedit, and then click OK.
2.      In Registry Editor, locate and then click the following registry key:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
3.      Right-click MSV1_0, point to New, and then click Multi-String Value.
4.      Type BackConnectionHostNames, and then press ENTER.
5.      Right-click BackConnectionHostNames, and then click Modify.
6.      In the Value data box, type the host name or the host names for the sites that are on the local   computer, and then click OK.
7.      Exit Registry Editor, and then restart the computer.

      Note: For Example if you used Host Header as “sharepointdev” for your sharepoint application then you need to add this name in BackConnectionHostNames box.
Following are the articles which explains the issue and fix for the same.
http://vspug.com/nezihtinas/2009/04/21/unable-to-authenticate-to-a-sharepoint-portal-on-the-server-itself/
http://support.microsoft.com/kb/956158/en-us

This is known issue with SharePoint 2007 on Windows Server 2008 platform and not specific to any sharepoint application. The above registry modification must be done for all other SharePoint applications which are using Host Header.

Thanks
Disha Shah