# Almost, my Kirupa tute ASP to MDB form

**URL:** <https://forum.kirupa.com/t/almost-my-kirupa-tute-asp-to-mdb-form/230905>\
**Category:** flash\
**Created:** [June 29, 2007, 9:01pm UTC](https://forum.kirupa.com/t/almost-my-kirupa-tute-asp-to-mdb-form/230905 "2007-06-29T21:01:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![somnamblst](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Post date:** [June 29, 2007, 9:01pm UTC](https://forum.kirupa.com/t/almost-my-kirupa-tute-asp-to-mdb-form/230905/1 "2007-06-29T21:01:35Z")

</div>

The error I am getting is:

Server.MapPath()[FONT=Arial][SIZE=2]error ‘ASP 0173 : 80004005’[/SIZE][/FONT]  
[FONT=Arial][SIZE=2]Invalid Path Character[/SIZE][/FONT]  
[FONT=Arial][SIZE=2]/helpmail/processForm.asp[/SIZE][/FONT][FONT=Arial][SIZE=2], line 20[/SIZE][/FONT] [FONT=Arial][SIZE=2]An invalid character was specified in the Path parameter for the MapPath method. [/SIZE][/FONT]

[FONT=Arial]Line20: MyPath=Server.MapPath(“[http://www.cincinnati.enq/advertising/onlineAdCounter.mdb](http://www.cincinnati.enq/advertising/onlineAdCounter.mdb)”)[/FONT]  
[FONT=Arial][/FONT]  
[FONT=Arial]The submit button AS:[/FONT]  
on(press){  
getURL(“[http://www.shopatcincinnati.com/helpmail/processForm.asp",0,"post](http://www.shopatcincinnati.com/helpmail/processForm.asp)”);  
}

My ASP script:

```auto
<%@language = "VBScript" %>
<%
strFirst = Request.Form("Name")
strLast = Request.Form("Advertiser") 
strEmail = Request.Form("TypeAd")
strLast = Request.Form("Date") 
strMessage = Request.Form("OnlineAdTypes")
strMessage = Request.Form("NonAdCustomOnline")
Response.Write(strName) & "<br>"
Response.Write(strAdvertiser) & "<br>"
Response.Write(strTypeAd) & "<br>"
Response.Write(strDate) & "<br>"
Response.Write(strOnlineAdTypes) & "<br>"
Response.Write(strNonAdCustomOnline)
 
MyPath=Server.MapPath("http://www.cincinnati.enq/advertising/onlineAdCounter.mdb")
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Driver={Microsoft Access Driver (*.mdb)};" & _
"DBQ=" & MyPath 
SQL = "INSERT INTO onlineAdCounter (Name, Advertiser, TypeAd, Date, OnlineAdTypes, NonAdCustomOnline) VALUES ('"&strName&"','"&strAdvertiser&"','"&strTypeAd&"','"&strDate&"','"&strOnlineAdTypes&"' ,'"&strNonAdCustomOnline&"')"
conn.Execute(SQL)
%> 

```

The Access DB resides on an intranet  
The ASP script is where all our ASP scripts reside, an external server

[FONT=Arial]My form[/FONT]  
[http://www.cincinnati.enq/advertising/artistForm.html](http://www.cincinnati.enq/advertising/artistForm.html)
