Hi
I am trying to migrate a website from a hosting provider to a "proper" windows server, and I was getting the following error:
-------------------------
500 Server Error
An error occured during processing : if possible, check the event log of the server
Exception:
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Stack Trace:
at System.Collections.ArrayList.get_Item(Int32 index) at iFinity.DNN.Modules.UrlMaster.UrlRewriteModule.IdentifyPortalAlias(HttpContext context, HttpRequest request, Uri requestUri, UrlAction result, NameValueCollection queryStringCol, FriendlyUrlSettings settings) at iFinity.DNN.Modules.UrlMaster.UrlRewriteModule.ProcessRequest(HttpContext context, HttpRequest request, HttpServerUtility Server, HttpResponse response, Boolean useFriendlyUrls, String requestType, Uri requestUri, UrlAction result, NameValueCollection queryStringCol, FriendlyUrlSettings settings)
-------------------------
I guessed that this was because localhost was never defined in the PortalAlias table, so I added that, but now I get the following error:
-------------------------
500 Server Error
An error occured during processing : if possible, check the event log of the server
Exception:
Object reference not set to an instance of an object.
Stack Trace:
at iFinity.DNN.Modules.UrlMaster.UrlRewriteModule.IdentifyPortalAlias(HttpContext context, HttpRequest request, Uri requestUri, UrlAction result, NameValueCollection queryStringCol, FriendlyUrlSettings settings) at iFinity.DNN.Modules.UrlMaster.UrlRewriteModule.ProcessRequest(HttpContext context, HttpRequest request, HttpServerUtility Server, HttpResponse response, Boolean useFriendlyUrls, String requestType, Uri requestUri, UrlAction result, NameValueCollection queryStringCol, FriendlyUrlSettings settings)
-------------------------
Now I'm a little lost. Do you have a pointer as to where I am going wrong?
Many thanks
Alan