Click here to Skip to main content
15,901,505 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questioncombo box item values - Possible? Pin
cwayman25-Nov-04 2:21
cwayman25-Nov-04 2:21 
AnswerRe: combo box item values - Possible? Pin
cwayman25-Nov-04 5:35
cwayman25-Nov-04 5:35 
Questionhow to set the backcolor of the colomn header in vb.net Pin
Member 125367924-Nov-04 23:25
Member 125367924-Nov-04 23:25 
GeneralVB.net Setup Pin
nitin_ion24-Nov-04 20:30
nitin_ion24-Nov-04 20:30 
GeneralRe: VB.net Setup Pin
Dave Kreskowiak26-Nov-04 3:31
mveDave Kreskowiak26-Nov-04 3:31 
GeneralLoading bulky XML into dataset Pin
atulpatel_mca24-Nov-04 18:22
atulpatel_mca24-Nov-04 18:22 
GeneralRe: Loading bulky XML into dataset Pin
Dave Kreskowiak25-Nov-04 5:19
mveDave Kreskowiak25-Nov-04 5:19 
Generalserver.mapPath Pin
pyb24-Nov-04 17:31
pyb24-Nov-04 17:31 
SCENARIO (New project started using ASP.net 2.0):

At this point, I am simply trying to open a connection to a datastore.

Application settings: <default web="" site="">\AAC

Physical path of database file:
C:\Inetpub\wwwroot\www\AAC\data\dbStore.mdb

Script running from file in /gallery directory
C:\Inetpub\wwwroot\www\AAC\gallery\aStore.aspx


...
Dim mPath As String = Server.MapPath("\data\dbStore.mdb")
...


returns error:
'C:\Inetpub\wwwroot\data\dbStore.mdb' is a physical path, but a virtual path was expected.

What am I doing wrong? Am I missing some configuration in the web.config file?
I never had that sort of problem with ASP.net 1.1

Any help appreciated,
pyb
GeneralRe: server.mapPath Pin
Dave Kreskowiak25-Nov-04 5:17
mveDave Kreskowiak25-Nov-04 5:17 
GeneralDatabase Management in VB.net Pin
fibman24-Nov-04 13:50
fibman24-Nov-04 13:50 
GeneralRe: Database Management in VB.net Pin
Chaos Machine25-Nov-04 15:52
Chaos Machine25-Nov-04 15:52 
GeneralRequested Registry Access is Not Allowed Pin
KreativeKai24-Nov-04 9:09
professionalKreativeKai24-Nov-04 9:09 
GeneralRe: Requested Registry Access is Not Allowed Pin
Dave Kreskowiak24-Nov-04 10:37
mveDave Kreskowiak24-Nov-04 10:37 
GeneralRe: Requested Registry Access is Not Allowed Pin
KreativeKai29-Nov-04 8:42
professionalKreativeKai29-Nov-04 8:42 
GeneralRe: Requested Registry Access is Not Allowed Pin
KreativeKai9-Dec-04 8:45
professionalKreativeKai9-Dec-04 8:45 
GeneralVBScript for automating USB installation Pin
Bri4hire24-Nov-04 8:03
Bri4hire24-Nov-04 8:03 
GeneralRe: VBScript for automating USB installation Pin
Dave Kreskowiak24-Nov-04 10:33
mveDave Kreskowiak24-Nov-04 10:33 
GeneralRe: VBScript for automating USB installation Pin
Anonymous24-Nov-04 13:22
Anonymous24-Nov-04 13:22 
GeneralRe: VBScript for automating USB installation Pin
Dave Kreskowiak24-Nov-04 15:29
mveDave Kreskowiak24-Nov-04 15:29 
GeneralUpdating dataadapter error Pin
ccotton33324-Nov-04 7:34
ccotton33324-Nov-04 7:34 
GeneralRemoting Problems ... Pin
Paebbels24-Nov-04 6:23
Paebbels24-Nov-04 6:23 
GeneralRe: Remoting Problems ... Pin
Paebbels25-Nov-04 9:08
Paebbels25-Nov-04 9:08 
QuestionExecute string command? Pin
sundayschool24-Nov-04 2:32
sundayschool24-Nov-04 2:32 
AnswerRe: Execute string command? Pin
Pablo.ar24-Nov-04 2:50
Pablo.ar24-Nov-04 2:50 
GeneralRe: Execute string command? Pin
sundayschool24-Nov-04 6:40
sundayschool24-Nov-04 6:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.