473,406 Members | 2,620 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,406 software developers and data experts.

How to call a sharepoint url with credentials from asp.net

1
I have an asp.net application, from which I want to open a sharepoint site url with username, password and domain name.

I have tried using xmlHttp and ActiveXObject. It is working fine when I directly run the project from my system and click the link.
But after configuring my application in IIS - virtual directory, when I access my application from different machine by using my ip address, its not working. It means, when I click the link, the page simply got refreshed. Nothing happens.
This is the code I am using...

xmlHttp = new ActiveXObject("Msxml2.XmlHttp");
xmlHttp.open("GET", spDefLoc, false, spUserName, spPwd);
xmlHttp.send();

I have already searched more sites but couldn't find the right solution.
Is this a right approach? or Do I need to follow any other techniques?

Thanks in advance
Kummss
Oct 6 '09 #1
0 1543

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Brent | last post by:
Hi, Recently, we installed Sharepoint Services on our test server (Server 2003) to try it out. I made a new web for my regular aspx pages. My problem is that now whenever I try to access my old...
0
by: chrisnet | last post by:
We use a .NET web application on one server that is using basic integrated authentication and therefore getting the windows prompt for domain credentials. These credentials are then passed to a...
0
by: Derek Martin | last post by:
Hi there folks and good morning! I have done this: (listgetthing = webreference to sharepoint dspsts.asmx) dim mystsad as new listgetthing.stsadapter mystsad.credentials =...
2
by: ALI-R | last post by:
Hi All, I have a webservice on a win 2003 server and I'm trying to call it from another win2003 server which is hosting my sharepoint portal server. I am trying to call that webservice from a...
1
by: IM | last post by:
I have the following code which does not update anything in SQL. Other tasks, like getting list of sites and list of documents work just fine, but update does not seem to trigger anything. I want...
1
by: Peter S. | last post by:
There are some files in a Sharepoint document library that I need to access from a C# Webcontrol. The problem is that when the user runs the ASP.NET webpage they will be coming in with a...
0
by: abhijeet.tale | last post by:
I am a newbie to .NET programming. I need to get the names of the documents in the document library in a particular sharepoint site. Is the code below correct? SPSite site = new...
1
by: =?Utf-8?B?TWF0cmFNNjUw?= | last post by:
We can maintain SSO (single sign on) between SharePoint 2003 and a third party WebSSO provider. This is done by passing to the WebSSO provider the authenticated domain user name and password, then...
2
by: =?Utf-8?B?TW9vampvbw==?= | last post by:
I am having a heck of a time with accessing the Web Services for a particular site collection. I try to add a Web reference to VS2005 for example....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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,...
0
jinu1996
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...
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
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,...
0
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...

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.