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
 seems like i have lost access to sql database
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

fastrax
Starting Member

35 Posts

Posted - 11 November 2005 :  20:44:21  Show Profile
I was seting up some other databases in Microsoft SQL and used the same user name that I use for my data bases. When I went back into the forum I got a data base not found eror (don't remember exact wording.) Then I got the error below.

Microsoft OLE DB Provider for SQL Server error '80040e4d'

Login failed for user 'shadowme7'.

/inc_header.asp, line 111

Not sure what I did wrong or how to fix the mess. So if anyone can help that would be great.

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 12 November 2005 :  05:21:42  Show Profile  Send ruirib a Yahoo! Message
Make sure the user shadowme7 is in the user list for the forum database. Also, to eliminate the possibility of password error, if the first suggestion does not fix the problem, change the password for the shadowme7 login.


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

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 12 November 2005 :  16:45:38  Show Profile  Send pdrg a Yahoo! Message
a 'database not found' error? sounds odd to me - you say it happenned when youwere setting up some db's, could you have renamed/damaged something in the process? Maybe you accidentally messed up the privs?
Go to Top of Page

fastrax
Starting Member

35 Posts

Posted - 12 November 2005 :  19:20:23  Show Profile
I tried the change password idea, but that didn't fix it. Still couldn't access the DB. I ended up making a new DB and setup all the forums, then copied the old database over top it. After tweaking a few problems it seems to be working. Still don't know why I cant access the original. It's not even a full moon.

Edited by - fastrax on 12 November 2005 19:20:43
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 14 November 2005 :  05:36:12  Show Profile  Send pdrg a Yahoo! Message
Glad it's sorted - I don't understand how you copied the old db over the new one though if you couldn't access it?!
Go to Top of Page

fastrax
Starting Member

35 Posts

Posted - 29 November 2005 :  17:47:24  Show Profile
I have no idea how either. It seemed that the forum just couldn't access the data base. Very strange.

I have been having a few problems popoing up since then though. I got this today when I tried to post a new pole.

quote:
Microsoft OLE DB Provider for SQL Server error '80040e2f'

Cannot insert the value NULL into column 'POLL_ID', table 'fubar.fubar.FORUM_POLLS'; column does not allow nulls. INSERT fails.

/post_info.asp, line 1043


Any idea how to fix it? It will post the question, but not the choices.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 November 2005 :  17:52:05  Show Profile  Send ruirib a Yahoo! Message
Did you copy that table from another DB?


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

fastrax
Starting Member

35 Posts

Posted - 29 November 2005 :  20:09:17  Show Profile
no, it was all copied at the same time from the original database. I have access to the sql server. Is there somthing I can do in Enterprise Manager?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 30 November 2005 :  05:30:22  Show Profile  Send ruirib a Yahoo! Message
You can define POLL_ID as an identity column. Looks like your database was not correctly moved, and that was certainly the cause for this.


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

fastrax
Starting Member

35 Posts

Posted - 30 November 2005 :  17:55:41  Show Profile
Sorry for my ignorance. How do you actually accomplish that? I am just learning sql.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 01 December 2005 :  02:07:44  Show Profile  Send ruirib a Yahoo! Message
Just use Enterprise Manager. Open the table in design mode in EM (right-click and choose Design Table), click the field and set the Identity property to Yes.


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

fastrax
Starting Member

35 Posts

Posted - 01 December 2005 :  03:12:10  Show Profile
I had another error regarding forum_poll_votes. I did the same fix to that table and it seems to be working fine now. Thanks for you help.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 01 December 2005 :  12:52:53  Show Profile  Send ruirib a Yahoo! Message
You're welcome .


Snitz 3.4 Readme | Like the support? Support Snitz too
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.91 seconds. Powered By: Snitz Forums 2000 Version 3.4.07