none
System.Web.HttpException: Request timed out.

    Question

  • Dears,

    When i tried to open mysite (Sharepoint2010 Userprofile) webpart, give me the below error:

    Error

    An unexpected error has occurred.

    Troubleshoot issues with Microsoft SharePoint Foundation.

    Correlation ID: 22c74b9d-9ef4-434a-805e-c8d6df817fac

    Date and Time: 12/2/2013 2:22:19 PM

    And when open Sharepoint Log, find the Correlation ID as the below:

    SharePoint Foundation         Runtime                       tkau Unexpected System.Web.HttpException: Request timed out. 22c74b9d-9ef4-434a-805e-c8d6df817fac

    I searched and find the solution of this issue by increasing ExecutionTimeOut in the web.config, but didn't solve the issue with me.

    Please help,


    • Edited by Fady M Samy Tuesday, December 03, 2013 8:01 AM
    Monday, December 02, 2013 12:43 PM

Answers

  • Hi,

    Based on the error page, I recomand to modify ‘”web.config” to look at the actual page that is given during the error.

    The typical error page is telling you that it wants to show you more information about the error, but it can’t since you are not at the correct location. To change that you have to modify some values within web.config file.

    When ever you are get this "Server Error in ‘/’ Application. Runtime Error in SharePoint" error you need do following two changes in your web.config file.

    1.  C:\inetpub\wwwroot\wss\virtualdirectories\<port>” go to the url modify the web.config file

    a. In customErrors tag set mode="Off" to "On

    b. In SafeMode tag set CallStack="true" to false

    c. In Compilation tag Debug="false" to true

    2.If still you are facing default error page then follow below change

    In the layouts directory underneath the SharePoint root directory or 14 hive – C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS

    a. In customErrors tag set mode="Off" to "On

    b. In SafeMode tag set CallStack="true" to false

    c. In Compilation tag Debug="false" to true

    Here are some great blogs for you to take a look at:

    http://www.khamis.net/blog/Lists/Posts/Post.aspx?ID=12

    http://www.techgrowingpains.com/2012/05/troubleshooting-server-error-in-application/

    Thank you for your understanding.

    Best Regards,

    Linda Li


    Linda Li
    TechNet Community Support


    Saturday, December 21, 2013 8:24 AM
    Moderator

All replies

  • The excuection timeout will not be the core problem, more likely is that what it is being asked to do is impossible. You'll need to look at your code and try to isolate the particular command that is running into trouble, without more information i don't know how we can provide any help.
    Monday, December 02, 2013 12:48 PM
  • I assume that you already customized my site , or you are trying to connect to user profile via a custom webpart , your question is not clear

    can you please elaborate more 


    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010


    • Edited by Amr Fouad Monday, December 02, 2013 5:43 PM
    Monday, December 02, 2013 5:42 PM
  • Hello,

    Just make below changes in your web.config file and see what you get:

     1. Open up your sites web.config, and make the standard custom errors edit. You want it to be < customerrors mode="Off"/>
       2. Then, search for the CallStack="false" and change it to CallStack="true", you should find this in the "<safemode>" node.


    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

    Tuesday, December 03, 2013 8:10 AM
    Moderator
  • Hi Amr,

    I already customized my site, and it was working fine before,  but now not.

    Tuesday, December 03, 2013 11:33 AM
  • Hi Hemendra,

    When i do that, it give me the below error. ( the same error).

    Server Error in '/' Application.

    Request timed out.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: Request timed out.

    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:
    [HttpException (0x80004005): Request timed out.]
    

    Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456 

    • Edited by Fady M Samy Tuesday, December 03, 2013 11:36 AM
    Tuesday, December 03, 2013 11:35 AM
  • Hi,

    Based on the error page, I recomand to modify ‘”web.config” to look at the actual page that is given during the error.

    The typical error page is telling you that it wants to show you more information about the error, but it can’t since you are not at the correct location. To change that you have to modify some values within web.config file.

    When ever you are get this "Server Error in ‘/’ Application. Runtime Error in SharePoint" error you need do following two changes in your web.config file.

    1.  C:\inetpub\wwwroot\wss\virtualdirectories\<port>” go to the url modify the web.config file

    a. In customErrors tag set mode="Off" to "On

    b. In SafeMode tag set CallStack="true" to false

    c. In Compilation tag Debug="false" to true

    2.If still you are facing default error page then follow below change

    In the layouts directory underneath the SharePoint root directory or 14 hive – C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS

    a. In customErrors tag set mode="Off" to "On

    b. In SafeMode tag set CallStack="true" to false

    c. In Compilation tag Debug="false" to true

    Here are some great blogs for you to take a look at:

    http://www.khamis.net/blog/Lists/Posts/Post.aspx?ID=12

    http://www.techgrowingpains.com/2012/05/troubleshooting-server-error-in-application/

    Thank you for your understanding.

    Best Regards,

    Linda Li


    Linda Li
    TechNet Community Support


    Saturday, December 21, 2013 8:24 AM
    Moderator