473,804 Members | 2,296 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.

1 New Member
Hi,

When I try to access an SQL Server 2005 database using ASP pages, it works fine on one PC when the ASP pages are on the local machine and the database on the server. However, when the ASP pages and the database are both on the server, where I want them to be, it displays the error message below:

You are not authorized to view this page
You do not have permission to view this directory or page using the credentials that you supplied.
Please try the following:
• Contact the Web site administrator if you believe you should be able to view this directory or page.
• Click the Refresh button to try again with different credentials.
HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.
Internet Information Services (IIS)
Technical Information (for support personnel)
• Go to Microsoft Product Support Services and perform a title search for the words HTTP and 401.
• Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Authentication, Access Control, and About Custom Error Messages.


Can someone please tell me what I need to do on the IIS? I am using IIS Ver. 5.2. There are other services using the IIS and don’t want to mess things up.

Thanks
Nov 12 '07 #1
1 15526
kenobewan
4,871 Recognized Expert Specialist
Are you the server admin? Are the OS, IIS etc the same on the server? How many of these steps have you tried?
Nov 12 '07 #2

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

Similar topics

1
15106
by: Newbie | last post by:
I have set up an ASP script (with some help from microsoft.public.inetserver.asp.general!) that grabs the windows username of the user and puts it into an Access database. It is setup on IIS5 as a virtual directory and will only be used internally on our network. The script works fine with the authentication set as "basic authentication" but this prompts the user for a login and password. I want it to be automated which I believe would...
3
2291
by: bd-chan | last post by:
I'm trying to log in to a secured web site automatically using c#. To do this I have go through a proxy server, and use SSL, and log in to the secure site with another user name and password (different from the proxy user name and password). Now, I can get through the proxy by setting the correct credentials on the WebProxy. I can get through SSL by setting up a dummy certificate policy class that always returns true. If I go to a...
2
8213
by: obeOnline | last post by:
I'm getting the following error... System.Net.HttpWebRequest.CheckFinalStatus() +676 System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) +139 System.Net.HttpWebRequest.GetResponse() +147 Web.WebDav.Page_Load(Object sender, EventArgs e)
11
15214
by: CJM | last post by:
I need to be able to determine if the user is a member of a given AD group. I have a method of doing this, but it is not suitable for 64bit OS's, so I need to find an alternative route. I actually think an alternative route might actually be a better route. I'm not an ADSI expert (frankly, I find it confusing) and I don't want to learn any more - I just want to be able to do this one thing. How do you guys go about achieving this?
1
5688
by: Davie | last post by:
I get the following error while trying to access the ASP.NET Configuration Tool. I can't see what the issue is. I believe this uses the Cassini server, but how do I check the settings for this? Any help greatly appreciated Server Error in '/asp.netwebadminfiles' Application. --------------------------------------------------------------------------------
0
1710
by: =?Utf-8?B?U2h3ZXRoYQ==?= | last post by:
Hi All, We developed asp.net web application with integrated windows authentication.Application uses web services.It is working fine in DEV and INT environments. On Production server (Windows 2003 with SP2.), I am able to access the web pages of the application.But when I am accessing the web service URL (.asmx) from IE, it is asking for credentials.Though I am giving the correct credentials, after third attempt IE is displaying the...
10
9783
by: Anton | last post by:
Hi, when accessing a secured 3rd party webservice i'm getting a 401 HTTP Statuscode (unauthorized). When entering the url in a browser and entering the username and password manually, the wsdl is returned. So the username and password should be ok. I'm using this code: Merchant myMerch = new Merchant(); myMerch.merchantIdentifier=merchantId;
9
5246
by: Sebastian K. | last post by:
Hi all. I am trying to get data from a 3rd party webservice. It seems the webservice is running on an iis server. Fiddler shows me: "Server: Microsoft-IIS/6.0 X-AspNet-Version: 2.0.50727 X-Powered-By: ASP.NET" Fiddler shows furthermore:
2
1827
by: =?Utf-8?B?QWJlUg==?= | last post by:
Okay I have a really weird issue. I'm not sure where to post this, but since it's a .NET app I'll try posting it here first. I've written a standard windows forms app to generate emails to a distribution group. Code is clean. The smtp server is using the default port 25, and I'm providing credentials object to the smptclient class. When I try to use the app from my client's smtp server I get the following exception "There was an error in...
0
9594
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10347
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9173
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6863
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5531
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4308
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 we have to send another system
2
3832
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.