Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > Error On Query: Database setup - Step 3 :How can I use MS SQL? View modes: 
User avatar
Member
Member
esb1982-yahoo - 1/28/2010 3:19:28 AM
   
Error On Query: Database setup - Step 3 :How can I use MS SQL?
I saw that another one just like me had this problem(Error On Query: Database setup - Step 3) and Radek Macalik (Support Engineer) said that should chang the SQL, and maybe using MS SQL Server 2005 or 2008 will solve the problem.

My question is ,How should I chang my personal sql to MS sql? What's the steps?

Thanks
Seyf Elham
trial mode user

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/28/2010 3:31:32 AM
   
RE:Error On Query: Database setup - Step 3 :How can I use MS SQL?
Hi,

I am sorry but I am not getting the meaning. What you mean by personal SQL? What kind of SQL server are you using now? Maybe there are some instructions how to convert other SQL databases to MS SQL format on the Internet. But, could you be more specific please?

Best Regards,
Juraj Ondrus

User avatar
Member
Member
esb1982-yahoo - 1/28/2010 4:33:37 AM
   
RE:Error On Query: Database setup - Step 3 :How can I use MS SQL?
Hi
when I'm trying to creat database logs on Database setup - Step 3 an error acurred:

ERROR: An error occured: [DataConnection.ExecuteQuery]: Query: CREATE TABLE [CMS_PageTemplateCategory] ( [CategoryID] int NOT NULL IDENTITY(1, 1), [CategoryDisplayName] nvarchar(100) NOT NULL, [CategoryParentID] int NULL, [CategoryName] nvarchar(100) NOT NULL, [CategoryGUID] uniqueidentifier NOT NULL, [CategoryLastModified] datetime NOT NULL, [CategoryImagePath] nvarchar(450) NULL, [CategoryChildCount] int NULL, [CategoryTemplateChildCount] int NULL, [CategoryPath] nvarchar(450) NULL, [CategoryOrder] int NULL, [CategoryLevel] int NULL ) ON [PRIMARY] ALTER TABLE [CMS_PageTemplateCategory] ADD CONSTRAINT [PK__CMS_PageTemplate__2C3393D0] PRIMARY KEY ([CategoryID]) ON [PRIMARY] ALTER TABLE [CMS_PageTemplateCategory] ADD CONSTRAINT [IX_CMS_PageTemplateCategory_1] UNIQUE ([CategoryPath]) ON [PRIMARY] ALTER TABLE [CMS_PageTemplateCategory] ADD CONSTRAINT [UQ__CMS_PageTemplate_CategoryName] UNIQUE ([CategoryName]) ON [PRIMARY] ALTER TABLE [CMS_PageTemplateCategory] ADD CONSTRAINT [DF_CMS_PageTemplateCategory_CategoryChildCount] DEFAULT ((0)) FOR [CategoryChildCount] ALTER TABLE [CMS_PageTemplateCategory] ADD CONSTRAINT [DF_CMS_PageTemplateCategory_CategoryTemplateChildCount] DEFAULT ((0)) FOR [CategoryTemplateChildCount] IF OBJECT_ID(N'[CMS_PageTemplateCategory]') IS NOT NULL AND OBJECT_ID(N'[CMS_PageTemplateCategory]') IS NOT NULL AND OBJECT_ID(N'[FK__CMS_PageT__Categ__2E1BDC42]') IS NULL BEGIN ALTER TABLE [CMS_PageTemplateCategory] WITH NOCHECK ADD CONSTRAINT [FK__CMS_PageT__Categ__2E1BDC42] FOREIGN KEY ([CategoryParentID]) REFERENCES [CMS_PageTemplateCategory] ([CategoryID]) NOT FOR REPLICATION END CREATE INDEX [IX_CMS_PageTemplateCategory] ON [CMS_PageTemplateCategory] ([CategoryParentID]) WITH ( ALLOW_ROW_LOCKS = OFF) ON [PRIMARY] CREATE UNIQUE INDEX [UQ_CMS_PageTemplateCategory_ptcGUID] ON [CMS_PageTemplateCategory] ([CategoryGUID]) ON [PRIMARY] : caused exception: Line 54: Incorrect syntax near '('.

my database name:Sql Server 2005 personal edition

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/1/2010 6:00:11 AM
   
RE:Error On Query: Database setup - Step 3 :How can I use MS SQL?
Hi,

I checked the query and it is OK. It seems that there is some kind of limitation in the Personal edition of the SQL server ro maybe some feature is not enabled. Could you please check your SQL server? I have never encountered this problem on SQL Express edition.

Best Regards,
Juraj Ondrus