Local naming Vs Host Naming

First Question
I wanted to know that which naming method is better,host naming or local naming..I belieave that Local naming is the best..But one of my friend told me that in the software development environment(asp.NET+ORACLE) Host naming is more better..from the client machine .net connectivity is easy to create with the host naming technique(im not aware of the connectivity..im newbie)..Please comment on the statement
second Question
after installing the Oracle Client and the connection string is updated in the web.config(asp.net)..will get the Oracle Connectivity?.....

jp@valapad wrote:
First Question
I wanted to know that which naming method is better,host naming or local naming..I belieave that Local naming is the best..But one of my friend told me that in the software development environment(asp.NET+ORACLE) Host naming is more better..from the client machine .net connectivity is easy to create with the host naming technique(im not aware of the connectivity..im newbie)..Please comment on the statement
second Question
after installing the Oracle Client and the connection string is updated in the web.config(asp.net)..will get the Oracle Connectivity?.....Well, you have been here for 2 years(looking at the registration date) and have asked nearly 100 questions so one thing you must be aware about, its always good to mention that 4 digit db version number,doesn't matter how much irrelevant you think it may be.
Host Naming and Local Naming, both are good as if anyone would be bad, Oracle would have removed. Both come with their own price, HostNaming( From 10g , EZ naming) is basically the simplest to be done. All you need is the details of the server, database, port of listener and you are good to go. But being simple doesn't mean most efficient too. It has its own restrictions also, like it can't use any other protocol except TCP/IP, doesn't support any advanced features.
Local naming is basically the client-server networking where youneed to have a client side file set up which is going to talk to the server. This is supporting all the features but if your client get into any issue, you are going to run towards it. So in a way, both have their own pros and cons. Read through the link which Vikrant has given , it should explain a lot.
I am not sure about the .net stuff that you have posted so no comments about that.
HTH
Aman....

Similar Messages

  • I am getting a warning message when i am trying to create a host-named sitecollection.

    Hi guys,
          I am trying to create a host-named site collection. I have created the root site collection. After that i have tried to create customer root site. I have doing this process with the guidance of this link.
    http://technet.microsoft.com/en-us/library/cc424952.aspx#section2a
    When i tried to create a customer root site. I am getting a warning message
    " WARNING: The port specified for the new host header site does not match any known bindings in the specified Web
    Application.  The new site will not be accessible if the Web Application is not extended to an IIS Web Site serving
    this port."
    I couldn't when this warning message comes. I tried to bind the server with webapplication which is created for host-named site collection. No use.
    Can anyone help me to solve. And i wanna know why this error message comes!!!
    Thanks in advance
    Rajendran.

    First, you shouldn't create a host named site collection on a Web app that has host header named.  Doing that implements host names at two different levels and will not work reliably.  Second I'm not sure what you mean when you say you didn't
    use the FQDN but used just the domain name.  A Full url will always be either an FQDN or a shorter Netbios name.  If you use a Netbios name it simply assumes the local AD domain of the workstation to create an FQDN as the url  There is no way
    to use just the domain name.  For example, Contoso.com is the domain name.  Server.contoso.com or WEbsite.contoso.com are FQDNs.  YOu can also use a shorter version that is just server or website, but when those resolve in TCP/IP they would
    still resolve using server.contoso.com or website.contoso.com if the workstation where your browser is was in the contoso.com domain.  What is the URL for your root site and your host named site?
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Error Accessing Host Named Site Collections In SharePoint Foundation 2013

    We have a new SharePoint Foundation 2013 server that has one web application two host named site collections. We get the "This page can't be displayed" message when we try to navigate to either of the site collections. Adding the server's IP to
    the host file on the machine we are testing from doesn't help. We can ping the new sites from that machine. The web application does not have a host header.
    Web application URL = http://servername
    Site collection #1 URL = http://customer.company.com
    Site collection #2 URL = http://vendor.company.com

    Hi,
    I recommend to verify the things below:
    Check if site can be accessed with site collection administrator.
    Add the SharePoint sites to a trusted zone to see if the issue still occurs.
    As this issue can be caused by many reasons, you may check the ULS log for more detailed errors.
    For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Load balancing host named site collection

    I am jumping into the realm of host named site collection. While the learning experience has been good, still there are some questions unanswered. Please bare patience since my questions are long.
    - I have a non host header site on port 80 that has https certificate added to IIS for supporting app store in https mode.
    - I tried to created the host name site collection using https in this default port 80 non host header web application and was greeted with error. Then i extended the web app to different  zone with port 443 . Then created the host header site collection
    with https with web application name for extended 443 one. Creation went in fine.
    - I tired to use IPs on now extended IIS site and bind certificates on that one. The site does not load. I do the same again in the default zone iss site, bind ips on that one and site loads. Now question is even though host header site collection was created
    using extended web application url , why binding had to be done on default zone IIS site?
    - Second test, i changed the authentication mode for extended, no effect on host named site collection but as soon as i changed it in default zone it reflected in host named site collection. I am confused why it needs extended zone url to create the https
    site but every change done in default zone is getting reflected on this host named site collection.
    Now for load balancing , it works fine with IP? But how to load balance these host named site collection using url. I talked with f5 team and they said i need to send some reply query string from each site. Where do i do that? Or is it even needed? 
    Accoring to this link : https://devcentral.f5.com/articles/name-based-virtual-hosting-with-ltm
    . If the site hosts an application, though, the monitor should request a dynamic page on each webserver which forces a transaction with the application to verify its health and returns a specific phrase upon success.
    For application monitoring, the recommended best practice is to create such a script specific to your application, configure the monitor Send string to call that script, and set the Receive string to match that phrase. 
    Has any one done this before? I tired to search for resource regarding this for iis or sharepoint but was not able to get anything.
    Thank you for your patience for reading such a long question. 
    Adit

    first part of question:
    Default Web Appliction in port 80: Creating https host named site collection fails.
    Extend default web application on port 443 : Https hostnamed site collection created when web application name is passed for extended web application on port 443. This means this site collection is associated with this extended web application correct? But
    all the changes made in IIS only reflect if it is made to port 80 web application. Also changing authentication scheme from Central Admin, only changes on default zone reflects on site collection not the one in extended web application? Why  if the site
    was only created on extended web application paremeter, changes on default are reflecting on it but not from extended.
    Second part of question:
    Each Hostnamed site collection when load balanced thorough f5 using IP for 3 WFE uses 3 IPs for each. This way we will run out of IPs pretty soon. I want to know if there is way to load balance these sites using Hostname or anyother paramenter through f5
    and if any body has done it? 
    https://devcentral.f5.com/articles/name-based-virtual-hosting-with-ltm link talks about sending reply string
    from application but i do not know where to set it up or how to do it? No resources in the net. Just asking if any one else has done it. 
    Adit

  • Best Practice for Host Named Site Collections and Web Apps

    Looking for advice on setting up the host named site collections.  If I am reading many of the technet articles and blogs correctly I should 1) have only 1 top level web app for host named site collections and 2) not have a host header for that web
    app.  If that's correct I am looking for advice.  We have 7 separate domains that we support in our farm.  Currently each of those domains is divided into web applications based on the domain,  *.contoso, *.trains.com, *.bakers.com, etc.
      Is the concept now that all of the host named site collections fall under that one web app?  How do we deal with the SSL for each of those separate domains which all have their own certificates? 
    Thanks in advance for your comments. 
    NLewis

    Yes, for creating host named site collections, first you create a host header less web app and then create host named site collections under that web app. However this is only for the cases where all the host named site collections ends in one domain. So
    you can create host named site collections as intranet.contoso.com, my.contoso.com, portal.contoso.com etc as they are all ending in *.contoso.com.
    As per your environment, if you have web apps which caters to different domains like *.contoso.com, *.trains.com, *.bakers.com, you need to create separate web apps as they are all ending in different domains. Then you can have a separate wildcard SSL certificate
    for each of those web apps.
    Hope this helps.
    Thanks
    Mohit

  • Content Search Web Part over HTTPS for a Host Named Site Collection

    Hello
    I have a host named site collection http://media.contoso.com which is a media portal that stores videos and pictures. On my parent site collection http://site.contoso.com homepage I have a Content Search Web Part that displays videos from the media portal.
    Both sites work over https.
    When I edit the content search web part and enter the URL http://media.contoso.com in the 'Change Query' box, search returns the results as expected but when I enter the URL as
    https://media.contoso.com no results are returned.
    I have removed the binding in IIS to point to http://media.contoso.com.
    I need it to be https so that I don't see "HTTPS security is compromised by http://media.contoso.com" on my site collection homepage.
    Any idea why this is happening?
    Thanks
    Yoshi

    http://technet.microsoft.com/en-us/library/ee792873%28v=office.15%29.aspx
    In the Search SSL Settings dialog box, do one of the following:
    If you do not want the crawler to crawl a site when there is an SSL certificate warning, make sure that the
    Ignore SSL certificate name warnings check box is cleared. For security reasons, the check box is cleared by default.
    If you want the crawler to crawl a site even if there is an SSL certificate warning, make sure that the
    Ignore SSL certificate name warnings check box is selected.
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://freeit-support.com/

  • Migrating a Path Based Site Collection to a Host Named Site Collection where the content database is greater than 135 GB

    Hi
    I have a 136 GB content database which will not back up via Backup-SPSite ( Microsoft say you cannot backup more than 100GB).
    So with out Backup / Restore how can I convert a Path Based Site Collection to a Host Named Site Collection  with my 136 GB content database which incidentally uses Remote Blob Storage ?
    Thanks
    Nigel 
    Nigel Price NJPEnterprises

    I see two options:
    Make the Backup-SPSite work despite being over 100GB (that's going to be a supported limit rather than a hard boundary)
    Externalise some of the content and then re-insert it after the move.

  • Having thousands of Host-Named Site Collections - which authentication type?

    So Microsoft seems to state the claims + Host-Named Site Collection (HNSC) approach is the way to go forward.
    Assuming we have thousands of site collections, and we don't want to go with good ol' NTLM authentication as our claim authentication type, then how should we authenticate?
    Both Kerberos and SAML would be a nightmare to manage, since for Kerberos we need to register a Service Principal Name (SPN) per HNSC. For SAML we would end up in a similar situation, since this would require us to configure a relying party
    + realm for every HNSC.

    Please see the documentation on using managed paths with host named site collections.
    http://technet.microsoft.com/en-us/library/cc288637(v=office.14).aspx#section5
    You would be very unlikely to have thousands of individual host names, I would never recommend such an architecture to a customer.  Instead, you are much more likely to use managed paths (/sites/, /personal/, etc) in combination with host names, significantly
    reducing the number of individual host names while still allowing you to easily scale to thousands of site collections.
    In Office 365, each tenant is provisioned with 3 top-level host names (<tenant>.sharepoint.com, <tenant>-public.sharepoint.com, and <tenant>-my.sharepoint.com), all subsequent site collections are provisioned using managed paths.
    Note that this is not really a question particular to HNSC.  If you decide to not use host-named site collections but want to use individual host names using web applications, you get far less.  According to our Software Boundaries and
    Limits document, you get maximum 20 web applications per farm with a maximum 5 AAMs per web application, yielding a maximum 100 individual host names. 
    http://technet.microsoft.com/en-us/library/cc262787.aspx
    While you can achieve more host names using HNSC, I would strongly discourage this design and instead seek to leverage managed paths. 
    Kirk Evans
    Architect, Azure Modern Apps Center of Excellence
    Microsoft Corporation
    Microsoft Certified Master, SharePoint 2010
    http://blogs.msdn.com/kaevans

  • Migrating SP2010 host-named Site Collections

    Hi all, 
    I'm currently having an issue when upgrading Host-Named site collections from SP2010 to SP2013. Once upgraded into SP2013 (Database attach), It keeps on prompting me for credentials, even after adding my user as a Web Application user. 
    Is there any resources or considerations when upgrading Host-Named sites?
    Cheers

    Loopback check is the most common cause of this behaviour:
    http://www.harbar.net/archive/2009/07/02/disableloopbackcheck-amp-sharepoint-what-every-admin-and-developer-should-know.aspx
    To confirm, add a hosts file entry on a non SharePoint machine and then connect from there. It'll probably work.

  • Managed path for host named site collection is farm level or web application level?

    Hi,
    I would like to get advice.
    I created a webapplication for host named site collections.
    these are my host named site collections (except http://sp2013) under my webapplication
    Root Site Collection: http://sp2013
    Site Collection: portal1.sg
    Site Collection: portal1.sg/research
    Site Collection: portal1.sg/intranet
    research and intranet managed paths are farm level
    all my host named site collection will be accessed by http and https except "intranet" site collection will be only accessed by https
    so I changed the Intranet zone for site collection using Set-SPSiteUrl
    Set-SPSiteUrl (Get-SPSite "http://portal1.sg") -Url "https://portal1.sg" -Zone Intranet
    Set-SPSiteUrl (Get-SPSite "http://portal1.sg/research") -Url "https://portal1.sg" -Zone Intranet
    Set-SPSiteUrl (Get-SPSite "http://portal1.sg/intranet") -Url "https://portal1.sg/intranet" -Zone Intranet
    Now I need to create "search" site collection for "Enterprice Search Center"
    My question is that for the "search" managed path ... should i use farm level or web application level?
    "search" site collection will be will be accessed with both http and https also.
    Thanks a lot!

    managed path for HNSC is farm level and u can have 20 managed path
    while managed path for path based is 20 per web application in your case if you are going to have a a separate web application for search then u will use web app
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • Robots.txt and Host Named Site Collections (SEO)

    When attempting to exclude ALL SharePoint Sites from external indexing, when you have multiple web apps and multiple Host Named Site Collections, should I add the robots.txt file to the root of each web app, as well as each hnsc? I assume so, but, thought
    I would check with the gurus...
    - Rick

    I think, one for each site collection as each site collection has different name and treated as web site.
    "he location of robots.txt is very important  It must be in the main directory because otherwise user agents (search engines) will not be able to find it.  Search engines look first in the main directory (i.e.http://www.sitename.com/robots.txt)
    and if they don’t find it there, they simply assume that this site does not have a robots.txt file"
    http://www.slideshare.net/ahmedmadany/block-searchenginesfromindexingyourshare-pointsite
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Help needed on Host Named Site Collection creation --- please help

    Hi Friends,
    Question 1
    Can we create Host Named Site Collection following the pattern below?
    We will have three Department head Host Named Site Collections, names –
    HRHead.ourdomain.com
    MarkettingHead.ourdomain.com
    AdminHead.ourdomain.com
    Under each of these department head sites, there will be 3 or 4 Host Named Site Collections. The site structure will be like:
    HRHead.ourdomain.com

    HR1.ourdomain.com

    HR2.ourdomain.com

    HR3.ourdomain.com
    MarkettingHead.ourdomain.com

    MarkettingProduct1.ourdomain.com

    MarkettingProduct2.ourdomain.com
    AdminHead.ourdomain.com

    AdminCountry1.ourdomain.com

    AdminCountry2.ourdomain.com

    AdminCountry3.ourdomain.com
    Question 2
    If we want to use common template (like header, footer, company icons) for inner sites (e.g. AdminCountry1.ourdomain.com, AdminCountry2.ourdomain.com, AdminCountry3.ourdomain.com) how to create that template for Host Named Site Collection? If these were
    sub sites, we can take help of site templates. But these are Host Named Site Collections, how to use common design for Host Named Site Collection?
    Any hint from you will be really helpful. Thanks for your comments.

    Yes you should be able to create a site collection using a custom template.  Here's a BLOG on how to create a site collection with a custom template in 2010.  It should still work the same way.
    http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=218
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • AAM for Host named site collection

    I have non-host header web application at port 80:http://wwwserver 
    It is AAM to https://wwwserver in same zone.
    Now when i create host named site collection using http it works fine
    New-SPSite http://hostheader.site.com/ -OwnerAlias domain\username -HostHeaderWebApplication http://wwwserver -Template "STS#0"
    But when i do 
    New-SPSite https://hostheader.site.com/ -OwnerAlias domain\username -HostHeaderWebApplication https ://wwwserver -Template "STS#0" i get error Warning: The port specified for the new host header site does not match any known bindings in the specified
    web appplication . The new site will not be accessible if the web application is not extended to an IIS web site serving this port.
    Now when i try to extend web application on port 443 it says it is already used by sharepoint. I do not want to screw aam since all my app store urls are configured through https://wwwserver. Any way to achieve https in host named site collection?
    sachin
    sachin

    Hi Sachin,
    Powershell New-SPSite is specifically looking for a web application that responds to
    http://www, not http://www. I don't think AAM applies for web applications, only for the URLs that the web application responds too.
    Information on configuring HNSC and SSL in this blog as well:
    http://blogs.msdn.com/b/russmax/archive/2013/10/31/guide-to-sharepoint-2013-host-name-site-collections.aspx
    Regards,
    Gavin McKay

  • JNDI naming exception: javax.naming.ServiceUnavailableException

    Hi,
    I am running a standalone version of WLS 6.1 sp4. When I start WLS, it throws
    this exception:
    <Mar 19, 2004 2:39:11 PM PST> <Critical> <Log Management> <Unable
    to contact managed server - med1d2ms01, at d_conitti/10.0.4.81:7301.
    Domain logfile will notcontain messages from this server.
    java.lang.IllegalArgumentException: JNDI naming exception: javax.naming.ServiceUnavailableException
    [Root exception is java.net.UnknownHostException: d_conitti]
    However, weblogic doesn't shut down after this. It continues and deploys all the
    apps. What intrigues me is, where is weblogic reading the 'd_conitti' managed
    server from. I am not running any cluster. It beats me totally. I searched for
    'd_conitti' on my whole machine. I didn't find any file with that word.
    My environment is:
    Win2k Server
    wls 6.1 sp4
    jdk 1.3.1
    I would appreciate any help.
    Thanks,
    Abbas

    Hi,
    I am running a standalone version of WLS 6.1 sp4. When I start WLS, it throws
    this exception:
    <Mar 19, 2004 2:39:11 PM PST> <Critical> <Log Management> <Unable
    to contact managed server - med1d2ms01, at d_conitti/10.0.4.81:7301.
    Domain logfile will notcontain messages from this server.
    java.lang.IllegalArgumentException: JNDI naming exception: javax.naming.ServiceUnavailableException
    [Root exception is java.net.UnknownHostException: d_conitti]
    However, weblogic doesn't shut down after this. It continues and deploys all the
    apps. What intrigues me is, where is weblogic reading the 'd_conitti' managed
    server from. I am not running any cluster. It beats me totally. I searched for
    'd_conitti' on my whole machine. I didn't find any file with that word.
    My environment is:
    Win2k Server
    wls 6.1 sp4
    jdk 1.3.1
    I would appreciate any help.
    Thanks,
    Abbas

  • Naming error: javax.naming.NoInitialContextException

    I get the below error message when I try to run the testing class below that. I googled the exception and read:
    This exception is thrown when no initial context implementation can be created. The policy of how an initial context implementation is selected is described in the documentation of the InitialContext class.
    // then I read this: http://publib.boulder.ibm.com/infocenter/adiehelp/index.jsp?topic=/com.sun.api.doc/javax/naming/NoInitialContextException.html
    This exception can be thrown during any interaction with the InitialContext, not only when the InitialContext is constructed. For example, the implementation of the initial context might lazily retrieve the context only when actual methods are invoked on it.
    I really dont understand what I read. Could someone please explain what my issue is and why it is occurring and how I could fix it.
    Thank you in advance,
    Crystal
    Naming error: javax.naming.NoInitialContextException: Need to specify class name
    in environment or system property, or as an applet parameter, or in an applicat
    ion resource file:  java.naming.factory.initial
    Exception in thread "main" java.lang.NullPointerException
            at notifier.notifierMethod.SiteManager(notifierMethod.java:230)
            at notifier.testing.main(testing.java:22)
    testing.java
    class testing {
        public static void main(String[] args) {
            //Display "Hello World!"
            System.out.println("Hello World!");
            notifier notifierInformation = new notifier();
            //session.setAttribute("notifier", notifierInformation);
            //get db connection
            database.DataFactory dbf = database.DataFactory.getDataFactory(database.DataFactory.sybase);
            notifierInterface notifierDB = dbf.getNotifierInterface();
            notifier sitemanager = notifierDB.SiteManager(newID, notifierInformation);  // LINE 22
    notifierMethod
    public notifier SiteManager(String newID, notifier notifierInformation) {
            try {
                ArrayList sitemgrList = new ArrayList();
                this.conn = database.SybaseDAO.grabConnection();
                cs = conn.prepareCall("{call mt."+newID+"_Notifier_SiteManager()}"); // LINE 230
                rs = cs.executeQuery();
                while(rs.next()) {
                    String owner = rs.getString(1);
                        sitemgrList.add(owner);
                notifierInformation.setSitemgrList(sitemgrList);
    }

    Aleen - Thank you for your help but I just dont get what you are saying at all! I am reading through all the links and its just not clicking with me. Is it possible for you to show me a vague example of what you mean?
    What do you mean by system properties/enviroment parameters? Do you mean what is in my web.xml/server.xml, like so?
    public static Connection grabConnection() {
            Connection conn = null;
            try {
                Context ctx = (Context)new InitialContext().lookup("java:comp/env");
                DataSource ds = (DataSource)ctx.lookup("jdbc/connectDB");
                conn = ds.getConnection();
            } catch(SQLException e) { System.err.println("SQL error: " + e);
            } catch(NamingException n) { System.err.println("Naming error: " + n);
            return conn;
    web.xml
    <description>MySQL Test App</description>
    <resource-ref>
          <description>DB Connection</description>
          <res-ref-name>jdbc/connectDB</res-ref-name>
          <res-type>javax.sql.DataSource</res-type>
          <res-auth>Container</res-auth>
    </resource-ref>
    server.xml
    <Context path="/appName" docBase="/appName"
            debug="5" reloadable="true" crossContext="true">
      <Logger className="org.apache.catalina.logger.FileLogger"
                 prefix="localhost_DBPool_log" suffix=".log"
                 timestamp="true"/>
    <Resource name="jdbc/connectDB" auth="Container" type="javax.sql.DataSource"
                   maxActive="5" maxIdle="1" maxWait="10000" removeAbandoned="true"
                removeAbandonedTimeout="60" logAbandoned="true"
                   username="myName" password="myPass" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
                   url="jdbc:odbc:webdev"/>
    </Context>I just dont understand why if I have this code in a servlet it works fine but when I try to put it in a java class it doesnt work. And I am sorry in advance, I am not trying to be a pain in the a55 to you.. and I will keep reading
    Thanks - Crystal

Maybe you are looking for

  • Won't sync files????

    When attempting to sync an iPhone or iPod I am getting an error: "Attempting to copy to the disk "iPhone" failed. The disk could not be read from or written to." This happens with iPod's also, so it's not the iPhone.

  • N+1 redundancy with 2504-HA

    Hello, I have question regarding N+1 redundancy with 2504-HA WLC. Can I use 2504-HA unit for H+1 redundancy? SSO is not needed I have two wireless network: 1.      With WLC 5508 with about 40 AP(1262), all them are A regulatory domain 2.      With WL

  • Invalid security code on new card

    New credit card keeps coming up invalid security code

  • What do I do when my After Effects version isn't compatible with my OS?

    I have AE C6 and I purchased a new Mac Pro with OS X 10.9.3 How can I run my AE in this system? Do I have to change my OS version?

  • Dynamic Link Library NIPALU.dll

    I am trying to load a VI developed test a circuit board i get the following error: The dynamic likn library NIPALU.dll could not be found in the specified path... I have not been able to find the file anywhere online. How do resolve this problem.