revert to previous - stefans code
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 > revert to previous - stefans code




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

    revert to previous - stefans code  
laks


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


 
03-22-05 01:46 AM

Hi
am using stefans code base for revert to previous.
I get a popup alright after I integrate with my code base.
When i Click on the "revert Content" option, I am receiving the
following error.

Could not load type Stefan.CMSPageRevert.RevertTools from assembly
Microsoft.Toolkits.EnterpriseSolutions.CMSPageRevert,
Version=1.0.1320.21099, Culture=neutral, PublicKeyToken=null.
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.TypeLoadException: Could not load type
Stefan.CMSPageRevert.RevertTools from assembly
Microsoft.Toolkits.EnterpriseSolutions.CMSPageRevert,
Version=1.0.1320.21099, Culture=neutral, PublicKeyToken=null.

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:


[TypeLoadException: Could not load type
Stefan.CMSPageRevert.RevertTools from assembly
Microsoft.Toolkits.EnterpriseSolutions.CMSPageRevert,
Version=1.0.1320.21099, Culture=neutral, PublicKeyToken=null.]

Microsoft.Toolkits.EnterpriseSolutions.CMSPageRevertASPX.PageRevertPage.Hand
lePageRevisionListCommand(Object
sender, DataGridCommandEventArgs e) +0

System.Web.UI.WebControls.DataGrid.OnItemCommand(DataGridCommandEventArgs
e) +110
System.Web.UI.WebControls.DataGrid.OnBubbleEvent(Object source,
EventArgs e) +68
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs
args) +26
System.Web.UI.WebControls.DataGridItem.OnBubbleEvent(Object source,
EventArgs e) +106
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs
args) +26
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)
+121

System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.Rai
sePostBackEvent(String
eventArgument) +115
System.Web.UI.Page. RaisePostBackEvent(IPostBackEventHandler

sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
+138
System.Web.UI.Page.ProcessRequestMain() +1292



Thanks much,
- laks.






[ Post a follow-up to this message ]



    Re: revert to previous - stefans code  
Stefan [MSFT]


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


 
03-22-05 07:50 AM

Hi Laks,

I just checked and this class should be in the assembly.
Please verify with ILDASM

Cheers,
Stefan.


--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"laks" <alanlakman@yahoo.com> wrote in message
news:1111454889.605953.184140@g14g2000cwa.googlegroups.com...
> Hi
> am using stefans code base for revert to previous.
> I get a popup alright after I integrate with my code base.
> When i Click on the "revert Content" option, I am receiving the
> following error.
>
> Could not load type Stefan.CMSPageRevert.RevertTools from assembly
> Microsoft.Toolkits.EnterpriseSolutions.CMSPageRevert,
> Version=1.0.1320.21099, Culture=neutral, PublicKeyToken=null.
> 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.TypeLoadException: Could not load type
> Stefan.CMSPageRevert.RevertTools from assembly
> Microsoft.Toolkits.EnterpriseSolutions.CMSPageRevert,
> Version=1.0.1320.21099, Culture=neutral, PublicKeyToken=null.
>
> 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:
>
>
> [TypeLoadException: Could not load type
> Stefan.CMSPageRevert.RevertTools from assembly
> Microsoft.Toolkits.EnterpriseSolutions.CMSPageRevert,
> Version=1.0.1320.21099, Culture=neutral, PublicKeyToken=null.]
>
>
Microsoft.Toolkits.EnterpriseSolutions.CMSPageRevertASPX.PageRevertPage.Hand
 lePageRevisionListCommand(Object
> sender, DataGridCommandEventArgs e) +0
>
> System.Web.UI.WebControls.DataGrid.OnItemCommand(DataGridCommandEventArgs
> e) +110
>    System.Web.UI.WebControls.DataGrid.OnBubbleEvent(Object source,
> EventArgs e) +68
>    System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs
> args) +26
>    System.Web.UI.WebControls.DataGridItem.OnBubbleEvent(Object source,
> EventArgs e) +106
>    System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs
> args) +26
>    System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)
> +121
>
>
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.Rai
sePostBackEvent(String
> eventArgument) +115
>    System.Web.UI.Page. RaisePostBackEvent(IPostBackEventHandler

> sourceControl, String eventArgument) +18
>    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
> +138
>    System.Web.UI.Page.ProcessRequestMain() +1292
>
>
>
> Thanks much,
> - laks.
>







[ Post a follow-up to this message ]



    Re: revert to previous - stefans code  
laks


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


 
03-24-05 01:47 AM

thx for the reply. your dll works fine now. I guess for some wierd
reason it was giving error earlier.
I am trying to modify your code, When I Compile and use the new
compiled dll.
I am geting the following: I have noticed that the pdb file is smaller.

Parser Error
Description: An error occurred during the parsing of a resource
required to service this request. Please review the following specific
parse error details and modify your source file appropriately.

Parser Error Message: Could not load type
Microsoft.Toolkits.EnterpriseSolutions.CMSPageRevert.RevertPostingAction
from assembly Microsoft.Toolkits.EnterpriseSolutions.CMSPageRevert,
Version=1.0.1.0, Culture=neutral, PublicKeyToken=null.

Source Error:


Line 330:							-->
Line 331:<!-- revert Page -->
Line 332:	<revert:RevertPostingAction id="RevertPostingAction"
runat="server">
Line 333:		<A id=PageProfileEditorAnchor onclick="<%#
Container.ActionJavascript %>;return false" href="#" target=_self>
Line 334:		<%# Container.Text %>

thx very much
- laks






[ Post a follow-up to this message ]



    Re: revert to previous - stefans code  
laks


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


 
03-24-05 01:47 AM

got it.
the project uses different namespaces, while the provided dll uses only
1 namespace for all the files. change the namespace and compile. the
dll works just fine.
thanks very much,
- laks






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:22 AM.      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