Click here to Skip to main content
14,367,980 members
Rate this:
Please Sign up or sign in to vote.
See more:
Help everyone.. I hope somebody has knowledge of MS IIS webserver.

I have made an C# webapplication (target .net4) and im trying to run this on my IIS 6.0 also with .net 4.0

However, when accessing the website I only get like a White page with the file structure and not my Default.aspx page.

Anybody has any ideas what i'm doing wrong?

Best regards
Hemant Singh Rautela 21-Jan-16 3:20am
I think you IIS is not integrated with .Net framework...

If you installed IIS server in your local machine. then just remove .Net framework from your system and then reinstall it. Then publish your application to IIS server.

Hope it will helps you...
ZurdoDev 21-Jan-16 11:07am
1. Reply to the comment so that the user is notified.
2. Go into IIS and make sure Default.aspx is your default page. Also, if you right-click a file in IIS and choose Browse, it will open your browser to that page. Does that work?
Kristian_dk 21-Jan-16 13:48pm
Hello Ryan. Thanks for helping out.
I have ensured that it is targeting Default.aspx
When i click browse it get a 404 error page without any useful information now. I have tried to deploy the webapp to another server (2012) here i actually works.. Hmm i'm confused
Kristian_dk 21-Jan-16 13:49pm
Hello Herment, Thanks for helping me out here. I'm not so techincal strong.
The thing is that my IIS is running on a Windows 2003 server which was running .net 2.0 and then i asked him to upgrade it to .net 4.0.
Could this be the issue - and is there anything that should be done to integrate this new .net 4.0 to IIS.
I'm not so happy about uninstalling anything on the server since it is running our Company ERP system.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100