Solved

IIS/Sharepoint new files returns 404

Posted on 2014-10-30
4
373 Views
Last Modified: 2014-11-05
Hello Experts,

I have some odd issues with a Windows Server 2008 R2 install with IIS7 with a Sharepoint site.

The sharepoint website is acting weird, as new files returns 404 - until the website have been reset in IIS.

This is the entry from logfile - Same result both from localhost or another host trying to access the file:

2014-10-14 12:26:47 10.23.83.142 GET /test.html - 80 - xxx.xxx.xxx.xxx HTTP/1.1 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/37.0.2062.124+Safari/537.36 - www.domain.tld 404 0 0 438 367 78​

Anyone with a guess as of why this is happening? When the website is restarted, I can access the file without issues.

No caching enabled in IIS web.config.

Sharepoint log, when it returns 404
10/27/2014 15:51:49.48 	w3wp.exe (0x1728)                       	0x1714	SharePoint Foundation         	Monitoring                    	nasq	Medium  	Entering monitored scope (Request (GET:http://localhost:80/testam4.txt))	 
10/27/2014 15:51:49.48 	w3wp.exe (0x1728)                       	0x1714	SharePoint Foundation         	Logging Correlation Data      	xmnv	Medium  	Name=Request (GET:http://localhost:80/testam4.txt)	5a2f0eeb-33e2-4dab-8f18-bca4a6873689
10/27/2014 15:51:49.48 	w3wp.exe (0x1728)                       	0x11C0	SharePoint Foundation         	General                       	af71	Medium  	HTTP Request method: GET	5a2f0eeb-33e2-4dab-8f18-bca4a6873689
10/27/2014 15:51:49.48 	w3wp.exe (0x1728)                       	0x11C0	SharePoint Foundation         	General                       	af75	Medium  	Overridden HTTP request method: GET	5a2f0eeb-33e2-4dab-8f18-bca4a6873689
10/27/2014 15:51:49.48 	w3wp.exe (0x1728)                       	0x11C0	SharePoint Foundation         	General                       	af74	Medium  	HTTP request URL: /testam4.txt	5a2f0eeb-33e2-4dab-8f18-bca4a6873689
10/27/2014 15:51:49.48 	w3wp.exe (0x1728)                       	0x12F4	SharePoint Foundation         	Monitoring                    	b4ly	Medium  	Leaving Monitored Scope (Request (GET:http://localhost:80/testam4.txt)). Execution Time=5,75876263603335	5a2f0eeb-33e2-4dab-8f18-bca4a6873689

Open in new window


Sharepoint log after resetting the website:
10/27/2014 15:55:49.75 	w3wp.exe (0x1728)                       	0x1594	SharePoint Foundation         	Monitoring                    	nasq	Medium  	Entering monitored scope (Request (GET:http://localhost:80/testam4.txt))	 
10/27/2014 15:55:49.75 	w3wp.exe (0x1728)                       	0x1594	SharePoint Foundation         	Logging Correlation Data      	xmnv	Medium  	Name=Request (GET:http://localhost:80/testam4.txt)	fba52a32-e548-4ece-9801-36d47c4feeeb
10/27/2014 15:55:49.75 	w3wp.exe (0x1728)                       	0x1594	SharePoint Foundation         	Monitoring                    	b4ly	Medium  	Leaving Monitored Scope (Request (GET:http://localhost:80/testam4.txt)). Execution Time=1,6762605303188	fba52a32-e548-4ece-9801-36d47c4feeeb

Open in new window

0
Comment
Question by:Alex Mathiasen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40414159
How did those files get in there? Sharepoint would not normally service a .TXT file straight from its root.
0
 

Author Comment

by:Alex Mathiasen
ID: 40414201
I created them manually. I have also tried creating .html files - However they return 404 till the website have been reset.
0
 
LVL 37

Accepted Solution

by:
Neil Russell earned 500 total points
ID: 40414212
Where did you create them manually? And how?

Sharepoint is NOT a html development environment.  If you want to add files to a sharepoint site then you NEED to use either the sharepoint GUI or use SharePoint Designer and/or Visual studio.
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40414218
if you are creating .txt files and storing them manually in the root of the sharepoint site then I am afraid to say that you are not understanding just what sharepoint is or how to develop a site with it.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adware on IIS hosted asp.net website 1 33
IIS FTP Logging 10 54
File upload fails with SSL Certificate 3 44
Need to find a web event on the IIS server 4 10
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question