Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

.aspx from VS2015 to IIS 10 is text only

$
0
0

None of my simple website tests made in Visual Studio Community 2015 on my IIS 10 (Win10pro) will work; when I go to localhost the browsers display black text on white background as though it was reading a text only file. I can't find any error messages. When I use 'View in Browser' from VS the pages work great. 

Here is what I have done:

Running VS2015 and Internet Information Services Manager as Administrator.

I have used VS to make my own utilities and special data analysis tools in C# and C+ for many years.

Used this walk through for test website: https://msdn.microsoft.com/en-us/library/a1zz9df4.aspx

Selected Target Framework .NET 4

IIS 10 Application Pool: DefaultAppPool

Had error about no .aspx MIME defined so tried: text/html and application/aspx with no effect other than clearing the error.

If I put my old hand made html files into the wwwroot location they work.

I also tried to set target framework to .NET 2 in both VS and IIS and I got the same bad results.

Does anyone know what I have not configured or mis-configured?

Is my assumption that VS2015 will work for a simple web development with .NET 4 ans IIS 10 valid?

Happy Trails


Viewing all articles
Browse latest Browse all 780

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>