I have a web application to mount in the IIS, the question is that when I try to visualize some view that uses data from the BD I showed the error of IIS APPPOOL\Licorera
.
Checking the internet to fix that error was to give the user permission on the application like this:
exec sp_grantlogin 'IIS APPPOOL\Licorera'
use ACME
exec sp_grantdbaccess 'IIS APPPOOL\Licorera'
But now he throws this error to me
Se ha denegado el permiso CREATE TABLE en la base de datos 'ACME'.
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: Se ha denegado el permiso CREATE TABLE en la base de datos 'ACME'.
How can I eliminate or correct this error?
PS: I'm using Windows Authentication, the username is ALPHA-2MYT322 / baker_000 and my connection string in the file Web.Config
is
<connectionStrings>
<add name="ACME" connectionString="data source=ALPHA-2MYT322;initial catalog=ACME;Trusted_Connection=Yes;MultipleActiveResultSets=True;App=EntityFramework;User Id=baker_000;Password= ;" providerName="System.Data.SqlClient" />
<add name="ACME1" connectionString="data source=ALPHA-2MYT322;initial catalog=ACME;Trusted_Connection=Yes;multipleactiveresultsets=True;application name=EntityFramework;User Id=baker_000;Password= ;" providerName="System.Data.SqlClient" />
</connectionStrings>