Configuring Sharepoint Services on DMZ

Posted on 2009-04-28
Last Modified: 2012-05-06
We have an IIS Web Server running Windows 2003 Server.  It is not part of the domain.  Just a workgroup.    It lives in the DMZ.  We are trying to install Sharepoint services on this server and have it access the Sql 2005 server on the inside of the network.   I've opened up the Firewall ports and such and believe ports 1620,1622 and such are working fine.   When we run the installation wizard that creates the database and such.. it makes it to step 2.   It created, I believe 3 databases, but failed with the following error in the log.  I'm certain it has something to do with authentication or domain or firewall issues.  The error starts with the ****** below.

Administration v3, was successfully created.       
04/28/2009 08:23:25.17       psconfigui.exe (0x0E28)                       0x0EC4      Windows SharePoint Services         Topology                            95kp      High          Creating site  in content database SharePoint_AdminContent_a1ddb337-f740-4370-afdc-a20b1c5221ae       
04/28/2009 08:23:34.25       psconfigui.exe (0x0E28)                       0x0EC4      Windows SharePoint Services         General                             8l26      High          
Error when trying to get trusted forests and domains. Exception message: Current security context is not associated with an Active Directory domain or forest., callstack:    at System.DirectoryServices.ActiveDirectory.DirectoryContext.GetLoggedOnDomain()     at System.DirectoryServices.ActiveDirectory.DirectoryContext.IsContextValid(DirectoryContext context, DirectoryContextType contextType)     at System.DirectoryServices.ActiveDirectory.DirectoryContext.isDomain()     at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)     at System.DirectoryServices.ActiveDirectory.Domain.GetCurrentDomain()     at Microsoft.SharePoint.Utilities.SPUserUtility.GetTrustedDomains(List`1 trustedForestNames, List`1 trustedDomainNames)       
04/28/2009 08:23:34.25       psconfigui.exe (0x0E28)                       0x0EC4      Windows SharePoint Services         General                             72dz      Monitorable      Found 0 trusted forests .       
04/28/2009 08:23:34.25       psconfigui.exe (0x0E28)                       0x0EC4      Windows SharePoint Services         General                             72e0      Monitorable      Found 0 trusted domains       
04/28/2009 08:23:34.28       psconfigui.exe (0x0E28)                       0x0EC4      Windows SharePoint Services         Topology                            95kq      High          Creating top level site at http://rda-quality:45193/       
04/28/2009 08:23:34.37       psconfigui.exe (0x0E28)                       0x0EC4      Windows SharePoint Services         General                             72jz      Medium        Creating site: URL "/"       
04/28/2009 08:23:34.89       psconfigui.exe (0x0E28)                       0x0EC4      Windows SharePoint Services         General                             8gam      Medium        Recalc needs to happen. Real = 0, Cached =-1, WFE
Question by:rdelrosario
    LVL 51

    Accepted Solution

    If you are trying to install the Sharepoint databases on the SQL server behind the firewall this won't work because Sharepoint uses Windows Authentication to connect to the SQL database which means it MUST be on the same domain as the web server.

    Expert Comment

    @tedbilly (2011_0103_1535)

    This is not entirely true ----

    Sharepoint also allows Database authentication as well as  Windows - hence you can use an SQL account to access SQL server through a firewall.

    From the Share Point Create New Web Application Page -
    Database Name and Authentication  
    Use of the default database server and database name is recommended for most cases. Refer to the administrator's guide for advanced scenarios where specifying database information is required.

    Use of Windows authentication is strongly recommended. To use SQL authentication, specify the credentials which will be used to connect to the database.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
    These days socially coordinated efforts have turned into a critical requirement for enterprises.
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now