I am getting an error running just the Database Driven units test of my existing project after I upgraded to DNN7.2, VS 2013, & localtest.me (resolved to 127.0.0.1) from Local Host, DNN 7, VS2010. It was all working before. Now this is the error I get running the test running as administrator:
Result Message: The URL specified ('http://dnndev.localtest.me/') does not correspond to a valid directory. Tests configured to run in ASP.NET in IIS require a valid directory to exist for the URL. The URL may be invalid or may not point to a valid Web application.
My site loads find in the browser on http://dnndev.localtest.me. I have scanned the web for any issues related to this and everything they say could be wrong does not seem to apply to my situation. I have a production install that is delayed over 1.5 months because I can not unit test it.
Sample:
[TestMethod()]
[HostType("ASP.NET")]
[UrlToTest("http://dnndev.localtest.me/")]
public void DoPayPalRecurringPaymentSuccessTest01()
{ ... }
DNN Modules are compiled as ASP.Net v4.0 with start URL as 'http://dnndev.localtest.me/' with a project URL for each module as 'http://dnndev.localtest.me/desktopmodules/QHWeb/xxxxxx' where xxxxxx is the module name. All have had virtual directories created using VS and confirmed in IIS. They are set for Override Application root URL in VS as 'http://dnndev.localtest.me/'
Hosts File: (No related entries)
IIS Bindings: dnndev.localtest.me 80 *
DNN Aliases: dnndev.localtest.me
IIS Physical Path: C:\Websites\dnndev
IIS AppPool: dnndev (as v4.0 as Integrated)
Event Log: Empty - Gives no indication of errors of any kind from anywhere for months.
C:\Websites\dnndev Security: NETWORK SERVICE, Administrator, dnndev all have full control
I can supply any addition information you request. I am in dire need of resolving this issue, and since this has never been solved before, it will help others who have the same issue. I am open for offline conversations as well to help resolve this. I am desperate. I have bugs in production, I can not fix because I can not test.