Author |
Topic |
|
ABravNewWorld
Starting Member
USA
9 Posts |
Posted - 25 May 2001 : 15:53:26
|
I am getting coding errors with two of the admin configuring files: badwords and colors. I am new to ASP so I do not know how to fix it.
With admin_config_badwords, after I click "submit New Config" I get the following:
Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
[Microsoft][ODBC Microsoft Access 97 Driver] Too few parameters. Expected 2.
/forum/admin_config_badwords.asp, line 71
Line 71 looks like this:
strSql = strSql & ", C_STRBADWORDS = '" & Request.Form("strBadWords") & "'"
For admin_config_colors, after I click on submit, I get the following error message:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access 97 Driver] Field 'FORUM_CONFIG.C_STRLINKTEXTDECORATION' can't be a zero-length string.
/forum/admin_config_colors.asp, line 92
Line 92 looks like this:
' Response.Write(strSql)
Can you help me out on this bug?
Thank you, C. Thomas Gormley http://www.sga.ttu.edu forum is located at http://www.sga.ttu.edu/calendar/diary.asp |
|
ABravNewWorld
Starting Member
USA
9 Posts |
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 25 May 2001 : 19:15:18
|
It looks like those 2 files have gotten corrupted somehow. You might try reuploading those 2 files. What are you using to tranfer the files? Corruption like this sometimes happens when using Frontpage. |
|
|
ABravNewWorld
Starting Member
USA
9 Posts |
Posted - 25 May 2001 : 22:41:15
|
I use windows web folders. Do you think that this could have corrupted it? I have tried replacing them like you have said. Perhaps I should try a new download of Snitz on the server itself. Thanks.
quote:
It looks like those 2 files have gotten corrupted somehow. You might try reuploading those 2 files. What are you using to tranfer the files? Corruption like this sometimes happens when using Frontpage.
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 25 May 2001 : 22:50:41
|
If you can FTP the files, that would be preferrable. |
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 26 May 2001 : 02:08:44
|
You might check your admin pages and make sure some fields are not blank, such as the link text decoration color.
====== Doug G ====== |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 26 May 2001 : 02:25:05
|
Doug, they are blank, that's the problem. If you take a look at the source there are:
" instead of "
and
> instead of >
Seems it got corrupted somehow. |
|
|
ABravNewWorld
Starting Member
USA
9 Posts |
Posted - 26 May 2001 : 02:31:20
|
I'm new to asp, can you give me an example of what the fields should look like and their line. Thiswould be great appreciated.
quote:
You might check your admin pages and make sure some fields are not blank, such as the link text decoration color.
====== Doug G ======
|
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 26 May 2001 : 11:19:06
|
quote: " instead of "
and
> instead of >
Seems it got corrupted somehow.
This is often a sign of FrontPage working it's magic, or cut & paste using Visual InterDev.
I'd recommend re-uploading the asp files.
====== Doug G ====== |
|
|
|
Topic |
|