473,473 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

About WebService in WebApplicaiton

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?
Jul 24 '06 #1
3 1961
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

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"ad" wrote:
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?
Jul 24 '06 #2
ad
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
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com¼¶¼g©ó¶l¥ó·s»D:FA*** *******************************@microsoft.com...
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

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"ad" wrote:
>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?

Jul 24 '06 #3
Ad,
You need to find out where in your application this:
maintainScrollPositionOnPostback
is coming from. There is no WebForm / web page in an ASMX webService where
this call would ever be made.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"ad" wrote:
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
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com¼¶¼g©ó¶l¥ó· s»D:FA**********************************@microsof t.com...
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

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"ad" wrote:
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?


Jul 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Davie | last post by:
I want to authorise a user of a web service by using the AuthHeaderValue for some reason I keep getting a null reference exception when I try to run the following code: It seems to work fine on a...
2
by: Miguel | last post by:
Hi, I'm developing an application in C# with Windows Forms for my company that is similar to the MSN Messenger. This application uses a webservice for registering users, etc... and as 2...
1
by: Jitesh | last post by:
I have created a webservice, If anybody use that webservice(by instansiating the webservice object), then I want to know the IP address and Url of the site which is using my webservice. How can I...
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
5
by: | last post by:
Hi, How long do webservice objects live for? In particular, if i have static variables filled with data from a static constructor in a webservice, how long will that data persist? thxs
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
1
by: Max2006 | last post by:
Hi, Do I need to be worry about WS-Profiling or it already had been taken care in ASP.NET asmx web services platform? Thank you, Max
0
by: =?Utf-8?B?TWFuaQ==?= | last post by:
Hi All, Problem in deploying my WebService developed using Asp.net WebServices 2005. I have designed simple WebService using Asp.net Webservices 2.0 , The webservice look this , using System;...
4
by: =?Utf-8?B?QmlsbEF0V29yaw==?= | last post by:
Hi, We recently converted a 1.1 project to 2.0 and this included a webservice which accepted XML for one of the parameters. Since converting to 2.0 I am getting the following message: --- A...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.