|
Home > Archive > Microsoft Content Management Server > February 2007 > Using CMS and Active Directory
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Using CMS and Active Directory
|
|
|
| I have created a custom action that inherits from the SubmitAction class.
All is well.
Now I want my dropdownlist to be populated via Active Directory group.
So I created a c# console app to test my code and I am able to query AD and
traverse as needed.
Now when I take the code from my console application and paste in in my c#
CMS application, and compile, it works.
When I run the application, make a posting change, save & exit, the click my
custom action I get the following COM error.
Can anyone assist.
Thanks
Tom
Exception of type 'System.Web.HttpUnhandledException' was thrown. --->
System.Runtime.InteropServices.COMException (0x80072020): An operations error
occurred.
at TEST.WorkFlow.LoadDropDown() in
c:\inetpub\wwwroot\FHLBCIN\CustomDialogs
\WorkFlow.aspx.cs:line 147
at TEST.WorkFlow.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\TEST\CustomDialogs\Wo
rkFlow.aspx.cs:line 30
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.customdialogs_workflow_aspx.ProcessRequest(HttpContext context) in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\fhlbcin\ee45c64d\878a6873\App_Web_
t6e-ktzx.0.cs:line 0
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
| |
| Stefan Goßner [MSFT] 2007-02-09, 7:18 am |
| Hi Tom,
as you can see there are no MCMS related objects on the callstack.
So this is not a MCMS related problem as no MCMS objects are involved.
Please post this to an ASP.NET related newsgroup.
Cheers,
Stefan
"Tom" <Tom@discussions.microsoft.com> wrote in message
news:CEC46DFB-8C4C-4A12-AE54-067B1ACCB8D2@microsoft.com...
>I have created a custom action that inherits from the SubmitAction class.
> All is well.
> Now I want my dropdownlist to be populated via Active Directory group.
> So I created a c# console app to test my code and I am able to query AD
> and
> traverse as needed.
>
> Now when I take the code from my console application and paste in in my c#
> CMS application, and compile, it works.
> When I run the application, make a posting change, save & exit, the click
> my
> custom action I get the following COM error.
>
> Can anyone assist.
>
> Thanks
>
>
>
> Tom
>
>
> Exception of type 'System.Web.HttpUnhandledException' was thrown. --->
> System.Runtime.InteropServices.COMException (0x80072020): An operations
> error
> occurred.
>
> at TEST.WorkFlow.LoadDropDown() in
> c:\inetpub\wwwroot\FHLBCIN\CustomDialogs
\WorkFlow.aspx.cs:line 147
> at TEST.WorkFlow.Page_Load(Object sender, EventArgs e) in
> c:\inetpub\wwwroot\TEST\CustomDialogs\Wo
rkFlow.aspx.cs:line 30
> at System.Web.UI.Control.OnLoad(EventArgs e)
> at System.Web.UI.Control.LoadRecursive()
> at System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> --- End of inner exception stack trace ---
> at System.Web.UI.Page.HandleError(Exception e)
> at System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> at System.Web.UI.Page.ProcessRequest(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> at System.Web.UI.Page.ProcessRequest()
> at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
> at System.Web.UI.Page.ProcessRequest(HttpContext context)
> at ASP.customdialogs_workflow_aspx.ProcessRequest(HttpContext context)
> in
> c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\fhlbcin\ee45c64d\878a6873\App_Web_
t6e-ktzx.0.cs:line 0
> at
> System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
> at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
> completedSynchronously)
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
|
|
|
|
|