Kui Visual Studio ei ole nõus teste jooksutama

Olukord: Tõstsin oma projekti teise arvutisse ning pärast seda ma teste enam jooksutada ei saanud

Error: 

The Web request ‘http://localhost:1234/midagi/midagi’ completed successfully without running the test. This can occur when configuring the Web application for testing fails (an ASP.NET server error occurs when processing the request), or when no ASP.NET page is executed (the URL may point to an HTML page, a Web service, or a directory listing). Running tests in ASP.NET requires the URL to resolve to an ASP.NET page and for the page to execute properly up to the Load event. The response from the request is stored in the file ‘WebRequestResponse_CreateProviderTest.html’ with the test results; typically this file can be opened with a Web browser to view its contents.

Lahendus: Kuna see projekt asus mõlemal arvutil Desktopil ainsa vahega, et kasutajanimi oli teine, siis ma ei pidanud eriti midagi muutma ainult selle nime. 

[AspNetDevelopmentServerHost(“C:\\Users\\Jaana Metsamaa\\Desktop\\Visual Studio 2008\\Projects\MinuProjekt\\

Vot aga kopeerimistöös tekkis viga sisse.

Sest Minu projekt on lahenduse (Solution) nimi mitte selle projekti nimi, mida ma testin. Ehk kui lisada lahenduse nimi, siis töötab :)

 

[AspNetDevelopmentServerHost(“C:\\Users\\Jaana Metsamaa\\Desktop\\Visual Studio 2008\\Projects\MinuProjekt\\Projekt