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
 500 - Internal server error.
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

Etymon
Advanced Member

United States
2385 Posts

Posted - 21 June 2009 :  17:41:01  Show Profile  Visit Etymon's Homepage
Go to:

Start
Control Panel
Administrative Tools
Services

Scroll down to:

SQL Server (the name of your registered server is listed here)

Right click and choose:

Start

Then try it and see what you get.

The error I get with it turned off is:


Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
Go to Top of Page

Volnar
Starting Member

USA
20 Posts

Posted - 21 June 2009 :  18:38:32  Show Profile  Visit Volnar's Homepage
Looks like I can log in fine, the event viewer shows the account logging in 3 times


Etymon, the service started (it was already started)
and I got the same error
quote:
Originally posted by ruirib

Seems that you are having problems with the access to the DB. Can you connect to the database using that account through SQL Server Management Studio?

Go to Top of Page

Volnar
Starting Member

USA
20 Posts

Posted - 21 June 2009 :  18:53:00  Show Profile  Visit Volnar's Homepage
Just so I'm sure this is not a simple syntax issue, if the name of the server is server-pc <--- not the real name
under computer name and the name of the data base is forum then the strConnString should read

strConnString = "Provider=SQLOLEDB;Data Source=server-pc;database=FORUM;uid=database user id;pwd=database password;" <--- not real user name and password

is this corect?

Edited by - Volnar on 21 June 2009 18:54:27
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 June 2009 :  20:18:48  Show Profile  Send ruirib a Yahoo! Message
Try specifying the ip or full server address.


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

Volnar
Starting Member

USA
20 Posts

Posted - 22 June 2009 :  01:12:53  Show Profile  Visit Volnar's Homepage
Ok the server name was wrong, so I'm further but still not there, it does not seem to like the user name/password for some reason.

I'm now getting this error

Error Description :
Cannot open database "edited for security" requested by the login. The login failed.

I've checked and rechecked this and I know it's the right password, I then changed the password to a deliberately wrong one and I get this message

Error Description :
Login failed for user '*****'.

I have no idea why it's doing this, I have tested the password in SQL management studio and it works just fine.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 June 2009 :  09:43:35  Show Profile  Send ruirib a Yahoo! Message
Changing the password and / or the provider doesn't help?


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

Volnar
Starting Member

USA
20 Posts

Posted - 22 June 2009 :  11:28:20  Show Profile  Visit Volnar's Homepage
I'm not sure what you mean by provider.

I changed the user name and password and no change

This is the same for ODBC and OLEDB

Native client still returns an internal server error

quote:
Originally posted by ruirib

Changing the password and / or the provider doesn't help?

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 June 2009 :  11:43:52  Show Profile  Send ruirib a Yahoo! Message
Create a DSN using the Data Sources option (ODBC) in the Administrative Tools menu and test it while creating it, to see if you can connect to the DB from the computer.


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

Volnar
Starting Member

USA
20 Posts

Posted - 22 June 2009 :  16:37:53  Show Profile  Visit Volnar's Homepage
here is the result



is this what you where looking for?

quote:
Originally posted by ruirib

Create a DSN using the Data Sources option (ODBC) in the Administrative Tools menu and test it while creating it, to see if you can connect to the DB from the computer.

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 June 2009 :  16:59:18  Show Profile  Send ruirib a Yahoo! Message
Yes, that was it. Maybe use the DSN for the forum, then?


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

Volnar
Starting Member

USA
20 Posts

Posted - 22 June 2009 :  18:49:05  Show Profile  Visit Volnar's Homepage
still no luck

I now get this error

Code : 80040E4D

Error Description :
[Microsoft][SQL Server Native Client 10.0][SQL Server]Login failed for user ''.

I tried changing the logon to a windows logon (just as a test)and got this error

Code : 80040E4D

Error Description :
[Microsoft][SQL Server Native Client 10.0][SQL Server]Login failed for user 'NT AUTHORITY\IUSR'.

I don't understand why it's failing to log in with asp.

Both user names and passwords worked fine in the ODBC data source administrator

quote:
Originally posted by ruirib

Yes, that was it. Maybe use the DSN for the forum, then?

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 June 2009 :  19:03:13  Show Profile  Send ruirib a Yahoo! Message
Did you add that login as a database user for the database you want to use for Snitz.


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

Volnar
Starting Member

USA
20 Posts

Posted - 22 June 2009 :  20:20:50  Show Profile  Visit Volnar's Homepage
I think so, this is what is have for the user


quote:
Originally posted by ruirib

Did you add that login as a database user for the database you want to use for Snitz.

Go to Top of Page

Volnar
Starting Member

USA
20 Posts

Posted - 22 June 2009 :  20:34:13  Show Profile  Visit Volnar's Homepage
ok I added IUSR as a database admin and got sone success as I got this message
You need to create all the tables in the database before you can start using the forum.

looks like the database is set somehow to only authenticate though a windows account, I'm not sure if I even care to change it at this point but I've heard this is a bad idea right?

How do I set the data base to use SQL authentication? I thought I had it set.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 June 2009 :  20:37:07  Show Profile  Send ruirib a Yahoo! Message
You need to check the server properties, using SQL Server Management Studio. Check them.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07