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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...ScheduleItemSettings  settings changedScheduleItemSettings settings changed
Previous
 
Next
New Post
3/13/2007 6:31 PM
 

My production web site started out as DNN 4.3.5 and upgrated to 4.3.6 and 4.3.7.  I back it up daily with Evotiva's BackupScript. Periodically I do a restore onto my localhost with DNN 4.3.7 Install Kit with a few additional modules & skins for local development and testing. I have done this sever al times sucessfully in the past. I have even upgraded the  localhost install to 4.4.1

Today to tried again. and got an error when restoring the ScheduleItemSettings table. After looking at the tables it was clear that the column sizes in the producting systems (at Godaddy) had changed. They now were: ScheduleID int(4)  --- SettingName nvarchar (100) --- SettingValue nvarchar (4000)

On a virgin 4.3.7 install they are: ScheduleID int(4)  --- SettingName nvarchar (50) --- SettingValue nvarchar (256) and presumeably one of the values in the backup was greater than that size and that is why the script was unhappy.

The only row in the table was for the noghtly schedule of Evotivia's BackupScript.   I presume that if I remove the module and/or  its scheduling the row will go away and I can set the values back to the desired values. 

Anone got an idea about how this corruption coud have occurred?  Did the size of this data change during DNN 4?

--------------------

Actually I just tried and on Godaddy (SQL 2000) I could only reduce them to: ScheduleID int(4)  --- SettingName nvarchar (100) --- SettingValue nvarchar (512) -- My localhost is SQLExpress 2005 so maybe the that has somthing to do with the issue.

I'll no reinstall Evotiva's module and backup again..... 

/DaveS

 


/Dave S
 
New Post
3/13/2007 7:54 PM
 

Dave, I reviewed 4.4.0, 4.4.1, 4.5 and all of them have the min numbers of 50 and 256 for these columns. SQL 2000 vs SQL Express should have no difference. Looking over the core logs, there is nothing that is changing these column attributes in the dataprovider scripts. Do you have any modules installed remotely that are not installed locally which may have made the change?

I am going to go out on a limb here a bit and suggest it might be that backup script or some module. I work w/ the scheduler lots and reviewing my databases none of them even have a setting in this table. (I run two core tasks and a custom one I wrote for the forums)

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
3/14/2007 11:21 AM
 

I hove no modules installed remotely that weren't installed locally. Evotivia's backup script confirmed this because it doesn't create the tables and would have failed if any tables had been created remotely and not locally. The only entry in this table was the settingign for Evotiais script. The only one of any lenght was the its license key.  I just  counted its characters and it is about 12 lines of 50 characters = 600 bytes, so I don't know how it even fit in the original nvchar of 256.  I will talk to them about this.

/DaveS


/Dave S
 
New Post
3/14/2007 12:28 PM
 
Right. The default size is too small. The module (BackupScript) when saving the settings alter the length and everything work fine:

- the backup including “script objects” will create the column with its modified longer size
- when restoring a backup not including the “script objects” should work anyway because first you should have installed the module on the target server (and saved its settings)
This is one of the reasons why on the doc we say “save the settings after installing/upgrading  the module”

Cheers,
Horacio.-

PS: why so small the this column's
built-in size? Would be nice if at least has same size as the other "Settings" columns
e.g. ModuleSettings = [SettingValue] [nvarchar] (2000)
Could this be possible?
 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...ScheduleItemSettings  settings changedScheduleItemSettings settings changed


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