iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-12-2006, 08:26 AM
WebProWorld New Member
 
Join Date: Apr 2005
Location: Oman
Posts: 17
Ghannami RepRank 0
Default Unspecified error (ASP error)

hi;

when I am using ASP in developing some applications I allways got this error which is "Unspecified error
"


so how to solve this proplem ... and it is related to Connection code.

I will appreciate ur help

thanks
Reply With Quote
  #2 (permalink)  
Old 10-16-2006, 04:59 PM
WebProWorld New Member
 
Join Date: Oct 2006
Location: Oklahoma City
Posts: 8
oklahomawebhost RepRank 0
Default

Does this error also have a file, and line number with it?
Reply With Quote
  #3 (permalink)  
Old 10-17-2006, 03:34 AM
WebProWorld New Member
 
Join Date: Apr 2005
Location: Oman
Posts: 17
Ghannami RepRank 0
Default

Quote:
Originally Posted by oklahomawebhost
Does this error also have a file, and line number with it?
yes, it does .....

and here is the code:

Code:
"set con=Server.CreateObject("ADODB.Connection")
con.Open("Driver={Microsoft Access Driver (*.mdb)}; DBQ="& server.MapPath("DB/DBName.mdb"))"
Reply With Quote
  #4 (permalink)  
Old 10-17-2006, 01:11 PM
WebProWorld New Member
 
Join Date: Oct 2006
Location: Oklahoma City
Posts: 8
oklahomawebhost RepRank 0
Default

server.MapPath("DB/DBName.mdb"

Is DB/DBName.mdb the correct path to your database?
Reply With Quote
  #5 (permalink)  
Old 11-06-2006, 02:51 AM
WebProWorld New Member
 
Join Date: Apr 2005
Location: Oman
Posts: 17
Ghannami RepRank 0
Default

Quote:
Originally Posted by oklahomawebhost
server.MapPath("DB/DBName.mdb"

Is DB/DBName.mdb the correct path to your database?
yes, it is
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:49 PM.



Search Engine Optimization by vBSEO 3.3.0