mhchew
-
3/20/2006 10:58:16 AM
Error: Object reference not set to an instance of an object
Hi, I have created a SQL Database called kenticocms with login user sa, and it work perfectly everything. Later I decided to create another user called demo1 which share the same database Kenticocms. I use SQL Enterprise manage to create the login demo1, and assign Kenticocms database to it with db_owner. Than what I did is I edit the web.config and delete the addkey (add key="CMSConnectionString"). So when I lauched the http://localhost/kenticocms, the Database setup page came up ask me to input the SQL server name/database etc. So I input using demo1 login. than I select use an existing database (kenticocms) and click the option create Kentico CMS database tables, procedures and views. So when I click proceed button, the following error msg appears:
Server Error in '/KenticoCMS' Application. --------------------------------------------------------------------------------
Object reference not set to an instance of an object. 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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] Kentico.CMS.CMSDesk.install.SetConfigValue(String configFilePath, String key, String value) +73 Kentico.CMS.CMSDesk.install.btnInstallDB_Click(Object sender, EventArgs e) +825 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138 System.Web.UI.Page.ProcessRequestMain() +1292
May I know what is the problem? Is it the bug in your CMS? What's the solution for this? BTW, I don't want to use the webinstaller.
Thanks
rgds
|