Tuesday, 9 November 2010

httpRuntime executionTimeout

<system.web>

<httpRuntime maxRequestLength="51200" executionTimeout="9999" />

</system.web>

Wednesday, 13 October 2010

Friday, 8 October 2010

Request failed with HTTP status 417: Expectation failed

In Web.config
<system.net>
    <defaultProxy enabled="true" useDefaultCredentials="true">
      <proxy proxyaddress="http://192.168.22.11:3118" bypassonlocal="True" usesystemdefault="True" />
    </defaultProxy>
    <settings>
      <servicePointManager expect100Continue="false" />
    </settings>
  </system.net>

 

http://symmetri.blogsome.com/2008/09/01/request-failed-with-http-status-417-expectation-failed/

http://social.msdn.microsoft.com/Forums/en-US/devdocs/thread/60cd6e6a-4157-4811-8ed3-1e46f9022ea8

Monday, 27 September 2010

CAML query for retrieving ListItems where fieldType is 'User'

string camlQuery = "<Where><Eq><FieldRef Name='User_x0020_Name'/><Value Type='User'>" + userDisplayName + "</Value></Eq></Where>";

SPList spList = spWeb.Lists["List Name"];

SPQuery spQuery = new SPQuery();

spQuery.Query = camlQuery;

SPListItemCollection listItemCollection = spList.GetItems(spQuery);

http://www.saturnvibes.com/SharepointProjectServer2007/post/2009/04/16/CAML-query-for-retrieving-ListItems-where-fieldType-is-User.aspx

Wednesday, 22 September 2010

SharePoint: Internet Explorer'da Session Çalışmaması

Sorun: Diğer tarayıcılarda hiç bir sorun olmadan çalışan Session'ının IE'de çalışmaması. Problem, hostname olarak underscorelu bir isim verilmiş olmasından kaynaklanıyormuş.

Örnek: http://sharepoint_site

Çözüm:

SharePoint 2007: Central Administration > Operations > Alternate Access Mappings
SharePoint 2010: Central Administration > System Settings > Configure alternate access mappings

Add Internal URLs ->
Zone = Intranet
Save.

Referans:
http://vspug.com/sean/2007/07/11/internet-explorer-blocks-sharepoint-from-using-session-cookies/