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 ...MSSQL help needed!MSSQL help needed!
Previous
 
Next
New Post
1/19/2009 7:47 AM
 

Hi,

I am trying to install DNN to our windows reseller package wit Heart Internet.

I cannot install, just keep getting 500 error I have setup a Virtual Directory but still get 500 error.

I cannot view any pages due to this error and I think its due to not connecting to the database which is on another IP.

We have Win 2008 servers with MSSQL -

I have used the below connection details;

    <connectionStrings>
        <!-- Connection String for SQL Server 2005 Express -->
    <add
      name="SiteSqlServer"
      connectionString="Server=79.170.40.192;Database=DNNDB;uid=USER;pwd=PASS;"
      providerName="System.Data.SqlClient" />

    </connectionStrings>
    <appSettings>
        <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules   -->
        <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
       
    <add key="SiteSqlServer" value="Server=79.170.40.192;Database=DNNDB;uid=USER;pwd=PASS;"/>

 

Could anyone help as Ive looked every where and search every item for few days now and cannot get this system working, Im more used to PHP and struggling to install this...please help me! :)
 

 
New Post
1/19/2009 8:33 AM
 

Your primary connection string appears to be correctly written. However, there is an error in the placement of the end comment tag in the legacy connection string. It should be:

<appSettings>
        <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules
        <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/> -->

Are you able to connect to Sql Server using the same IP, username and password in a different client such as SQL Server Management Studio?

The Error 500 (Internal Server Error) is a catch-all one so could have many other causes. My guess is that it is not SQL server related. Are you able to check your server log (or more likely have our host check it for you) to obtain more information?


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/19/2009 9:33 AM
 

Hi thank you for the great fast response, I have just contacted my support for the server log so we can get more information.

I have also downloaded the SQL Server Management Studio but struggling to install it on XP Laptop. Is there any other program windows based I can just use to query the database? or am I getting it totally wrong?

 

 

 

 
New Post
1/19/2009 10:02 AM
 

I have the log here -

 

2009-01-19 12:53:15 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 156
2009-01-19 12:53:17 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 156
2009-01-19 12:53:17 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 187
2009-01-19 12:53:18 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 171
2009-01-19 12:53:18 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 202
2009-01-19 12:53:18 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 171
2009-01-19 12:53:19 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 124
2009-01-19 12:53:19 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 187
2009-01-19 12:53:19 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 202
2009-01-19 12:53:19 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 156
2009-01-19 12:53:20 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 171
2009-01-19 12:53:20 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 140
2009-01-19 12:53:20 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 156
2009-01-19 12:53:20 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 218
2009-01-19 12:53:20 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 124
2009-01-19 12:53:22 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 218
2009-01-19 12:53:22 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 156
2009-01-19 12:53:24 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 140
2009-01-19 12:53:24 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 156
2009-01-19 12:54:22 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 183 1380 156
#Software: Microsoft Internet Information Services 7.0
#Version: 1.0
#Date: 2009-01-19 14:18:39
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status sc-bytes time-taken
2009-01-19 14:18:39 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 13 1380 296
2009-01-19 14:27:09 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 13 1380 218
2009-01-19 14:27:09 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 13 1380 156
2009-01-19 14:27:11 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 13 1380 218
2009-01-19 14:27:11 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 13 1380 187
2009-01-19 14:27:12 79.170.40.234 GET /extranets/ - 80 - 82.20.222.102 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.9.0.5)+Gecko/2008120122+Firefox/3.0.5 - 500 19 13 1380 156

 

I have changed the code to what you specified and still get 500 error, I'm really stuck with this now, cannot seem to get it working or even showing any aps pages or installation or anything!! :(

 

 
New Post
1/19/2009 11:35 AM
 

Ok, We are getting there, I have the 500 error cleared.

I have got to the install page fine but now I am getting this error -

An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

 

I have just put the IP of the MS SQL like -

        <!-- Connection String for SQL Server 2000/2005
    <add
      name="SiteSqlServer"
      connectionString="Server=(79.170.40.192);Database=DotNetNuke;uid=USER;pwd=PASS;"
      providerName="System.Data.SqlClient" />
   -->
    </connectionStrings>
    <appSettings>
        <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules   -->
        <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
        <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules
    <add key="SiteSqlServer" value="Server=(79.170.40.192);Database=DotNetNuke;uid=USER;pwd=PASS;"/>
  ;"/>
    -->

 

Can anyone help?? IM going out my mind!

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...MSSQL help needed!MSSQL help needed!


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