Wednesday, October 29, 2014

Invalid operation exception while executing Type.GetType

Yes that's a different issue.


There may be many reasons for this problem. Firstly you could make sure gatewayPluginType is a valid type, the type name should consists of a valid namespace and a type name. Don't cast it to a incompatible type with "as" keyword, or you'll get null value.


If gatewayPluginType is not null, but the return value of Activator.CreateInstance is still null, it'll be a very strange problem, you need to make a sample project, post the whole code here or upload the project file in OneDrive so that we can debug it and find out what's going on.




We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

Click HERE to participate the survey.


No comments:

Post a Comment