This is a very odd error, and I have a feeling it has to do with my custom exception, but not sure what to look at.
Have a command object...one of the unit tests ensure an exception is thrown, and looks for the right exception in the DataPortalException.BusinessException.
On my remote machine, with <customError="RemoteOnly | On" /> I just get a generic exception:
Server encountered an internal error. For more information, turn off customErrors in the server's .config file.
On my remote machine, with <customError="Off" /> I get the the DataPortalException with the correct business exception.
I have a feeling the portal is having a problem serializing my custom exception, but I'm not getting any error messages. This is the code for the custom exception:
[
Serializable()] public sealed class CustomException : Exception{
public CustomException():
base() { } public CustomException(string message):
base(message) { } public CustomException(string message, Exception innerException):
base(message, innerException) { } public CustomException(SerializationInfo info, StreamingContext context):
base(info, context) { }}
Any ideas?
Goes through cloner just fine.
Getting even stranger errors now that I took out of remoting scenario - before it was remoting both off of cassini and another machine's IIS just fine, while debugging this, I took out remoting and running all local again. Not I'm getting the 'Type is not resolved for member' error...but I'm not even remoting at this point!
I'm going to pull my hair out because now I'm totaly dead in the water. This fricken error is occuring only when it tries to read the settings file and is having a problem with the type that I created to deal with the whole CSLA principal thing.
Copyright (c) Marimer LLC