|
by: CLEAR-RCIC |
last post by:
I'm trying to use the Webclient class to "POST" to a web site. The website
is using basic authentication. Im getting a "(401) Unauthorized" error.
Here is my basic code:
dim myWebClient as WebClient = New WebClient
myWebClient.Credentials = New NetworkCredential("user", "pass")
bytReturn = myWebClient.UploadData(strURL, bytRequest)
I...
|
by: ag |
last post by:
Hi guys.. need your help.
We have abc.asp page on the source server which calls a .net component on that server. The component is in MTS running under say "domain2\id1" identity. The component uses HttpWebRequest to call xyz.asp on the target server. Both servers are under the same domain say domain1 and there is a trust between domain1 and...
|
by: Sanjay |
last post by:
I have written a web service to return information from the database. This
works and the data is returned in XML format from the database and displayed
on the web page as well when this web service called getsampledata is
invoked. Now I create a web page and created a webservice using the web
reference technique in the VS .NET to consume...
|
by: twnety0ne |
last post by:
Hey guys,
I am trying to connect to my webite(hosted on a different server) and get
some data from a page, but I am getting the 401 (Unauthorized) error. I tried
different things like sending basic authentication information in the
headers, using network credentials etc., nothing works! any suggestions?
Thanks in advance
ken
|
by: Kyle Baley |
last post by:
I'm developing an MCMS web service and am getting a 401 unauthorized error
when I try to consume it from a client. It works fine when I use the test
harness to navigate to the asmx file directly. And it also works when the
service is on a remote server. It occurs only when I call the service locally.
Details:
- It doesn't seem to matter...
|
|
by: Daatmor |
last post by:
Hi,
I've worte a program that will grab the html file content from web server.
It's work
------------------------------------------------------------------------------------------------------------------------------
string strURL = "http://127.0.0.1/webapp/requestview.aspx?id=1185";
HttpWebRequest request =...
|
by: Shree |
last post by:
While invoking the web service from client, I am setting the
credentitals using the following code...
ReportingService.Credentials =
System.Net.CredentialCache.DefaultCredentials;
But in debugger when I check the properties - 'domain', 'user name' and
'password' set in the ReportingService.Credentials; they are blank!!!
|
by: =?Utf-8?B?R2VvcmdlIFNodWk=?= |
last post by:
I have a folder structure such like this.
A
---A1
-----a1.aspx
---A2
A1 and A2 are the subfolder of A. And under the A1 folder, it contains one
aspx file named a1.aspx. I set the IIS virtual dictionary to A folder. And
IIS has allowed annoymous access.
But when I use following code to access the webpage and I got the error" The
|
by: RSH |
last post by:
Hi,
I am trying to access a reporting services report using the HTTPWebRequest
object but I am getting an error:
The remote server returned an error: (401) Unauthorized.
We can't seem to figure this out...the link works fine if I enter it
directly in a browser, just not when I try to hit through the HTTPWebRequest
object.
Thanks for any...
|
by: jjw92 |
last post by:
I've been banging my head against the wall with this one for a couple days so I'm hoping someone has some ideas. I have a web service that I created that is called by a .NET class library (which in turn is called by another application). This all works fine in my development environment.
Test environment: Windows Server 2003, ASP 6.0, .NET...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|