.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

Alternate Access Mappings

Posted By:      Posted Date: September 13, 2010    Points: 0   Category :SharePoint
hi, i have a web application with site collection. the url of my web application is http://servername:portnumber now i want to change it to a much friendly name. i saw some article about Alternate Access Mappings. maybe i'm slow in getting it. but i want to ask what are the steps i have to take before i do the Alternate Access Mappings. do i have to create the friendly url before i add the internal url? and wath are the steps after add the internal urls? the steps i have done are: - go to operations -  Alternate Access Mappings -add internal URLs -choose the web application - fill in the friendly url and select the zone  

View Complete Post

More Related Resource Links

Reporting Services and Sharepoint Integration - Sharepoint Alternate Access Mappings (Zones)

I get the following error when I try to navigate to a report/model/data source, stored in a Sharepoint Document Library using a Sharepoint URL based on an Extranet or Intranet zone - but it works OK using the url for the Default zone: System.Web.Services.Protocols.SoapException: The specified path refers to a SharePoint zone that is not supported. The default zone path must be used. ---> Microsoft.ReportingServices.Diagnostics.Utilities.SecurityZoneNotSupportedException: The specified path refers to a SharePoint zone that is not supported. The default zone path must be used. Is this a limitation of the SQLRS-WSS3 integration or is there a workaround? Many thanks to anyone who can help!

MySite Alternate Access Mappings not working

Hi, I had some problems with my upgraded SP2010 server last week. Something happend and the web.config files for each web application was reset to base settings. I had some backup on these files and got everything working again. The only thing that is NOT working is Alternate access mappings for MySites. if I use the server:port url all the webparts work just fine. But when I set it to the AAM I used before the "crash" no webparts work. It is just the message: Web Part Error: "This page has encountered a critical error. Contact your system administrator if this problem persists. " Does anyone have an idea where to start looking for bad configuration? Regards Joakim Gustafsson Stratiteq Sweden

My memberships not updating after renaming alternate access mappings and IIS hostheader



After upgrading fram MOSS2007 to Sharepoint 2010 via the database attach model "My Memberships"on MySite are not being updated.

During the update session, our host headers and alternate access mappings had af different name than they were supposed to have after a successfull upgrade. This was to insure that users had access to the old platform in a read only state while upgrading.

After a successfull upgrade the old farm was closed down and alternate access mappings and IIS hostheaderes were nenamed to their normal/old names on the 2010-farm.

However, in the time where the 2010-farm was temporarely named the "My memberships"-list was generated with these URLs. After renaming the my memberships-list is not being updated - even not with new memberships on the new farm. By looking into old threads I have tried this to resolve the problem, but without any luck:

  1. stsadm -o deleteolddatabases 0
  2. checking the timer jobs regarding profile sync i CA (ok)
  3. reset of the search index and initiating a full crawl
  4. a full profile import from AD

All without any luck.


change default URL through Alternate Access Mappings in foundation 2010


I have created a webapplication called http://company on port 80 in foundation 2010. on top of it I have created a site collection. I am using same url http://company for accessing site collection.

Now my requirement is that, I need to change my site collection url http://company to http://mycompany 

I don't have any idea what to do in DNS and IIS manager consoles.

I tried to edit 'default' zone to http://mycompany in Alternate Access Mappings in CA.  I saved it. But When I browse the url it is not occuring.

Let me know what to do after editing and saving default zone address in AAP in CA to get my new addresss accessible.


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

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 ?

unable to access control inside webuser control



I have used calender web user control inside my project where i took textbox,button and calender.....but after dragging onto my aspx page....i am unable to access this textbox,calender and button on aspx page...Pls help me to find out the solution.

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