I am experiencing problems when making a new module and putting a file in the module.
The file gets uploaded to the Shared Documents library (on my team site), but when I click the link to try and view the file, I get an unknown error.
This is the xml code for the module and file. I am able to see Sample.txt in the Shared Documents library
<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="Module1" Path="Module1" Url="Shared Documents"> <File Path="Sample.txt" Url="Sample.txt" IgnoreIfAlreadyExists="FALSE" Type="GhostableInLibrary" /> </Module> </Elements>
What internet explorer tells me when trying to view the file
This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.
And finally the error log from sharepoint.
Unknown SPRequest ??
Entering monitored scope (Request (GET:http://win2008r2-steph:17191/Shared%20Documents/Sample.txt)) Name=Request (GET:http://win2008r2-steph:17191/Shared%20Documents/Sample.txt) b5c30c1f-f5bb-40c7-8b5c-91933c0cd27d HTTP Request method: GET b5c30c1f-f5bb-40c7-8b5c-91933c0cd27d Overridden HTTP request method: GET b5c30c1f-f5bb-40c7-8b5c-91933c0cd27d HTTP request URL: /Shared%20Documents/Sample.txt b5c30c1f-f5bb-40c7-8b5c-91933c0cd27d Unknown SPRequest error occurred. More information: 0x8007007b b5c30c1f-f5bb-40c7-8b5c-91933c0cd27d <nativehr>0x8007007b</nativehr><nativestack></nativestack> b5c30c1f-f5bb-40c7-8b5c-91933c0cd27d <nativehr>0x8007007b</nativehr><nativestack></nativestack> b5c30c1f-f5bb-40c7-8b5c-91933c0cd27d
This post has been edited by CasiOo: 22 August 2012 - 01:17 AM