473,396 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Why deny webservice

ad
When I access a web page in internet, it is ok.
But when my application access webservice, it result in an error message :
"Access deny"

The port 80 is open in my firewall.
What's happen?
Aug 30 '06 #1
4 1178
Hi

If your web server is configured for integrated security then you will need
to give some ctredentials to the proxy.

You could try:

myProxy.Credentials =
System.Net.Credentials.CredentialCache.DefaultCred entails

and see if that works.

cheers

John

"ad" <fl****@wfes.tcc.edu.twwrote in message
news:ut**************@TK2MSFTNGP06.phx.gbl...
When I access a web page in internet, it is ok.
But when my application access webservice, it result in an error message :
"Access deny"

The port 80 is open in my firewall.
What's happen?

Aug 30 '06 #2
ad
Thanks,
But how to get Proxy of a WebService?

"John Davis" <jo*********@hotmail.com¼¶¼g©ó¶l¥ó·s»D:O$********* *******@TK2MSFTNGP05.phx.gbl...
Hi

If your web server is configured for integrated security then you will
need to give some ctredentials to the proxy.

You could try:

myProxy.Credentials =
System.Net.Credentials.CredentialCache.DefaultCred entails

and see if that works.

cheers

John

"ad" <fl****@wfes.tcc.edu.twwrote in message
news:ut**************@TK2MSFTNGP06.phx.gbl...
>When I access a web page in internet, it is ok.
But when my application access webservice, it result in an error message
: "Access deny"

The port 80 is open in my firewall.
What's happen?


Aug 30 '06 #3
either add a web reference to the url of the .asmx file or run WSDL.exe
against the WSDL file.
"ad" <fl****@wfes.tcc.edu.twwrote in message
news:uw**************@TK2MSFTNGP03.phx.gbl...
Thanks,
But how to get Proxy of a WebService?

"John Davis" <jo*********@hotmail.com>
¼¶¼g©ó¶l¥ó·s»D:O$****************@TK2MSFTNGP05.phx .gbl...
>Hi

If your web server is configured for integrated security then you will
need to give some ctredentials to the proxy.

You could try:

myProxy.Credentials =
System.Net.Credentials.CredentialCache.DefaultCre dentails

and see if that works.

cheers

John

"ad" <fl****@wfes.tcc.edu.twwrote in message
news:ut**************@TK2MSFTNGP06.phx.gbl...
>>When I access a web page in internet, it is ok.
But when my application access webservice, it result in an error message
: "Access deny"

The port 80 is open in my firewall.
What's happen?



Aug 30 '06 #4
ad
Sorry
I can't understand what you say.
I use the code:

WebReference.Service wsHealth = new WebReference.Service();
wsHealth.Credentials =
System.Net.CredentialCache.DefaultCredentials;
wsHealth.Proxy.Credentials =
System.Net.CredentialCache.DefaultCredentials;

But it result in an null reference error on the last line.

How can I do?
"John Davis" <jo*********@hotmail.com¼¶¼g©ó¶l¥ó·s»D:O4********* *****@TK2MSFTNGP05.phx.gbl...
either add a web reference to the url of the .asmx file or run WSDL.exe
against the WSDL file.
"ad" <fl****@wfes.tcc.edu.twwrote in message
news:uw**************@TK2MSFTNGP03.phx.gbl...
>Thanks,
But how to get Proxy of a WebService?

"John Davis" <jo*********@hotmail.com¼¶¼g©ó¶l¥ó·s»D:O$********* *******@TK2MSFTNGP05.phx.gbl...
>>Hi

If your web server is configured for integrated security then you will
need to give some ctredentials to the proxy.

You could try:

myProxy.Credentials =
System.Net.Credentials.CredentialCache.DefaultCr edentails

and see if that works.

cheers

John

"ad" <fl****@wfes.tcc.edu.twwrote in message
news:ut**************@TK2MSFTNGP06.phx.gbl...
When I access a web page in internet, it is ok.
But when my application access webservice, it result in an error
message : "Access deny"

The port 80 is open in my firewall.
What's happen?



Aug 30 '06 #5

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

Similar topics

7
by: Carlos Marangon | last post by:
hello! Can anyone please tell me where can I find a script that deny access if password is wrong 3 times CM
2
by: spike | last post by:
I tried to upload a .htaccess-file to the directory that i wanted to protect. This is what I wrote in it: ------------------------------------------------ <Limit GET> order deny,allow deny from...
2
by: Galahad | last post by:
I have a current requirement to deny access to a particular website from a list of domains. I can add these domains to a deny list in IIS, however that doesn't give me the ability detect these...
7
by: Byron | last post by:
I'm looking for a way to deny a move from the current listbox item. For instance, if the user is editing the record associated with the current listbox item I want to deny a move within the...
4
by: Dan | last post by:
hi ng. i have a strange behaviour when i want to control who can access a web application by setting web.config like: <authorization> <allow users="DOMAIN\ACCOUNT,..." /> <deny users="*" /> ...
2
by: bluewind44 | last post by:
Hello, Now I make the ASP.NET projects. I have one method of Webservice that it works fine on my computer. But on the others' computer when I called the method, ACCESS DENY error occurs. ...
5
by: profdotnet | last post by:
Below is the code of web.config file: <configuration> <system.web> <authentication mode="Forms" /> <authorization> <allow users="Admin"/> <deny users="Jack,Mary" /> <deny users="?">...
2
by: Markus Palme | last post by:
Hi NG! Is it possible to deny access to a (logged in) user that is not in any role? Placeholders like <deny roles="?"/don't seem to be possible. Regards Markus <location...
0
by: Douglas J. Badin | last post by:
Hi, The problem with Authorization is it stops at the first match and doesn't permit Grouping. On the Web Site, I am trying to Secure Page Access and SiteNaviagation by implementing the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.