I want to run my page on IIS , I used default template in VS 2010 (NET4) (with prebuild web forms for login and password). Authentication works fine and I get redirected to Default.aspx (which is displayed correctly). Problem is when I first go to the site I get this start login (accounts/login.aspx) screen (jpg in attach) which isn't rendered correctly. Why is that?
Once authenticated all forms are rendered fine (even accounts/login.aspx)
I don't get this problem when use classic web development server from VS2010
Thanks in advance
Loading
Javeed M ShaikhPosted Oct 25, 2011, 10:56 AM
MataPosted Oct 25, 2011, 10:52 AM
Javeed M ShaikhPosted Oct 25, 2011, 10:43 AM
MataPosted Oct 25, 2011, 10:25 AM
Javeed M ShaikhPosted Oct 25, 2011, 9:51 AM
http://ddkonline.blogspot.com/2010/08/fix-iis-7-not-rendering-css-files.html
http://forums.iis.net/t/1143592.aspx
http://gurustop.net/blog/2009/10/12/funny-problem-windows-7-iis-7-5-images-css-not-showing/
apparently i was able to replicate the issue on my machine with that settings turned off and then on. Also can you try changing the CSS path to relative path since it is in the folder like this:
Javeed M ShaikhPosted Oct 25, 2011, 9:47 AM
MataPosted Oct 25, 2011, 9:42 AM
Javeed M ShaikhPosted Oct 24, 2011, 5:15 PM
Please check the following to solve the issue:
1. click on start-> type in the search box "turn windows features on or off"
2. select the Turn Windows features on or off application.
3. Click on Internet Information Services --> World Wide Web Services --> Common HTTP features, and make sure that Static Content and WebDEV Publishing is checked mark.
4. Click ok, it will make the changes.
5. Clear cache, Close IIS and open again and navigate to your website and browse the default.aspx
Let me know how it goes.
MataPosted Oct 24, 2011, 4:19 PM
6252
MataPosted Oct 24, 2011, 3:49 PM
Javeed M ShaikhPosted Oct 24, 2011, 3:03 PM
MataPosted Oct 24, 2011, 2:45 PM
When I go to the default.aspx I get redirected to accounts/login.aspx web form, as it should, only problem is that my page isn't rendered right.
Javeed M ShaikhPosted Oct 24, 2011, 2:27 PM
I have attached the screen shot from my machine,please check. Please try and recreate the app in IIS and select asp.net 4.0. Let us know how it goes
MataPosted Oct 24, 2011, 1:58 PM
pass:Mirkec!
Javeed M ShaikhPosted Oct 22, 2011, 10:04 PM
MataPosted Oct 22, 2011, 1:55 PM
I don't know why I get this wrong rendered start page, but once I autheticate all pages are "normal" (even login.aspx) page)
Javeed M ShaikhPosted Oct 22, 2011, 12:17 PM
Please check if your CSS is referenced properly in the Login.aspx page, or is there any dyamic code execution, try deleting cache. Can you also attach the page which you get after sucessful login.