After developing a number of RESTful services using WCF, I wanted to deploy my services to IIS 7 (WIN 7 )and not only use the Visual Studio internal test server. Btw, I found this post extremely helpful to get REST with WCF working.
After creating the application to IIS I got this page
The solution was to simply run a script found in this post by Guy Burstein. It just runs afterwards!
P.S.Don't forget to restart IIS after running the script
Wednesday, July 13, 2011
Sunday, July 3, 2011
Adding another page in an artisteer skin for DNN
I start writing to this blog about ways to solve various problems that I meet during my work as a software and web developer. I don't claim my solutions to be the best out there, but when being in a situation where you are a step just before breaking your pc because Iexplorer wont render your website correctly or a property file in java cant't be loaded no matter what you do, then finding a solution that justs works might be simply what you want.
After that short intro, I'm posting about the last thing that made me spend 4 hours searching the solution the other day. I had added a new page in one skin that was generated by artisteer in a DNN website I am currently developing. Artisteer normally generates page.ascx and page-admin.ascx, the first for norma pages and the second for admin ones.
After that short intro, I'm posting about the last thing that made me spend 4 hours searching the solution the other day. I had added a new page in one skin that was generated by artisteer in a DNN website I am currently developing. Artisteer normally generates page.ascx and page-admin.ascx, the first for norma pages and the second for admin ones.
I added another one, 'platform.ascx' in order to change the layout of the panes. I copied 'page.ascx', made the changes and then loaded the skin in the DNN page. Firefox shows ok, Chrome ok but Iexplorer shifts all the elements to the left side! The problem was the doctype of the page. It was falling back to the default html 4 of the DNN (found in host settings).
The solution was to create a copy of 'page.doctype.xml' and rename it to platform.doctype.xml.
This way the page doctype was not rolling back to html 4 but stayed in XHTML 1.0.
Quick summary:
Problem: New page of DNN Artisteer skin doesn't show correctly in Iexplorer (7,8,9).
Solution: Don't forget to copy file page.doctype.xml renaming it to the same name as the new skin page
P.S. As seen from the above, I am mainly involved with DNN websites. I also play around with JQuery and java so my posts will be around these technologies.
Subscribe to:
Posts (Atom)
