this is for 15.0. Why would this error occur? What needs to be in place to successfullly call Asi.Security.SecurityContext.ImpersonateAnonymous() ???
(on another note the Release/Version drop down box in the screen I used to create this post does not contain 15.x versions.)
You probably don't have the
You probably don't have the following setting in the iMIS/SystemParams section of your app's config file (or it refers to a user that doesn't exist or is disabled):
The value may need to be MANAGER instead depending on whether you're on 15.0.1 or 15.0.3 (I believe it's GUEST in 15.0.3 and all later versions). You can copy the iMIS/SystemParams section from an installed app server's web.config if you are unsure. It's also possible that you're missing one of Asi.dll's dependencies (typically Asi.Lexicon.dll and log4net.dll; both of these need to be in the same directory as Asi.dll) or that the connection string is missing or incorrect in the .config file.
Eric Means
System Architect, ASI