Solutions    |    Downloads    |    License    |    Documentation    |    Training    |    Support    |    Customers    |    About Us

Type Was Not Registered In The Serializer

Last Updated: Apr 23, 2013 11:41AM IDT
p> If you've run into this exception when using NServiceBus in an ASP.NET application after upgrading the code of your app, this is usually due to files which are locked.

Exception Details

Server Error in '/' Application. Type XYZ was not registered in the serializer. Check that it appears in the list of configured assemblies/types to scan. 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.

Solution

1. Stop the w3svc process of the website whose code you're upgrading.
2. Delete the Temporary ASP.NET Files, usually found in the folder: c:\Windows\Microsoft.NET\Framework(64)\{version}\ 3. Run your application again, the exception should no longer happen.

About NServiceBus    |    Contact Us    |    Privacy    |    Follow us on:   
Copyright 2010-2013 NServiceBus. All rights reserved
NSB_Y@yahoo.com
http://assets1.desk.com/r1046ffeaa2233e531563a32d7edef6677d8a78b5/javascripts/
nservicebus
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
true
Invalid characters found
/customer/portal/articles/autocomplete
There was an error contacting Get Satisfaction
View All
0
discussions
replies
Questions
Ideas
Problems
Praise