Another project interupted, but I'm back to this one again. DNN 4.09. Brand new install, Custom Skin and content added, nothing else.
An interesting twist to the problem. This error also occurs when trying to run the site from VS2008. It is trying to use the alias localhost/DotNetNuke_2. I have added this to the alias table using the website with no success. I can however access this URL just fine if I go directly to it from IE.
I have been trying to follow the code, but am unfamiler with vb.net. The DataCache object seems to be where the alias info is supposed to be stored, but none of the iterations that attempt to resolve the alias return data.
I can see the rows in the Database. I have not found where the data is being physicallyretrieved from the DB, so havn't been able to see the SQL that is being used to verify the data isn't messed up. Nothing is ever returned from GetPortalAliasInfo in PortalSettings.vb
Values in dnn_PortalAlias
1 1 localhost/dotnetnuke/website
3 1 localhost/dotnetnuke_2/website
4 1 localhost
1 was from install. 3 and 4 were added by me.
As a side note, DotNetNuke_2 is a virtual directory pointing to the DotNetNuke\website directory that was created during setup.