[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Elements/Eprints File Upload Refused



Hi,

My repository is EPrints based and accepts file uploads and metadata from
Symplectic Elements.

Recently a colleague was attempting to upload a file through Elements to an
existing EPrint that already contained documents. Unfortunately, Elements
rejected the upload:

"An error occurred whilst uploading the file to the repository. Please
reload the page and try again, or contact your system administrator if the
problem persists."

Other files are still going through from Elements and for each attempted
upload there is a corresponding xml file in the expected area of the
repository server.

I have raised this as a ticket with Symplectic, but was wondering if
anybody else had experienced this and might know what to do?

If anybody could give me some pointers as to how to solve this it would be
brilliant.

Thanks,
James

Here is an example of the errors shown in Elements System Log (I've taken
some bits out):

The website encountered a problem while handling a webpage request. Request
made to /repositoryupload.html using Mozilla/5.0 (Windows NT 10.0; Win64;
x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106
Safari/537.36.

System component: Website. Level: 5. User: Mr James Kerwin. Elements
Version: 5.8.0.1537. IP: **removed from this email** .



Technical details:




Exception on machine: NetBIOS name "ELEMENTSAPP01", OS "Microsoft Windows
NT 6.3.9600.0" (64-bit)

Software instance: Default, Software Version: 5.8.0.1537, Commit Hash:
 **removed
from this email**

Command "C:\Windows\SysWOW64\inetsrv\w3wp.exe -ap ".NET v4.5" -v "v4.0" -l
"webengine4.dll" -a \\.\pipe\iisipmeb559885-1967-4a5e-84df-428b9ab8d631 -h
"C:\inetpub\temp\apppools\.NET v4.5\.NET v4.5.config" -w "" -m 0" (32-bit)

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Log entry ID:  **removed from this email**

Logged at: 17:16:36 17/08/18

Level 1:

-------

Exception type: Symplectic.Elements.DataEntities.WebsiteServerErrorException

Message: The website encountered a problem while handling a webpage request.

Exception not yet thrown.



Level 2:

-------

Exception type: Symplectic.Elements.Repository.Client.RepositoryException

Message: Response status code does not indicate success: 500 (Internal
Server Error).

Stack trace:

at
Symplectic.Elements.Repository.Client.Rt1RepositoryClient.UploadFile(ApiRepositoryPublication,
Rt1RepositoryFileType, MonitoringStreamCopier, String, String, String,
Int32)at
Symplectic.Elements.Repository.Client.Rt1RepositoryClient.UploadContentFile(ApiRepositoryPublication,
FileToDeposit)at
Symplectic.Elements.Website.Application.Handlers.Rt1DepositActionPage.UploadFile()at
Symplectic.Elements.Website.Application.Handlers.Rt1DepositActionPage.ProcessRequest(String)at
Symplectic.Elements.Website.Application.BaseHandlers.SessionlessBufferlessHandler.ProcessRequest(HttpContext)

Level 3:

-------

Exception type: System.Net.Http.HttpRequestException

Message: Response status code does not indicate success: 500 (Internal
Server Error).

Stack trace:

at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()at
Symplectic.Elements.Repository.Client.Rt1RepositoryClient.UploadFile(ApiRepositoryPublication,
Rt1RepositoryFileType, MonitoringStreamCopier, String, String, String,
Int32)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20180824/f2431b70/attachment.html