Using CMS and Active Directory
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Using CMS and Active Directory




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Using CMS and Active Directory  
Tom


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-09-07 12:18 AM

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 erro
r
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.HttpApplicati
on.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.






[ Post a follow-up to this message ]



    Re: Using CMS and Active Directory  
Stefan Goßner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-09-07 12:18 PM

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.HttpApplica
tion.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.
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:10 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register