About WebService in WebApplicaiton

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

I add a WebService (*.asmx) in a WebApplication.
My web application use Form authentication.
But when I open the .asmx in IE, it result in an error:

No htmlform ! can't set MaintainScrollPositionOnPostback

How can I do?
 
ad,
Try disabling Forms Authentication temporarily. I suspect you will find that
this is not the issue. It's difficult to figure out what you may be doing
here. Are you requesting the asmx page via an HTTP call? If you, you should
see the webservice discovery / information page.
Peter
 
Yes, I requested the asmx page via an HTTP call.
But I can't see the webservice discovery / information page.

How to diable the Form Authentication?
I remove the Authentication from the Web.config and set authorization
section like:
<authorization>
<allow users="*"/>
</authorization>

But it still show No htmlform message!

By the way
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top