Installation and deployment
Version 3.x > Installation and deployment > can't edit my website View modes: 
User avatar
Member
Member
cherylf-nu-webdesign - 11/18/2008 3:43:55 AM
   
can't edit my website
I have installed kenticoCMS

I have created a new website - when i select edit website i get the following error:

Server Error in '/KenticoCMS' Application.
--------------------------------------------------------------------------------

[DataConnection.ExecuteQuery]: Query: Proc_CMS_SqlResourceManager_SelectResourceTranslations: caused exception: Cannot open database "KenticotestCMS" requested by the login. The login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
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.Exception: [DataConnection.ExecuteQuery]: Query: Proc_CMS_SqlResourceManager_SelectResourceTranslations: caused exception: Cannot open database "KenticotestCMS" requested by the login. The login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[Exception: [DataConnection.ExecuteQuery]: Query: Proc_CMS_SqlResourceManager_SelectResourceTranslations: caused exception: Cannot open database "KenticotestCMS" requested by the login. The login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.]
CMS.DataProviderSQL.DataConnection.ExecuteQuery(String queryText, Object[,] queryParams, QueryTypeEnum queryType) +810
CMS.DataProviderSQL.DataConnection.CMS.IDataConnectionLibrary.IDataConnection.ExecuteQuery(String queryText, Object[,] queryParams, QueryTypeEnum queryType) +12
CMS.SettingsProvider.SqlHelperClass.ExecuteQuery(String queryText, Object[,] queryParams, QueryTypeEnum queryType, IDataConnection conn) +68
CMS.SettingsProvider.SqlHelperClass.ExecuteQuery(String queryText, Object[,] queryParams, QueryTypeEnum queryType) +11
CMS.ResourceManager.SqlResourceManager.LoadStrings() +124
CMS.ResourceManager.SqlResourceManager.ExistTranslation(String stringKey, String cultureCode) +23
CMS.GlobalHelper.ResHelper.GetFileString(String stringName, String culture, String defaultValue) +73
CMS.GlobalHelper.ResHelper.GetString(String stringName, String culture, String defaultValue) +73
CMS.GlobalHelper.ResHelper.Init() +49
CMS.CMSHelper.CMSContext.Init() +5
Global.FirstRequestInitialization(Object sender, EventArgs e) +192
Global.Application_BeginRequest(Object sender, EventArgs e) +37
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434

I am on a deadline as my boss wants to see what kentico has to offer and what it can do - but i have got as far as to installing it -which took me 2 days now i have this problem!

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/18/2008 6:24:54 AM
   
RE:can't edit my website
Hi,

Could you please check the access permissions to the SQL server? It seems that the 'NT AUTHORITY\NETWORK SERVICE' account has not sufficient rights. Could you please try to use the admin account or windows authentication?

Best Regards,
Juraj Ondrus