473,385 Members | 1,357 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,385 software developers and data experts.

asp.net isn't resolving an IP address correctly

I have a web application that uses a web.config file to set the url for a web
service on another machine... when I run the app with an alias for the
machine name I get:

http://RptSvrWR/reportserver/ReportService.asmx
"The request failed with HTTP status 401: Access Denied."

When I literally copy the IP address and overwrite the alias name in my web
config file... everything works fine... anyone know what I'm doing wrong?

Oh I should point out that I'm able to ping RptSvrWR from my command prompt.
Mar 21 '06 #1
3 1004
It may be that the machine has more than one IP address. In addition, there
may be a DNS issue or a Firewall issue. Do you have a network admin you can
ask about this?

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.

"andrew" <an****@discussions.microsoft.com> wrote in message
news:8E**********************************@microsof t.com...
I have a web application that uses a web.config file to set the url for a
web
service on another machine... when I run the app with an alias for the
machine name I get:

http://RptSvrWR/reportserver/ReportService.asmx
"The request failed with HTTP status 401: Access Denied."

When I literally copy the IP address and overwrite the alias name in my
web
config file... everything works fine... anyone know what I'm doing wrong?

Oh I should point out that I'm able to ping RptSvrWR from my command
prompt.

Mar 21 '06 #2
I did ask about it... he wasn't all that interested in figuring it out... I
mean the code works on the test environment computer... that was his main
concern.

"Kevin Spencer" wrote:
It may be that the machine has more than one IP address. In addition, there
may be a DNS issue or a Firewall issue. Do you have a network admin you can
ask about this?

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.

Mar 21 '06 #3
Well, in that case, stick with the IP address!

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.

"andrew" <an****@discussions.microsoft.com> wrote in message
news:17**********************************@microsof t.com...
I did ask about it... he wasn't all that interested in figuring it out... I
mean the code works on the test environment computer... that was his main
concern.

"Kevin Spencer" wrote:
It may be that the machine has more than one IP address. In addition,
there
may be a DNS issue or a Firewall issue. Do you have a network admin you
can
ask about this?

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.

Mar 21 '06 #4

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

Similar topics

29
by: interpim | last post by:
Just a quick exercise from my C programming book, that I can't figure out why it isn't working properly. It kinda works but im getting wierd output. It is supposed to remove the vowels from text. ...
1
by: Uzi Baruch | last post by:
Hi! i want to know if i have an ip address of a computer and its DNS server name, if their is an windows API that can resolve the computer name of the given ip address. or vice verca -...
0
by: Wanderer | last post by:
Hi all, who knows how to correctly make assembly resolving in asp.net? In WinApplications AppDomain.CurrentDomain.AssemblyResolve event works fine, but this is not a case of asp.net. If I...
1
by: Stephen | last post by:
Hi all, is there a way that I can create an application that can "Resolve" any given address in the URL to be redirected to a default website. I guess that It can be done by "Resolving DNS...
2
by: Dr. Paul Caesar - CoullByte (UK) Limited | last post by:
Hi, I have created a Logout ASP.NET application using Forms Authentication. When a user logs out they get a confirmation page confirming logout and a button to click to return to the homepage....
1
by: Ghislain Tanguay | last post by:
Hi everyone, this is the code I use now for resolving domain address with email. But I use an external program "nslookup" to verify my addresses. Is there an intrinsic object in dotnet who do...
0
by: Adam D. Barratt | last post by:
Hi, I've been searching Google for ideas as to how to use Mapi (in this case an Outlook client connecting to Exchange Server) from VB.NET to resolve e-mail addresses for contacts for which...
2
by: John Kotuby | last post by:
Hi all, I have been working on transferring my development environments to a new Vista ultimate machine (from XP) and am running into difficulties. After patching both SQL Server 2005 and VS 2005,...
3
by: shawie60 | last post by:
Hi guys, I have a bit of a problem. I've set up my network ( 3 desktops 1 x wireless laptop) using a TK IP router. Most use fixed IP addresses. Each machine can access the internet. 1 of the machnes...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.