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

Forum

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

Author Messages
datamark

Posts:10

03 Jul 2007 2:36 PM  
Hi Lee and other forum readers,

I've been watching the videos from magazine issue 22 on making a local copy of the DNN installation. That is some good work there Lee. Just what I am needing to understand right now! My question is, my shared host is running SQL server 2000 and I have installed SQL Server 2005 Express on my local server. I want to make a working copy of their DB on my network. Will there be extra steps to go from 2000 to 2005?

I have SQL Server 2000 installation disks, and another computer available. Would it be better to get that running instead so I don't have any conversion issues? (Id rather not, but I can if I must)

Thanks is advance!
ihostasp
Nuke Newbie
Nuke Newbie
Posts:6

03 Jul 2007 4:24 PM  

Hi Datamark,

From my experience working with SQL Management Studio Express, there shouldn't be any extra steps. SQL 2005 is backwards compatible with SQL 2000. I use SQL Management Studio Express to access SQL 2000 and 2005 databases on our servers all the time. It is also possible to restore a SQL 2000 backup copy into a SQL 2005 database.




IHOST, LLC Logo

Hosting Support Specialist
IHOST, LLC
www.ihostasp.net
Local/International: 1.440.377.9913
Toll-free: 1.800.593.0238
jncraig
Nuke Master II
Nuke Master II
Posts:2034

03 Jul 2007 7:42 PM  
While you can restore at 2000 backup into 2005, going in the other direction isn't possible. So, if you intend to try to move databases in both directions, you'll want to install SQL Server 2000 on your local machine, or at least use one.

Remember, too, that you don't have to have the SQL Server on your local machine. If you have access to the SQL server on your "live" machine you could install a live database and a test database. You just change your connection string to connect the local DNN installation to the remote "testing" database.

Joe Craig
DNN Creative Support
Subscribe to the website
leesykes

Posts:3004

04 Jul 2007 1:55 PM  
Hello,

I would recommend you check out virtual PC - it's free and it's recently completely transformed the way I work. This will allow you to set up a virtual environment with SQL Server 2000 and it won't interfere with your current installation, I highly recommend you take the time to check it out. Thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
datamark

Posts:10

05 Jul 2007 9:03 AM  

3 very helpful replies! Thank you all for your time. I know it is precious. 

ihostasp, I was using an old copy of Enterprise Manager to get into the old SQL Server 2000 databases. I hadn't even tried to use the SQL MSE to do it. Thanks for that tip.

jncraig, your idea of having the live and test databases on the same SQL Server 2000 installation is a great solution for testing and for recovering from problems with the live database, however one of my goals is to get a copy of everything working on my local server so that in case the host goes down, or cuts me off for who knows what reason, I'm prepared with copies of the whole deal and can recover it all to another host ASAP. Still, I just might use your suggestion for it's obvious benefits.

Lee, intriguing suggestion. Are you suggesting I run a VPC on my PC, not my server, and have SQL Server 2000 running on there? I'd be very interested to hear how else you are using Virtuap PC to your advantage. I have it installed and I have successfully installed Win XP in a VPC. But I have not activly used the VPC so far. I have a dual boot PC here. WinXP and Vista. What I was trying to do was to restore an image of the the WinXP installation into the Windows Vista hosted Virtual PC. So Vista is the host, XP is in a VPC. Then I think I would remove the original XP installation from the PC. That way I'd have both OS's running concurrently instead of one at a time.  Did you do a restore into your VPC or did you install an OS from scratch? Thanks for time Lee. I love your tutorials. You have a gift.

-datamark 

leesykes

Posts:3004

06 Jul 2007 10:42 AM  
Yes a VPC on your PC. I installed an OS from scratch. - It's very useful for testing in a variety of browsers etc. - You can have different versions of IE in various VPCs for testing.

I have several VPCs setup and each is set for different tasks, ie. tutorials with VWD express etc., a separate FTP VPC etc.

I resorted to doing this after having backups of all my data and suffering from a couple of big hardware failures. - I can recover the data, but I can't recover the hours of setup time of various programmes etc.

This way if I have a hardware failure I can just move the VPC to another computer and be up and running in minutes without worrying about configuring windows, drivers and programmes for new hardware.

If I am away, I also move VPCs to a laptop so that I can work using the exact setup of my main computer.

Hope this gives you an idea of what I use it for, cheers,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
datamark

Posts:10

06 Jul 2007 10:49 AM  
Thanks Lee!
jcaracci
Nuke Newbie
Nuke Newbie
Posts:3

25 Apr 2008 10:28 PM  
Hi Lee,

I have been a subscriber to your videos, and wanted to say that they have been very useful. Thank you for providing a valuable product to the DNN Community. I have been reading through the forums looking for assistance in moving from a MSSQL 2000 - 2005 enviroment, and have created then restored a 2000 backup in 2005. I then have copied over my files, updated the web.config, etc. and have been getting this error:

--------------------------------------------------------------------------------
Invalid access to memory location. (Exception from HRESULT: 0x800703E6)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.BadImageFormatException: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[BadImageFormatException: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly.Load(String assemblyString) +25
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32

[ConfigurationErrorsException: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +211
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +46
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +185
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +350
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +378

[HttpException (0x80004005): Invalid access to memory location. (Exception from HRESULT: 0x800703E6)]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +644

[HttpException (0x80004005): Invalid access to memory location. (Exception from HRESULT: 0x800703E6)]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465427
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +279



Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
--------------------------------------------------------------------------------


Any ideas as to how to resolve this issue?

Thanks,
Joe
ttrivedi
Nuke Newbie
Nuke Newbie
Posts:2

28 Apr 2008 12:32 AM  
 hi lee,

as per my practices, in sql server 2000 and sql server 2005 express or developer enterprise edtion, sql server 2005 is backward compitatable. so you can restore backup of sql server 2000 database to sql server 2005 or directly attach the mdf and ldf file also. so u don't need to follow any extra step for that
leesykes

Posts:3004

28 Apr 2008 5:59 AM  
Hi Joe,

I'm unsure how to fix that error, I have not come across a memory error before, have you had any luck yet finding the problem?

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
jcaracci
Nuke Newbie
Nuke Newbie
Posts:3

28 Apr 2008 9:10 AM  
Hi Lee,

Thanks for taking a look. I have not found the solution yet. I was able to move some other DNN sites without a problem. I am going to try removing some modules and see if that helps. I will post to the forum if I get it to work or ca figure out what the error is.

The site is a few modules, some text, etc. My Plan B, which might be quicker, is to restore the site on the old server, and then set up a new instance of DNN and just copy over the text and modules, etc.

Thanks again,
Joe
luckydogsystems
Nuke Newbie
Nuke Newbie
Posts:1

13 Aug 2008 1:35 PM  

Hi Joe,

I'm getting the same error having copied one of my DNN portals from my PC to my laptop - which I've done dozens of times before.

Now, I'm getting this error and can't figure out why.

jcaracci
Nuke Newbie
Nuke Newbie
Posts:3

13 Aug 2008 2:39 PM  
I wish I had better news...but I was unable to figure out what caused this error and ended up having to rebuild the site from scratch.

The only advice I can think of is to make sure you are upgraded to DNN 4.8.4 and that the version of ASP.NET is exactly the same on both computers.

Good Luck, I can empathize with you on this one.

Joe
You are not authorized to post a reply.
Forums > Users Lounge > DNN Creative Articles > SQL 2000 - SQL 2005 Express ?



ActiveForums 3.7

Latest Forum Posts

Backup Live Website without control panel? by ollep
We are hosting with Re-Invent.com, a DNN host that doesn’t allow Control Panel access. We are ther...
RE: Keep Testing Skins by ollep
Hi Slowly sorting it out. www.goldcoastwebwiz.com/dotnetnuke/q1 The logo position is OK. B...
RE: Keep Testing Skins by ollep
Some details re Logo possition: HTML:div class="header">p>[LOGO]p>div>Found possitioning in "index_...
Pathing issues after setting up a domain name by harlowj
I had a site configured here: http://www.autorotate.com/portal/chl (all works good)I then decided to...
RE: Keep Testing Skins by ollep
Hi Lee – and Joe   I’m Using DNN 4.5.5   I just installed Summer Breeze Skin and Template, and a...
RE: DNN - web services not working by jncraig
Do your web services have their own config files? Are they located in actual directories below the ...
RE: Installation on Vista by jncraig
You install Visual Studio according to the installation instructions. Once installed, you can "open...
Installation on Vista by jesp17
I followed the how to install DNN to Vista, but what I miss is the intallation of visual studio. Can...
RE: Building a website with DNN by freedom22
Hi Lee, Thanks for getting back to me. I understand now what you are saying, but I am still confuse...
RE: How to limit access to the admin menu.... by tallorder
Hi Lee Unfortunately I can't see how it works in reverse because the original process involved movi...
RE: Building a website with DNN by leesykes
Hello,Those classes refer to the menu, and therefore will not be specified in your skin.htm file as ...
RE: [HOUSEMENU] token not working by leesykes
Glad you sorted it, thanks,
RE: [HOUSEMENU] token not working by whred5
OK I fixed myself after googling the problem. If anyone else comes across this situation you need t...
DNN - web services not working by paulrobinson
Good Afternoon,Please help.  I have just installed my DNN web site to my dedicated live host machine...
[HOUSEMENU] token not working by whred5
HiI have been playing around with the Lazy_Days skin in an effort to learn css based skinning, I hav...
RE: Building a website with DNN by freedom22
Lee or Joe, I meant that the skin.css file I downloaded has classes like .main_dnnmenu_item td w...
RE: Building a website with DNN by freedom22
Lee, thanks for your reply. I did find the files. I am going through your tutorail, and in video7...
RE: page publish date by leesykes
I would suggest you view these tutorials:User Accounts new features User Accounts and User Settings ...
RE: page publish date by jncraig
I'm not quite sure that I understand you, but ... on the user accounts page there are these options:...
RE: Best so far for me by jncraig
I like the Snapsis CSS Nav Menu. You'll find it at Snapsis.com.
DotNetNuke Modules
RSS Feeds