Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Losing the will to liveLosing the will to live
Previous
 
Next
New Post
9/22/2010 12:19 PM
 
Hi,

You may have seen my earlier postings relating to my development site going tits up. I am still trying to fix it.

I thought I had as the solution now builds with no errors - great i though!

But now Ive hid another really weird problem.

It wont allow me to delete any pages, wont allow me to import a .dnn manifest file and is reporting the following in the log viewer

Cannot insert the value NULL into column 'ScheduleHistoryID', table 'DotNetNuke.dbo.ScheduleHistory'; column does not allow nulls. INSERT fails. The statement has been terminated

I have checked the ScheduleHistory table and the column ScheduleHistoryID is indeed an identity field icrementing at 1

Please help! otherwise i will just have to go to the pub and get drunk!

Thanks

Trev

www.taxiroute.co.uk - Get a Fare Price!
 
New Post
9/22/2010 2:15 PM
 
ScheduleHistory column ScheduleHistoryID should be configured as Identity column with seed 1, increment 1 - and not requiring (or accepting) a value. If it is not, there might have been a problem during the installation.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/22/2010 2:46 PM
 

i agree with what you are saying. i have checked the table and all looks fine. below is a create script from my db... it seems to agree as well. so why is dnn reporting this error? im lost.

USE [Dotnetnuke]

GO

/****** Object: Table [dbo].[ScheduleHistory] Script Date: 09/22/2010 19:43:54 ******/

SET ANSI_NULLS ON

GO

SET QUOTED_IDENTIFIER ON

GO

CREATE TABLE [dbo].[ScheduleHistory](

[ScheduleHistoryID] [int] IDENTITY(1,1) NOT NULL,

[ScheduleID] [int] NOT NULL,

[StartDate] [datetime] NOT NULL,

[EndDate] [datetime] NULL,

[Succeeded] [bit] NULL,

[LogNotes] [ntext] NULL,

[NextStart] [datetime] NULL,

[Server] [nvarchar](150) NULL,

CONSTRAINT [PK_ScheduleHistory] PRIMARY KEY CLUSTERED

(

[ScheduleHistoryID] ASC

)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]

) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO

ALTER TABLE [dbo].[ScheduleHistory] WITH NOCHECK ADD CONSTRAINT [FK_ScheduleHistory_Schedule] FOREIGN KEY([ScheduleID])

REFERENCES [dbo].[Schedule] ([ScheduleID])

ON DELETE CASCADE

NOT FOR REPLICATION

GO

ALTER TABLE [dbo].[ScheduleHistory] CHECK CONSTRAINT [FK_ScheduleHistory_Schedule]

GO

 


www.taxiroute.co.uk - Get a Fare Price!
 
New Post
9/22/2010 3:07 PM
 
gets even stranger. cannot even add a page..... this must be permission related.. but where i have no idea yet...

look what happens when i try to add a new page...

roughly the same error.... spent 3 days on this. weird

Error: Page Management is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Cannot insert the value NULL into column 'TabID', table 'DotNetNuke.dbo.Tabs'; column does not allow nulls. INSERT fails. The statement has been terminated. ---> System.Data.SqlClient.SqlException: Cannot insert the value NULL into column 'TabID', table 'DotNetNuke.dbo.Tabs'; column does not allow nulls. INSERT fails. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.AddTab(Int32 PortalId, String TabName, Boolean IsVisible, Boolean DisableLink, Int32 ParentId, String IconFile, String Title, String Description, String KeyWords, String Url, String SkinSrc, String ContainerSrc, String TabPath, DateTime StartDate, DateTime EndDate, Int32 RefreshInterval, String PageHeadText, Boolean IsSecure, Boolean PermanentRedirect) in C:\DotNetNuke\Library\Providers\DataProviders\SqlDataProvider\SqlDataProvider.vb:line 652 at DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo objTab, Boolean AddAllTabsModules) in C:\DotNetNuke\Library\Components\Tabs\TabController.vb:line 331 at DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo objTab) in C:\DotNetNuke\Library\Components\Tabs\TabController.vb:line 324 at DotNetNuke.Modules.Admin.Tabs.ManageTabs.SaveTabData(String strAction) in C:\DotNetNuke\Website\Admin\Tabs\ManageTabs.ascx.vb:line 314 at DotNetNuke.Modules.Admin.Tabs.ManageTabs.cmdUpdate_Click(Object Sender, EventArgs e) in C:\DotNetNuke\Website\Admin\Tabs\ManageTabs.ascx.vb:line 721 --- End of inner exception stack trace ---

www.taxiroute.co.uk - Get a Fare Price!
 
New Post
9/22/2010 4:11 PM
 
it looks like identity inserts are turned on, but this is possible for a single table only. there seems to be sth weird with your database, but I have no clue about the cause.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Losing the will to liveLosing the will to live


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out