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>
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.
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:
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
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.
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
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.
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
is working on a reply...