Fixing “The breakpoint will not currently be hit. No symbols have been loaded for this document.” — STRICTLY FOR VISUAL STUDIO USERS

Those who are trying to debug codes through Visual Studio might have faced this Issue – Occasionally sometime more frequently. The following below steps advice you how to fix the this issue.

1. FIRST AND IMPORTANT THING TO DO:

“Clean solution”, this deletes all the compiled and temporary files associated with a solution.

2. THIS ALMOST SOLVES THE PROBLEM:

Disable the “Just My Code” option in the Debug/General settings

3. IF NOT TRY THIS:

Right mouse click your project
select [Properties]
select the [Build] tab
make sure [Define DEBUG constant] and [Define TRACE constant] are checked
Click the [Advanced] button at the bottom of the Build tabpage
Make sure that [Debug Info:] is set to [full]
Click [OK] and rebuild the project ;-)(step 6 generates the .pdb files, these are the debugging symbols)

Try following the above steps…. If you know other way to resolve this issue, please share it comment section below 🙂

–Happy Sharing 🙂

How to set a page as Home Page in SharePoint 2013 site

In this post we will look at options to set a Custom Page as Home Page in SharePoint 2013 site.

Option 1: If you want to set a Custom Page as a Home Page in a typical SharePoint Team site, you can simply do that by Opening the Page and selecting Page tab -> Make HomePage button to set this particular page as default Home Page for your site.

 

MakehomePage

 

Option 2: Another option to set a Custom Page as Home Page in SharePoint 2013 Team site is by using SharePoint Designer 2013. If you have opened or created a Page in SharePoint Designer then you can right click on the page and select the option “Set as Home Page” to set it as a default home page of your SharePoint site.

SetasHomePage

 

Option 3: If you are using the Publishing site (or site with publishing feature enabled), you can simply use the old “Welcome Page” link in the Site settings to set the URL of a page this is the desired home page for your SharePoint site.

Welcome-Page

 

–Happy Learning 🙂

How to see what site template is used in SharePoint Online (Office 365)

On your site, view the source of the start page (ctrl + U) and search for JavaScript variable g_wsaSiteTemplateId.

You’ll get the Template ID like this

var g_wsaSiteTemplateId = 'STS#0';

Then just find what template that is in the list presented below:

Template ID Title
GLOBAL#0 Global template
STS#0 Team Site
STS#1 Blank Site
STS#2 Document Workspace
MPS#0 Basic Meeting Workspace
MPS#1 Blank Meeting Workspace
MPS#2 Decision Meeting Workspace
MPS#3 Social Meeting Workspace
MPS#4 Multipage Meeting Workspace
CENTRALADMIN#0 Central Admin Site
WIKI#0 Wiki Site
BLOG#0 Blog
SGS#0 Group Work Site
TENANTADMIN#0 Tenant Admin Site
APP#0 App Template
APPCATALOG#0 App Catalog Site
ACCSRV#0 Access Services Site
ACCSRV#1 Assets Web Database
ACCSRV#3 Charitable Contributions Web Database
ACCSRV#4 Contacts Web Database
ACCSRV#5 Projects Web Database
ACCSRV#6 Issues Web Database
ACCSVC#0 Access Services Site Internal
ACCSVC#1 Access Services Site
BDR#0 Document Center
DEV#0 Developer Site
DOCMARKETPLACESITE#0 Academic Library
EDISC#0 eDiscovery Center
EDISC#1 eDiscovery Case
OFFILE#0 (obsolete) Records Center
OFFILE#1 Records Center
OSRV#0 Shared Services Administration Site
PPSMASite#0 PerformancePoint
BICenterSite#0 Business Intelligence Center
SPS#0 SharePoint Portal Server Site
SPSPERS#0 SharePoint Portal Server Personal Space
SPSPERS#2 Storage And Social SharePoint Portal Server Personal Space
SPSPERS#3 Storage Only SharePoint Portal Server Personal Space
SPSPERS#4 Social Only SharePoint Portal Server Personal Space
SPSPERS#5 Empty SharePoint Portal Server Personal Space
SPSMSITE#0 Personalization Site
SPSTOC#0 Contents area Template
SPSTOPIC#0 Topic area template
SPSNEWS#0 News Site
CMSPUBLISHING#0 Publishing Site
BLANKINTERNET#0 Publishing Site
BLANKINTERNET#1 Press Releases Site
BLANKINTERNET#2 Publishing Site with Workflow
SPSNHOME#0 News Site
SPSSITES#0 Site Directory
SPSCOMMU#0 Community area template
SPSREPORTCENTER#0 Report Center
SPSPORTAL#0 Collaboration Portal
SRCHCEN#0 Enterprise Search Center
PROFILES#0 Profiles
BLANKINTERNETCONTAINER#0 Publishing Portal
SPSMSITEHOST#0 My Site Host
ENTERWIKI#0 Enterprise Wiki
PROJECTSITE#0 Project Site
PRODUCTCATALOG#0 Product Catalog
COMMUNITY#0 Community Site
COMMUNITYPORTAL#0 Community Portal
SRCHCENTERLITE#0 Basic Search Center
SRCHCENTERLITE#1 Basic Search Center
SRCHCENTERFAST#0 FAST Search Center
visprus#0 Visio Process Repository

–HAPPY LEARNING 🙂

Delete or restore files and folders in Team Foundation Version Control (TFVC)

You can delete files and folders from TFVC and also restore them, from both in the workspace on your dev machine or on the server.

 

Delete an item

Before you delete an item:

  • Before you delete a file, look for a check mark icon , which indicates pending edits in the file . If there are pending edits, you should view them (open the context menu by right-clicking the file and choosing Compare) and make sure that you do not need them. If you think you might need the edits in the future, consider checking in the file before you delete it.
  • If you delete a folder, the system will pend delete actions for any folders and files that it contains.
  • If you delete a file on which other files have dependencies, the system will automatically pend delete actions for those files. For example, if you delete a form file, the code and resource file will also be pended for deletion.

To delete an item

  1. In either Solution Explorer or Source Control Explorer, browse to the folder or file that you want to delete.
  2. Select the items that you want to delete, open their context menu (right-click), and choose Delete.
    TIP

    If you are deleting a file from Solution Explorer, the following warning message may appear: <file name> will be deleted permanently. The file deletion will not be implemented on the server until you check in this change. If the file was checked in to version control before the delete, then you can recover the file. Choose OK if you want to proceed with deleting the file.

  3. When you are ready, check in your changes.

Restore items deleted from Visual Studio

NOTE

If you’re already checked in the delete of an item in TFVC, you can restore the deleted item from the server long as no one on your team has destroyed it.
If you’re not using TFVC, use Solution Explorer to delete items and files in your Visual Studio solution. Files deleted through Solution Explorer are moved to the Recycle Bin on your computer, where they can be restored. Once restored from the Recycle Bin, right-click your solution in Solution Explorer and select Add.. and then Existing item… to restore the file into your solution.

From Team Explorer

Open the Pending Changes page in Team Explorer (View, then Team Explorer, then select Pending Changes). Right-click the deleted items in the Included Changes area and choose Undo….

From Source Control Explorer

Open Source Control Explorer and browse to the folder where you deleted the file(s). Right-click the file and select Undo Pending Changes... Verify the checkboxes to make sure they include the deleted files, then select Undo Changes

Restore an item deleted from the server

  1. From the menu bar choose Tools, Options.
  2. On the Options dialog box, navigate to Source Control, Visual Studio Team Foundation Server.
  3. Select Show deleted items in the Source Control Explorer, and then choose OK.
  4. From the menu bar choose View, Other Windows, Source Control Explorer.
  5. In Source Control Explorer, navigate to the folder that contains the item you want to restore.
  6. Open the item’s context menu (select the item and right-click it) and then choose Undelete.

Restore TFVC managed items deleted from your dev machine outside of Visual Studio

From time to time you may need to restore an item you have deleted outside Visual Studio (possibly by accident). The method you use to restore such an item depends on whether you are using a local or a server workspace. See Decide between using a local or a server workspace.

Use a local workspace to restore an item you deleted outside Visual Studio

When you use a local workspace, Visual Studio detects and enables you to resolve changes you have made outside the system.

To use a local workspace to restore an item you deleted outside Visual Studio

  1. In Team Explorer, choose Home, and then choose Pending Changes.
  2. In the Excluded Changes section, choose the Detected changes link.
  3. In the Promote Candidate Changes dialog box, select an item for which delete appears in the Change column, open its context menu (right-click), and choose Restore this item.

Use a server workspace to restore an item you deleted outside Visual Studio

When you accidentally delete an item outside Visual Studio and you are using a server workspace, when you try to open the item in Visual Studio you may see an error message such as: TF10187: Could not open documentfile name The system cannot find the file specified.. You can restore the item by getting it from the server.

To use a server workspace to restore an item you deleted outside Visual Studio

  1. In Source Control Explorer, browse to the folder that contains the deleted items.
  2. Open the context menu of the folder (select the folder and right-click it) and choose Get Specific Version.
  3. On the Get dialog box, select Overwrite all files even if the local version matches the specified version.

    Choose Get.

The password supplied with the username was not correct. Verify that it was entered correctly and try again. SharePoint

If you are going to create a new web application from the central admin that time if you got the below error then follow the below steps..

Error : The password supplied with the username was not correct. Verify that it was entered correctly and try again.

Solution : Open “SharePoint 2010/2013 Management Shell” run as administrator and then type the below command to upgrade the password

Cmd:

stsadm -o updatefarmcredentials -userlogin domain\username -password yourpassword

–Happy Sharing

Credits: http://www.rajeshg.me/2015/03/the-password-supplied-with-username-was.html

 

Fixing “The breakpoint will not currently be hit. No symbols have been loaded for this document.” — STRICTLY FOR VISUAL STUDIO USERS

Those who are trying to debug codes through Visual Studio might have faced this Issue – Occasionally sometime more frequently. The following below steps advice you how to fix the this issue.

1. FIRST AND IMPORTANT THING TO DO:

“Clean solution”, this deletes all the compiled and temporary files associated with a solution.

2. THIS ALMOST SOLVES THE PROBLEM:

Disable the “Just My Code” option in the Debug/General settings

3. IF NOT TRY THIS:

Right mouse click your project
select [Properties]
select the [Build] tab
make sure [Define DEBUG constant] and [Define TRACE constant] are checked
Click the [Advanced] button at the bottom of the Build tabpage
Make sure that [Debug Info:] is set to [full]
Click [OK] and rebuild the project ;-)(step 6 generates the .pdb files, these are the debugging symbols)

Try following the above steps…. If you know other way to resolve this issue, please share it comment section below 🙂

–Happy Sharing 🙂

Receiving an error message when you save, open or move documents in Windows: “Delayed Write Failed”

This error typically occurs when the “Enable write caching on the disk” feature for your hard disk is turned on.

However, if the “Enable write caching on the disk” feature is turned off, this error can occur because the Ultra Direct Memory Access (UDMA) hard disk controller may be configured in either of the following ways:

  • You are using a 40-wire connector cable to connect the UDMA drive to the controller instead of the required 80-wire, 40-pin cable.
  • The BIOS settings are configured to force faster UDMA modes.

SOLUTION:

To resolve this issue, first check whether the “Enable write caching on the disk” feature is turned on. If it is turned on, turn it off. To do this, follow these steps.

Note If you turn off the “Enable write caching on the disk” feature, your hard disk may perform more slowly and may affect the overall system performance of your computer. Because of this, you may want to monitor system performance after you follow the steps in this section.

To turn off Enable write caching on the disk, follow these steps:

  1. Click Start, and then click My Computer.
  2. Right-click the hard disk, and then click Properties.
  3. Click the Hardware tab.
  4. Click to select the hard disk, and then click Properties.
  5. Click the Policies tab.
  6. Click to clear the Enable write caching on the disk check box, and then click OK.
  7. Click OK to close the Local Disk (C:) Properties dialog box.
  8. Repeat steps 3 through 5 for each hard disk that is installed in your computer.

If these steps resolve the error message, you are finished.

If these steps do not resolve the error message, or if the feature is already turned off, go to the “Advanced Troubleshooting” section.

CREDITS / REFERENCE / KUDOS: https://support.microsoft.com/en-us/kb/330174