.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Alternet Access Mapping is not producing the expected result

Posted By:      Posted Date: October 28, 2010    Points: 0   Category :SharePoint

I have a web application at http://servername:portUmber. I want the site to be accessed through an address like: http://This.this.com.

in alternate mapping, I added an internal url > selected my collection > entered the http://This.this.com for "URL protocol, host and port. > changed the zone to interanet.

The site is working with port number but not with the alternate access mapped name.

rCentral Administration > Operations > Alternate Access Mappings  shows http://This.this.com for the internal URL and Public URL for zone in the


What am i missing?


View Complete Post

More Related Resource Links

Alternate Access mapping - Intranet site

Hi All, I'm banging my head against a brick wall here trying to setup an alternate access mapping for an intranet site in SharePoint 2007. I have a default site setup which has the following public default URL: http://SERVERNAME:2586 I want users to access the site using the URL http://Intranet Now from reading about alternate access mappings I thought this should be as simple as adding an internal url of http://intranet under the intranet zone. With this set up I preceded to add the binding to the IIS website. I added the binding with All Assigned IP addresses, port 2586, and host as Intranet. The final thing I did to check this was to add an entry to the hosts file for the server IP address with the host name of intranet. This was followed by a flush of the DNS cache on the server. Whgen trying to access the site using the URL i now get the IIS7 welcome page, but not the SharePoint site I expected. Can anyone point me in the direction of what i've done wrong, Its got me stumped. Cheers, Grant

Alternate Access Mapping Problems

I have set up a windows server 2003 and sharepoint 3.0 on the same computer. First, I set up two "New Host A" in my DNS Server - Forward Look up Zones and then I tried to access the websites. No luck.  I went to the run command and pinged both sites to see if they worked. They pinged as they should. Then I went into Sharepoint and set up the Alternate Access Mappings with a default and extranet zone. A login box appeared which won't accept my administrator password or anyone else's.  I can log directly into all site collections that I have developed. I saw that you advised someone with regards to their login and browser but could you explain in more detail what you mean by that?  I am a bit stupid sometimes. :-) I also changed all the properties in my DNS Server host records to have full administrator privileges. Can you please advise if I should take that back off as a precautionary security measure. It didn't resolve my problem anyway. Thanking you in advance. Tracey

Please Provide the result in my Expected Format

Table:   Doc Sno A 1 B 2 C 3 Expected result is   Doc Sn1 Sn2 A 1 2 A 2 3 A 3 1 B 1 2 B 2 3 B 3 1 C 1 2 C 2 3 C 3 1 Ramesh.M

Cannot access Workflow from List Item menu: "Value does not fall within the expected range."


We are using Sharepoint 2007 sp2.

I am using Sharepoint Designer 2007 to create workflow for some List, suddenly I cannot acess some list items' workflow,and was informed  "Value does not fall within the expected range." , but other items are all ok.

I don't know whether this is concerned with the service pack 2, I installed sp2 yesterday.

Linked Server Mapping Error "Access to the remote server is denied because no login-mapping exists"


SQL Server 2005 SP3 32bit server
Connecting to an Oracle 10g server
Loaded OracleClient 10g

I'm able to ping the Oracle Server, and ODBC connect and able to run an open query with a single remote user id.

Issue: When I use the security context "Be made using this security context" it connects.
When I choose the "Not Be Made" WITH THE SAME USER ID & PASSWORD, I get the mapping error.

Alternative access mapping (when accessing the site it is asking for username and password)


Environment: - MOSS 2007

Issue: - Alternative access mapping (when accessing the site it is asking for username and password)

We have a web application which is http://servername:portnumber,  and the client wanted a valid URL.

For which we have created a DNS entry and updated the Host file. We then made the changes in the iis (Under Multiple Identities) and also added the entry in SharePoint Alternative access mapping section.


Now when we try to access the site with the new DNS

Aggregate (count) function that produces a different result to what is expected.

Hi Folks
I have an aggregate transformation, that runs a count on a column.  The  column  has 23 rows  with dates and a further 2 rows that have no date information. When I run a count function on the column, it returns a count of 25.  My hypothesis is that  this is linked to the 2 rows are treated as being  BLANK as opposed to being NULL (I understand the COUNT function will not count rows that have null values).

I have two questions
1) How do test this hypothesis that he difference is due to a blank vs null issue and then more importantly
2) How to I resolve the issue so that the 2 "empty" rows are not counted?

Many thanks


Alternate Access Mapping MOSS 2007



i have to do the Alternate Access Mapping

for a site so i created a site and went to the DNS created a new host then give the name as intranetsite

and i came to central admin> operations>Alternate Access MApping

and here i added that host name to the intranet zone of the web application  but when i try access the site by the name i get an error such as Bad Request(invalid Hostname)

i am getting this error for the 1st time

i have done this many times before

plz help me

Alen Austin

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

Store and Display Images from MS Access Database Using C#

There is only the difference of coding syntax to stream the binary data of image content type to upload it into MS Access Database using C#/VB in ASP.Net 2.0

Namespaces required:-
using System.Data.OleDb;

OleDb is used to connect the web site forms with MS Access Database using Microsoft.Jet.OLEDB.4.0

ASP.Net Upload Image to MS Access Database

As you learnt from the previous articles to upload image to the SQL Database in ASP.Net 2.0 and stream that image into the memory to retrieve it from the database and display it on the web page. In this article you will learn how to upload images to the MS Access database in ASP.Net 2.0

First of all create an Access Database and place it in the App_Data folder of ASP.Net web site project. Then create a table "tblImg" with the following fields:

Wrong Account being used to access files - Help - No Impersonation


I run a simple .aspx website on a Windows Server 2008 machine.

There is NO impersonation, and System.Security.Principal.WindowsIdentity.GetCurrent().Name returns NT AUTHORITY\NETWORK SERVICE, which it the account which the application pool runs. In my web.config, I have <authentication mode="Forms">.


I tried to test the security of the application and server by removing file permissions to the .aspx files. I was greatly worried when the website continued to run without problem (it should not have been able to read the .aspx files).

By turning on file level auditing, I discovered that the .aspx files were being read by the machine$ account (if the machine is called Serv1, then the files would be read by the Serv1$ account, which seems to have access to all files on the local machine).


Is this a security breach or is this behaviour by design ?

Please can somebody assist, as I am worried.

Disallow Direct Access To Files



Here is my dilema, on my site i have a WordPress Audio player (http://wpaudioplayer.com/standalone) that plays my mp3's.

It loads the Mp3's in by javascript...example below:

       AudioPlayer.embed("audioplayer_7", { soundFile: "/Files/Music/[name of file].mp3" });

This file name is clearly visible in the browser source. Not a problem, however this means that any user can legitimately browse to the file directly and download it.

Now i still need the mp3 player (which is flash) to have access to the file but if a user was to try accessing the file directly, they would not be allowed access to it.

I am not sure how to go about this, i am circling the idea of a httphandler but not sure if this is sufficiant to stop the direct access to the file.

Any help would be appreciated

How to access a new database ( which i created ) in isqlplus ?



I created a new database with the help of Database Configuration Assistant !

I created with the scott account

Now i'm not able to connect to the database with the connect identifier with the scott account

The error i get is.,

ERROR - ORA-12154: TNS:could not resolve the connect identifier specified.

Plz help !

Access SessionState: via App1 to SessionState from App2


Hi .NET'ers,

i'm interested to do the following - i geuss, i have no option to do that:

we have our "mainapplication" on a DB; we are tracking user-login status by switching a bit in the DB in the users data row.

we hvae a second application, the backend, which is the administration tool.

(the applications are put in seperate diretories on HD)

sometimes, we need to block/ban users. in some cases the users are logged in, when we "see them in action".

i'd like to build a button in the backend-application, which logss-out the user from the mainapplication.

for sure: i can access the same DB and switch the bit to "know" he's offline, but this will not kill the session on the mainapplication.

because: if a user is on/offline is also indicated by the session in the IIS.
and as the IIS-session is active, the user may be already banned - but he will not be logged out automatically (and showing something like "you have been logged out because of a ban)

one option would be to call the DB by each page-load to find out, if the user is logged on.

is there any option to implement this?

Microsoft Application Block for Data Access in .NET


Hi all,

I was rummaging the internet learning aspx and came across the concept of: Microsoft Application Block for Data Access in .NET

It seems great of course. The articles are all early 2003-5 such as


So the question is - is this tech still relevant and should I be using it?



data access library v4.1


Ive just started a project that will use the enterprise library 4.1 data access code blocks.  Its been years since ive used them, can anyone tell me what assemblies I need to reference in my project in order to use them ?  Ive referenced 


are there any others I need ?

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend