Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Strange bug/error 80040211
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Strange bug/error 80040211

 Post Reply Post Reply Page  <12
Author
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2004 at 7:07am
Maybe a search on MSDN would help find what would course this error.

The change mentioned above usually only works when the SMTP server is installed localy:-

sendusing (1=localhost 2=network)
Back to Top
choman View Drop Down
Newbie
Newbie
Avatar

Joined: 30 November 2004
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote choman Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2004 at 9:51am

I looked up the error code in MSDN and got the following:

Error Codes

When you use the Microsoft CRM SDK, you call the APIs through the SOAP interface. The following code sample shows how to catch any errors that occur:

Example

[C#]
catch (System.Web.Services.Protocols.SoapException err)
{
strErrorMsg = ("ErrorMessage: " + err.Message + " " +
err.Detail.OuterXml + " Source: " + err.Source );
}

This code produces the following output when an error occurs (formatting added for readability):

Soap Exception Detail (Detail.OuterXml):  
<detail>
<error>
<code>80040220</co de>
<description>
The  user does not hold the necessary privileges.
</description>
<details>
The caller does not hold the privilege with ID:  {A8BFF87F-0DF0-41D4-BABD-F093FAF1E32C}
</details>
&l t;/error>
</detail>

When I looked up the error code, I found this:

IDS_INVALID_ASSOCIATION

80040211

Invalid association.

 
I didn't see this adding a lot of insight.
 
I got the forum to work by simply chaning the SMTP mail server address from the IP address to the FQN domain name. After that, it seems to be working. This kind of stuff scares me, when a seemingless meaningless change makes a system behave different. Confused
 
Any clues? Question
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2004 at 11:44am
CDOSYS can act very strangely sometimes.

I had errors before that have fixed themselves just by moving the ASP files to a different virtual folder on the server, even though the code itself stayed the same.
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.