Internal Server Error when Uploading Contect in c#

Well there is another post about this http://discussions.apple.com/thread.jspa?messageID=4471561&#4471561 but it didn't have a solution and the person having the issue never mentioned getting it working.
Here is the function I'm using to post http data to itunesu.. all the post data works and returns properly except when uploading a file.
Any help would be apreciated.. I think my headers and contect headers are correct.
Brian
--Code--
private string HttpPost( string uri, string fileName )
HttpWebRequest webRequest = WebRequest.Create( uri ) as HttpWebRequest;
webRequest.Method = "POST";
webRequest.KeepAlive = true;
string boundary = "0xKhTmLbOuNdArY";
byte[] fileBuffer = null;
byte[] headerBuffer = null;
byte[] boundaryBeginningBuffer = null;
byte[] boundaryEndingBuffer = null;
long contentLength = 0;
if( fileName != null && fileName != string.Empty )
webRequest.ContentType = "multipart/form-data; boundary=" + boundary;
// Open up a file stream and read the file into the file buffer
using( FileStream fileStream = new FileStream( fileName, FileMode.Open, FileAccess.Read ) )
//read the file into the buffer
fileBuffer = new byte[fileStream.Length];
fileStream.Read( fileBuffer, 0, fileBuffer.Length );
contentLength += fileBuffer.Length;
//convert the header to a byte array
headerBuffer = System.Text.Encoding.UTF8.GetBytes( UrlEncodeForITunesU( string.Format( "Content-Disposition: form-data; name=\"file\"; filename=\"{0}\"\r\n Content-Type: application/octet-stream\r\n", fileName ) ) );
boundaryBeginningBuffer = System.Text.Encoding.UTF8.GetBytes( "\r\n--" + boundary + "\r\n" );
boundaryEndingBuffer = System.Text.Encoding.UTF8.GetBytes( "\r\n--" + boundary + "--\r\n" );
contentLength += headerBuffer.Length;
contentLength += boundaryBeginningBuffer.Length;
contentLength += boundaryEndingBuffer.Length;
else
webRequest.ContentType = "application/x-www-form-urlencoded";
Stream outputStream = null;
try
{ // send the Post
webRequest.ContentLength = contentLength;
outputStream = webRequest.GetRequestStream();
if ( contentLength > 0 )
//write out the beginning boundary
outputStream.Write( boundaryBeginningBuffer, 0, boundaryBeginningBuffer.Length );
//write out the content header
outputStream.Write( headerBuffer, 0, headerBuffer.Length );
//write out the content
outputStream.Write( fileBuffer, 0, fileBuffer.Length );
//write out the ending boundary
outputStream.Write( boundaryEndingBuffer, 0, boundaryEndingBuffer.Length );
catch ( WebException ex )
MessageBox.Show( ex.Message, "HttpPost: Request error", MessageBoxButtons.OK, MessageBoxIcon.Error );
finally
if ( outputStream != null )
outputStream.Close();
try
{ // get the response
WebResponse webResponse = webRequest.GetResponse();
if ( webResponse == null )
return null;
StreamReader sr = new StreamReader( webResponse.GetResponseStream() );
return sr.ReadToEnd().Trim();
catch ( WebException ex )
MessageBox.Show( ex.Message, "HttpPost: Response error", MessageBoxButtons.OK, MessageBoxIcon.Error );
return null;
}

Well I rewrote the code one more time and it worked amazingly enough. Below is the completed post function if anybody else needs a little help.
--Code--
private string HttpPost( string uri, string fileName )
HttpWebRequest webRequest = HttpWebRequest.Create( uri ) as HttpWebRequest;
string boundary;
boundary = "RESTMIME" + DateTime.Now.ToString( "yyyyMMddhhmmss" );
// fileData
UTF8Encoding encoding = new UTF8Encoding();
byte[] fileBytes = new byte[0];
byte[] postFooter = null;
FileStream fileStream = null;
long contentLength = 0;
byte[] postContents = null;
byte[] dataBuffer = null;
if ( fileName != null && fileName != string.Empty )
webRequest.ContentType = "multipart/form-data; boundary=\"" + boundary + "\"";
// Build up the post message header
StringBuilder sb = new StringBuilder();
sb.Append( "--" + boundary + "\r\n" );
sb.Append( "Content-Disposition: form-data; name=\"file\"; filename=\"" + Path.GetFileName( fileName ) + "\"\r\n" );
sb.Append( "Content-Type: application/octet-stream\r\n" );
sb.Append( "\r\n" );
// open up the file for reading
fileStream = new FileStream( fileName, FileMode.Open, FileAccess.Read );
contentLength += fileStream.Length;
int uploadLength = (int) fileStream.Length;
int startIndex = 0;
fileBytes = new byte[uploadLength];
fileStream.Seek( startIndex, SeekOrigin.Begin );
fileStream.Read( fileBytes, 0, uploadLength );
// We need to add in a linefeed/carriage return after the file
// data for the ending boundary.
postFooter = encoding.GetBytes( "\r\n--" + boundary + "--\r\n" );
postContents = encoding.GetBytes( sb.ToString() );
dataBuffer = new byte[postContents.Length + fileBytes.Length + postFooter.Length];
Buffer.BlockCopy( postContents, 0, dataBuffer, 0, postContents.Length );
Buffer.BlockCopy( fileBytes, 0, dataBuffer, postContents.Length, fileBytes.Length );
Buffer.BlockCopy( postFooter, 0, dataBuffer, postContents.Length + fileBytes.Length, postFooter.Length );
contentLength = dataBuffer.Length;
else
webRequest.ContentType = "application/x-www-form-urlencoded";
contentLength = 0;
Stream requestStream = null;
try
webRequest.ContentLength = contentLength;
webRequest.UserAgent = "Mozilla/4.0 FlickrNet API (compatible; MSIE 6.0; Windows NT 5.1)";
webRequest.Method = "POST";
webRequest.Referer = "http://www.example.com";
webRequest.KeepAlive = false;
webRequest.Timeout = 100000 * 100;
webRequest.ContentLength = contentLength;
requestStream = webRequest.GetRequestStream();
if ( contentLength > 0 )
int uploadBit = Math.Max( dataBuffer.Length / 100, 50 * 1024 );
int uploadSoFar = 0;
for ( int i = 0; i < dataBuffer.Length; i = i + uploadBit )
int toUpload = Math.Min( uploadBit, dataBuffer.Length - i );
uploadSoFar += toUpload;
requestStream.Write( dataBuffer, i, toUpload );
catch ( WebException ex )
MessageBox.Show( ex.Message, "HttpPost: Request error", MessageBoxButtons.OK, MessageBoxIcon.Error );
finally
if ( requestStream != null )
requestStream.Close();
try
{ // get the response
WebResponse webResponse = webRequest.GetResponse();
if ( webResponse == null )
return null;
StreamReader sr = new StreamReader( webResponse.GetResponseStream() );
return sr.ReadToEnd().Trim();
catch ( WebException ex )
MessageBox.Show( ex.Message, "HttpPost: Response error", MessageBoxButtons.OK, MessageBoxIcon.Error );
return null;
Message was edited by: dishawbr

Similar Messages

  • 500 Internal Server Error on Uploaded Files?

    Hey guys
    After getting back into Dreamweaver CS4, I've tried to upload to www.DuffyDesigns.co.uk/Beta. It seems to upload fine, the files are there, however, it gives me a 500 Internal Server Error when I try to view it. I've tried saving the file, the uploading it manually, and that works, but I don't want to have to do that every time
    Any fixes, questions or ideas?
    Thanks
    Joseph Duffy

    I'm assuming these are .php pages.
    I'm also assuming that your host has error display turned off.
    Try adding this to the very top of your home page:
    <?php
    ini_set('display_errors', 1);
    ini_set('log_errors', 1);
    ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
    error_reporting(E_ALL);
    ?>
    This should display the proper error message.
    If that does not help, try making a very simple PHP page, like this:
    <?php phpinfo(); ?>
    And see what that displays.

  • Error 500 -Internal Server Error when I click on browse catelog button on Reports and Analytics in Fusion

    Hi
    I am unable to access Reports and Analytics . It throws a Error 500 -Internal Server Error when I click on browse catelog button on Reports and Analytics in Fusion
    I have all the required roles and also BIADMINISTRATOR ACCESS still I am unable to login to Reports and Analytics. I have cleared the cache also.
    My collegue who has the same roles is able to access it.
    Regards
    Avinash

    I created the showModule.xhtml in the web.view.module\src\main\resources folder and test the application and Now I'm getting the error in both deployment ways.
    a) Local deployment: Same result
    Error 500--Internal Server Error
    com.sun.faces.context.FacesFileNotFoundException: /showModule.xhtml Not Found in ExternalContext as a Resource
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:232)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:273)
    b) Remote server:
    Error 500--Internal Server Error
    com.sun.faces.context.FacesFileNotFoundException: /showModule.xhtml Not Found in ExternalContext as a Resource
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:232)
    at com.sun.faces.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:273)
    Please check the below screenshots for the mappings captured in the properties window.
    http://imageshack.us/photo/my-images/5/srwebviewmodule.png/
    http://imageshack.us/photo/my-images/811/eclipseexplorer.png/
    http://imageshack.us/photo/my-images/521/cdiandrichfacesear.png/
    http://imageshack.us/photo/my-images/90/cdiandrichfaces.png/
    Thanks,
    Vijaya

  • "500 internal server error" when trying to use F4 help in the variable sele

    Hi Experts,
    I am getting "500 internal server error" when trying to use F4 help in the variable selection screen (in WAD).
    How could this be resolved?
    Quick reply would be very helpfull.
    Thanks in advance !!

    It seems you are using wrong client ID. Make sure your logon pad has right details. You should verify this with your basis team.
    If the problem persists then try re-installing. But before you do that you can execute sapbexc.xla which is in the c:\program files\sap\bw. Type c:\ in cell c3 and click "start button". Any red flag means you have wrong version dll/ocx on your local drive, in that case you should reinstall with right patches.
    if this solution helps u then pls assign points

  • Error 500 Internal Server Error" When Generating Hyperion Financial Reports in PDF Format

    We are unable to open pdf reports in Workspace with the following error. It was all working fine and doesn't work now for unknown reasons.
    Error 500 Internal Server Error" When Generating Hyperion Financial Reports in PDF Format
    We are on 11.1.2.1 environment. Ghost Script 8.54 and Java heap settings xms256m and xmx512m.
    Please advice.

    hello,
    just to clarify
    a) the parameter is named DESFORMAT not :DESFORMAT, there is
    no : in front of the name, if you submit it via URL !
    b) there are some issues with acrobat5 and IE but those are not
    only caused by PDFs generated with oracle reports.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Internal Server Error when Displaying Total No. of Pages in Oracle Reports

    Hello all,
    I've already posted an almost similar message in the Developer Tools forums but would like to post it again here since we think that this is a problem with the report server (Maybe we're missing a patch, a configuration value not set properly or resources are not enough like memory).
    We're using Oracle Reports Server ver10.1.2.0.2 and we're encountering an Internal Server Error when a particular report retrieves around 10K records which displays on each page the current page and the total no of pages. When we only display the current page, the report does not encounter any error.
    When we enabled the tracing options, it just showed that it encountered a Null pointer exception.
    [2006/7/13 11:1:4:703] Debug 50103 (EngineImpl:EngineImpl) : CInitEngine returns 0
    [2006/7/13 11:1:4:765] Exception 50125 (java.lang.NullPointerException
    at oracle.reports.engine.RWEngine.init(RWEngine.java:343)
    at oracle reports.engine.RWEngine.main(RWEngine.java:60)
    ): Internal error java.lang.NullPointerException
    And according to metalink (Doc Id:315228.1), we should just remove the total pages in our report. Problem is that this isn't an option for us. The document also mentioned about something about timeouts. We have already tried setting the request timeout parameter of the HTTP server to larger values but it still doesn't solve the problem.
    Is there a workaround for this?
    Any help would really be greatly appreciated.

    Hi All,
    We really need a workaround for this error. When we enabled the tracing options, it just showed that it encountered a Null pointer exception.
    [2006/7/13 11:1:4:703] Debug 50103 (EngineImpl:EngineImpl) : CInitEngine returns 0
    [2006/7/13 11:1:4:765] Exception 50125 (java.lang.NullPointerException
    at oracle.reports.engine.RWEngine.init(RWEngine.java:343)
    at oracle reports.engine.RWEngine.main(RWEngine.java:60)
    ): Internal error java.lang.NullPointerException
    HELP!

  • 500 internal server error when trying to create users

    I am getting a 500 internal server error when trying to create users. What is the cause? We tried reinstalling the latest java jdk release and that didn't help.

    Check whether your DBControl or ASControl service is still running or crashed. EM is not able to connect to the Management Server.
    For instance in Windows, you may see that the Servise is not started. Then check for error logs in $ORACLE_HOME/sysman/logs for any related error messages in the log files

  • I now get an 500 Internal Server error when loading Firefox, after updating RealPlayer

    I now get an 500 Internal Server error when loading Firefox, after updating RealPlayer.
    When I try to open Firefox, it opens. But there is the error message.
    What is this? How do I did rid of it?
    '''bold text'''

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    You can also check the connection settings in Tools > Options > Advanced : Network : Connection<br />
    If you do not need to use a proxy to connect to internet then select "No Proxy"
    See "Firefox connection settings":
    * [[Firefox cannot load websites but other programs can]]

  • URGENT - INTERNAL SERVER ERROR when connecting to site

    i'm getting INTERNAL SERVER ERROR when connecting to site. everything was ok till yesterday night but since today morning, nobody has been able to log in the site.
    i looked at the Apache Listener log files in IAS_HOME/Apache/Apache/logs
    the error_log file contained the following :-
    [Fri Jan 26 08:32:04 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 08:32:05 2001] [error] [client 10.32.12.219] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/p
    age
    [Fri Jan 26 08:32:58 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 08:32:58 2001] [error] [client 10.32.12.219] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/I
    sItWorking
    [Fri Jan 26 08:33:13 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 08:33:13 2001] [error] [client 10.32.12.219] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/page
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    then i tried to kill all the httpd processes and restart the apache and the error log was populated with the following :-
    [Fri Jan 26 09:35:48 2001] [warn] child process 16269 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16270 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16271 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16272 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16273 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16274 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16275 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16276 still did not exit, sending a SIGTERM
    [Fri Jan 26 09:35:49 2001] [warn] child process 16277 still did not exit, sending a SIGTERM
    ,same messages continue for different
    ,process ids followed by
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Attempt to free unreferenced scalar.
    Attempt to free unreferenced scalar.
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    Assertion failed: wwwctx->alloctotal == 0, file wwcepl.c, line 559
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:35:53 2001] [error] child process 16269 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:53 2001] [error] child process 16270 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:53 2001] [error] child process 16271 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:53 2001] [error] child process 16272 still did not exit, sending a SIGKILL
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16269 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16270 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16271 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16272 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16273 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [error] could not make child process 16274 exit, attempting to continue anyway
    [Fri Jan 26 09:35:54 2001] [notice] caught SIGTERM, shutting down
    [Fri Jan 26 09:38:10 2001] [notice] Apache/1.3.12 (Unix) ApacheJServ/1.1 mod_perl/1.22 configured -- resuming normal operations
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:38:44 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 09:38:44 2001] [error] [client 10.32.1.81] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/pag
    e
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:39:06 2001] [notice] caught SIGTERM, shutting down
    [Fri Jan 26 09:39:30 2001] [notice] Apache/1.3.12 (Unix) ApacheJServ/1.1 mod_perl/1.22 configured -- resuming normal operations
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    ApacheJServ/1.1: Exception creating the server socket: java.net.BindException: Address already in use
    [Fri Jan 26 09:42:17 2001] [error] [client 127.0.0.1] Invalid method in request ^A
    [Fri Jan 26 09:42:17 2001] [error] [client 10.32.1.81] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /servlet/pag
    e
    Any ideas or suggestions anyone ....??
    what could have possibly changed since yesterday to effect the site ??
    any help would be greatly appreciated ...
    null

    A couple of questions:
    1) Did you try shutting down apache with the sript?
    2) When killing the httpd processes did you also kill the associated java processes?
    null

  • Internal Server Error when Displaying Total No. of Pages

    Hello All,
    We're encountering an Internal Server Error when a particular report retrieves around 10K records which displays on each page the current page and the total no of pages. When we only display the current page, the report does not encounter any error.
    How do we fix this?
    We're using Oracle Reports Server ver10.1.2.0.2.
    Thanks in advance!

    Hi All,
    We really need a workaround for this error. When we enabled the tracing options, it just showed that it encountered a Null pointer exception.
    [2006/7/13 11:1:4:703] Debug 50103 (EngineImpl:EngineImpl) : CInitEngine returns 0
    [2006/7/13 11:1:4:765] Exception 50125 (java.lang.NullPointerException
    at oracle.reports.engine.RWEngine.init(RWEngine.java:343)
    at oracle reports.engine.RWEngine.main(RWEngine.java:60)
    ): Internal error java.lang.NullPointerException
    HELP!

  • I get 500 Internal Server Error when I try to go into Firefox. I aqm using Windows 7

    I get 500 Internal Server Error when I try to log in to my Firefox Program. I am using Windows 7.
    I have tried the updates, but still get the 500 Internal Server Error message.
    Is there something I can do co correct this error so I can use
    Firefox Again?

    I have this issue and believe it is related to a MALWARE virus that has affected my laptops registry. Any suggestions?

  • Error 500 - Internal server error when trying to upload images to website

    I have been unsuccessful in my many attempts to upload images to the bustalk website. I keep getting an Error 500 - Internal server error message asking me to try again later but the fault is still repeated.

    I have only found two that work correctly. They were created the same way and permissions are the same. I don't know why one works over the other.
    /Indiana University/Project Sites/Oncourse Team - FAIL
    /Indiana University/Project Sites/SyllabusTest - Success
    /Indiana University/Project Sites/CHEN-TES 101 01 - FAIL
    /Indiana University/Project Sites/UITS Podcast Team - FAIL
    /Indiana University/Project Sites/ePortfolio Playgroun - FAIL
    /Indiana University/Project Sites/Testong - FAIL
    /Indiana University/SP08 Spring Semester/SP08 IN UITS PRAC 14431 - FAIL
    /Indiana University/SP08 Spring Semester/SP08 IN UITS PRAC 14431 - FAIL
    /Indiana University/SP08 Spring Semester/SP08 OC DEV C201 DEV2 - FAIL
    /Indiana University/SP08 Spring Semester/SP08 IN UITS PRAC 14438 - FAIL
    /Indiana University/SP08 Spring Semester/SP08 IN UITS PRAC 14552 - success
    /Indiana University/SP08 Spring Semester/SP08 IN UITS PRAC 14392 - FAIL

  • I keep getting "500 Internal Server Error" when I open Firefox. I don't know why. This just began.

    I recently uploaded the latest version of McAfee Security Center and the latest version of Firefox. Now when I open Firefox all I get is "500 Internal Server Error." I am now sure what do to.

    There is an existing thread which might help you with this : see
    https://support.mozilla.com/en-US/questions/780053
    For background information, see the Wikipedia article on HTTP Codes at http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
    - and, if you want more information, there's a page explaining the 500 Error [http://www.checkupdown.com/status/E500.html HERE]
    In brief, the 500 means that your request has reached the server but the server cannot process it, for some unspecified reason. It is not a client-side error message.

  • 500 internal server error when opening file attachment

    Hi all,
    I dont know whether im placing my query in the right place. if not pls advice.
    I have uploaded documents to content management from EP portal. The name of the attachment is stored in SAP custom table and the physical file is stored in EP->content management. When i go content mangement and click the attachment, im able to download the file in most cases. But for one employee, when i go content admin -> i can see the attached file name. when i try to open the attachment i am getting error message "500 Internal server error. Please contact your content admin".
    Any help will be appreciated.
    Thanks!
    Dhiya.

    Nope. The problem occurs with the admin user. HE is able to download attachments, but when he click one attachment he is getting "500 internal server error contact sys admin"
    the same thing happens when he tries to open in
    irj/km/docs/documents/attachmentfolder/attachmentfile.doc

  • [Solved]500 Internal Server Error- when open dialog page for LOV

    Hello
    I have developed JSF / ADF Bc application and my form has inputselect component and everything works fine in embeded OC4J, but when i deploy the application to apps server i get below error when i launch the dialog page to select a value
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    Please help
    Thanks
    Message was edited by:
    user570961

    Frank
    unfortunately nothing is reported in the log file , please see the bottom of the message to see what's in the log file
    this is all i see in the log and this is added to log when the page is loaded before i try to launch my dialog page and nothing else is added to the error i am getting. and in IE it just says page cannot be displayed and firefox reports the 500 Internal server error with the message i posted in original post
    we have QA server and there i deployed the application from jdeveloper and it works Okay , but for production , production services team deployed the application using the EAR file i am giving to them and i am getting this error. ( I am providing them with the EAR file generated when i deploy the application to QA from jdeveloper)
    I thought i try to deploy this to QA from ear file to see if i can reproduce the problem , so undeployed my application and tried to deploy using ear file in qa, but it never goes to step 2. it hangs on the screen uploading file ..... it never completes uploading and it does not fail with error either
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
    Oct 2, 2007 9:03:50 PM com.sun.faces.config.rules.ConverterRule end

Maybe you are looking for

  • Where is Content-Aware Age Tool in Photoshop CS6?

    Was it suppose to be in the final release of Photoshop CS6?  If you go to this link http://www.practicalphotoshopmag.com/2012/04/01/photoshop-cs6-to-feature-content-aware-age -tool/ It states it was on beta version of Photoshop CS6 but no one have a

  • Hai  to set pass word for my company code

    hai how can i set password to my company code while doing practice in sap lap Edited by: pavankumarkota on Jun 26, 2011 5:18 PM

  • Replication of Material Changes from ECC to CRM

    Hi All, I had selected deregistration for R3A* queue from the queue list using tcode SMQR. From that time I am unable to see the material master replications from ECC to CRM. So, again I selected registration for R3A* queue from the SMQR. Even now I

  • Hard drive not in disk utility will not boot up

    Went to turn on MacBook pro and got file with question mark.  Installed boot disk went to disk utility and hard drive not there to repair.  Any help would be appreciated.

  • Error: Packet data: connection now allowed

    i have nokia 5700 i've already configured all wap, internet, mms and streaming access points, but i cant do anything (eg. video calls, mms, internet) when i try to access the net, i get this error msg.