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: MOD Implementation
 Spell Checker Mod (How to enter Path)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

stevenw
Starting Member

31 Posts

Posted - 30 June 2003 :  11:35:00  Show Profile
I am having problems with Spell Checker. It appears to be my path to the database. I am unclear how to properly enter the path.

spellConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/database/dictionary2000.mdb")

The above path is the default from the Zip file.

My database on my test machine is very simple. C:\\snitz\dictionary2000.mdb

I have tried the following path

spellConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("C:\\snitz\dictionary2000.mdb")

I get the following message when I click on the ABC icon:

Error Type:
Server.MapPath(), ASP 0172 (0x80004005)
The Path parameter for the MapPath method must be a virtual path. A physical path was used.
/engineering-forums/pop_spellcheck.asp, line 47

What am I doing wrong?

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 30 June 2003 :  11:37:40  Show Profile
Try:
spellConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\snitz\dictionary2000.mdb")

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~

Edited by - Nikkol on 30 June 2003 11:38:24
Go to Top of Page

stevenw
Starting Member

31 Posts

Posted - 30 June 2003 :  11:55:11  Show Profile
Thanks Nikkol for the quick response.

I tried that path and came up with the following error.

Technical Information (for support personnel)

Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/engineering-forums/pop_spellcheck.asp, line 47, column 62
spellConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\snitz\dictionary2000.mdb")

I tried it with and without the ) at the end of the string. Am I still missing something in the presentation of the string.
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 30 June 2003 :  12:02:18  Show Profile
spellConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\snitz\dictionary2000.mdb")

Try removing the bold red quote sign.
Go to Top of Page

stevenw
Starting Member

31 Posts

Posted - 30 June 2003 :  12:08:44  Show Profile
Thanks. I didn't see that Nikkol had made an edit. Thanks it is working now.

I am always amazed how quickly help comes. Thanks again.

Steve
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.44 seconds. Powered By: Snitz Forums 2000 Version 3.4.07