Umbraco 11: works fine on VS but Blank page when deploy
Hi All,
i just try umbraco 11 and install Umbraco Form and everything works fine wehn run via Visual Studio, when i try to depoy on IIS 8.5.9600 i see the blank page (error 500) and i also check MYapp.dll using powershell "dotnet myapp.dll" running without display error, (otherwhise i deploy umbraco 10 in same server and works. )
@mt":"Connection ID \"{ConnectionId}\", Request ID \"{TraceIdentifier}\": An unhandled exception was thrown by the application.","@l":"Error","@x":"Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot open database \"MYDB_11\" requested by the login. The login failed.\r\nLogin failed for user 'IIS APPPOOL\\MyAPPP'.\r\n at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)\r\n at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject,"Connection ID \"{ConnectionId}\", Request ID \"{TraceIdentifier}\": An unhandled exception was thrown by the application.","@l":"Error","@x":"
i using same connection string with my umbraco 10 but different DB
I have the same problem. Connection to SQL server is ok, because I can login into back office local.websiteTest.com/umbraco, but If I open front end local.websiteTest.com - I have blank page.
The same happens if I deploy it to azure.
Umbraco 11: works fine on VS but Blank page when deploy
Hi All, i just try umbraco 11 and install Umbraco Form and everything works fine wehn run via Visual Studio, when i try to depoy on IIS 8.5.9600 i see the blank page (error 500) and i also check MYapp.dll using powershell "dotnet myapp.dll" running without display error, (otherwhise i deploy umbraco 10 in same server and works. )
Regards
Hi,
Anything in logs? Umbraco Logs and IIS logs check please
Hi Alex, Here the Umbraco trace log:
i using same connection string with my umbraco 10 but different DB
i also try add
but still blank page error 500, and on trace log write same error report,
(note: my IIS site binding using IP and port 89 (http://104.x.x.x:89))
Hi,
Try to use some settings from here - https://stackoverflow.com/questions/7698286/login-failed-for-user-iis-apppool-asp-net-v4-0
Hi Yahya,
Does the SQL user definately have permissions on the database? and are they in the db_owner group for that database?
I have the same problem. Connection to SQL server is ok, because I can login into back office local.websiteTest.com/umbraco, but If I open front end local.websiteTest.com - I have blank page. The same happens if I deploy it to azure.
Can you connect to that SQL server using MS SQL Management Studio and the credentials your using above?
is working on a reply...