<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6678340884748043098</id><updated>2011-07-28T09:03:24.844-07:00</updated><title type='text'>All SharePoint</title><subtitle type='html'>Can not find solution for your sharepoint problem? visit this blog or post me your problem.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://allsharepoint.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://allsharepoint.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Parshva</name><uri>http://www.blogger.com/profile/16145276830812396275</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_5m7OebfXTPM/SFFm7Soe0cI/AAAAAAAAAVo/gEmZ5LkHBTE/S220/IMG_4342.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6678340884748043098.post-6576034423051896282</id><published>2008-06-12T13:08:00.001-07:00</published><updated>2008-06-12T13:09:11.214-07:00</updated><title type='text'>Generic SPGridView based container webpart that discovers the webservice and methods automatically and displaysthe result in grid</title><content type='html'>&lt;span style="color: rgb(0, 0, 102);font-size:180%;" &gt;Coming Soon...&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6678340884748043098-6576034423051896282?l=allsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allsharepoint.blogspot.com/feeds/6576034423051896282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6678340884748043098&amp;postID=6576034423051896282' title='37 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/6576034423051896282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/6576034423051896282'/><link rel='alternate' type='text/html' href='http://allsharepoint.blogspot.com/2008/06/generic-spgridview-based-container.html' title='Generic SPGridView based container webpart that discovers the webservice and methods automatically and displaysthe result in grid'/><author><name>Parshva</name><uri>http://www.blogger.com/profile/16145276830812396275</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_5m7OebfXTPM/SFFm7Soe0cI/AAAAAAAAAVo/gEmZ5LkHBTE/S220/IMG_4342.JPG'/></author><thr:total>37</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6678340884748043098.post-3076307293818039732</id><published>2008-06-12T13:05:00.001-07:00</published><updated>2008-06-12T13:05:56.976-07:00</updated><title type='text'>Optimizing performance of ajax smart parts</title><content type='html'>&lt;span style="color: rgb(0, 0, 102);font-size:180%;" &gt;Coming Soon...&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6678340884748043098-3076307293818039732?l=allsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allsharepoint.blogspot.com/feeds/3076307293818039732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6678340884748043098&amp;postID=3076307293818039732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/3076307293818039732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/3076307293818039732'/><link rel='alternate' type='text/html' href='http://allsharepoint.blogspot.com/2008/06/optimizing-performance-of-ajax-smart.html' title='Optimizing performance of ajax smart parts'/><author><name>Parshva</name><uri>http://www.blogger.com/profile/16145276830812396275</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_5m7OebfXTPM/SFFm7Soe0cI/AAAAAAAAAVo/gEmZ5LkHBTE/S220/IMG_4342.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6678340884748043098.post-8008829282952736148</id><published>2008-06-12T13:02:00.000-07:00</published><updated>2008-06-12T13:03:40.950-07:00</updated><title type='text'>Developing dynamic webservice proxy from wsdl and call webmethods dynamically</title><content type='html'>&lt;span style="color: rgb(0, 0, 102);font-size:180%;" &gt;Coming soon...&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6678340884748043098-8008829282952736148?l=allsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allsharepoint.blogspot.com/feeds/8008829282952736148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6678340884748043098&amp;postID=8008829282952736148' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/8008829282952736148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/8008829282952736148'/><link rel='alternate' type='text/html' href='http://allsharepoint.blogspot.com/2008/06/developing-dynamic-webservice-proxy.html' title='Developing dynamic webservice proxy from wsdl and call webmethods dynamically'/><author><name>Parshva</name><uri>http://www.blogger.com/profile/16145276830812396275</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_5m7OebfXTPM/SFFm7Soe0cI/AAAAAAAAAVo/gEmZ5LkHBTE/S220/IMG_4342.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6678340884748043098.post-1429814751862268654</id><published>2008-06-12T13:01:00.000-07:00</published><updated>2008-06-12T13:02:26.813-07:00</updated><title type='text'>Binding to SPGridview dynamically in Sharepoint Ajax smart part</title><content type='html'>&lt;span style="color: rgb(0, 0, 102);font-size:180%;" &gt;Coming Soon...&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6678340884748043098-1429814751862268654?l=allsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allsharepoint.blogspot.com/feeds/1429814751862268654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6678340884748043098&amp;postID=1429814751862268654' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/1429814751862268654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/1429814751862268654'/><link rel='alternate' type='text/html' href='http://allsharepoint.blogspot.com/2008/06/binding-to-spgridview-dynamically-in.html' title='Binding to SPGridview dynamically in Sharepoint Ajax smart part'/><author><name>Parshva</name><uri>http://www.blogger.com/profile/16145276830812396275</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_5m7OebfXTPM/SFFm7Soe0cI/AAAAAAAAAVo/gEmZ5LkHBTE/S220/IMG_4342.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6678340884748043098.post-8096060124349308027</id><published>2008-06-12T13:00:00.001-07:00</published><updated>2008-06-12T13:01:06.153-07:00</updated><title type='text'>Asynchronous Grouping, Paging, Filtering, Sorting with SPGridView in AJAX smart part</title><content type='html'>&lt;span style="color: rgb(0, 0, 102);font-size:180%;" &gt;Coming Soon..&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6678340884748043098-8096060124349308027?l=allsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allsharepoint.blogspot.com/feeds/8096060124349308027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6678340884748043098&amp;postID=8096060124349308027' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/8096060124349308027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/8096060124349308027'/><link rel='alternate' type='text/html' href='http://allsharepoint.blogspot.com/2008/06/asynchronous-grouping-paging-filtering.html' title='Asynchronous Grouping, Paging, Filtering, Sorting with SPGridView in AJAX smart part'/><author><name>Parshva</name><uri>http://www.blogger.com/profile/16145276830812396275</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_5m7OebfXTPM/SFFm7Soe0cI/AAAAAAAAAVo/gEmZ5LkHBTE/S220/IMG_4342.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6678340884748043098.post-3703616400070067441</id><published>2008-06-12T12:58:00.000-07:00</published><updated>2008-06-12T12:59:36.502-07:00</updated><title type='text'>Working With SPGridView in UpdatePanel in Custom webpart or smartpart</title><content type='html'>&lt;span style="color: rgb(0, 0, 102);font-size:180%;" &gt;Coming Soon....&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6678340884748043098-3703616400070067441?l=allsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allsharepoint.blogspot.com/feeds/3703616400070067441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6678340884748043098&amp;postID=3703616400070067441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/3703616400070067441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/3703616400070067441'/><link rel='alternate' type='text/html' href='http://allsharepoint.blogspot.com/2008/06/working-with-spgridview-in-updatepanel.html' title='Working With SPGridView in UpdatePanel in Custom webpart or smartpart'/><author><name>Parshva</name><uri>http://www.blogger.com/profile/16145276830812396275</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_5m7OebfXTPM/SFFm7Soe0cI/AAAAAAAAAVo/gEmZ5LkHBTE/S220/IMG_4342.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6678340884748043098.post-9069412895870006310</id><published>2008-06-12T12:57:00.001-07:00</published><updated>2008-06-12T12:58:24.904-07:00</updated><title type='text'>Developing custom ajax based Sharepoint smarparts using Visual Studio</title><content type='html'>&lt;span style="font-size:180%;"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;Coming Soon...&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6678340884748043098-9069412895870006310?l=allsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allsharepoint.blogspot.com/feeds/9069412895870006310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6678340884748043098&amp;postID=9069412895870006310' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/9069412895870006310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/9069412895870006310'/><link rel='alternate' type='text/html' href='http://allsharepoint.blogspot.com/2008/06/developing-custom-ajax-based-sharepoint.html' title='Developing custom ajax based Sharepoint smarparts using Visual Studio'/><author><name>Parshva</name><uri>http://www.blogger.com/profile/16145276830812396275</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_5m7OebfXTPM/SFFm7Soe0cI/AAAAAAAAAVo/gEmZ5LkHBTE/S220/IMG_4342.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6678340884748043098.post-4153071612498090114</id><published>2008-06-12T12:00:00.001-07:00</published><updated>2008-06-12T12:00:47.859-07:00</updated><title type='text'>Getting rid of Sharepoint Site HTTP 403 Error - Forbidden or Access Denied error - Part 3</title><content type='html'>&lt;span style="color: rgb(0, 0, 102);font-family:georgia;font-size:130%;"  &gt;Some other considerations:&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);font-family:georgia;font-size:130%;"  &gt;Here I am assuming that the sharepoint is installed at standard location "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12".&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);font-family:georgia;font-size:130%;"  &gt;ISAPI-where the web services should be placed&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);font-family:georgia;font-size:130%;"  &gt;TEMPLATES\CONTROLTEMPLATES - where usercontrols are placed&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);font-family:georgia;font-size:130%;"  &gt;wpresources(under ur webapplication directory)- where webpart resources are placed.&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);font-family:georgia;font-size:130%;"  &gt;all these directories have "ServerName\Users" group added with "Read","Read&amp;amp;Execute" and "List folders" permissions. this group contains IIS guest account, IIS process account and ASPNET account and othe users for server. So by default, all authenticated users can access the resources under these directory but the Bin directory under your Web application doesnt have this group added so be careful if u are adding any resource that requires all users to have Read or Read&amp;amp;Execute permissions.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6678340884748043098-4153071612498090114?l=allsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allsharepoint.blogspot.com/feeds/4153071612498090114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6678340884748043098&amp;postID=4153071612498090114' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/4153071612498090114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/4153071612498090114'/><link rel='alternate' type='text/html' href='http://allsharepoint.blogspot.com/2008/06/getting-rid-of-sharepoint-site-http-403_12.html' title='Getting rid of Sharepoint Site HTTP 403 Error - Forbidden or Access Denied error - Part 3'/><author><name>Parshva</name><uri>http://www.blogger.com/profile/16145276830812396275</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_5m7OebfXTPM/SFFm7Soe0cI/AAAAAAAAAVo/gEmZ5LkHBTE/S220/IMG_4342.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6678340884748043098.post-5793707687382568936</id><published>2008-06-12T11:59:00.001-07:00</published><updated>2008-06-12T12:00:23.376-07:00</updated><title type='text'>Getting rid of Sharepoint Site HTTP 403 Error - Forbidden or Access Denied error - Part 2(Continued)</title><content type='html'>&lt;span style="font-size:130%;"&gt;When Client Script make a call to ajaxenabled webservice, the javascript proxy file containing proxy to access the web service is generated on the fly. you can view release version of it by appending /js after the webservice url and for debug version type /jsdebug.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://abc.com/"&gt;Example of javaScript Proxy for Web Service&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To generate such a proxy on the fly read&amp;amp; execute permission is required for the user to the toolkit assembly. So either proxy should be created with admin privileges or all users must have Read&amp;amp;Execute permissions for this file.&lt;br /&gt;Otherwise, non-admin users will get 403 error.&lt;br /&gt;&lt;br /&gt;Another solution is that you can create this proxy manually, include it as script reference and on the fly generation of proxy is no more necessary.&lt;br /&gt;But, you need to be very careful with this approach if you are changing the webservice very often. In that case, you need to generate the proxy file everytime you add/remove/update webmethod and include it manually.&lt;br /&gt;&lt;br /&gt;You can also modify ur code to make sure that you always use elevated privileges to generate this proxy.&lt;br /&gt;&lt;br /&gt;Apart from all these, also ensure that web.config should have following entry with validate = 'false':&lt;br /&gt;&lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Courier New;font-size:130%;color:blue;"   &gt;&lt;span style=";font-family:'Courier New';color:blue;"  &gt;&lt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New;font-size:130%;color:maroon;"   &gt;&lt;span style=";font-family:'Courier New';color:maroon;"  &gt;add&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New;font-size:130%;color:blue;"   &gt;&lt;span style=";font-family:'Courier New';color:blue;"  &gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New;font-size:130%;color:red;"   &gt;&lt;span style=";font-family:'Courier New';color:red;"  &gt;name&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New;font-size:130%;color:blue;"   &gt;&lt;span style=";font-family:'Courier New';color:blue;"  &gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New;font-size:130%;"  &gt;&lt;span style="font-family:'Courier New';"&gt;"&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;ScriptHandlerFactory&lt;/span&gt;&lt;/span&gt;"&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:red;"&gt;&lt;span style="color:red;"&gt;verb&lt;/span&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&lt;/span&gt;"&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;*&lt;/span&gt;&lt;/span&gt;"&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;u&gt;&lt;span style=";font-family:Courier New;color:red;"  &gt;&lt;span style="font-weight: bold;font-family:'Courier New';color:red;"  &gt;validate&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=";font-family:Courier New;color:blue;"  &gt;&lt;span style="font-weight: bold;font-family:'Courier New';color:blue;"  &gt;=&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-weight: bold;font-family:'Courier New';" &gt;"&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;false&lt;/span&gt;&lt;/span&gt;"&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New;font-size:130%;color:blue;"   &gt;&lt;span style=";font-family:'Courier New';color:blue;"  &gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New;font-size:130%;color:red;"   &gt;&lt;span style=";font-family:'Courier New';color:red;"  &gt;path&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New;font-size:130%;color:blue;"   &gt;&lt;span style=";font-family:'Courier New';color:blue;"  &gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Courier New;font-size:130%;"  &gt;&lt;span style="font-family:'Courier New';"&gt;"&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;*.asmx&lt;/span&gt;&lt;/span&gt;"&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:red;"&gt;&lt;span style="color:red;"&gt;preCondition&lt;/span&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&lt;/span&gt;"&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;integratedMode&lt;/span&gt;&lt;/span&gt;"&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:red;"&gt;&lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&lt;/span&gt;"&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&lt;/span&gt;&lt;/span&gt;"&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;/&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;if validate='false' is not included, potentially HTTP 403 may be thrown while accessing dynamically generated proxy.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After making all these changes, our intermittent HTTP 403 error problem was not solved yet.&lt;br /&gt;So, let us continue our investigation!!!!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 102, 0);font-size:130%;" &gt;3.&lt;/span&gt;&lt;span style="font-size:130%;"&gt; By now, IIS log was displaying very generic error, something like this:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;2008-06-11 10:43:59 W3SVC1396598049 170.116.208.211 GET /sites/TKR2/tkr2+pages/tkr2main.aspx - 10011 AMER\SKALERISD 10.128.129.32 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 403 0 0&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Log entry shows that HTTP 403 is shown for page but doesnt show for which resource on the page.&lt;br /&gt;So, I started analyzing Event logs. I didnt find any error entry there related to this but found an information entry, something like this:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;Event code: 4011 &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;Event message: An unhandled access exception has occurred. &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;Event time: 6/11/2008 6:43:59 AM &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;Event time (UTC): 6/11/2008 10:43:59 AM &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;Event ID: a6d7b8c987494a64a763f11ae0bcadac &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;Event sequence: 111 &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;Event occurrence: 11 &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;Event detail code: 0 &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt; &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;Application information: &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Application domain: /LM/W3SVC/1396598049/Root-1-128576392451406250 &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Trust level: Full &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Application Virtual Path: / &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\10011\ &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Machine name: AMRNDHW034 &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt; &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;Process information: &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Process ID: 8116 &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Process name: w3wp.exe &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Account name: AMER\srvmop-ecfstg &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt; &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;Request information: &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Request URL: http://amrndhw034:10011/sites/TKR2/tkr2 pages/tkr2main.aspx &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Request path: /sites/TKR2/tkr2 pages/tkr2main.aspx &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    User host address: 10.128.129.32 &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    User: AMER\SKALERISD &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Is authenticated: True &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Authentication Type: NTLM &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;    Thread account name: AMER\srvmop-ecfstg &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt; &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;Custom event details: &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you observe carefully, the time is same in both entry. So, if you try to read this information, the .net runtime is throwing an exception which is unhandled and that's why the execution thread was being aborted.&lt;br /&gt;&lt;br /&gt;Now, the question is why the runtime ws throwing an exception.The Event message says that unhandled &lt;/span&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;Access &lt;/span&gt;&lt;span style="font-size:130%;"&gt;exception has occured. So, still some resource is still violating the access protocol, but who?&lt;br /&gt;&lt;br /&gt;I then started working with debug build of AJAX Control Toolkit and found that some line in toolkit code was throwing access violation error which was unhandled and it was really causing asp.net runtime to abort the thread.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The toolkit was throwing the error as i was using toolkit as private assembly and it was located in bin directory of the web application. This assembly was being loaded with the user's identity contrary to other dlls in bin directory where they were loaded with IIS process account.&lt;br /&gt;&lt;br /&gt;So, the solution is that:&lt;br /&gt;1. Grant Read &amp;amp; Execute permission to every user for this assembly&lt;br /&gt;or&lt;br /&gt;2. Place the assembly in a directory where already all users has access to it&lt;br /&gt;or&lt;br /&gt;3. Place it in GAC&lt;br /&gt;&lt;br /&gt;and finally, our problem got solved.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6678340884748043098-5793707687382568936?l=allsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allsharepoint.blogspot.com/feeds/5793707687382568936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6678340884748043098&amp;postID=5793707687382568936' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/5793707687382568936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/5793707687382568936'/><link rel='alternate' type='text/html' href='http://allsharepoint.blogspot.com/2008/06/when-client-script-make-call-to.html' title='Getting rid of Sharepoint Site HTTP 403 Error - Forbidden or Access Denied error - Part 2(Continued)'/><author><name>Parshva</name><uri>http://www.blogger.com/profile/16145276830812396275</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_5m7OebfXTPM/SFFm7Soe0cI/AAAAAAAAAVo/gEmZ5LkHBTE/S220/IMG_4342.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6678340884748043098.post-7330068810030530919</id><published>2008-06-12T11:58:00.000-07:00</published><updated>2008-06-12T11:59:01.780-07:00</updated><title type='text'>Getting rid of Sharepoint Site HTTP 403 Error - Forbidden or Access Denied error</title><content type='html'>&lt;span style=";font-family:georgia;font-size:130%;"  &gt;Recently in our sharepoint web application i encountered HTTP 403 error for one of our web page. The strange thing about this error was that nature of the error was intermittent. i.e. sometimes user was able to view the page but sometimes users were receiving 403 response from web server.&lt;br /&gt;&lt;br /&gt;The problem was further complicated by the fact that users were able to access the page once any admin users log in and access the page. after sometime, they were used to complain about 403 error.&lt;br /&gt;If i reset the IIS or restart the server, once again all users were started receiving 403 error again. So something was terribly wrong!!!&lt;br /&gt;&lt;br /&gt;We had Ajax enabled custom sharepoint smart part(webpart with user control) on the page and when i have removed the part from page everything was working fine. But, that's not the solution. But, one thing i could conclude that something is wrong with the webpart. But what, let us investigate!!!&lt;br /&gt;(Webpart debugging in sharepoint becomes complex when Ajax and user controls are part of it.)&lt;br /&gt;&lt;br /&gt;In my case the response was following:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_5m7OebfXTPM/SFFdxDKPskI/AAAAAAAAAVY/JCnYgGkrrsk/s1600-h/403+error.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_5m7OebfXTPM/SFFdxDKPskI/AAAAAAAAAVY/JCnYgGkrrsk/s320/403+error.JPG" alt="" id="BLOGGER_PHOTO_ID_5211049341087625794" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;but it can be in nay of following form:&lt;br /&gt;&lt;br /&gt;1.&lt;br /&gt;&lt;br /&gt;You are not authorized to view this page&lt;br /&gt;You do not have permission to view this directory or page using the credentials that you supplied.&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;2.&lt;br /&gt;&lt;br /&gt;Please try the following:&lt;br /&gt;&lt;br /&gt;Contact the Web site administrator if you believe you should be able to view this directory or page.&lt;br /&gt;Click the Refresh button to try again with different credentials.&lt;br /&gt;HTTP Error 403 - Forbidden: Access is denied.&lt;br /&gt;Internet Information Services (IIS)&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;3.&lt;br /&gt;Technical Information (for support personnel)&lt;br /&gt;&lt;br /&gt;Go to Microsoft Product Support Services and perform a title search for the words HTTP and 403.&lt;br /&gt;Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled About Security, Authentication, and About Custom Error Messages.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As the error message clearly indicates that you are not authorized to access some resource. It could be page itself, image, css, xml files, web service files(.asmx files), assembly(yes, assembly!!!) , resource Assembly(satellite assembly) or any other resource you can think of.&lt;br /&gt;&lt;br /&gt;I started debugging with HTTP error logs and IIS logs in order to identify the resource forwhich HTTP 403 was thrown.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;1.&lt;/span&gt; First i found that the users are getting 403 errors for some XML files that we were consuming in our webpart. As we didnt assign Read permission and users's identity is used to access the resource by default,access was denied to non-admin user.&lt;br /&gt;&lt;br /&gt;in this case, we have two solutions:&lt;br /&gt;1. Grant "Read" permissions for every authenticated user.&lt;br /&gt;2. Use elevated permissions(SPElevatedPermission)in code while accessing the files.&lt;br /&gt;&lt;br /&gt;I opted second solution.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;2.&lt;/span&gt; Then after we found that, 403 is being thrown on webservice.asmx/js file. We were using lot of ajax in webpart. this particular webpart was contacting autocompleteservice.asmx to get the suggestions for autocomplete textbox. When asp.net ajax make call to webservice through client, it creates javascript proxy on the file. You can view this java script proxy by appending /js afte webservice url.&lt;br /&gt;(For instance, if your webservice is available at http://somehost/webservice.asmx, you can view it's java script proxy by typing http://somehost/webservice.asmx/js in ur browser address bar.But make sure that your webservice are marked with [ScriptService] in your code otherwise the java script proxy won't be generated.)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="color: rgb(51, 51, 153);"&gt;More Coming in next post soon....&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6678340884748043098-7330068810030530919?l=allsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allsharepoint.blogspot.com/feeds/7330068810030530919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6678340884748043098&amp;postID=7330068810030530919' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/7330068810030530919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6678340884748043098/posts/default/7330068810030530919'/><link rel='alternate' type='text/html' href='http://allsharepoint.blogspot.com/2008/06/getting-rid-of-sharepoint-site-http-403.html' title='Getting rid of Sharepoint Site HTTP 403 Error - Forbidden or Access Denied error'/><author><name>Parshva</name><uri>http://www.blogger.com/profile/16145276830812396275</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_5m7OebfXTPM/SFFm7Soe0cI/AAAAAAAAAVo/gEmZ5LkHBTE/S220/IMG_4342.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_5m7OebfXTPM/SFFdxDKPskI/AAAAAAAAAVY/JCnYgGkrrsk/s72-c/403+error.JPG' height='72' width='72'/><thr:total>4</thr:total></entry></feed>
