You need to Register for free and Login to post a message in the forum.

Forum

Subject: SQL 2005 Express prb
Prev Next
You are not authorized to post a reply.

Author Messages
scisoft
Nuke Newbie
Nuke Newbie
Posts:2

16 Feb 2007 12:31 AM  

I need a bit of kindergarten-level help here - I'm stumped. Here's a long-winded history.

I'm only at DNN design and staging, using SQL Server 2005 Express and DNN 4.4.1. I am using a purely local situation, on Windows XP SP2, .NET Framework 2.0, all patches applied to Windows, to .NET, to IE6, to SQL Server 2005 Express, etc. The computer name is XPPRO

I got it working, installed and activated a few modules, made a couple of pages, etc -

then experienced a series of errors (all slightly different, but essentially to do with connection string or inability to connect to the database) a couple of hours later, after doing something rather silly.

Silly thing:

  • DNN portal not active. No browser active, no IIS or SQL tools active.
  • With the 2 files in place ( c:\dotnetnuke\App_Data\ ) I used SQL Server 2005 Express Management Studio to attach the Database.mdf (and its log).
  • In Management Studio, I did see that the database was marked as "In (??something)" in the right-hand pane. Obviously not a healthy state, I thought.
  • Decided to just detach, quit Management Studio. ie, no actions done on any tables (not even a query).

Started up DNN with IE6 browser htpp://localhost\dotnetnuke

Result: DNN doesn't load, shows Server error - (?401) - can't connect to database (sorry, didn't preserve or remember this one).

After the first error, I checked database.mdf, database_log.ldf and noticed that they both have the same file time (11:26AM). So, I copied the 2 files to another location. 

I had quit DNN, so then zipped up the 2 files and copied the ZIP to another machine (XP120) where I was able to attach and view the database with SQL Server 2005 Express (Management Studio) without problems. That is, the database files aren't damaged.

More recently, errors like this:

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

ERROR: Could not connect to database.

Cannot open user default database. Login failed. Login failed for user 'XPPRO\ASPNET'.

It's likely that at some time I also changed folder permissions on C:\dotnetnuke\ - that might be my problem. I'm not sure.

What I do see now, in the original location, is that the .mdf file time is several hours later than the log file (which is still at 11:26AM).

Should I move or delete the log file perhaps? Or is this a problem with folder permissions? I have permissions very lax at present (so I can't see that would be a problem).

You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > SQL 2005 Express prb



ActiveForums 3.7

Latest Forum Posts

Web.config Error by derpir
HelloI got this error, does this seem familiar to you? Can anyone say how to fix this error?Error 98...
No Access for me too by ristori
I suscribe for the magazine novembre 2008 13. I receive this ticket from Paypal : Prix de l...
How can I list our offices by country by bluehoops
Hi everyone!Apologies if this is a simple question, but it is driving me nuts.I run a small ISV and ...
RE: DNN Creative vs FireFoX V3 by DavidWSnow
It now looks like the error'ing extension is StumbleUpon and it effects FireFox on some, but not all...
Issue 39 Authentication by DavidWSnow
I was glad to see you address this topic. When LiveId was first added to DNN, I tried to implement i...
RE: (catalook) Itempane changes on product pages ?? by Vilaplana
Hi, I think the problem is been caused by your skin and not by Catalook itself.  In the main page, C...
Yahoo Answers by cdtguru
Hey, i was wondering if anyone knew of a module that would create a similar system to Yahoo Answers...
(catalook) Itempane changes on product pages ?? by Gaz35
Hi , hi , I don’t know if you can help me , here is the site in question http...
RE: Virtual Pc 2007 help by jeff@zina.com
You need to get the Virtual PC's network set up.  Might check the Virtual PC news group: http://www...
DNNCreative Just Keeps Getting Better by jeff@zina.com
Kudos on issue 39, the article on importing large quantities of data was both timely for me and spot...
RE: Videos by clippy
Hello from France My question is about the videos for beginners, and specially n° 3; I'm working...
skinning trouble by derpir
HelloI have uploaded a skin to my DNN-website, but I want to make som changes. I have made some chan...
RE: Column width in UDT by VickySwift
In case anyone else is looking for the answer to this, I have been able to add the headers back in b...
RE: search not working by jncraig
Did you either reindex the site to turn on the scheduled task to do it?
RE: Template Issue by jncraig
No, you need to install your custom modules before you use the template.
RE: error message in registration page by jncraig
I'm not sure that you can avoid them, short of rewriting the module.You might want to investigate Dy...
Template Issue by Bobbyjosephg
Hi,   Today I have come up with a problem with templates.I was successful in exporting a template an...
RE: search not working by sanju_k1421
I checked     host==>admin search  page   that is set both limits min //max  page     still i m n...
RE: error message in registration page by coder247
but how do I avoid the error messages provided by default in dnn?
RE: Style sheet does nothing by andorz
Oh. I was told to do that in my thread at the dotnetnuke.com forum. http://www.dotnetnuke.com/Commun...
DotNetNuke Modules
RSS Feeds