User Profile & Activity

Douglas Badin Member
Page
of 11

That worked.

I would be nice if a future release had this capability available through a property.

1. I noticed something interesting in the IIS Log

When InterSoft calls the .asmx, the cs-uri-query is wsdl.

- Is additional configuration needed for wsdl?

When Telerik calls the .asmx, the cs-uri-query is empty (-).

2. Also, the strange part is why is this called when the Intersoft Page Loads and doesn't wait for the Client-Side WebFlyPostBackManager Method call.

 

#Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken 

2009-11-10 22:10:59 W3SVC1 DELLP530-W2K3 127.0.0.1 POST /NewCoServices/_Test/Telerik/RadComboBox/PartsList.asmx/PartsListGet - 80 - 127.0.0.1 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+Trident/4.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.30;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.5.21022;+InfoPath.2;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729) ASP.NET_SessionId=jbhatfqq2fmijb45wyvvwk2f;+.ASPXAUTH=4EC3962C18C2994310491B7C8479B087FF997CC4E27F903094E6949C3F47EFE1F11D8725CC67466758FF5880A015819A57759401A21FBEC7BE7915E8AC21E7A9B741033814908C3AAB1600E025D23A93 http://localhost/NewCoServices/_Test/Telerik/RadComboBox/ComboBoxTelerik.aspx localhost 200 0 0 2171 881 0


2009-11-10 22:15:19 W3SVC1 DELLP530-W2K3 127.0.0.1 GET /NewCoServices/_Test/InterSoft/WebFlyPostBackManager/WebServiceSamples.asmx wsdl 80 - 127.0.0.1 HTTP/1.1 - - - localhost 302 0 0 663 138 0
2009-11-10 22:15:21 W3SVC1 DELLP530-W2K3 127.0.0.1 GET /NewCoServices/login.aspx ReturnUrl=/NewCoServices/_Test/InterSoft/WebFlyPostBackManager/WebServiceSamples.asmx?wsdl 80 - 127.0.0.1 HTTP/1.1 - - - localhost 200 0 0 70098 162 2104

Sorry about all the posts.  This forum does not like certain characters.

Date Tuesday, November 10, 2009 - 7:12 AM

Hi Gordon,

I am not having a 505 server error. It is a 503. No wonder you can not reproduce it.

1. Interesting article, http://www.bloo.us/pages/web-services-forms-authentication/, but how the heck am I suppose to add a cookie the WebFlyPostBackManager Web Service Call? I don't even have the source code.

...

Doug

From: technical@intersoftpt.com
Sent: Tuesday, November 10, 2009 4:23 AM
Subject: Re: WebFlyPostBackManager: The remote server returned an error: (503) Server Unavailable. [IS-2A21AA4A-1E51-4034-9757-9E0DEC782898]

Hi Doug,

...

3. We could not replicate the 505 server error in our environment. If you suspect the issue is related to the forms authenthication and WebService, perhaps you could try the method describe in this article to allow the WebService to pass the authenthication, http://www.bloo.us/pages/web-services-forms-authentication/

Here is what was in the Application Event Viewer
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/9/2009 6:42:56 AM
Event time (UTC): 11/9/2009 11:42:56 AM
Event ID: 3ec08191a20045c7bbda8cc231d410d2
Event sequence: 10
Event occurrence: 3
Event detail code: 0
Application information:
Application domain: /LM/w3svc/1/root/NewCoServices-2-129022402694280243
Trust level: Full
Application Virtual Path: /NewCoServices
Application Path: h:\inetpub\wwwroot\NewCoServices\
Machine name: DELLP530-W2K3
Process information:
Process ID: 208812
Process name: w3wp.exe
Account name: DELLP530-W2K3\ASPNETNewCo
Exception information:
Exception type: WebException
Exception message: The remote server returned an error: (503) Server Unavailable.
Request information:
Request URL: http://localhost/NewCoServices/WebFlyPostBackManager/RetrievingSimpleTypesUsingWebService.aspx
Request path: /NewCoServices/WebFlyPostBackManager/RetrievingSimpleTypesUsingWebService.aspx
User host address: 127.0.0.1
User: DBadinTXDJK
Is authenticated: True
Authentication Type: Forms
Thread account name: DELLP530-W2K3\ASPNETNewCo
Thread information:
Thread ID: 8
Thread account name: DELLP530-W2K3\ASPNETNewCo
Is impersonating: False
Stack trace: at System.Net.HttpWebRequest.GetResponse()
at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenStream(Uri uri)
at System.Xml.XmlTextReaderImpl.DtdParserProxy_PushExternalSubset(String systemId, String publicId)
at System.Xml.XmlTextReaderImpl.DtdParserProxy.System.Xml.IDtdParserAdapter.PushExternalSubset(String systemId, String publicId)
at System.Xml.DtdParser.ParseExternalSubset()
at System.Xml.DtdParser.ParseInDocumentDtd(Boolean saveInternalSubset)
at System.Xml.DtdParser.Parse(Boolean saveInternalSubset)
at System.Xml.XmlTextReaderImpl.DtdParserProxy.Parse(Boolean saveInternalSubset)
at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at ISNet.WebUI.WebDesktop.WebFlyPostBackListener.(String pageName)
at ISNet.WebUI.WebDesktop.WebFlyPostBackListener.()
at ISNet.WebUI.WebDesktop.WebFlyPostBackListener.()
at ISNet.WebUI.WebDesktop.WebFlyPostBackListener.()
at ISNet.WebUI.WebDesktop.WebFlyPostBackManager.()
at ISNet.WebUI.WebDesktop.WebFlyPostBackManager.CheckConstrains()
at ISNet.WebUI.ISNetControl.(Object ?, EventArgs ?)
at System.Web.UI.Control.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Date Monday, November 09, 2009 - 7:33 AM

Hi,

I did not create the page, I copied RetrievingSimpleTypesUsingWebService.aspx from C:\Program Files\Intersoft Solutions\Intersoft WebUI Studio 2009 R1\Tutorials\cs\WebDesktop\WebFlyPostBackManager. I did not miss any setting / property because I did not change anything.

I also copied the C:\Program Files\Intersoft Solutions\Intersoft WebUI Studio 2009 R1\Samples\For ASP.NET\ISNet.WebUI.Samples\cs\WebDesktop\WebFlyPostBackManager\SimpleTypeWS.aspx and got the same 503 results. Of course I took out the MasterPage for this one.

Here is the IIS Log

2009-11-09 11:42:55 W3SVC1 DELLP530-W2K3 127.0.0.1 GET /NewCoServices/WebFlyPostBackManager/WebServiceSamples.asmx wsdl 80 - 127.0.0.1 HTTP/1.1 - - - localhost 302 0 0 619 122 15
2009-11-09 11:42:55 W3SVC1 DELLP530-W2K3 127.0.0.1 GET /NewCoServices/login.aspx ReturnUrl=/NewCoServices/WebFlyPostBackManager/WebServiceSamples.asmx?wsdl 80 - 127.0.0.1 HTTP/1.1 - - - localhost 200 0 0 69318 142 0
2009-11-09 11:42:56 W3SVC1 DELLP530-W2K3 127.0.0.1 GET /NewCoServices/WebFlyPostBackManager/RetrievingSimpleTypesUsingWebService.aspx - 80 - 127.0.0.1 HTTP/1.1 Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) ASP.NET_SessionId=2bmnyu45rft44e2x1nc3dx45; .ASPXAUTH=B6C77828C8BE2AC91C05D7BC6CE0F0CCA852707071984BB662A13A262DAD1CB9F998D1686CCC8398A1EBCFE971D6C98F617D916026C7195D2B007230AF7592204BF6635182454C3000D777884DBDC00A - localhost 500 0 0 8140 959 1371

It looks the GET for the .asmx is getting challenged by Forms Authentication because I see the Login.aspx page with a ReturnUrl of the .asmx page.

3. How do I get the .asmx GET, presumably issued by the WebFlyPostBackManager, to pass Forms Authentication?

From: technical@intersoftpt.com
Sent: Monday, November 09, 2009 3:17 AM
Subject: Re: WebFlyPostBackManager: The remote server returned an error: (503) Server Unavailable. [IS-2A21AA4A-1E51-4034-9757-9E0DEC782898]

Hi Doug,

The walkthrough is used to create the SimpleTypeWS.aspx sample that we have provided as a WebFlyPostBackManager. In our environment, the sample runs without any issue.
Perhaps you could compare the SimpleTypeWS.aspx and the page you created using the walkthrough to see if you miss any setting / property.

We also provide a public forum, http://www.intersoftpt.com/Community, where you could also ask other users / support staff about your issue. You could also search if other users has encounter similar issue.

System.Web.UI.Control.OnPreRender(EventArgs e) 8682870
System.Web.UI.Control.PreRenderRecursiveInternal() 80
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 842
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

ISNet.WebUI.WebDesktop.WebFlyPostBackListener.() 47
ISNet.WebUI.WebDesktop.WebFlyPostBackListener.() 96
ISNet.WebUI.WebDesktop.WebFlyPostBackListener.() 61
ISNet.WebUI.WebDesktop.WebFlyPostBackManager.() 263
ISNet.WebUI.WebDesktop.WebFlyPostBackManager.CheckConstrains() 45
ISNet.WebUI.ISNetControl.(Object ?, EventArgs ?) 662

All times are GMT -5. The time now is 2:50 PM.
Previous Next