Click here to Skip to main content
16,007,885 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: load images without postback Pin
DavidNohejl23-Aug-07 5:35
DavidNohejl23-Aug-07 5:35 
QuestionHow to disable the screen while data exchange ??? Pin
devboycpp21-Aug-07 7:24
devboycpp21-Aug-07 7:24 
AnswerRe: How to disable the screen while data exchange ??? Pin
Michael Sync21-Aug-07 16:27
Michael Sync21-Aug-07 16:27 
QuestionResize the table in MSHTML Pin
SAKURAVN20-Aug-07 23:20
SAKURAVN20-Aug-07 23:20 
QuestionUser Roles Pin
Illegal Operation20-Aug-07 23:08
Illegal Operation20-Aug-07 23:08 
QuestionflvPlayer compatible with c#.net 2.0 Pin
harryforum20-Aug-07 20:46
harryforum20-Aug-07 20:46 
QuestionASP.NET TreeView-How to reduce the spacing between leaf nodes ? Pin
Andrew Qu20-Aug-07 12:03
Andrew Qu20-Aug-07 12:03 
QuestionWebService Authorization - The request failed with HTTP status 401: Unauthorized. Pin
BigBlueEye20-Aug-07 4:56
BigBlueEye20-Aug-07 4:56 
Hello. Here is my situation. I'm building a client asp.net application that will reside on our DMZ. I have a web service (called "ServiceBus") that acts as a single access point through a single port to our data center.

The ServiceBus has methods that do several tasks such as fetching data, running SSRS reports, streaming documents, etc. Everything works fine when testing my client app from within the domain but from the DMZ I get authorization errors (see subject line).

The following line of code will get me to the HelloWorld method but any other method that fetches anything from another server fails with permission errors:
serviceproxy.Credentials = System.Net.CredentialCache.DefaultCredentials
So it seems that I need to send domain user credentials which I try below.

I have IIS security set to Digest. The code below was suggested on this post:
http://forums.asp.net/p/1050587/1862246.aspx#1862246


Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
        Dim serviceproxy As New WSBus.ServicesBusWebService()<br />
        Dim userCredential As NetworkCredential = New NetworkCredential("username", "password", "domain")<br />
        Dim credentials As CredentialCache = New CredentialCache()<br />
        credentials.Add(New Uri(serviceproxy.Url), "Digest", userCredential)<br />
        serviceproxy.Credentials = credentials<br />
        serviceproxy.PreAuthenticate = True<br />
<br />
        Dim response = serviceproxy.HelloWorld() 'BREAKS HERE<br />
        lblMessage.Text = response<br />
End Sub


Any help will be greatly appreciated!
AnswerRe: Using javascript to read a SQL server database Pin
Michael Sync20-Aug-07 4:33
Michael Sync20-Aug-07 4:33 
QuestionReportViewer DLLs Pin
SharonaM20-Aug-07 3:59
SharonaM20-Aug-07 3:59 
Questionhow to create validate login form in javascript....? Pin
rambrahmam.g20-Aug-07 3:35
rambrahmam.g20-Aug-07 3:35 
AnswerRe: how to create validate login form in javascript....? Pin
Michael Sync20-Aug-07 4:30
Michael Sync20-Aug-07 4:30 
Questiondisable the save/copy images on right click of image in asp.net Pin
harryforum20-Aug-07 2:18
harryforum20-Aug-07 2:18 
AnswerRe: disable the save/copy images on right click of image in asp.net Pin
Michael Sync20-Aug-07 4:25
Michael Sync20-Aug-07 4:25 
AnswerRe: disable the save/copy images on right click of image in asp.net Pin
Vasudevan Deepak Kumar20-Aug-07 21:47
Vasudevan Deepak Kumar20-Aug-07 21:47 
QuestionJscripts within tab widgets Pin
matjame19-Aug-07 20:59
matjame19-Aug-07 20:59 
QuestionServer.Mappath is giving Error after Deployment Pin
naresh51118-Aug-07 4:21
naresh51118-Aug-07 4:21 
AnswerRe: Server.Mappath is giving Error after Deployment Pin
Fred_Smith18-Aug-07 5:23
Fred_Smith18-Aug-07 5:23 
QuestionProblem with 100% height table layout Pin
HaBiX18-Aug-07 1:03
HaBiX18-Aug-07 1:03 
AnswerRe: Problem with 100% height table layout Pin
Rama Krishna Vavilala18-Aug-07 3:27
Rama Krishna Vavilala18-Aug-07 3:27 
GeneralRe: Problem with 100% height table layout Pin
HaBiX18-Aug-07 11:10
HaBiX18-Aug-07 11:10 
QuestionInbound and outbound connection - windows xp Pin
Ananthalvan17-Aug-07 14:02
Ananthalvan17-Aug-07 14:02 
AnswerRe: Inbound and outbound connection - windows xp Pin
Fred_Smith18-Aug-07 1:14
Fred_Smith18-Aug-07 1:14 
GeneralRe: Inbound and outbound connection - windows xp Pin
Ananthalvan8-Sep-07 9:58
Ananthalvan8-Sep-07 9:58 
QuestionNOT GETTING CURSOR POSITION in LIGHT BOXES in MOZILLA Pin
jophinmichael17-Aug-07 4:07
jophinmichael17-Aug-07 4:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.