The online FAQ database contains hundreds of answers to frequently asked questions, articles on using our web server applications and other related technologies, and resolutions to common problems. If you are seeing an error message, be sure to try searching on the error message or error number that you are seeing.

Question I get the following error:

Server.MapPath() error 'ASP 0175 : 80004005'

Disallowed Path Characters

/Membership/APdb.asp, line 6

The '..' characters are not allowed in the Path parameter for the MapPath method.


or

Server.MapPath() error 'ASP 0175 : 80004005'

Disallowed Path Characters

/Auction/APConfig.asp, line 379

The '..' characters are not allowed in the Path parameter for the MapPath method.

Answer For the first error, see http://www.xcent.com/FAQ/XcIBViewItem.asp?id=385

The second error is caused by this line near the bottom of APConfig.asp:

gsClusterSyncCfgPath = Server.MapPath("..\APClusterSync.cfg")

Most web servers will not allow the "..\" sequence, which means "the parent folder" to be used with Server.MapPath. This particular setting is not used for nearly all installations of xcAuction, and is only used if you are running it on a cluster or web farm, so you can remove this line or comment it out by putting a ' (apostrophe) as the first character on the line.