Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - "Timeout expired" error when upgrading
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

"Timeout expired" error when upgrading

 Post Reply Post Reply Page  <123
Author
CinemaemCena View Drop Down
Groupie
Groupie


Joined: 05 February 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote CinemaemCena Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2006 at 2:38am
This is really frustrating. I went to the Version History file and I compared everything to what I had on my SQL server AFTER the upgrade. There were some discrepancies in some tables, but most of them were correctly created during the ugprade (I noticed some oddities, like data type "text" were constantly substituted by nvchar). So that invalidates the theory that my "user" isn't allowed to do modifications. I also noticed that even in the tables that had new fields added, NO fields were deleted - so I deleted the fields according to the Version History.
 
After altering everything according to the Version History, I STILL got the Cbool (line 779) error.
 
Then I went to this thread (http://forums.webwiz.net/forum_posts.asp?TID=20931&KW=line+779) and I tried entering the "bit" datatype instead of the "bin" datatype that you suggested (default value still (0)).
 
Guess what? It still didn't work.
 
So I officially give up on having the 8.04 version. I'll stay with 7.97, because I honestly can't think of anything else I could do.
 
Can you? Anyone? :(
Back to Top
CinemaemCena View Drop Down
Groupie
Groupie


Joined: 05 February 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote CinemaemCena Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2006 at 3:36am
Ok, I went into the Version History txt file and then compared it to what I had on my database after the upgrade. Maybe if I describe everything in details you'll be able to figure out what's going on.
 
The differences I found:
 
tblForum

1) none of the fields that should've been deleted were in fact deleted. And the field Read appeared in my database as [Read];

2) VH (Version History) said: "Sub_ID - data type = interger - default value = 0". But my DB had datatype as "smallint" (lenght=2. Is that right?)
 
3) VH said: "Last_post_author_ID - data type = interger". Again, my DB had datatype as "smallint".
 
4) VH said: "Last_post_date - data type = date/time - default value = now()/GetDate()". My DB had default value as "(getdate())"
 
5) The field Display was NOT created.
 
 
tblTopic

1) The fields Start_date and Last_entry_date were NOT deleted.

2) The fields "Start_Thread_ID", "Last_Thread_ID" and "No_of_replies" had their datatypes in VH as "interger". In my DB, however, it was set to "int". Why "int" and not "smallint" like what happened in the "tblForum"?'
 
3) The field "Icon", in VH, said datatype as "text". In my DB, it was set to "nvarchar".
 
4) The field "Hide", in VH, said datatype as "true/false" (def. val. as false). In my DB it said "bit" and def. value as (0).
 
5) The field "Event-Date", in VH, said datatype as "date". In my DB it's "datetime", but I guess it's correct.
 
 
tblThread

1) None of the new fields were created. And there's no "true/false" datatype. you said before I should use "bin". In the thread I linked to in my last post, the user said he used "bit". Which one is the correct? (I guess the default value is (0).

tblPermission

1) In VH, it says "Display_posts" datatype true/false. In my DB it says "bit". In VH, it doesn't say which should be the default value, but the upgrade file sets it to (0) (false, isn't it?).

2) In VH, the new field "Calendar_event" is set to datatype "boolean". In my DB, it says "bit" (default value = (0)).

tblAuthor

1) In VH, "No_of_PM" has datatype as "interger". In my DB, as "int". I still don't know why interger was substituted with "smallint" in the tblForum.

And so on... (yes, I got tired). The pattern is the same in the rest: "interger" for "int", "boolean" for "int", etc, etc, etc.

 
Back to Top
CinemaemCena View Drop Down
Groupie
Groupie


Joined: 05 February 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote CinemaemCena Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2006 at 4:31am
I DID IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
I restarted the whole proccess. Same timeout error while updating tblThread (I still don't know why). After the upgrade was done, I checked every table. Everything was ok (except for the field the weren't deleted. Can I let them on the database or do I have to delete them?).
 
Then I went to the tblThread and I created the new fields.
 
You gave me the wrong info, Borg! Shocked It's not "binary", it's "bit". And then there's the catch. It AUTOMATICALLY selects ALLOW NULL. It's necessary to uncheck it. And it has to be done the first time, before you save the new table. If you save it with the NULL option, you can't change it afterwards. I Mean... you CAN, but the forum still won't work.
 
Anyway... I DID IT!!!! :)
 
Well... with your help and the help of the user who posted the thread I linked in a post above.
 
THANK YOU!


Edited by CinemaemCena - 22 September 2006 at 4:32am
Back to Top
 Post Reply Post Reply Page  <123

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.