473,408 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

deploying to my host

hey all,
i have an application that uses ms access for it's db. the db resides in a
folder on the same level as my application folder. how can i access the db?
i've been trying to use server.mappath with no luck because i'm not sure if
you can go up a level from the app folder.

thanks,
rodchar
Nov 19 '06 #1
1 875
Hello rodchar,

MapPath is bounded by your virtual folder, so put you db withing it.

You can create another virtual folder for DB either new one or above current
one

rhey all,
ri have an application that uses ms access for it's db. the db resides
rin a
rfolder on the same level as my application folder. how can i access
rthe db?
ri've been trying to use server.mappath with no luck because i'm not
rsure if
ryou can go up a level from the app folder.
rthanks,
rrodchar
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Nov 19 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Brant | last post by:
I have an EXE that I want to deploy to approx 200 PCs. Is there a way to create a setup package that executes my EXE after the framework has been installed? I want to perform a silent install of...
1
by: dansan | last post by:
We have a webservice that we have been deploying using the deployment project in Visual Studio. Now we are trying to deploy this service to a server that has multiple sites. I have looked...
1
by: K Meyer | last post by:
Everything in the deployment works fine with the exception of the address of the database also deployed on the remote server. The string address is found under "oledbconnection" in the ".......
2
by: Greg W. | last post by:
In our setup project, we have the standard web application folder, but we also have 4 web custom folders (virtual directories) that are created at the same level as the web application folder...
2
by: niv | last post by:
Hello, I am not sure what I need to do before deploying my asp.net web application. I have uploaded all aspx pages.. actually the entire project folder to my web host and then I tried typing...
3
by: Johnny | last post by:
Hi, I have created an ASP.NET application (let's call it FooBar) with VS.NET on my local machine, residing in http://localhost/FooBar. Deploying it to another folder on my machine works well...
1
by: Sean | last post by:
Tried both FTP and frontpage extensions method to the host server. Server has directory running as a ASP.NET application. If I take out ...Inherits="quizengine.WebForm1"...the page loads but no...
0
by: MH | last post by:
I am trying to run an application and web service from a host remote computer. I have 1st developed and tested the application on my local server and it works fine and used WINSCP3 to copy files to...
2
by: =?Utf-8?B?QnJpYW4gRWR3YXJkcw==?= | last post by:
I don't see a managed newsgroup for just AJAX, so hopefully this is the best place to ask this question. Is there a sure-fire way to deploy an ASP.NET AJAX-Enabled web site to a web host who...
3
by: kkao77 | last post by:
can you show me in more detail? I have same problem where on the page it's https://service.premilance.com/Company.svc, but the svcutil tells me to get it from https://pserver1/Company.svc?wsdl...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.