Hi John, Came across this post and realized it was one of the few post I had seen where someone with an extensive knowledge of dnn had address some basic SQL Express questions and in particular, questions concerning the management tool SQL Managment Studio Express. I'm sure there are many folks who originally set up their sites using the free tools provided by MS and encouraged in the DNN documentation. Many development environments probably look very similar to mine: Either Windows Server 2003 or XP Pro
Visual Web Developer
SQL Express 2005
IIS6 Now to the questions and how they relate to this post. I too frequently receive the previously posted error when trying to connect to my db via the database management tool. It happens when I'm trying to attach the db to do a backup or restore operation. I n order to get past the error, I have to do things like kill the worker process associated with either the ASPNET Machine account or Network Service account, depending on what operating system I'm working on at the time. I searched and posted for help on the appropriate forums for these tools but receive no help. I did not intially create an empty db with this tool when I first installed dnn. I also did not have to make any changes to the connection strings in the web.config file and my installation went smoothly. So, I have a db just named database with no username/password info in the connection string. I assume that I can sometimes connect to the db using the management tool only because I set the program up to use windows authentication and not SA. I also assume that VWD connects the same way, through or by windows authentication. I tried to implement your suggestion posted earlier so as to rid myself of this frequent error I receive when trying to attach the db through the management tool but when I change the entry(s)? in my web.config, the site would not load. It wouldn't be such a big deal to have to do things like kill the wp.exe to attach the db if I only did it frequently, but the more I try to customize/personalize my dnn installation I am more and more having to interact with the db. So this error is a real irritant. Her's what I've done so far: Original connection strings:
Modified connection strings in order to change the way SQL sees the db:
Once done, I get the following error: Cannot open database "Database.mdf" requested by the login. The login failed. Login failed for user 'ADM-LTDEVELOP\ASPNET'. What did I do wrong? This is my dev site so it's not urgent. I'm just trying to improve my effeciency with working with dnn and getting rid of this problem would help me with my backup and restore procedures. Long winded I know:-) but I try to be precise in my explanations. Thanks, Paul |