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
 SQL 2005, IIS6, authentication questions
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

bobsmith
Starting Member

25 Posts

Posted - 16 May 2006 :  12:23:50  Show Profile
My server is Server 2003 Enterprise. SQL is version 2005 standard. IIS & SQL are on the same box. Im setting up a test forum to play with before I decide on what product to use.

When I first tried to access the setup page, I was getting a login failure. I then went to IIS and turned off anon access, at which point I get a username and password prompt when going to the site.

My question is, how to work with IIS anon access and snitz on the same server?

Current'y, when I go to the forum, I'm pronmpted for a username and password (I assume this is becasue anon access is turned off. Of course, I'd like to have anon access to the default.asp page enabled. How can I do this?

When I turn off anon access, I cannot access the forum.

Thank you

Cliff

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 16 May 2006 :  12:29:36  Show Profile  Visit HuwR's Homepage
you should have anon access turned ON in IIS, you then to to make sure that the directory in which you have placed the forum files has the correct userights, ie it must have the IUSR_XXXXX account added to the list of users under the folder security options
Go to Top of Page

bobsmith
Starting Member

25 Posts

Posted - 16 May 2006 :  13:04:08  Show Profile
OK, anon turned on and folder has RE/L/R rights to forum folder.

Now I get a login failure for iusr_username
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 16 May 2006 :  13:06:22  Show Profile  Send ruirib a Yahoo! Message
Login failure for what? Accessing the site or the database?


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

bobsmith
Starting Member

25 Posts

Posted - 16 May 2006 :  13:09:00  Show Profile
HTTP 500 error. It said logon failure for iusr_username
Go to Top of Page

bobsmith
Starting Member

25 Posts

Posted - 16 May 2006 :  13:11:09  Show Profile
quote:
Originally posted by ruirib

Login failure for what? Accessing the site or the database?



All I did was turn on IIS anon access and add that user to the security for the folder. If I turn off anon access, I get a logon prompt and can access the site fine if I put in a username and password.
Go to Top of Page

bobsmith
Starting Member

25 Posts

Posted - 16 May 2006 :  13:18:38  Show Profile
I'm thinking my iusr_username needs read access to database.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 16 May 2006 :  13:25:12  Show Profile  Visit HuwR's Homepage
iusr needs read/write and modify permissions for the db.

when you turned on anon access in IIS, check that IIS is set to control the password
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 16 May 2006 :  13:28:44  Show Profile  Send ruirib a Yahoo! Message
It's an SQL Server DB, Huw.


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

bobsmith
Starting Member

25 Posts

Posted - 16 May 2006 :  13:28:47  Show Profile
IIS has anon access and Windows Authentication is checked.
Go to Top of Page

bobsmith
Starting Member

25 Posts

Posted - 16 May 2006 :  13:29:58  Show Profile
quote:
Originally posted by ruirib

It's an SQL Server DB, Huw.



SQL 2005
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 16 May 2006 :  13:31:58  Show Profile  Send ruirib a Yahoo! Message
AFAIK, you should just have anonymous authentication checked. Don't have that much experience on Windows Server 2003, but the only one I can use now has just anonymous access checked and it works outta box.


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

bobsmith
Starting Member

25 Posts

Posted - 16 May 2006 :  13:34:55  Show Profile
I have added IUSR as a user to my database, and given that user db_read and db_write permissions. Restarted SQL and same error.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 16 May 2006 :  13:43:45  Show Profile  Visit HuwR's Homepage
if it is sql IUSR does not need access to it, you should remove it asap, you should have added your db login details to the snitz config.asp file
Go to Top of Page

bobsmith
Starting Member

25 Posts

Posted - 16 May 2006 :  13:45:43  Show Profile
I added my uid and pwd to my config.asp. Is there something else this string should have?
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 16 May 2006 :  13:47:11  Show Profile  Visit HuwR's Homepage
no, your problem is not with the db, it is with IIS or the folder permissions
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07