I recently updated a website, removing an old CMS and converting the website to static html files and changing the hosting server.
Everything is working fine, except that my client tells me that everyone at his office is getting the error : INET_E_DOWNLOAD_FAILURE
They all use Internet Explorer 11.
I cannot reproduce it, I've tried loading on IE on my side but I cannot get the error. After some googling, I've seen that this is probably due to cache/cookies.
I understand that we cannot force browsers to remove cache, but is there a way to fix this without telling the client that he has to delete the temporary files on all their computers?
Related
I was trying to answer this question "How to host Office Add In with IIS" --> https://stackoverflow.com/a/70616170/5079799 and I did by installing IIS and configuring it to serve site.
It seemed to work fine then, switching between IIS and VS, but after perhaps a reboot or regardless, today, I can't seem to get VS to use its own webserver. It seems to be serving the files under IIS webroot C:\inetpub\wwwroot, not the files in the project as I can navigate to URLs in my webroot, but if I open IIS, it doesn't show running.
Any ideas?
Update:
I tried completely uninstalling IIS from Programs and Features, but VS (2017) still seems to serve the webroot vs the project files.
Shortly after, VS didn't seem to load anything, neither the project, or the webroot was available after running solution
It seems URL/Ports have been changed somehow in the settings under my vbprojec files
Well, I found some settings that VS seems to have changed on me and one setting I changed that messed everything up.
I had hard coded the --> ~remoteAppUrl/ to be localhost:port.
I did manage to get things to work, two times, but adjusting settings, but I couldn't reliably reproduce so I did a hard reset and tried adjusting the localhost:port to ~remoteAppUrl/ in the xml and it worked, using a different port then before. This is probably the best route to go as I had already created a "localhost" xml and a prod xml so I can leave the VS xml with ~remoteAppUrl/. I'm guessing VS noticed that IIS was using the port it had before, even though IIS was off, it decided to use a new port to avoid conflict?
Here is some settings I changed to get it to work:
In Web.vbproj
<IISExpressSSLPort>44342</IISExpressSSLPort>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>57161</DevelopmentServerPort>
<IISUrl>http://localhost:57161/</IISUrl>
Became:
<IISExpressSSLPort>44367</IISExpressSSLPort>
<AutoAssignPort>False</AutoAssignPort>
<DevelopmentServerPort>44367</DevelopmentServerPort>
<IISUrl>https://localhost:44367/</IISUrl>
In Web.vbproj.user:
<IISExpressSSLPort>44367</IISExpressSSLPort>
Also I noticed that my GUID had changed somewhere along the line, so make sure that all lines up.
I also changed the URL in the Web Properties.
Viewing the properties gave me some insight as well.
I made a modification in a php file and uploaded it via Filezilla. It always worked fine for me, even if sometimes it would not upload immediately. This time, however, it's not working anymore in any way. I upload the file with the same name and it looks like it overwrites the old one, but the size of the file doesn't change. When I open the site on the browser (I've been testing in Chrome and Firefox and already cleaned their caches many times since then, and still nothing happens) and look at the source code, it shows the new code with the modification, but even so the site is still the same old one. When I open the file directly from Filezilla it also shows the modified file, but the file size doesn't change. It started yesterday, before the upgrading to version 3.7.3. It's updated now, but the files are still not being updated. I also tried renaming the file, deleting it from the ftp and uploading again, uploading it to another folder and then moving it to the root, but nothing happens. Any idea of what can be causing this?
It turns out it was a problem with the permissions with the host. I contacted them and the issue was solved.
I have a webservice that I need to be able to write some logs for. The service is installed in c:\inetpub\wwwroot\myservice. The log files should be written to c:\inetpub\wwwroot\myservice\logging.
When I try running it in debug mode in Visual Studio, log files are created successfully. When I publish the site and try it, log files are not created.
I have tried giving write access for the logging folder to: NETWORK Service, IUSR, IIS_IUSRS, DefaultAppPool, ASP .NET 4.0 Classic but it made no difference. I also added Everyone with Full Control, but it made no difference.
Any ideas why I cannot get write access to this folder????
I have no idea what caused the issue, but IIS had somehow got corrupted. It would no longer display pages either by using localhost or 127.0.0.1.
Removed and re-installed IIS, all working now.
I recently changed my project from a Website Project to a Web Application project so I could use build events.
I'm having all sorts of problems now trying to develop.
When I build the project and reload it in the web browser, it hardly ever loads the right version (sometimes it does).
Like if I make a simple update to some text, it will load the last page, like it's using a cached version of the page or something.
Also when I try to debug, it will never hit the breakpoints. I'm not sure what I need to change to fix this issue, any help would be greatly appreciated.
What browser are you using? The chances are the pages are being cached. With most browsers you can do Ctrl + F5 to force a reload of the cached files.
In Internet Explorer, you can change the option for Temporary Internet Files to 'Every time I visit the webpage', but be aware that this affects all sites you visit.
If you are talking about changes to binaries, you might need to do an iisreset. If you are still having issues, try deleting ASP.NET temp files.
I took a backup of my live Magento site yesterday (zipped up the files and took a DB dump then created the site from those dumps).
Oddly though, on my local machine I get a firebug error that states "$ is not a function" and this error occurs every 500ms or so. So after a minute or 2 I have thousands of errors in the console all the same.
The site is an exact replica of my live site and I don't get the error on that so I'm stumped!
Usually I would think this is a prototype/jquery conflict, but it only seems to happen on my local machine.
Any one have a clue what might be going on?
Thanks
Load a page where you see the error.
View the source of the page.
Find the line that's supposed to load prototype.js by searching for the string prototype.js.
ex. http://magento.example.com/js/prototype/prototype.js
Discover that, for one of myriad reasons, the file isn't loading. (wrong URL, permissions, corrupt file, etc.)
Address problem discovered above.
Ok so this was the problem:
The reason it worked on live and not dev was because I had merge JS enabled on live and not on dev. Live was therefore looking at an old cached bunch of js. Disabling merge js on live highlighted that the problem did in fact occur on the live site.
This knowledge allowed me to debug further and I discovered that the problem lay with my jquery.hove.intent.js file. I updated this to the latest version and it solved everything! :)
Thanks all for your help and input though.