none
ESB portal - The resubmission failed: 500 - InternalServerError

תשובות

  • Did this work for you before or it has not ever worked for you?

    You can debug the portal by opening the portal solution and attaching to IIS.

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline

    יום רביעי 07 מרץ 2012 04:54
    מנחה דיון

כל התגובות

  • Hi Pa445,

    Did you check associated application  AppPool .net version ? If the version is 2.0 then change to 4.0 and try again.




    ___________________________________________________________
    If this is helpful or answers your question - please mark as answer and vote as helpful.


    Raj, http://rajwebjunky.blogspot.com

    יום חמישי 01 מרץ 2012 09:13
  • Yup, the associated AppPool's version is 4.0, still I'm seeing this error.

     

    Regards, Pa445

    יום חמישי 01 מרץ 2012 20:00
  • Hi 

    Could you please refer this blog, might give you some help!

    HTH,Naushad (MCC/MCTS) http://alamnaushad.wordpress.com,My New Technet Wiki Article “BizTalk Server: Performance Tuning & Optimization"

    If this is helpful or answers your question - please mark accordingly! Please "Vote As Helpful" if this was useful while resolving your question!

    יום שישי 02 מרץ 2012 21:34
  • Hi Naushad,

    Tried it, No luck


    Regards, Pa445

    יום שישי 02 מרץ 2012 22:30
  • Which BTShttpreceive.dll are you using? x86 or x64?  Does your appPool match?

    Bill Chesnut | BizTalk Server MVP | Mexia Consulting | Melbourne Australia
    http://www.biztalkbill.com
    Please indicate "Mark as Answer" if this post has answered the question.

    שבת 03 מרץ 2012 06:01
  • I'm using x64 BTShttpreceive.dll, I tried using x86 too but I keep getting the same error, my appPool looks fine

    Regards, Pa445


    • נערך על-ידי Pa445 יום שלישי 06 מרץ 2012 14:57
    יום שלישי 06 מרץ 2012 14:56
  • Did this work for you before or it has not ever worked for you?

    You can debug the portal by opening the portal solution and attaching to IIS.

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline

    יום רביעי 07 מרץ 2012 04:54
    מנחה דיון
  • When i debug i get the following error, in the MessageResubmitter.cs file:

                           The remote server returned an error: (405) Method Not Allowed.

    in the catch block! :(

    I'm at my wits end! HELP!! :(

    יום שישי 15 פברואר 2013 09:31
  • Did the application log give you any more information?

    Maybe check if Windows Firewall is running and not allowing access on the endpoint you are submitting to?

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline


    שבת 16 פברואר 2013 05:32
    מנחה דיון
  • Hi! :)

    I don't think the firewall is causing a problem. I get two warnings in the application log. One being this:

    The directory specified for caching compressed content E:\inetpub\temp\IIS Temporary Compressed Files\ResubmitMessageAppPool is invalid. Static compression is being disabled.

    I checked the compression. The static was enabled. However, i refreshed it. applied it again. The location that it was pointing to did not exist. I made it point to another location.

    This warning no longer comes.

    The second warning that comes is not IIS application related.

    Event code: 3005

    Event message: An unhandled exception has occurred.

    Event time: 2/18/2013 1:09:03 PM

    Event time (UTC): 2/18/2013 5:09:03 AM

    Event ID: 3f8077065b6b40bab57414f821dac79f

    Event sequence: 12

    Event occurrence: 1

    Event detail code: 0

    Application information:

    Application domain: /LM/W3SVC/3/ROOT/ESB.Portal-5-130056377380613480

    Trust level: Full

    Application Virtual Path: /ESB.Portal

    Application Path: E:\ESBSite\ESB.Portal\

    Machine name: **************

    Process information:

    Process ID: 13988

    Process name: w3wp.exe

    Account name: ************

    Exception information:

    Exception type: EntityException

    Exception message: The underlying provider failed on Open.

    Request information:

    Request URL: http://localhost:8085/ESB.Portal/Tracking/BatchNew.aspx

    Request path: /ESB.Portal/Tracking/BatchNew.aspx

    User host address: *********

    User: ********

    Is authenticated: True

    Authentication Type: Negotiate

    Thread account name: ************

    Thread information:

    Thread ID: 10

    Thread account name: ************

    Is impersonating: False

    Stack trace: at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure)

    at System.Data.EntityClient.EntityConnection.Open()

    at System.Data.Objects.ObjectContext.EnsureConnection()

    at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)

    at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()

    at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()

    at System.Linq.Enumerable.<TakeIterator>d__3a`1.MoveNext()

    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

    at Microsoft.Practices.ESB.Portal.Lists.BatchListing.FetchBatchDetails() in E:\****\ESB.Portal\Lists\BatchListing.ascx.cs:line 155

    at Microsoft.Practices.ESB.Portal.Lists.BatchListing.PopulateBatchGrid() in E:\*******\ESB.Portal\Lists\BatchListing.ascx.cs:line 32

    at Microsoft.Practices.ESB.Portal.Lists.BatchListing.Page_Load(Object sender, EventArgs e) in E:\******\ESB.Portal\Lists\BatchListing.ascx.cs:line 26

    at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

    at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)

    at System.Web.UI.Control.OnLoad(EventArgs e)

    at System.Web.UI.Control.LoadRecursive()

    at System.Web.UI.Control.LoadRecursive()

    at System.Web.UI.Control.LoadRecursive()

    at System.Web.UI.Control.LoadRecursive()

    at System.Web.UI.Control.LoadRecursive()

    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Custom event details:

    I have no clue how to go about this. And, it is a WARNING! :( Help Please!

    Thanks

    Sravanthi

    יום שני 18 פברואר 2013 05:17
  • Hi! :)

    Ok. The above warning is completely unrelated. There was something else wrong with another feature in my portal.

    Anyway!

    This works for me now. The problem was

    1. Actually, the handler mapping created for BTSReceive.dll was disappearing because the mapping tab in request restrictions was not selected. Once it was selected to 'FILE', the hadler mapping remained.

    2. The following code is the issue

              rcvLoc.Address = "http://" + rcvLoc.Handler.HostInstances[0].ServerName+rcvLoc.Address;

    This gets populated with the value : http://<machinename>/<mysitename>/BTSReceive.dll i.e.

    However, i want it to be populated with http://localhost:<myportname>/<mysitename>/BTSReceive.dll

    When i hard code this, i get the required output. However, i don't want to hard code it. 

    Now, i have Public Address field i can use in HTTP Receive Location. If i give my required value in this field, i would like to write the code in such a manner in the ESBPortal to pick this up and redirect it here. However, i don't know which field of rcvLoc will help me do this.

    Help?

    Thank You

    Sravanthi

    יום רביעי 20 פברואר 2013 05:49