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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Snitz Calendar
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 11

nwduffer
Starting Member

45 Posts

Posted - 29 January 2001 :  11:09:34  Show Profile
quote:


What db and connection string are you using ?
that sql is for the access 97 driver

'Resistance is futile'



strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=d:\inetpub\wwwroot\mydomain.com\forum\extras\mydatabase.mdb" '## MS Access 97 (where my domain and database are replaced by actual location and filename)

Paul




Edited by - nwduffer on 29 January 2001 11:10:36
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 29 January 2001 :  11:57:28  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
this topic has not been appearing on my active topics at all.

- Alan
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 29 January 2001 :  15:04:59  Show Profile  Visit HuwR's Homepage
quote:

quote:


What db and connection string are you using ?
that sql is for the access 97 driver

'Resistance is futile'



strConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=d:\inetpub\wwwroot\mydomain.com\forum\extras\mydatabase.mdb" '## MS Access 97 (where my domain and database are replaced by actual location and filename)

Paul




Edited by - nwduffer on 29 January 2001 11:10:36



try using the Access 2000 connection string

'Resistance is futile'
Go to Top of Page

nwduffer
Starting Member

45 Posts

Posted - 29 January 2001 :  16:18:31  Show Profile
quote:


try using the Access 2000 connection string

'Resistance is futile'



Cha ching!

Yep that was it. I had been meaning to try the 2K driver anyway, but the board has really been getting used since I put it up last week, so I figured I'd do it some other time..but it works great. Thanks

Two quick notes:

1) Having the same sitch as mentioned above, moderators and admins can't see their private events, and

2) Can't see an event for the next month, even when the days are viewable at the end of this month, until you move to that next month. Not a big deal, just a FYI. (for example, Feb 2 is viewable in Jan month view, but events don't display till you move to Feb.)

Thanks for the help, again.

Paul

Go to Top of Page

vortech
Starting Member

10 Posts

Posted - 30 January 2001 :  12:42:34  Show Profile
Get this error when i try to delete a Event this is with sql 2000 every thing else seems to work fine but the delete.

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '*'.

/forum/events.asp, line 87


Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 30 January 2001 :  12:51:00  Show Profile  Visit HuwR's Homepage
quote:

Get this error when i try to delete a Event this is with sql 2000 every thing else seems to work fine but the delete.

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '*'.

/forum/events.asp, line 87



Remove the '*' from the DELETE statement, it should be DELETE FROM for SQL not DELETE * FROM

'Resistance is futile'
Go to Top of Page

ctsolutions
New Member

Germany
69 Posts

Posted - 30 January 2001 :  13:06:04  Show Profile  Visit ctsolutions's Homepage  Send ctsolutions an ICQ Message
I have clean all the code, replace # with ' and for me works fine.
I have post hier all the clean codes for "event.asp" and the SQL Script to make a FORUM_EVENTS with Query Analyser:

http://forum.snitz.com/forum/topic.asp?whichpage=6&Forum_Title=MOD+Add%2DOn+Forum+%28W%2FCode%29&Topic_Title=MOD%3A+Snitz+Calendar&CAT_ID=17&FORUM_ID=25&TOPIC_ID=3676

My SQL Server 2000 connection:

strConnString = "Provider=SQLOLEDB;Data Source=(ServerName);Initial Catalog=forum;User ID=sa;Password=MyPass" '## MS SQL Server 2000

Very fast connection.

See here:http://itc.dynip.com/ftpring

Regards,
ctsolutions




Edited by - ctsolutions on 30 January 2001 13:08:17
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 31 January 2001 :  16:32:02  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
quote:

Your not using the 3.1sr4 standards for DB and NT modes. this is needed so that it works with both

Need to change

sSql = "Select Member_ID from Forum_Members where M_Name = '" & Request.Cookies(strUniqueID & "User")("Name") & "'"

TO

sSql = "Select Member_ID from Forum_Members where " & strDBNTSQLName& " = '" & strDBNTUserName & "'"



I'm doing an update on this mod and wanted to use the db nt standards so that people using the nt mode can also use this mod.

Question since M_NAME is selected by strDBNTSQLNAME, does the recordset field use the strDBNTSQLNAME?

To clarify my question, should i also change:

RS("M_Name")

to

RS(strDBNTSQLNAME)



- Alan
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 01 February 2001 :  06:15:40  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
Can a moderator close this topic, please?

New Release of this mod can be found at:
http://forum.snitz.com/forum/link.asp?TOPIC_ID=4463

- Alan


- Alan
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 01 February 2001 :  06:16:54  Show Profile  Visit gor's Homepage
Locked ....

Pierre
Go to Top of Page
Page: of 11 Previous Topic Topic Next Topic  
Previous 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.6 seconds. Powered By: Snitz Forums 2000 Version 3.4.07