Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox 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.

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?
__________________
http://oklahomawebhost.com/index.php?page=webproworld
Discounts for WPW members
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?
__________________
http://oklahomawebhost.com/index.php?page=webproworld
Discounts for WPW members
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
Tags: , ,



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

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


Search Engine Optimization by vBSEO 3.2.0