Getting Around Thread was being aborted error when creating EP site.
Wishing you all a Very Happy New Year!!!
When you are trying to create EP Site on a machine low in memory or processing power, some times you may get “Thread was being aborted.” Error. To avoid this error, you should increase the executiontimeout.
Change connection time-out properties in the web.config file
1. In a basic text editor such as Notepad, open the web.config file for example %SYSTEMDRIVE%\Inetpub\wwwroot
-or-
%SYSTEMDRIVE%\\Inetpub\wwwroot\wss\VirtualDirectories\80 folder
1. Press CTRL + F to open the Find dialog box.
2. Find the following tag:
<httpRuntime maxRequestLength="51200" />
3. Replace it with this tag:
<httpRuntime executionTimeout="6000" maxRequestLength="51200" />
4. Find the following tag (you might have to search from the beginning of the file):
</sectionGroup>
5. Add the following tags on new lines after the </sectionGroup> tag:
<sectionGroup name="DynamicsAX">
<section name="Deployment" type="System.Configuration.SingleTagSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
6. Find the following tag:
</SharePoint>
7. Add the following tags on new lines after the </SharePoint> tag:
<DynamicsAX>
<Deployment SiteCreationTimeOut="1200" />
</DynamicsAX>
8. Save your changes, and close the web.config file.
9. At the command prompt, type iisreset, and then press ENTER.
10. Try to create the top-level Web site in SharePoint Portal Administration.
Comments
- Anonymous
January 08, 2009
The comment has been removed - Anonymous
January 23, 2009
The comment has been removed