Thursday, October 24, 2013

Path for the Host File

I posted this very simple, because many times when I work on SharePoint. I forgot the path for Host Entry to check .So, Useful for the Bees who are same like me some times!!!!

Path : C:\Windows\System32\Drivers\etc\hosts

Post Setup(PSConfig)Configuration of SharePoint Products and Technologies failed

While Running PSconfig, Its failed in Any step.

Please follow the below Steps to fix the issue.

 Fix 1:

Copy the web.config file from: C:\ProgramFiles\CommonFiles\MicrosoftShared\WebServer         Extensions\12\CONFIG To: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS.

  Then run: psconfig -cmd upgrade -inplace b2b –wait  –force 

Upon re-running the configuration wizard via command line, my upgraded succeeded and returned. Run the PSConfig Wizard and check for Success of it.

Note: Delete web.config from C:\ProgramFiles\CommonFiles\MicrosoftShared\WebServer Extensions\12\TEMPLATE\LAYOUTS.

    Fix2 :

Rename the DSN in the registry to DSN.old

Path :HKLM > Software > Microsoft > Shared Tools > Web Server extensions > 12 > Secure > ConfigDB > DSN

Note: The path For SharePoint 2010 is below

Path :HKLM > Software > Microsoft > Shared Tools > Web Server extensions > 14.0 > Secure > ConfigDB > DSN
        
       

Once the DSN is renamed, Run the PSCONFIG Wizard again.

Note: Please consider the customizations while running this step in Production.



Execution policy Error Running Scripts Within Windows Power Shell


 Error While Running the Script In Power shell

Cause: The execution policy is determined by execution policies that you set by using Set-ExecutionPolicy and the Group Policy settings for the Windows PowerShell execution policy. The default
value is "Restricted."

Resolution: Run the below command to Run\Execute the command in power shell.

This command gets the current execution policy for the computer.

·  Get-ExecutionPolicy

These commands set a new user preference for the execution policy and then display the effective execution policy

·  Set-ExecutionPolicy RemoteSigned

Unknown Error Trying To Lock File

Unknown Error Trying To Lock File

An error screen while try to edit Office 2007 documents uploaded in SharePoint Document library
Unknown Error Trying To Lock File

This is mostly related to operating system and already been fixed in SP1, though sometimes we have to modify below registry settings.

Resolution:

Locate to the below path in Registry.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
On the Edit menu, point to New, and then click Multi-String Value.
Type AuthForwardServerList, and then press ENTER.
On the Edit menu, click Modify.
In the Value date box, type the URL of the server that hosts the Web share, and then click OK.
Exit Registry Editor.



Unable to Select the ZIP files when we select upload multiple documents option

When I work on My Test Lab, I got the issue that not able to select the ZIP files. Thought to share this to someone who is looking for the same.

Issue:

ZIP files do not appear when we select upload multiple documents option.
For some odd reason, we can’t see our zip files when choose “Upload Multiple Documents”  

Resolution:

Microsoft KB suggests that it is a design behavior with windows vista machines and needs registry modifications to fix it completely.


Fix Suggested:

To fix this problem you need to delete the following registry keys. 

HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11D1-A9F0-00AA0060FA31}
HKEY_CLASSES_ROOT\CLSID\{0CD7A5C0-9F37-11CE-AE65-08002B2E1262}


ShareThis

X