CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.getting_started Tags:
Item Type: NewsGroup Date Entered: 1/6/2005 9:23:07 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 9 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
AshDando
Asp.Net User
New to DNN, am getting SQL errors1/6/2005 9:23:07 PM

0/0

Hi,

I'm fairly new to this. I've got that dreaded error when I try to browse to my newly installed DNN installation by using http://localhost .... here's what the error says:

DotNetNuke Upgrade Error
The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )

ERROR: Could not connect to database specified in connectionString for SqlDataProvider

I had this error with both DNN 2.1.2 and just tried DNN 3.0.8 and no change. Here's my 3.x config file (I've only included the stuff that relates to the SQL data connection):

<appSettings>
<add key="SiteSqlServer" value="Server=cops;Database=DotNetNuke;uid=dnn;pwd=dnn;" />
<add key="MachineValidationKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902" />
<add key="MachineDecryptionKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC" />
<add key="MachineValidationMode" value="SHA1" />
<add key="InstallTemplate" value="DotNetNuke.install" />
</appSettings>

For Server= I have tried "localhost", "(Local)", "cops" (the machine name), and even its IP address. I've even tried putting in a machine name that doesn't exist - "blarg" !! But noooo, it makes no difference. I am running this all on Windows 2003 Server, with IIS6 and SQL Server 2k SP3 (official product name & version is MS Sql Server Standard Edition, version 8.00.194).

I have followed the instructions to the letter - regarding permissions for the ASPNET and "NETWORK SERVICE" accounts having full file/folder permissions. I've even given the aforementioned two user accounts dbowner permissions in my SQL database. I've tried creating various different SQL databases, different uid's and pwds, etc etc.

What strikes me as odd is that even when I put in a totally fake server name into the web.config file, it still gave the same error.

HELP!!! I have a little IIS experience and very little SQL experience but believe me, I've searched and searched the net and tried to find out as much as I could before posting here - I'm at my wit's end! Any help would be SO MUCH appreciated.

Thanks in advance,

Ashley Dando
Geert
Asp.Net User
Re: New to DNN, am getting SQL errors1/6/2005 10:01:42 PM

0/0

Are you sure the user 'dnn' with password 'dnn' exist in your database and has access to the DotNetNuke database that you have created ?

You could try connecting to the database with another tool first to see if the database is not your problem.

I myself am using EMS MS SQL Manager for this.

http://www.sqlmanager.net/products/mssql/manager


Geert Veenstra
AshDando
Asp.Net User
Re: New to DNN, am getting SQL errors1/7/2005 12:10:47 AM

0/0

Hey Geert,

Thanks for your suggestion! I downloaded a trial of EMS MS SQL Manager and I think we may be narrowing down the problem! I went to register a database.... typed in "localhost", switched to SQL authentication and entered "test" and "test" which are the username/password I created (along with some others - "dnn", pw "dnn"). None of them work when I try to click the dropdown box to select my database - I get the following error message:

Login failed for user 'test'. Reason: Not associated with a trusted SQL Server connection

If I switch back to Windows Authentication it works fine. I presume that's because I'm logged into the box (locally) as Administrator? Note: I'm not too well-versed in using SQL Server so maybe I set up my database(s) and/or user(s) wrong?

Any suggestions?

thanks in advance!

Ashley
AshDando
Asp.Net User
Re: New to DNN, am getting SQL errors1/7/2005 12:56:07 AM

0/0

Geert,

I GOT IT WORKING!!! The short answer: In Enterprise Manager, Right click on the server, click Security tab, select under Authentication "SQL Server and Windows". I had tried a few times earlier today to select that radio button, and every time I clicked OK, it would close out of the screen, and the next time I went back in there, the setting would have reverted to Windows Authentication. This time around, when I changed it, it said "This will be saved, but you have to restart the server" - which it never said before when I'd tried all those times. Weird huh?

I deleted all my databases, deleted all the extraneous user accounts I'd created, then shut down SQL Server, restarted it, created a DotNetNuke database, created a user account with dbowner permissions, did the above-mentioned change to both authentication types, updated web.config, and voila, it runs.

Thanks for the hint about EMS - it gave me the ability to test my connection and get meaningful error messages. <sigh> I started working on this problem at 4:30pm and it's now 1am. I am very tired but satisfied to have beaten it - I couldn't go to bed defeated!

Geert thanks once again for your help - your answers lead me down the trail which caused me to stumble on another forum article (when I searched in Google for the "Not associated with a trusted SQL" error message) which caused me to try the above mentioned authentication setting. To be honest, I still don't understand the whole authentication thing, but at least it's working now.

thanks again

Ashley
mikebeau
Asp.Net User
Re: New to DNN, am getting SQL errors1/11/2005 2:10:48 AM

0/0

I'm having the same problems, but my SQL server is on a separate machine. It does allow both authentication methods, but I still can't get it going at all. Does DNN need to have the SQL server running on the web server box?
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Venexus DotNetNuke Blog - DotNetNuke Errors Wow, we can't even keep up with all of the new releases of DotNetNuke lately. ..... I am getting the following error randomly on a localhost install of DNN ...
Install DNN 4.0 with SQL Express 2005 - ASP.NET Forums Most probably you’ll get 45 Errors as shown below. ..... Am attempting to installing DNN 4.0.2 and have SQL Server 2005 on my local machine. ...
Moving Database to a new server - Install It! - DotNetNuke I am trying to move my DNN SQL database to a new database server and I am getting a connection error. The exact error I get is "Invalid ...
DotNetNuke > Community > Blogs I am getting errors trying to connect to the SQL server on my notebook. ... Error: What's New is currently unavailable. DotNetNuke.Services. ...
Fixing DNN Errors that are Related to Search Scheduler > Mitchel's ... When the installer loads a new module to a DNN site it checks for the ... I ran the query from Host > SQL .. now what concerns me is that I haven't had any ...
Moving DNN Installation to another server - XD Design - Nina's ... I am following all the necessary steps but I am getting this error again and ... If you can connect then try either of the dnn sql connections. one is q ...
I have Pdf reports and I am getting errors > Forums | Beldin ... Jul 31, 2007 ... it says I am getting a connection error. can you give me example of what ... DNN .Modules.PdfReports.View.tmplQuestion_ReportClicked(Object ...
How to setup DotNetNuke with SQL Server - JodoHost Forums I'm having a nightmarish time trying to setup DotNetNuke with SQL Server. I keep getting insufficient permissions errors and application ...
C# .NET Build Errors in a DotNetNuke, C# project with VS Net and the DotNetNuke application. I am very new to DotNetNuke and programming in C#. I am getting the following build errors. ...
Opt In Email W/ Dynamic Registration > DotNetNuke Module Product ... I am getting still getting the "Unable to load Opt In Email Categories. ... I am not versed in SQL and a newbie to DNN. ...




Search This Site:










problem with autocomplete feature of intellisense

on usercontrol addition to a webpartzone...

best practice for hashed password recovery

help!!! orcas beta 2 freezes when changing to design mode

design layout using vs 2005 is a nightmare

sql

asp.net web dialog using c#

retain viewstate for linkbutton control

treeview display problems .. nodes not aligned

security

noobie needs help....

treeview expanddepth property causes visual studio to throw a jscript error

a link to a css file for my container that shouldn't exist

master and slave menu controls

finally my pws is working

bad data error on v3.2

asp.net changes its windowsidentity

getting custom iprincipal etc nicely

user logins

error with private assemblies

no access to anonymous users help

solpartmenu problem with ie

load user control from ddn core into customized module

in global.asax, the request object is not available

caching node image of a treeview in asp .net 2

custom treeview

combining access control and partial download in asp.net 2.0

urgent help needed! system unstable!

how can i make autopostback to false of treeview in asp.net 2.0

content migration from reddot

 
All Times Are GMT