Where does msdeploy get it's app_offline from? - asp.net

So I've been having issues with a large website trying to build itself over and over during publishing, being lazy I wanted to take it offline and back on again with publishing.
I followed these instructions:
http://blogs.msdn.com/b/webdev/archive/2013/10/30/web-publishing-updates-for-app-offline-and-usechecksum.aspx
<EnableMSDeployAppOffline>true</EnableMSDeployAppOffline>
Trouble is the page it creates is empty. The title says Site under Construction. but nothing on page, the body has mention of being IE friendly:
additional hidden content so that IE Friendly Errors don't prevent this message from displaying (note: it will show a 'friendly' 404 error if the content isn't of a certain size).
but thats in a comment, the page is just white blank.
I found this article: Custom app_offline.htm file during publish
Suggesting that C:\Users[user]\AppData\Roaming\Microsoft\VisualStudio\11.0\app_offline.htm has the content for MSDeploy, I'm using VS2013 and went to the 12 folder accordingly, found the file edited it and MSDeploy just laughs in the face of my hopes and smashes my dreams of any sort of on-screen message.
I don't care if all my websites get the same screen, it's an intranet and all my websites look similar anyway, but I just need to get an onscreen message and a meta tag to refresh the page in 1 minute.
Does anyone know where or what to edit?

Related

Blogdown site pages do not render properly

I'm using RSTudio Blogdown/Github/Netlify to maintain my blog site. I'm using the Acadmic theme. When I push the changed .RMD files to Github the changed pages do not seem to deploy but if I build the entire site and push it then the site deploys on Netlify without any problem. Unfortunately, it takes about three minutes to build the entire site, so I'm looking for a faster solution.
I think that I should be able to build a single directory, which would be super fast, but when I build a directory with this, blogdown::build_dir("content/project/cont_imp"), the HTML document does not build properly. It seems to render as a single long javascript and since all of the metadata in the YAML header is wrapped into the script the page on Netlify does not deploy properly, things like the date and subtitle are missing and it is not formatted like the rest of my site.
I have one bad page that I built with build_dir on GitHub so you can view both the .RMD source and .HTML rendered documents: https://github.com/grself/icochise/tree/master/content/project/cont_imp. You can see this project page on my live site at: https://icochise.com/ (scroll down to the "Projects" section and notice the difference between the "Continuous Improvement" link (no text there, just an image of a hand and a whiteboard) and the "Blogdown and Bookdown" link. I just now noticed that the HTML document seems to be some sort of self-extracting javascript so after a couple of seconds the source code looks normal. Maybe there is some kind of setting on Netlify I need to change so it will extract the javascript as it is deploying the page?
I checked the settings in my "Configure Build Tools" and unchecked "Preview site after building" and "Re-knit current preview..." but that didn't help. I also tried changing the Project build tools dropdown from "Website" to "Custom" and specified the Hugo executable. None of these things helped.
I also tried running "Serve Site" while I worked, thinking that would continuously render the HTML page, but that tool seemed to hang and would not display the site once I made changes to an .RMD file. In fact, it was hung up so badly that I had to kill RStudio with the Windows Task Manager.
Finally, I also tried to update Hugo, hoping that there was something fouled up in my Hugo install, but that did not help.
I suspect that I'm doing some simple thing wrong, but have tried everything I can think of to fix this and would appreciate any suggestions.

Why is my site requesting (unsuccessfully) a font from an unrelated site

In my deployed website, I'm seeing this in the logs in Firefox:
My site has nothing to do with abc.net.au (although that is a site I browse often).
I've grepped my deployed code to be sure, and there are definitely no references anywhere that I can see that would be causing it to try to load these font files.
Clicking on the source code link doesn't reveal anything useful (just the index.html page).
Perhaps it's some kind of plugin going wrong?
How can I diagnose and fix the cause of these inappropriate font requests?
The first thing I'd do is make sure that the lines come from content requested from your website. You have 2 ways to do that:
Create a new Firefox profile, start it, close all the tabs and just leave 1 blank tab. Open the logs, clear them and then open your website. If the font line is not here, then it might have been a bogus log line.
On your original Firefox or new profile, open a new tab. Open up the Network Monitoring tool and then open your page. Look for the font entry in the network request. Unfortunately, it's not yet possible (see this) to break on specific network requests in the Firefox dev tools.
From there, I would go and check the source code depending on my findings. Keep us posted!
Update: this sounds like bug 1420680.

Firebug shows 404 error for claro_rtl.css, but I can't find the source that is trying to reference that file

I'm in the middle of testing a customized Dojo theme based on the popular claro theme. The new theme is named 'jelam'. I've gone through all the suggested steps for making a new theme based on an existing theme like claro and all seems to be working fine - except Firebug is reporting an error immediately upon opening my page. It reports that it can't find the claro_rtl.css file. The thing is, I've searched many times my source code and files for any reference to that claro_rtl.css file, but I can't find it. I suspected initially that my browser was cacheing it somehow, so I cleared the Firefox browser, closed Firefox and ropened it, and also restarted the WebSphere portal which is serving my JSP page. Despite those attempts to clear out any reference to claro_rtl.css, I'm still getting the error reported in Firebug.
"NetworkError: 404 Not Found - https://localhost:10149/CompassThemesURS/themes/html/commonurs/dojo/1.9.1/dijit/themes/jelam/claro_rtl.css"
How can I get Firebug to show me what the source of that request is? I had initially suspected that I had missed it in one of my many JSP files or CSS files that was possibly importing it, but it's not showing up.
Is there a way to get Firebug to show me who is trying to pull that file in?
Thanks for any insight you can give.
Finally figured it out. In Firebug I put "claro_rtl.css" in the search box, then performed the search in each tab until the search found it from the CSS tab, and it found it referenced in the new jelam.css file.
I had forgotten to redeploy the webapp. I had correctly updated the source files, including jelam.css, but I hadn't redeployed with those updates like I thought I had.
Cheers.

Problems with Publish Web giving blank page

I have written my first asp.net website and I'm ready to deploy. I've followed this tutorial to the letter in order to test first and all seems to proceed without any hitches or errors. However, the webpage gives a blank page with nothing rendered, only
<html><head><style type="text/css"></style></head><body></body></html>
All the files seem to have deployed correctly and I can see them in C:\inetpub\wwwroot\Test Webpage and if I attempt to run using inetmgr I get the same.
Can anyone advise what the problem(s) might be? Below are some screenshots of IIS if it helps but will post up more info if needed.

can not add an iframe tab

Ok, so I've done it a hundred time or more, but today - got a new problem.
created a simple html page with an image
uploaded to a server
opened the page in the browser - no problem, all works fine.
created a new app, selected "tab" and insert the tab name, the http and https url
Tried to view the app and got "The page you requested was not found"
I've checked with other iframe tabs that I've built, they all configured the same, yet the new one - fails to load.
I've seen that the interface has changed a bit, Its not unusual that Facebook breaks things from time to time but maybe I'm missing something?
Edit: also, from some reason I don't have the "View App Profile Page" on that app
They changed some things around, profile pages are no longer being made. Check this out http://developers.facebook.com/blog/post/611/
Although I'm still having problems with getting errors when I try to add the app

Resources