15 August, 2012

The folder may be located in an unavailable location, protected with a password, or the filename contain illegal characters

Different users…different issues but all are using the same product i.e. SharePoint
And we are here to resolves the issues and guide them in right directions.

This time-I am sharing in interesting issues which is based on sharepoint designer. User opened a ticket by mentioning that she is getting the following error message while opening the site in sharepoint designer.

The folder 'http://localhost' isn't accessible. The folder may be located in an unavailable location, protected with a password, or the filename contains a / or \.
What needs to be done if we encounter such issues? If we notice carefully then we will come to know that the error message is self explanatory. Ok-what exactly?
Here are the guidelines by which you can check the parameters one by one and get back to me in case of any questions/queries/information required:
1)   There is no such site or folder?
2)   This location is inaccessible because you are using FORM Authentication? You need to extend the web application on another port to connect to SPD.
3)   URL contains illegal characters?
4)   URL contains file names i.e. default.aspx
5)   Check in Central Administration > Application Management > Authentication Providers. Make sure "Enable Client Integration" is set to "Yes".
Thank you. Please feel free to contact/any queries/any questions, I would be more than happy to help you as well as resolves your issues.

Use Central Administration to restore a Web application in SharePoint 2010

To restore a Web application by using Central Administration

1. Verify that the user account performing this procedure is a member of the Farm Administrators group. Additionally, verify that the Windows SharePoint Services Timer V4 service and the Farm Database Access account have Full Control permissions on the backup folder.

2. In Central Administration, on the Home page, in the Backup and Restore section, click Restore from a backup.

3. On the Restore from Backup — Step 1 of 3: Select Backup to Restore page, from the list of backups, select the backup job that contains the farm or Web application backup, and then click Next.

4. On the Restore from Backup — Step 2 of 3: Select Component to Restore page, select the check box that is next to the Web application, and then click Next.

5. On the Restore from Backup — Step 3 of 3: Select Restore Options page, in the Restore Component section, make sure that Farm\ appears in the Restore the following content list.

In the Restore Only Configuration Settings section, make sure that the Restore content and configuration settings option is selected.

In the Restore Options section, under Type of Restore, select the Same configuration option. A dialog box appears that asks you to confirm the operation. Click OK.

Click Start Restore.

6. You can view the general status of all recovery jobs at the top of the Backup and Restore Job Status page in the Readiness section. You can view the status for the current recovery job in the lower part of the page in the Restore section. The status page updates every 30 seconds automatically. You can manually update the status details by clicking Refresh. Backup and recovery are Timer service jobs. Therefore, it may take several seconds for the recovery to start.

If you receive any errors, you can review them in the Failure Message column of the Backup and Restore Job Status page. You can also find more details in the Sprestore.log file at the UNC path that you specified.

14 August, 2012

Error message when you try to add an existing Windows SharePoint Services 3.0 list to an Access 2007 database: "You do not have the necessary permissi

Symptoms:
You try to add an existing Microsoft Windows SharePoint Services 3.0 list to a Microsoft Office Access 2007 database. When the Windows SharePoint Services list contains a column name that has more than 64 characters, you receive an error message that resembles the following:

You do not have the necessary permissions to use the '' object. Have your system administrator or the person who created this object establish the appropriate permissions for you.Note The term "column name" is what you see in the SharePoint user interface. Colum name is the column’s display name.


Cause:
This problem occurs because the Access 2007 database engine disallows columns that have names that contain more than 64 characters.

MS KB Article:

Lync 2010 Trunk Media Bypass

Lync 2010 Trunk Media Bypass

Hello Guys,

Almost everyone heard about Trunk Media Bypass however you how it work, how to configure the same, today I will show you same.

Trunk Media Bypass is the media from the Lync client destined for PSTN/SIP-trunk or vice-versa always traversed through the Mediation Server.

With Lync 2010, a Mediation Server can now have a one to many relationships with media gateways, allowing a single Mediation Server to control multiple PSTN Gateways, IP-PBXs or E-SBCs. This flexible relationship is made possible via a powerful new Media Bypass feature in Lync 2010.

How to Configure Media Bypass on a Trunk?
1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the CsVoiceAdministrator, CsServerAdministrator, or CsAdministrator role. Open a browser window, and enter the Admin URL to open the Lync Control Panel.
2. In the left navigation bar, click Voice Routing and click Trunk Configuration.
3. On the Trunk Configuration page, use one of the following methods to configure a trunk:
·        Double-click an existing trunk (for example, the Global trunk) to display the Edit Trunk Configuration dialog box.
·        Click New, and select a scope for the new trunk:
1. Site trunk: Choose the site for this trunk configuration from the Select a Site dialog box, and then click OK. If a trunk has already been created for a site, the site does not appear in the Select a Site dialog box.
2. Pool trunk: Choose the service for this trunk configuration (for example, a PSTN gateway at a specified site) from the Select a Service dialog box, and then click OK. If a trunk has already been created for a service, the service does not appear in the Select a Service dialog box.
4. Give a value in the Maximum early dialogs supported box. This is the maximum number of forked responses a PSTN gateway, IP-PBX, or ITSP Session Border Controller can receive to an INVITE that it sent to the Mediation Server. The default value is 20.
5. Select one of the following Encryption support level options:
·        Required: To help protect traffic between the Mediation Server and the gateway or PBX, secure real-time transport protocol (SRTP) encryption must be used.
·        Optional: SRTP encryption will be used if the service provider or equipment manufacturer supports it.
·        Not Supported: SRTP encryption is not supported by the service provider or equipment manufacturer and therefore will not be used.
6. If you want media to bypass the Mediation Server for processing by the trunk peer, select the Enable media bypass check box.
7. Select the Centralized media processing check box if there is a well-known media termination point (for example, a PSTN gateway where the media termination has the same IP as the signaling termination). Deselect this check box if the trunk does not have a well-known media termination point.
8. If the trunk peer supports receiving SIP REFER requests from the Mediation Server, select the Enable refer support check box. Deselect the check box if the trunk peer does not support receiving SIP REFER requests from the Mediation Server.
9. (Optional) Associate and configure translation rules for the trunk:
·        To choose one or more rules from a list of all translation rules available in your Enterprise Voice deployment, click Select. In Select Translation Rules, click the rules that you want to associate with the trunk and then click OK.
·        To define a new translation rule and associate it with the trunk, click New.
·        To edit a translation rule that is already associated with the trunk, click the rule name and then click Show details.
·        To copy an existing translation rule to use as a starting point for defining a new rule, click the rule name and click Copy, and then click Paste.
·        To remove a translation rule from the trunk, highlight the rule name and click Remove.
10. Make sure the trunk’s translation rules are arranged in the correct order. Highlight the rule name and then click the up or down arrow to change a rule’s position in the list.
11. Click OK when you are finished configuring the trunk.
12. On the Trunk Configuration page, click Commit, and then click Commit all.

Thank you.

Restore a Web application in SharePoint Server 2010 using Windows PowerShell

You can use Windows PowerShell to restore a Web application manually or as part of a script that can be run at scheduled intervals.

To restore a Web application by using Windows PowerShell
1. On the Start menu, click All Programs.
2. Click Microsoft SharePoint 2010 Products.
3. Click SharePoint 2010 Management Shell.
4. At the Windows PowerShell command prompt, type the following command:
Restore-SPFarm -Directory (BackupFolderName) -RestoreMethod Overwrite -Item (WebApplicationName) [-BackupId (GUID)] [-Verbose]

Where:
- BackupFolderName, is the full path to the folder you use for backup files.
- WebApplicationNam, is the name of the Web application that was backed up.
- GUID, is the identifier of the back up to use for the restore operation.

If you do not specify the value of the BackupID parameter, the most recent backup will be used. You cannot restore a Web application by using a configuration-only backup. You can view the backups for the farm by typing the following:
Get-SPBackupHistory -Directory -ShowBackup