Nevermind ... I got the solution.
In the Web.Config of the Web Application I had a <pages> element under
<system.web> and I had set the 'autoEventWireup' attribute to false. I
simply removed the 'autoEventWireup' and it solved the problem. I guess the
attribute was messing up the call to the WebService in someway... maybe the
DefaultWsdlHelpGenerator.aspx page requires the autoEventWireup to be true
so that it can call default EventHandlers for the page. Not including this
attribute sets it to true by default according to MSDN. Since VS.NET by
default sets the autoEventWireup to false in the Page directive of the .aspx
pages(when new ones are added), this allowed me to delete the attribute from
the Web.Config without having to make any changes to my .aspx pages. Phew !!
... this was a tough one.
-H
> I've an existing web application and I'm trying to add a new webservice to
> it. I'm using VS.NET, ASP.NET/C# and Framework 1.0. I added a new web
[quoted text clipped - 27 lines]
>
> Source File:
c:\windows\microsoft.net\framework\v1.0.3705\Config\DefaultWsdlHelpGenerator
> .aspx Line: 1193
>
[quoted text clipped - 3 lines]
> object.]
> ASP.DefaultWsdlHelpGenerator_aspx.FindHttpBinding(String verb) in
c:\windows\microsoft.net\framework\v1.0.3705\Config\DefaultWsdlHelpGenerator
> .aspx:1193
> ASP.DefaultWsdlHelpGenerator_aspx.get_HttpGetOperationBinding()
> ASP.DefaultWsdlHelpGenerator_aspx.get_ShowingHttpGet() in
c:\windows\microsoft.net\framework\v1.0.3705\Config\DefaultWsdlHelpGenerator
> .aspx:381
> ASP.DefaultWsdlHelpGenerator_aspx.__Render__control13(HtmlTextWriter
> __output, Control parameterContainer) in
c:\windows\microsoft.net\framework\v1.0.3705\Config\DefaultWsdlHelpGenerator
> .aspx:1376
> System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
[quoted text clipped - 5 lines]
> System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
> System.Web.UI.Page.ProcessRequestMain() +1900
Chris Muench - 07 Nov 2003 06:32 GMT
WOW! I was hunting for this also for more then two hours.
THere is no KB article or anything else about this....
But all .NET Code Profilers complain about setting
autoEventWireup to true (so I changed it to false).
I will request MS to write a KB article about this
Thanks again
Chris Muench
eMVP
>-----Original Message-----
>Nevermind ... I got the solution.
[quoted text clipped - 61 lines]
>c:\windows\microsoft.net\framework\v1.0.3705\Config\DefaultWsdlHelpGenerator
>> .aspx:1193
ASP.DefaultWsdlHelpGenerator_aspx.get_HttpGetOperationBind
ing()
>> ASP.DefaultWsdlHelpGenerator_aspx.get_ShowingHttpGet() in
>>
[quoted text clipped - 10 lines]
>> System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
>> System.Web.UI.Control.RenderChildren(HtmlTextWriter
writer) +72
>> System.Web.UI.Control.Render(HtmlTextWriter writer) +7
>> System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
>> System.Web.UI.Page.ProcessRequestMain() +1900
>
>.