Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS SQL Server
 No Read Count after moving from Access to MSSQL
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

scorpswolle
Starting Member

39 Posts

Posted - 04 December 2003 :  13:55:39  Show Profile
I have a problem.

I changed my database from Access 2002 to MSSQL.
Now the Read Count is not working anymore.
Any Ideas???

Forum is running on Windows 2003 (IIS 6) at
http://www.the-scorpions.com/forum/

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 December 2003 :  15:17:12  Show Profile  Send ruirib a Yahoo! Message
Yeah, you probably did not use the recommended procedure for the upgrade. Please tell us how you did it.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

scorpswolle
Starting Member

39 Posts

Posted - 04 December 2003 :  17:54:54  Show Profile
I uploaded the access file to the SQL Server with a SQL-Import Script from my Internet Provider. After it has been finished i used the setup.asp file.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 04 December 2003 :  18:31:26  Show Profile  Send ruirib a Yahoo! Message
My suspicion is that the table structure was not properly created. The recommended upgrade procedure is explained here:
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=31144

Probably the problem in that case is related with the default value for that field. Maybe have a look to see the current default value and if it is not set, better set it to 0. Even if this works you'll likely have other problems with the table structure.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

scorpswolle
Starting Member

39 Posts

Posted - 05 December 2003 :  16:40:02  Show Profile
Can You please tell me in which fields i have to change the settings and how?
Table and Fields?

Thank you very much!
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 05 December 2003 :  18:57:56  Show Profile
You could go through your Access tables and look at the properties for each column, and manually make appropriate changes to the sql server db. You probably lost all column default values and maybe some indices when you upsized.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

scorpswolle
Starting Member

39 Posts

Posted - 05 December 2003 :  20:53:45  Show Profile
I canīt find anything wrong.
Anyway i recognized that the read count is working for post which were already in the access file. The counting is only dead for new topics who were posted in the MSSQL Database.
Is there a bug in an asp file?

Check it out:

http://www.the-scorpions.com/forum/
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 05 December 2003 :  21:36:17  Show Profile  Visit Gremlin's Homepage
This is normally always caused by the default values not being setup on the tables correctly as the others have said. Once your 100% certain each table column has the required defaults set you'll also then need to update the fields on posts created since your conversion to ensure the correct value is in each column. Your read count will not be incrementing becuase most likely the field contains "null" instead of a numeric value.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

scorpswolle
Starting Member

39 Posts

Posted - 06 December 2003 :  13:48:38  Show Profile
Well finally i checked out everything and canīt find any mistakes. Maybe someone have an idea what else can be wrong.

Hereīs a Screenshot of the Forum Topic Settings on the SQL Server:

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 December 2003 :  18:21:51  Show Profile  Send ruirib a Yahoo! Message
Seems like Table Editor does not allow you to define default values for the fields. You need to use Enterprise Manager for that.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 06 December 2003 :  20:50:49  Show Profile  Visit Gremlin's Homepage
If you don't have Enterprise Manager available to you but do have .NET available somewhere then try installing this product it should let you set the default values

http://www.aspenterprisemanager.com/

In fact you may even be able to use it straight from their website by putting in your database server name and logon details into the login box top left of their page, though YMMV it is a beta release too, make sure you've got that backup done first !!.

Kiwihosting.Net - The Forum Hosting Specialists

Edited by - Gremlin on 06 December 2003 20:52:25
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07