Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Taylor 873 posts 2086 karma points
    Jan 17, 2011 @ 16:47
    Matt Taylor
    0

    Error: Could not load type 'umbraco.presentation.urlRewriter.FormRewriterControlAdapter'

    In 4.5.2 I was trying out the creation of a new datatype. After making some changes to the source I compiled it and then got the following error. The whole application has been brought to its knees, I can't get to the login screen.

    Does anybody know how to fix this?

    Server Error in '/' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Could not load type 'umbraco.presentation.urlRewriter.FormRewriterControlAdapter'.

    Source Error:

    Line 3:    <browser refID="Default">
    Line 4: <controlAdapters>
    Line 5: <adapter controlType="System.Web.UI.HtmlControls.HtmlForm"
    Line 6: adapterType="umbraco.presentation.urlRewriter.FormRewriterControlAdapter" />
    Line 7: </controlAdapters>


    Source File: C:\SoftDev\tcs\eypdas\App_Browsers\Form.browser    Line: 5


    Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618

  • Matt Taylor 873 posts 2086 karma points
    Jan 17, 2011 @ 16:59
    Matt Taylor
    101

    Fixed it.

    Somehow the following assemblies got deleted, luckily I had the lot in source control so could get it all back:

    Command: Update 
    Restored: C:\SoftDev\tcs\eypdas\bin\Microsoft.Scripting.dll 
    Restored: C:\SoftDev\tcs\eypdas\bin\Examine.xml 
    Restored: C:\SoftDev\tcs\eypdas\bin\MySql.Data.dll 
    Restored: C:\SoftDev\tcs\eypdas\bin\Microsoft.ApplicationBlocks.Data.dll 
    Restored: C:\SoftDev\tcs\eypdas\bin\TidyNet.dll 
    Restored: C:\SoftDev\tcs\eypdas\bin\Examine.dll 
    Restored: C:\SoftDev\tcs\eypdas\bin\umbraco.dll 
    Restored: C:\SoftDev\tcs\eypdas\bin\CookComputing.XmlRpcV2.dll 
    Restored: C:\SoftDev\tcs\eypdas\bin\umbraco.providers.dll 
    Restored: C:\SoftDev\tcs\eypdas\bin\ClientDependency.Core.dll 
    Restored: C:\SoftDev\tcs\eypdas\bin\umbraco.DataLayer.dll 
    Restored: C:\SoftDev\tcs\eypdas\bin\Microsoft.Scripting.Core.dll 
    Completed: At revision: 343 

    Most odd, I know I didn't delete them.

  • Paul Griffiths 370 posts 1021 karma points
    Oct 03, 2014 @ 16:56
    Paul Griffiths
    0

    Cheers for sharing this Matt, ive just had the exact same issue and god knows how these files got deleted! God bless source control ;)

    Cheers

    Paul

  • Matt Taylor 873 posts 2086 karma points
    Oct 03, 2014 @ 18:10
    Matt Taylor
    0

    I know that if you accidentally click 'Clean build' in stead of 'Build' in your solution it will delete anything it thinks it doesn't need from the bin folder.

  • Paul Griffiths 370 posts 1021 karma points
    Oct 03, 2014 @ 19:10
    Paul Griffiths
    0

    Hi Matt,

    Well that explains the teason I deleted mine because I did in fact accidentally press clean build.

    Thanks for the heads up mate.

    Paul

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies