November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
When I create the project, I open Microsoft SQL Server Management Studio and I see a new DB has been created with a strange name (D5A881CC-675D-419B-8B06-ABBE7589470F) and it says that is "Pending to be recovered"
If you open web.config file, and search for connectionStrings, you'll find something like this:
<add name="EPiServerDB" connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|EPiServerDB_69cb2c35.mdf;Initial Catalog=EPiServerDB_69cb2c35;Connection Timeout=60;Integrated Security=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
Database name always starts with EPiServerDB_
In connection string, we have Data Source=(LocalDb)\v11.0
If you open Package Manager Console in Visual Studio and type in sqllocaldb i, you should get a list of all localdb instances.
http://s14.postimg.org/d0f6a8ogx/pmc.png
If you don't find v11.0 in the list, you'll have to install Sql Server LocalDB.
If you do, type sqllocaldb i "v11.0" in Package Manager Console to get more info, and make sure it's running.
It seems I don't have installed the localdb, because sqllocaldb only shows me MSSQLLocalDB not v11.0 like you.
How do I install it?
In Package Manager Console, type sqllocaldb start "v11.0" to run it, and sqllocaldb i "v11.0" to check its state.
Run the project, and that's it :)
Hi everyone, I have a problem when trying to install the Alloy Demo Site whe I create a new Project un Visual Studio.
I have already installed the EPiServer CMS Visual Studio Extension
These are the steps I'm following and the error I get:
VISUAL STUDIO: File -> New -> Project -> Visual C# -> EPiServer Web Site -> ... write names and location ... -> Alloy(MVC)
Name: EPiServerSite1
Location: C:\EPiServer\
Solution Name: EPiServerDemo
When it opens the solution I do Ctrl+F5 to open up the start page in my computer's default browser and the error I get:
TRANSLATION AT THE END OF THE POST
Server Error in '/' Application.
Error relacionado con la red o específico de la instancia mientras se establecía una conexión con el servidor SQL Server. No se encontró el servidor o éste no estaba accesible. Compruebe que el nombre de la instancia es correcto y que SQL Server está configurado para admitir conexiones remotas. (provider: SQL Network Interfaces, error: 50 - Se produjo un error de Local Database Runtime. No se puede crear una instancia automática. Consulte el registro de eventos de la aplicación Windows para ver los detalles del error.
)
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.Data.SqlClient.SqlException: Error relacionado con la red o específico de la instancia mientras se establecía una conexión con el servidor SQL Server. No se encontró el servidor o éste no estaba accesible. Compruebe que el nombre de la instancia es correcto y que SQL Server está configurado para admitir conexiones remotas. (provider: SQL Network Interfaces, error: 50 - Se produjo un error de Local Database Runtime. No se puede crear una instancia automática. Consulte el registro de eventos de la aplicación Windows para ver los detalles del error.
)
Source Error:
Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vs\61295fa2\b7537560\App_global.asax.0.cs Line: 0
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34249
I've tried a lot of things to solve that but I only go to other errors and I don't know what else to do.
I hope someone helps me to find my problem.
Thanks,
Oriol
PS: Error Title is in Spanish (my language) the transation is the following:
Error related to specific network or instance while a connection to SQL Server is established. Server not found or it 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: 50 - Error occurred Local Database Runtime You can not create an automatic instance See the event log from the Windows application to view the error details...