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 ...Change in connection strings?Change in connection strings?
Previous
 
Next
New Post
3/24/2009 10:47 AM
 

can someone tell me what the proper connection string for 4.9.2 is?

 the listed strings in the 4.9.1 and 4.5.5 release.config are
 <!-- Connection String for SQL Server 2000/2005   -->
    <add
      name="SiteSqlServer"
      connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;"
      providerName="System.Data.SqlClient" />
 

I am using (in a 4.5.5 install that is currently in production)
     <add
      name="SiteSqlServer"
   connectionString="
Data Source=172.21.1.13;
Initial Catalog=dbname;
User ID=dbusername;
Password=dbpassword"
   providerName="System.Data.SqlClient" />

I found instructions on installation that still refer to the old strings as correct.

I have tried both and neither is working and I am only getting the error message:

Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
(tried setting the customErrors tag but the results do not change)

 
New Post
3/24/2009 12:39 PM
 

please make sure to keep the connection strings in your web.config (and both identically!!)

There are a number of other attributes, which need to be maintained, please see this check list.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/24/2009 12:47 PM
 

Hello guys, Ive got the exact same error on version 04.09.00. My connection string looks identical. I tried to follow that list Sebastian gave. However I am unable to stop or start the IIS service as I am on a shared hosting server.... Any sugestions on how to get the service to restart?

Thank you,

Jacob Bushnell


www.watchidaho.net - live web cams in Idaho
 
New Post
3/24/2009 12:52 PM
 

you can easily restart your application by saving (or re-uploading) unchanged web.config file.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/24/2009 12:53 PM
 

Hi Sebastian,

I can see that I wasn't very clear on my initial post; I am doing a fresh install of dnn 4.9.2 on IIS 6.0, (a new virtual server instance there as well).

I tried the connection string syntax in the release.config file that came with 4.9.2 zip but got the install error, and as far as I could tell nothing happened in the db (my sql server is a second machine). So I tried the syntax for the connection string from my current working installation of DNN. That did not work either.

and I can not get the change for getting error messages to work either. I make the change but the error message remains the same.

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Change in connection strings?Change in connection strings?


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