?
Solved

IIS/Sharepoint new files returns 404

Posted on 2014-10-30
4
Medium Priority
?
383 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 1500 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

752 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