November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
make sure that you are connected to correct database. You can also check if the db has this sp through sql server managment studio.
Hi Prachi,
I had a similar problem just the other day. I connected to an external database with a database user with limited rights. I don¨t know if this will solve your problem but a gave that user execute rights.
In your SQL manager query windows, try running the following command on master:
GRANT EXECUTE ON [sp_DatabaseVersion] TO [your_EPi_db_user]
There might be a another solution, but this helped me.
Br
Marcello
@Marcello - master does not contain this SP. Cannot find the object 'sp_DatabaseVersion', because it does not exist or you do not have permission.
@Ahsan - Database is not created in this case. In App_Data, mdf file is created but on DB server database is not created.
I think this is happening due to permissions.
Please help.
@Marcello - master does not contain this SP. Cannot find the object 'sp_DatabaseVersion', because it does not exist or you do not have permission.
@Ahsan - Database is not created in this case. In App_Data, mdf file is created but on DB server database is not created.
I think this is happening due to permissions.
Please help.
Hi, have you tried to run Update-EPiDatabase in the package manager with your web-project selected?
If you manually want to recreate the database you can have a look at http://penguinoid.com/?p=308
BR
Marcello
Do you have an episerver database connected to your project? Make sure your connectionstring is using the correct db. When you create a new project in VS you will get a db in the AppData folder.
If you do not have that db or would like to have a db on your sql server, run the install empty db script with EPiServer Deployment Center, then you can connect your solution to that db instead and you should be up and running.
Also make sure your user in connectionstring.config is created and has accessright to read/modify that db. Usually the user is set to owner in the specific DB.
The MDF-file is the database and can be manually exported and setup in a SQL server if you like to. If you look at an ordinary DB in sql server it has two files, one MDF- and one log-file
Hi,
I am following steps mentioned in http://world.episerver.com/Documentation/CMS/Get-started-with-CMS/5-Creating-a-start-page/.
Server Error in '/' Application.Could not find stored procedure 'sp_DatabaseVersion'.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: Could not find stored procedure 'sp_DatabaseVersion'.
Source Error:
Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\91c4c8eb\97de0eb3\App_global.asax.0.cs Line: 0
Stack Trace: