Please help, I am having loads of problems trying to create a new VS2012 project, I can easily use EPiServer Deployment Center to create a new site and database, no problem, but then I wouldn't be able to easily manage the site with VS.
I am trying to create a new VS2012 Project, following instruction, however installation failed stating it requires IIS Express.(I already have IIS installed, why do I need IIS Express?).
I installed IIS Express, now I am recieving another error related to SQL.
"Error - A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
What excatly you mean by "but then I wouldn't be able to easily manage the site with VS"?
After you create EPiServer sample site (AlloyTech for instance) via Deployment Center on target location is .csproj file.
By opening .csproj file you are pretty at the same stage with managing your project with Visual Studio. You may of course that re-order aa project a bit (for instance, re-reference dependencies via NuGet, etc) but that's up to your subjective taste :)
Second error message is telling you that EPiServer was not able to find or connect to SQL server. You chould check your connectionStrings.config file and verify that configured SQL server exists and mentioned user can login.
I think the EPiServer new project template checks for a SQLExpress named instance or a default named instance. If you have named your database instance to something else, the script won't be able to find it.
You do not need a full version av SQL server to run episerver on your machine, but you can have both sqlexpress and full version at the samte time. So I would sugest you install the express version as well. EPiServer template use the built in iis express to start in when running in vs. You could use ordinary IIS if you like but you have to manually set that after installation.
I you manage to get your tempalte from episerver but it fails on the databse installation you could add a empty database with deployment center as well.
"easily manage the site with VS" as in having the folder and file structure readily available within VS Solution explorer.
I did try to open the.csproj file, however VS2012 states that it does not support the project type.
Thanks, I create a new instace title "SQLExpress"
Thanks @Eric, I thought the installation would have been easier.
Not off to a very good start here.
The project-file that comes with alloy is compatible with vs2012 you just need to upgrade it probably but that is done by vs it self. If you install a site with VS integration you will not get any templates just an empty episerver solution. So if you like to look at code done by others you need to install a site with deployment center.
@Peter what VS version are you using to open project?
@Valdis using VS2012 Pro