bishop335 / subtext

Automatically exported from code.google.com/p/subtext
0 stars 0 forks source link

Error Submitting Comments: Sys.WebForms.PageRequestManagerServerErrorException: The type initializer for 'Subtext.Extensibility.Providers.EmailProvider' threw an exception. #232

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Submit a comment
2. An "Error on page" status appears
3. No comment notification email is sent

What is the expected output? What do you see instead?
No error, email should be sent.

What version of the product are you using? On what operating system?
2.5.0.3

Please provide any additional information below.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; 
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; 
Media Center PC 6.0; .NET4.0C; .NET4.0E; OfficeLiveConnector.1.5; 
OfficeLivePatch.1.3)
Timestamp: Wed, 23 Jun 2010 01:56:14 UTC

Message: Sys.WebForms.PageRequestManagerServerErrorException: The type 
initializer for 'Subtext.Extensibility.Providers.EmailProvider' threw an 
exception.
Line: 5
Char: 62099
Code: 0
URI: 
http://jeffhandley.com/ScriptResource.axd?d=2fW04VvFtr3Jy0i3QlVeL9WlyIL4kr9gqnqW
K3AiKh0hI44NI95PhUHk7MjNByUZmAmEm7J_EET9gag7DUaKE8AGxqRB-kh_p-J5VIqvmpo1&t=fffff
fff8094748d

I noticed someone else reported this on Phil's blog too:
http://haacked.com/archive/2010/06/06/subtext-2-5-released.aspx#77716

Original issue reported on code.google.com by jeffhand...@gmail.com on 23 Jun 2010 at 2:09

GoogleCodeExporter commented 9 years ago
Have a look at your web.config file.
It must contain:
<Email defaultProvider="SystemMailProvider">...

if it only contains 
<Email>
this is the cause of the error... if it is, it's a bug with the upgrader... 
happened to me as well

Original comment by simone.chiaretta on 23 Jun 2010 at 4:58

GoogleCodeExporter commented 9 years ago
That was it, thanks!!

Original comment by jeffhand...@gmail.com on 23 Jun 2010 at 5:46