Click here to Skip to main content
15,880,427 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Help everyone.. I hope somebody has knowledge of MS IIS webserver.

I have made an ASP.net 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
Kristian
Posted
Comments
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 asp.net application to IIS server.

Hope it will helps you...
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.
/Kristian
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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900