Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...unable to install dnn7 in environment with separate web and sql serversunable to install dnn7 in environment with separate web and sql servers
Previous
 
Next
New Post
12/11/2012 4:38 PM
 

Greetings, I am having problems installing dnn7. I have an environment with two servers. server 1 is running win server 2008 r2, iis7. Server 2 is running win server 2008 r2 with sql server 2008 r2. I watched the installation videos many times but they don't seem to cover this particular situation. I can't seem to perform the recommended action, to use a windows account for the SQL permissions and file permissions, because I'm in a domain, and SQL server installation is on a separate server. So I have to use SQL Server permissions, or the connection string won't work (I already tried with a domain account, no go). The installation apparently completes without errors, but then the website is unable to load. Any help for installation in an environment like mine would be much appreciated.

 
New Post
12/11/2012 10:17 PM
 
Create a separate account to connect to the database and use that during the installation. The fact that it's on a different server doesn't matter as long as you have the proper credentials and access to the database server.

Mark
 
New Post
12/12/2012 3:32 AM
 
your SQL server needs to be configured for "mixed authentication", to allow using local sql server accounts, which is required, if not both servers are in the same domain.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/13/2012 9:41 AM
 
I have a separate, SQL Server login for my database. It has the proper credentials. I see that the installation appears to complete fully, and the database tables and objects all appear to be in place.

My SQL Server is in the same domain as my web server, and SQL Server is using mixed authentication.

I looked at the log table in the database and see this in particular at the beginning of the log, not sure if this may be the root of the problem

2da7b23e-1f81-4f87-9dbc-6e350ef49f6b GENERAL_EXCEPTION 4 NULL NULL NULL NULL 2012-12-13 09:30:07.520
System.Data.SqlClient.SqlException (0x80131904): Cannot insert the value NULL into column 'TabName', table 'DotNetNuke.dbo.Tabs'; column does not allow nulls. INSERT fails.
The statement has been terminated.
The 'AddTab' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead.
at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteScalar()
at PetaPoco.Database.ExecuteScalar[T](String sql, Object[] args)
at DotNetNuke.Data.SqlDataProvider.ExecuteScalar[T](String procedureName, Object[] commandParameters)
at DotNetNuke.Data.DataProvider.AddTabToEnd(TabInfo tab, Int32 createdByUserID)
at DotNetNuke.Entities.Tabs.TabController.AddTabInternal(TabInfo tab, Int32 afterTabId, Int32 beforeTabId, Boolean includeAllTabsModules)
at DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo objTab, Boolean includeAllTabsModules)
at DotNetNuke.Services.Upgrade.Upgrade.AddPage(Int32 portalId, Int32 parentId, String tabName, String description, String tabIconFile, String tabIconFileLarge, Boolean isVisible, TabPermissionCollection permissions, Boolean isAdmin)
at DotNetNuke.Services.Upgrade.Upgrade.AddPage(TabInfo parentTab, String tabName, String description, String tabIconFile, String tabIconFileLarge, Boolean isVisible, TabPermissionCollection permissions, Boolean isAdmin)
at DotNetNuke.Services.Upgrade.Upgrade.AddHostPage(String tabName, String description, String tabIconFile, String tabIconFileLarge, Boolean isVisible)
at DotNetNuke.Providers.FiftyOneClientCapabilityProvider.Components.FeatureController.AddClientResourceAdminHostPage()
at DotNetNuke.Providers.FiftyOneClientCapabilityProvider.Components.FeatureController.UpgradeModule(String version)
at DotNetNuke.Entities.Modules.EventMessageProcessor.UpgradeModule(EventMessage message)
ClientConnectionId:a79e2b4a-853f-419c-9a5e-bae57d441d27
Source NULL 19
 
New Post
12/13/2012 2:40 PM
 
I got a successful install, but I can't point to exactly what finally made it work. I had been changing the "host" account name, website name, and using the blank template. This time I left those settings as their default values and it worked.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...unable to install dnn7 in environment with separate web and sql serversunable to install dnn7 in environment with separate web and sql servers


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out