Hi,
I have a problem with web service testing. I generated a test method for a web service class, added a default.aspx to web service, changed attribute to
[UrlToTest("http://localhost:54785/Default.aspx")]
, added
<location path="VSEnterpriseHelper.axd">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
to web service config file, checked in IIS http handlers for both default web site and my web service to have a definition for axd-isapi-2.0 and axd-isapi-2.0-64(path = *.axd). Yet, when I run the ms test, I get
The test adapter 'WebHostAdapter' threw an exception while running test 'TestMethod'. The web site could not be configured correctly; getting ASP.NET process information failed. Requesting 'http://localhost:52415/VSEnterpriseHelper.axd' returned an error: The remote server returned an error: (500) Internal Server Error.
...
I have also tried changing UrlToTest to IIS mapping of default.aspx from web service.
Could you give me some ideas?
Thank you