Our system gets the following error when trying to send an email (all the
other functions are fine).
Our exchange server (with CRM router installed) is also a domain controller.
and the CRM box is running on the Portal Server. The SQL Server box is also
a Domain Controller (I know, I know - we are a small company, ok). The
installations went fine and I cant find any other errors in the system. We
are runing 2003 server on all our environments and are all fully patched. we
have a crm specific user with access to SQL Server. We are running AD in
Native mode.
Any ideas and thoughts are welcome.
MSCRM Platform Error Report
--------------------------------------------------------------------------------------------------------
Error: <description>An unexpected error occurred.</description><details>An
error occurred attempting to dispatch the email : HTTP status: 401 Access
Denied.</details><file>D:\crm\Build\3297\src\platform\include\proxy\proxyutil.h</file><line>47</line>
Error Message: An unexpected error occurred.
Error Details: An error occurred attempting to dispatch the email : HTTP
status: 401 Access Denied.
Source File: D:\crm\Build\3297\src\platform\include\proxy\proxyutil.h
Line Number: 47
Stack Trace Info: at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
For more information, see Help and Support Center at
|
|
0
|
|
|
|
Reply
|
Utf
|
10/10/2004 10:33:03 PM |
|
Check to see if you have SSL enabled on your OWA. If so, you need to configure
the MSCRMConnector directory to not require encryption.
Matt Parks
MVP - Microsoft CRM
----------------------------------------
----------------------------------------
On Sun, 10 Oct 2004 15:33:03 -0700, "Aaron Kitto" <Aaron
Kitto@discussions.microsoft.com> wrote:
Our system gets the following error when trying to send an email (all the
other functions are fine).
Our exchange server (with CRM router installed) is also a domain controller.
and the CRM box is running on the Portal Server. The SQL Server box is also
a Domain Controller (I know, I know - we are a small company, ok). The
installations went fine and I cant find any other errors in the system. We
are runing 2003 server on all our environments and are all fully patched. we
have a crm specific user with access to SQL Server. We are running AD in
Native mode.
Any ideas and thoughts are welcome.
MSCRM Platform Error Report:
--------------------------------------------------------------------------------------------------------
Error: <description>An unexpected error occurred.</description><details>An
error occurred attempting to dispatch the email : HTTP status: 401 Access
Denied.</details><file>D:\crm\Build\3297\src\platform\include\proxy\proxyutil.h</file><line>47</line>
Error Message: An unexpected error occurred.
Error Details: An error occurred attempting to dispatch the email : HTTP
status: 401 Access Denied.
Source File: D:\crm\Build\3297\src\platform\include\proxy\proxyutil.h
Line Number: 47
Stack Trace Info: at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
For more information, see Help and Support Center at
|
|
0
|
|
|
|
Reply
|
Matt
|
10/13/2004 7:23:07 PM
|
|
Hi Matt
Thanks for the response. SSL is not enabled on that server. The COM Proxy
DLL was not in the correct place so I moved it to the correct folder and
restarted the server. Might try to reinstall it into the GAC - but it
reports as being in the correct place.
Still getting a 401. This is the error message from the error log:
<description>An unexpected error occurred.</description><details>An error
occurred attempting to dispatch the email : HTTP status: 401 Access
Denied.</details><file>D:\CRM\Core\src\platform\include\proxy\proxyutil.h</file><line>47</line>
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.Runtime.InteropServices.COMException:
<description>An unexpected error occurred.</description><details>An error
occurred attempting to dispatch the email : HTTP status: 401 Access
Denied.</details><file>D:\CRM\Core\src\platform\include\proxy\proxyutil.h</file><line>47</line>
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:
[COMException (0x80040216): <description>An unexpected error
occurred.</description><details>An error occurred attempting to dispatch the
email : HTTP status: 401 Access
Denied.</details><file>D:\CRM\Core\src\platform\include\proxy\proxyutil.h</file><line>47</line>]
Microsoft.Crm.Platform.ComProxy.CRMEmailClass.SendById(CUserAuth& Caller,
String EmailId) +0
Microsoft.Crm.Application.Platform.Email.SendById(String id) +44
Microsoft.Crm.Web.Activities.EmailDetailPage.Send(Object sender,
DataEventArgs e) +149
Microsoft.Crm.Application.Forms.DataEventProcessor.Raise(FormEventId
eventId, FormState state, User user, String objectId, String& data, Entity
entity) +188
Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId
eventId) +103
Microsoft.Crm.Application.Forms.EndUserForm.Execute(Entity entity) +60
Microsoft.Crm.Application.Forms.Activities.ActivityForm.Execute(Activity
activity) +25
Microsoft.Crm.Application.Forms.Activities.EmailActivityForm.Execute(Email
email) +31
Microsoft.Crm.Web.Activities.EmailDetailPage.ConfigureForm() +367
Microsoft.Crm.Application.Controls.AppPage.OnLoad(EventArgs e) +132
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
mmmm.... wonder if I SHOULD reinstll the COMProxy in the GAC....
Cheers
Aaron
"Matt Parks" wrote:
> Check to see if you have SSL enabled on your OWA. If so, you need to configure
> the MSCRMConnector directory to not require encryption.
>
> Matt Parks
> MVP - Microsoft CRM
>
> ----------------------------------------
> ----------------------------------------
> On Sun, 10 Oct 2004 15:33:03 -0700, "Aaron Kitto" <Aaron
> Kitto@discussions.microsoft.com> wrote:
>
> Our system gets the following error when trying to send an email (all the
> other functions are fine).
>
> Our exchange server (with CRM router installed) is also a domain controller.
> and the CRM box is running on the Portal Server. The SQL Server box is also
> a Domain Controller (I know, I know - we are a small company, ok). The
> installations went fine and I cant find any other errors in the system. We
> are runing 2003 server on all our environments and are all fully patched. we
> have a crm specific user with access to SQL Server. We are running AD in
> Native mode.
>
> Any ideas and thoughts are welcome.
>
> MSCRM Platform Error Report:
> --------------------------------------------------------------------------------------------------------
> Error: <description>An unexpected error occurred.</description><details>An
> error occurred attempting to dispatch the email : HTTP status: 401 Access
> Denied.</details><file>D:\crm\Build\3297\src\platform\include\proxy\proxyutil.h</file><line>47</line>
>
> Error Message: An unexpected error occurred.
>
> Error Details: An error occurred attempting to dispatch the email : HTTP
> status: 401 Access Denied.
>
> Source File: D:\crm\Build\3297\src\platform\include\proxy\proxyutil.h
>
> Line Number: 47
>
> Stack Trace Info: at System.Web.UI.Page.HandleError(Exception e)
> at System.Web.UI.Page.ProcessRequestMain()
> at System.Web.UI.Page.ProcessRequest()
> at System.Web.UI.Page.ProcessRequest(HttpContext context)
> at
> System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
> at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
> completedSynchronously)
>
> For more information, see Help and Support Center at
>
>
|
|
0
|
|
|
|
Reply
|
Utf
|
10/13/2004 9:45:40 PM
|
|
Check the directory security settings on the virtual directory. Is should be
set to allow nonymous access.
Matt Parks
MVP - Microsoft CRM
----------------------------------------
----------------------------------------
On Wed, 13 Oct 2004 14:45:40 -0700, "Aaron Kitto" <Aaron
Kitto@discussions.microsoft.com> wrote:
Hi Matt
Thanks for the response. SSL is not enabled on that server. The COM Proxy
DLL was not in the correct place so I moved it to the correct folder and
restarted the server. Might try to reinstall it into the GAC - but it
reports as being in the correct place.
Still getting a 401. This is the error message from the error log:
<description>An unexpected error occurred.</description><details>An error
occurred attempting to dispatch the email : HTTP status: 401 Access
Denied.</details><file>D:\CRM\Core\src\platform\include\proxy\proxyutil.h</file><line>47</line>
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.Runtime.InteropServices.COMException:
<description>An unexpected error occurred.</description><details>An error
occurred attempting to dispatch the email : HTTP status: 401 Access
Denied.</details><file>D:\CRM\Core\src\platform\include\proxy\proxyutil.h</file><line>47</line>
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:
[COMException (0x80040216): <description>An unexpected error
occurred.</description><details>An error occurred attempting to dispatch the
email : HTTP status: 401 Access
Denied.</details><file>D:\CRM\Core\src\platform\include\proxy\proxyutil.h</file><line>47</line>]
Microsoft.Crm.Platform.ComProxy.CRMEmailClass.SendById(CUserAuth& Caller,
String EmailId) +0
Microsoft.Crm.Application.Platform.Email.SendById(String id) +44
Microsoft.Crm.Web.Activities.EmailDetailPage.Send(Object sender,
DataEventArgs e) +149
Microsoft.Crm.Application.Forms.DataEventProcessor.Raise(FormEventId
eventId, FormState state, User user, String objectId, String& data, Entity
entity) +188
Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId
eventId) +103
Microsoft.Crm.Application.Forms.EndUserForm.Execute(Entity entity) +60
Microsoft.Crm.Application.Forms.Activities.ActivityForm.Execute(Activity
activity) +25
Microsoft.Crm.Application.Forms.Activities.EmailActivityForm.Execute(Email
email) +31
Microsoft.Crm.Web.Activities.EmailDetailPage.ConfigureForm() +367
Microsoft.Crm.Application.Controls.AppPage.OnLoad(EventArgs e) +132
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
mmmm.... wonder if I SHOULD reinstll the COMProxy in the GAC....
Cheers
Aaron
"Matt Parks" wrote:
> Check to see if you have SSL enabled on your OWA. If so, you need to configure
> the MSCRMConnector directory to not require encryption.
>
> Matt Parks
> MVP - Microsoft CRM
>
> ----------------------------------------
> ----------------------------------------
> On Sun, 10 Oct 2004 15:33:03 -0700, "Aaron Kitto" <Aaron
> Kitto@discussions.microsoft.com> wrote:
>
> Our system gets the following error when trying to send an email (all the
> other functions are fine).
>
> Our exchange server (with CRM router installed) is also a domain controller.
> and the CRM box is running on the Portal Server. The SQL Server box is also
> a Domain Controller (I know, I know - we are a small company, ok). The
> installations went fine and I cant find any other errors in the system. We
> are runing 2003 server on all our environments and are all fully patched. we
> have a crm specific user with access to SQL Server. We are running AD in
> Native mode.
>
> Any ideas and thoughts are welcome.
>
> MSCRM Platform Error Report:
> --------------------------------------------------------------------------------------------------------
> Error: <description>An unexpected error occurred.</description><details>An
> error occurred attempting to dispatch the email : HTTP status: 401 Access
> Denied.</details><file>D:\crm\Build\3297\src\platform\include\proxy\proxyutil.h</file><line>47</line>
>
> Error Message: An unexpected error occurred.
>
> Error Details: An error occurred attempting to dispatch the email : HTTP
> status: 401 Access Denied.
>
> Source File: D:\crm\Build\3297\src\platform\include\proxy\proxyutil.h
>
> Line Number: 47
>
> Stack Trace Info: at System.Web.UI.Page.HandleError(Exception e)
> at System.Web.UI.Page.ProcessRequestMain()
> at System.Web.UI.Page.ProcessRequest()
> at System.Web.UI.Page.ProcessRequest(HttpContext context)
> at
> System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
> at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
> completedSynchronously)
>
> For more information, see Help and Support Center at
>
>
|
|
0
|
|
|
|
Reply
|
Matt
|
10/14/2004 3:50:03 AM
|
|
Hi Matt
Yes you are correct it should be set to allow anonymous users but the
account cannot be the IUSER_SERVERNAME account. Must have higher permissions
than this. I am yet to assertain which permissions it has to have (trial and
error comming up I am suer) but we do noe have it working.
Cheers and thanks
Aaron
"Aaron Kitto" wrote:
> Our system gets the following error when trying to send an email (all the
> other functions are fine).
>
> Our exchange server (with CRM router installed) is also a domain controller.
> and the CRM box is running on the Portal Server. The SQL Server box is also
> a Domain Controller (I know, I know - we are a small company, ok). The
> installations went fine and I cant find any other errors in the system. We
> are runing 2003 server on all our environments and are all fully patched. we
> have a crm specific user with access to SQL Server. We are running AD in
> Native mode.
>
> Any ideas and thoughts are welcome.
>
> MSCRM Platform Error Report:
> --------------------------------------------------------------------------------------------------------
> Error: <description>An unexpected error occurred.</description><details>An
> error occurred attempting to dispatch the email : HTTP status: 401 Access
> Denied.</details><file>D:\crm\Build\3297\src\platform\include\proxy\proxyutil.h</file><line>47</line>
>
> Error Message: An unexpected error occurred.
>
> Error Details: An error occurred attempting to dispatch the email : HTTP
> status: 401 Access Denied.
>
> Source File: D:\crm\Build\3297\src\platform\include\proxy\proxyutil.h
>
> Line Number: 47
>
> Stack Trace Info: at System.Web.UI.Page.HandleError(Exception e)
> at System.Web.UI.Page.ProcessRequestMain()
> at System.Web.UI.Page.ProcessRequest()
> at System.Web.UI.Page.ProcessRequest(HttpContext context)
> at
> System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
> at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
> completedSynchronously)
>
> For more information, see Help and Support Center at
|
|
0
|
|
|
|
Reply
|
Utf
|
10/14/2004 4:01:02 AM
|
|
|
4 Replies
321 Views
(page loaded in 0.071 seconds)
|