British Inside

An Englishman living in small town America

James Shaw

News

  • Copyright James Shaw 2004-2007

    Creative Commons License

    View James Shaw's profile on LinkedIn

Thread was being aborted

I hate seeing this error.

Last night I moved this web site to another server and when I ran the site I got a YSOD telling me "Thread was being aborted" and "The type initializer for 'CommunityServer.Components.CSUrlReWriter' threw an exception".

I won't bore you with the hour of bumbling around checking permissions etc - none of which helped.

The answer, as ridiculous as it sounds, is discussed in the cs forums. I still don't understand it, but there it is.

Move your communityserver.config and web.config out of your app folder. Restart the website (and I restarted my app pool too). Copy the files back.

I can't believe I'm promoting this kind of voodoo, but after an hour with no success this worked immediately. Don't shoot the messenger!

BONUS TIP: My cable company DNS is notoriously slow to update. So today I updated my router to use www.opendns.com instead. Now I get DNS changes *much* faster. Updating the router was simple and now everyone at home gets to benefit from it.


Posted: Friday, August 03, 2007 4:22 PM by James

Comments

communityserver相关博客聚合 said:

I hate seeing this error. Last night I moved this web site to another server and when I ran the site

# August 3, 2007 2:43 PM

Dave Burke said:

blog bits You can view all of the themes submitted for the recent CS2007 Theming Contest at themes.communityserver

# August 5, 2007 9:24 PM

Dave Burke's Community Server Bits said:

James Shaw calls this a "voodoo" solution, but if it fixes "Thread was being aborted"

# August 5, 2007 9:30 PM

Community Blogs said:

blog bits You can view all of the themes submitted for the recent CS2007 Theming Contest at themes.communityserver

# August 5, 2007 9:50 PM
New Comments to this post are disabled