.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

Migrating an Orchard site from SqlCe to Sql Express using WebMatrix

Posted By: Bertrand Le Roy     Posted Date: April 14, 2011    Points: 0   Category :ASP.Net

In this short video, I show how to use WebMatrix to migrate an Orchard site from using the file-based SqlCe to a SQL Express database.

View Complete Post

More Related Resource Links

Visual Web Developer 2010 Express "Copy Web Site" using different login


I created a site and am trying to grant another pesron access to upload changes to it without giving them my super-user login.

I made a login for her but I can't test whether it works or not because no matter how much I "disconnect" in the Copy Web Site page of VWD 2010, reconnecting to the same site always logs in as my superuser account without prompting me for a login again.

How do I test is the account it set up correctly before having her try to upload to it?    I want to force the login to remote site dialog to pop up again to test her account.

Any ideas?

Migrating changes from the Development to Production Site (SP2010, SPD and Visual Studio 2010)

Trying to find the best (least error-prone) approach to updating a live site containing content (based Documents and Tasks mainly) with changes. This got to be a common issue - a Development environment containing new features needs to be migrated over to production but the existing data and workflows with the associated tasks should be preserved. I found this thread http://social.msdn.microsoft.com/forums/en-us/sharepointdevelopment/thread/2C524797-9737-4D11-BE19-3E407C5C83CE which seems to provide a rather negative take on a tool-based approach but it's for older Sharepoint. Anything improved since then?

Purpose of initial "site" in SharePoint Server 2010 Express Install

I’m installing Search Server 2010 Express using “Farm” mode. After the SharePoint Configuration Wizard completes, and selecting  the SharePoint config wizard, one needs to create a website. What is that site intended for? Is it for the Search Center itself? (If so, then I better select the Enterprise – “Basic Search Center" template. If it is intended for a "normal" top level site, then I will create a new Search site in its own web app). TIA, Barkingdog  

Can't add ASPNETDB.MDF to ASP.NET 4 Web Site project [SQL Server 2008 R2 Express]

I'm using SQL Server 2008 R2 Express and try to add ASPNETDB.mdf database to my web site project. However, the following message appears: "Connections to SQL Server database files (.mdf) require SQL Server 2005 Express or SQL Server 2008 Express to be installed and running on the local computer. The current version of SQL Server Express can be downloaded at the following URL: http://go.microsoft.com/fwlink/?LinkId=125883". In spite of this message, however, database appears in App_Data folder. What is wrong?

Publish and test a WebMatrix web site using a Local Windows Server 2008


I am new to ASP.NET as well as to WebMatrix Beta Razor language.

I am trying to publish and test a Web Site from WebMatrix Beta IDE to a local Virtual Windows Server 2008 IIS Server.

I did install SQL Server Express 2008 R2 at my local Virtual Windows Server 2008 (using Web Matrix Microsoft Web Platform).

Everything works fine till I add a database table to my WebMatrix site.

When I add a database table and Publish to local Virtual Windows Server 2008 IIS Server my WebMatrix IDE

closes unexpectedlly without any error message.

Running my Web Site using WebMatrix IISExpress works fine.

Any help will be very appreciated... 

Just an annoying detail with VWD 2010 Express - Web site not showing in Recent Projects list


This is a really minor, annoying problem, but if anyone has an easy answer, I'd love to know it.

I'm pretty much a newbie and have been using Visual Web Developer for about a year.  I've switched to using VWD 2010 Express this year when I upgraded to Windows 7.  Almost all of the websites that I've created show up on the Start Page in the Recent Projects section -- except for one!  I can go to "Open Web Site" and find it, but it never appears in the Recent Projects.  This is one that I'd love to put a pushpin in (one of my favorite features!), but I can't figure out why it won't show up. 


Any ideas?

Testing Emails Sending (SMTP) under IIS7 Express (WebMatrix)


Hi there,

I don't have web server account yet so I must test my applications with the Web Development Server under VS 2010 with C# but I read that I couldn't send emails under that server but I also read that I can send email with IIS7 Express and that's the main reason why I've install Webmatrix. Maybe someone can confirm this.

So for the moment I am redirecting my emails into a local folder and it is working perfectly.

Here is part of the code I've add to the Web.Config for doing that.

      <smtp deliveryMethod="SpecifiedPickupDirectory">
        <specifiedPickupDirectory pickupDirectoryLocation="D:\Temp"/>


As you can see I am redirecting the emails to the D:\temp

The following code for sending emails comes 
from the videos of JOE STAGNER at Microsoft
but beware there is a few typing errors in 
his video like missing > " 


Migrating a site collection to a subsite


We currently have a Site Collection in place on one of our servers which is simply the equivalent content of a subsite (i.e. there are no subsites below it).  Since the structure of our new SharePoint installation makes more sense now, we would like to migrate the content of our old Sharepoint Site Collection as a subsite of our new SharePoint installation.  Is there a way to accomplish this without writing custom code?


Migrating WSS and Moss to same site


I am having 2 servers one wss is installed at it,the other mos 2007 is installed at it,I intend to migrate to sharepoint 2010 at a new server

cant I migrate the wss and the moss to the same web application as I dont want the user to open the migrated wss site at i.e (http://intranet),then open the moss site at (http://intranet:115)    

I want the wss site and the moss site to migrated as subsites under same parent site

Migrating Custom Site Definition to SharePoint 2010: Do i need to make any changes to existing site



I am migrating from SharePoint 2007 to Sharepoint 2010.

We hae 2 custom workflows to be migrated.I have deployed the respective wsp which were used in Sharepoint 2007 site.But it did not help and i got errors.

Do i need to change my site definiton or my wso before deploying the same to Sharepoint 2010


Ram kiran

Issues while running web site created with WebMatrix



Recently I downloaded WebMatrix using Microsoft Web Platform installer on my Windows 7 (32 bit).

The installation went fine and I choose ASP.NET Web Matrix as the web server during installation.

After the installation was completed, I created a new site and viewed it in browswer but my IE8 did not show the page, instead it was showing "Diagnose Connection problem" screen.

When I viewed the site in VWD 2010 by clicking "Launch VWD 2010" button, the site opened in VWD2010 and run properly.

I could not figure out what is the issue. Can any one please help me in this? 

How to delete unnecessary files from my site using WebMatrix?


I have published my site using WebMatrix.

In my local folder on my PC I've deleted some unnecessary files.

And then published the updated site again.

WebMaxtrix never give any indication it is going to delete files that are not found in an UPDATED published site.

When browsing to my site and requesing the-supposed-to-be-deleted resources I still get them in my browser.


Thanks for any help

Migrating Site Definition from SP 2007 to SP 2010


I am trying to migrate 2007 site definitoin into sharepoint 2010 and for that i am creating a new "site defintion" project in visual studio. my site definition has some listtemplates defined in the onet.xml which requires that the schema.xml and other artifacts be defined in a "lists" folder inside my site definition's lists folder.

Now, if i want to add lists folder, do i need to add the folder direcly by going to "add > new folder" or visual studio provides some item type for that? by itemtype i mean something similar to "site definition" type in visual studio.

Any pointers will be appreciated!

question about using SQL Server 2008 Express R2 for my web site


Hi guys,

I was wondering a few things.  I have since become exposed to the wonderful technology that you provide through SQL Server 2008 Express R2, and I use it as a development device on my laptop, but I hope to actually use it when I host my own web site someday until I (if I need it), buy SQL Server 2008 web edition.  What I want to know is, one, applications that support SQL Server express R2, do they work efficiently, and two, 10 GB seems like a lot of space for such a small community as mine is right now.  Will SQL Server either Express R2 or compact edition 2008 work in a small production environment?  Can I use multiple databases on the same application if I need to?  Thanks so much for any feedback you can offer, and I look forward to discussing this further. 

Many thanks,


migrating list to another list in different site


Good Day,

I have two lists in two different sp sites (wss 3.0).  They need to be merged together; at the moment they do not have the exact same columns, but list1 can be changed to match list2.  I need to move list1 into list2.  All of the rows also have a document associated with them.

What I planned to do was move the documents over with explorer view or SP Designer and then move the associated rows over with the data view in the list after I changed the rows to match.  Similar to what is described here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/e6f5844f-7051-424f-ad5d-538739dc910c).  However I am not able to create a new row, I have the option to create a new row but one does not get created.

I can save the list as a template, but I cannot save the content with it because it exceeds the size limitations.

If someone has a better way to do this I am all ears.  Also side note the sites are on the same web app, and same content database.


wss 3.0 | sql 2005

There is nothing more difficult to take in hand, more perilous to conduct or more uncertain in its success than to take the lead in the introduction of a new order

SqlCe deployment - using Installshield express


ErikEj provided the answer as to what is required for a deployment to work with private assemblies for SqlCe

However when I attempt to use InstallShield express I cannot get the InstallShield deployment project to emit an exe that creates the required sub folders containing x86 and amd64 dlls.

When a sub folder is specified for the install folder an msi that does not work is emitted

Could anyone helf out there....


Migrating from Windows Internal Database to SQL Server Express 2008 r2


What's the best way to migrate my existing Windows Internal Database to SQL Server Express 2008 r2? I see tutorials for 2005 are the steps any different?


2005 Tutorial

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend