Alexander Anikin's blog

My personal blog

Archive for August 2010

Web Part Maintenance page

leave a comment »

The correct way to handle an issue (deleting closed web parts) is to go to the Web Parts Maintenance page and delete it from there.

You can easily navigate to the following url: http://yoursite/whatever/default.aspx?contents=1

The important thing to note here is that you simply add the query string of “?contents=1″ to the end of your URL-string and you’ll get to the WP Maintenance page. From there, you can manage the Web Parts on that particular page.

Advertisements

Written by Alex Anikin

August 25, 2010 at 3:12 pm

Posted in Sharepoint

Error: System.IO.FileNotFoundException: The web application at could not be found

leave a comment »

1. For Console Applications with SP2010 –  View your project properties, go to the Build tab and change the platform target to x64. Run your console application again and everything should work as expected now. (Here)

2. For ASP.Net Application – That is caused by the fact that by default ASP.NET and WSS Application Pools are running under different identities, even on same IIS. SO, one workaround we found was to simply change ASP.NET Application Pool so that it is run under same identity as MOSS. (Like here)

3. Check for Loopback Check:

To solve this you have to make a DisableLoopbackCheck registry key. Follow these steps to do so:

  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_MACHINESYSTEMCurrentControlSetControlLsa
  3. Right-click Lsa, point to New, and then click DWORD Value.
  4. Type DisableLoopbackCheck, and then press ENTER.
  5. Right-click DisableLoopbackCheck, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Quit Registry Editor, and then restart your computer.

Read more: http://www.information-worker.nl/2009/06/23/disableloopbackcheck-on-windows-server-2008/#ixzz10zu3b67i

Written by Alex Anikin

August 23, 2010 at 10:15 am

Posted in Sharepoint

SharePoint Designer SOAP Error

leave a comment »

When we try to open SharePoint page for editing we can get an error:

soap:ServerServer was unable to process request. —> Value does not fall within the expected range.

In my case:

I create web application with host header http://server_name:port like http://sp002:1

And when I try open page I get an error.

I try make alternative mapping (like here) in Internet zone like http://sp002.domain.com:1 but this is not help.

Then I re-create web application with right host-header http://sp002.domain.com:1 and it’s working!

I think, I can do it with IIS setting by changing host-header at bindings dialog for my site.

Written by Alex Anikin

August 19, 2010 at 2:04 pm

Posted in Sharepoint

Getting Domain Name from IP-address

leave a comment »

If PRT record is available for IP-address, we can get a domain name:nslookup -type=ptr -timeout=10 -retry=1 <IP-address>Original in russian тут.

Written by Alex Anikin

August 12, 2010 at 11:27 am

Configuring Kerberos Authentication for Microsoft SharePoint 2010 Products Whitepaper Published!

leave a comment »

Written by Alex Anikin

August 9, 2010 at 11:56 am

Posted in Sharepoint