.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Sharepoint IIS Default WebSite ASP.NET impersonation

Posted By:      Posted Date: October 07, 2010    Points: 0   Category :SharePoint

Curious why ASP.NET impersonation is enabled by default.  Is it because sharepoint needs this enabled?  I would like to disable so that I can use Windows Authentication for custom web parts to access a remote sql server, this way I can use the domain user i set for the app pool.  Or is there a recommended way?

View Complete Post

More Related Resource Links

Sharepoint IIS Default WebSite ASP.NET impersonation


Curious why ASP.NET impersonation is enabled by default.  Is it because sharepoint needs this enabled?  I would like to disable so that I can use Windows Authentication for custom web parts to access a remote sql server, this way I can use the domain user i set for the app pool.  Or is there a recommended way?

IIS - sharepoint/default website port number confusion



I have MOSS 2007 installed with IIS V7.

My default web site port is 80. When I created a new web application for my main sharepoint portal I also set it to 80. So obviously now the default web site port shows as stopped in IIS and it won't start.

What are the best practices. Should I change the port number for my portal to something else? I mean is it even a good idea to have sharepoint on port 80? If so, how do I go about changing the port number for my portal site?

any help appreciated.

Item cannot be found.(rsItemNotFound) when executing a report from a sharepoint Website

I have managed to integrate Report server with Sharepoint .
I created a report with it's data connection with microsoft Visual Studio 2005 , tested it , than deployed it to the specified document libraries in sharepoint.
Everything works fine till now.But when i try to execute the report from the document library in sharepoint the Message :
  • The item 'Reports/Report1.rdl' cannot be found. (rsItemNotFound) '. Even though the report1.rdl is inside the website and is returned when i do the search. Regards.

  • creating different sub page design template in sharepoint website


    I know very little about sharepoint and have outsourced the design of a master page and sub page design for a new website using sharepoint. i received a site master file with all of the necessary images and the home page works just fine. However the file i received for the sub page design template was an ASPX file with the following instructions:


    Here I enclosed the inner page layout file. You upload this file by using following instructions. you can change & edit the blue menu section in the master page itself. If I change into modifiable section you need to add the menu in each and every page, otherwise it will show as empty block. Please let me know your comments.


    Steps for uploading inner page layout page.


    1.Select the Site Actions button and click on Site Settings->Modify All site settings

    How to create website with multi-langauge support in sharepoint 2010?

    Hi Folks, I am tried to create the website with multiple Language support  in sharepoint 2010. i did not able to build the website . But I can create the website with different language at the time. kindly give me some valuable details thank you Regards Immanuel C  

    Map Asp.net website Roles and Users to Sharepoint website roles and users

    Hi I have created an asp.net website with SQL Server based form authentication and authorization. Now, we are moving this pure asp.net website to Sharepoint 2010 website. I have developed 5 webparts for my asp.net website to migrate to Sharepoint. All these webparts are avilable for access in the same page. Now I need to implement authentication and authorization for access to these webparts in Sharepoint. I am newbie to sharepoint. Can someone provide me how can I provide authorization and authentication in Sharepoint, which should use the current SQL Server based form authentication and authorization(roles and users of my existing asp.net website) and how can I map roles and users of my existing asp.net website to Sharepoint. Please reply ASAP. Thanks & Regards Mahendra Babu

    How do deployment the sharepoint website into internet ?

    Hi Folks, I have developed website using share point 2010.I dont have idea about how to deployment in internet ? note : I have developed website using  sharepoint 2010 foundation Kindly give me some valuable answer for this query . Thank you Regards Immanuel c

    Problem Saving Files to A Sharepoint 2010 Site from Office 2010: Saves locally by default rather tha

    Hi we are starting to use sharepoint 2010 / word 2010 and have found an interesting bug/problem. Sometimes when a user tries to save a file (by clicking on the save button in the quick access toolbar for word 2010) the save dialog comes up with the users local "Documents" folder as the path (not the correct sharepoint path where the document should be saved).  (I should say that we are creating the file from sharepoint by using a toolbar on the document library, with the new button)  We are using a content type and a template attached to the document library when we create the file.  This is really annoying because the user might not notice that the document is saving locally and not to sharepoint.  I have found a strange workaround which involves clicking the [File] tab on the ribbon in word 2010, then clicking "Save and Send" and then clicking the save button again.  At this point word 2010 seems to "remember" that it is trying to save document to sharepoint and shows the sharepoint document library. This is a real nuisance which could lead to documents being lost/misfiled if people don't realize that this is happening.  Can anyone help me? Thanks Kevin krd

    How to increase the timeout for a SharePoint 2010 website

    The default timeout for an Http Request in SharePoint Foundation 2010 is 120 seconds*.  Any Http Requests above this 120 seconds will be met with a "Request timed out" error as displayed in the SharePoint logs: Unexpected     System.Web.HttpException: Request timed out. Note: The SharePoint logs can be found at:     C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS To increase this timeout you will need to modify the web.config file for the SharePoint Website.  If you are using the default SharePoint configuration, then the web.config file will be found at: C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config Open this file in Notepad and then scroll down to the system.web > httpRuntime element (about half way down the file).  To increase the timeout, add the executionTimeout attribute to the httpRuntime element with a value of the number of seconds for the timeout.  For example, to increase the timeout to 5 minutes, add an executionTimeout of 300 like this: <httpRuntime maxRequestLength="51200" executionTimeout="300" /> In the default SharePoint Foundation 2010 web.config file it will look like this: Save the web.config file and now the timeout for HttpRequests will have been increased (Of course you need to ask why a request is taking more than 2

    Best way to implement authentication and authorization for a sharepoint 2010 website.

    Hi I come across different authentication methods in Sharepoint 2010. The sharepoint website we are develpoing as of now is Intranet. Later we are planning to move it to Internet(Public) site. What will be the best way to implement authentication and authorization for our website. If windows authentication(Classic mode authentication) is default for a sharepoint website (2010) , I have a few questions ragarding windows authentication. 1) In case of windows authentication, where should we maintain  users? 2) In case of windows authentication, how are the users created? 3) In case of windows authentication, how can I perform authorization.   If we want to use FBA(Form based authentication) in sharepoint 2010, I have a few questions ragarding FBA in sharepoint 2010. 1) In case of FBA(using Claim based authentication) , if we want to use custom database(where we are storing user details and  roles) rather than bulitin SQL membership  provider, how can we achieve this? Can anyone provide some useful resources to implement authentication(Windows or FBA or dual) and authorization for a sharepoint 2010 website with sample code? Please reply ASAP. Thanks & Regards Mahendra Babu

    modify/override properties of default sharepoint modal dialogs (ex. editview.aspx) using javascript

    Hello all, I would like to know how can I modify (override) some properties of the default sharepoint modal dialogs using Javascript. Ex. the size and location of editview.aspx. I while ago I asked a question about overriding the DialogResult in the display view dialog. I got an answer from Zach which looked like this:             sb.Append("<script type=\"text/javascript\">");             sb.Append(@"window.setTimeout(function () {");             sb.Append(@"if (window.frameElement && typeof(window.frameElement.overrideDialogResult) == 'function')");             sb.Append(@"{");             sb.Append(@"SP.SOD.executeFunc('sp.ui.dialog.js', 'SP.UI.DialogResult.OK', function () {");             sb.Append(@"window.frameElement.overrideDialogResult(SP.UI.DialogResult.OK); ");             sb.Append(@"});");             sb.Append(@"}");  

    default value for MySite's 'As Seen By' web part in SharePoint 2010

    Does anyone know how to change the default value for the 'As seen by' web part on the SharePoint 2010 MySite's person.aspx page? Currently it defaults to "Everyone' and our client would like it to default to 'Only Me'. Is this even possible? Regards, Kyle

    New website default to ASPNET 2.0? IIS 6

    My Goolge-fu has failed me. My Win2k3 server is running IIS 6. When I create a new website, it always defaults to ASPNET 1.1 and I have to change it over to use v2. Is there a way to set the default version to 2.0? Under the ASPNET tab in the properties dialog for the "Web Sites" node, the Dropdown for ASPNET Version is greyed out and set to 1.1.4322 and all the existing websites are set to 2.0 already.It's not a big issue, but kind of a pain. Any help is appreciated.

    Custom Default.aspx SharePoint 2010

    I would like to replace the default.aspx with a custom default.aspx.  I have been able to accomplish this with a feature. I am finding the when deployed the new default.aspx page shows up in the following directory C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\ProjectInsightSPMaster_ProjectInsightLayoutFeature\defaultpage I also have a default.aspx located in the following directory.  This is the one that is deployed with the site definition. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\SiteTemplates\PISP    When I browse to a site in IE, it is in fact looking at the correct (new) default.aspx page which is located in the FEATURES directory.  How does SharePoint know to use this default.aspx page instead of the one located in the SiteTemplates directory.  This is confusing to me.  Can you explain?   Is this the correct way of deploying an updated default.aspx?   dave

    Put value by default in a SharePoint:FormField

    Hi all I would like to put a value by default in one text field. That value musct catch from a value called @ID (it comes from  the query string). I wanted to put in the Value attribute from the SharePoint:FormField tag, but it says: it can assign @ID to Value since Value is a object.Is the value property the correct one to put my value by default? If so, how can get this one?                    <td class="ms-vb">                         <SharePoint:FormField runat="server" id="ff4{$Pos}" ControlMode="Edit" FieldName="Task_x0020_Id"  __designer:bind="{ddwrt:DataBind('u',concat('ff4',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Task_x0020_Id')}" />                         <SharePoint:FieldDescription runat="server" id="ff4description{$Pos}" FieldName="Task_x0020_Id" ControlMode="Edit" /></td>  Kind Regards!

    SharePoint how does it know to use a feature default.aspx deployed instead of site definition defaul

    I have created a feature which deploys a custom default.aspx page. The deployed file goes to the template\features{featureName} directory. How does SharePoint know to use this default.aspx page instead of the one that is located in SiteTemplates{Site Def name} directory?dave

    Sharepoint 2010 Building publishing (Internet facing) website

    Is there documentation on how to create Publishing site example step by step, Including contents, Documents sharing content between websites (like news). For some reason I have not finding any documentation. Any pointers is greatly appreciated. Thanks Vee    
    ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
    Sql Server  SharePoint  Silverlight  Others  All   

    Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend