Wednesday, February 19, 2014

The Web application at could not be found. Verify that you have typed the URL correctly.

When we work on SharePoint console application we generally get this error "The Web application at could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application".

Solution:

1) Goto the properties of solution,change platform target x64 in build tab.

  

 2) Change the target framework to 3.5  in application tab.


Monday, February 10, 2014

Enable Anonymous Access in SharePoint 2010

There are the simple steps for configuration of enable anonymous access in Sharepoint 2010

1. Starting in Central Administration, under Application Management, click on the Manage web applications.
Anonymous Access Set Up Step 1
2. Make sure you select the site you want to enable anonymous access and click on the Authentication Providers icon.
 Anonymous Access Set Up Step 2
3. On the Authentication Providers pop-up window click on the Default zone.
 Anonymous Access Set Up Step 3
4. Under Edit Authentication, check Enable anonymous access and click Save.
Anonymous Access Set Up Step 4

5. Going back to Web Application Management click on the Anonymous Policy icon.

 Anonymous Access Set Up Step 5
6. Under Anonymous Access Restrictions select your Zone and set the Permissions to None – No policy and click Save.
Anonymous Access Set Up Step 6
7. Now, web application will allow anonymous access to be set. So, navigate to your top level site collection for the web application. Click the Site Actions > Site Settings. Under Users and Permissions click Site permissions.
Anonymous Access Set Up Step 7 Anonymous Access Set Up Step 8Anonymous Access Set Up
Now your anonymous access is enabled.