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 ...DNN 4.3.4 configuration errorDNN 4.3.4 configuration error
Previous
 
Next
New Post
8/10/2006 11:46 AM
 
In the web.config, you need a connection string in BOTH the connection section and the app section.  You don't need to modify development.config because it won't be used.  If your provider is using MS-SQL 2000 then it is the connection string for SQL Server 2005/2005 that should be used, not the one for SQL Express. The connection string for SQL Express should be commented out in both sections -  If your ISP is using SQL 2000, have they created the database for you?  Usually the provider sets it up first and provide you with the necessary info to connect.

Shadow
 
New Post
8/12/2006 2:53 PM
 

I am having the same problem.

NB: Note the last line of the error message - The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist. It is NOT a connection problem!

 
New Post
8/13/2006 4:39 AM
 

Hello joshy06

I have just managed to solve the problem, but I am not sure how this works. Only that it does and the site is now on line, as from an hour ago. Only time will tell if this causes extra problems.

My hosting provider is using MS SQL 2000.  So in my web config file I was commenting out both the connection strings for server SQLExpress. Uncommenting and setting values for MS SQL 2000.  I was very careful not to make a mistake.  But no matter how often I checked and re checked it just would not work and I was getting the same error.

'dbo.GetPortalAliasByPortalID' doesn't exist.

I have been trying for several days trying to install, without success.

Below is a section of my working web config file.  I deleted one of the connection strings for SQLEXpress:

DELETED (<add name="SiteSqlServer"  SQLEXORESS)

Set the values for SQL2000 the XXX represent my sql 2000 DB settings and left the rest as default.

<connectionStrings>

<add name="SiteSqlServer" connectionString="Server=XXXXXXX;Database=XXXXXX;uid=XXXXXX;pwd=XXXXX;" providerName="System.Data.SqlClient" />

</connectionStrings>

I left the appSettings as default.

<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=(local);Database=DotNetNuke;uid=;pwd=;"/>

-->

The only other thing I changed was: from "RemoteOnly" to "Off"

<!-- permits errors to be displayed for remote clients -->

<customErrors mode="RemoteOnly" />

I am not a developer so I am not suggesting or recommending that you use this method, maybe it's a fluke, but it works for me, after days and days of maddening frustration.

However, I would be interested in the results if you do try it out yourself.

Thanks


www.seemalta.net
 
New Post
11/6/2006 12:34 PM
 
Your hosting provider may not grant role 'db_owner' to the user login you have created. So, you may try editing another spot within your web.config file. Look for this about 80% towards the end of the file:


"

defaultProvider="SqlDataProvider">


name="SqlDataProvider"
type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider"
connectionStringName="SiteSqlServer"
upgradeConnectionString=""
providerPath="~\Providers\DataProviders\SqlDataProvider\"
objectQualifier=""
databaseOwner="dbo"/>



"

change the
databaseOwner="dbo"/>
to
databaseOwner="[YourCreatedLoginName]"/>

e.g. if your login was called "mydblogin"

it would need to read
databaseOwner="mydblogin"/>

Maybe this will help.... :)

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 4.3.4 configuration errorDNN 4.3.4 configuration error


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