473,386 Members | 1,720 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,386 software developers and data experts.

Where to store bin directory

I created a project which works fine on my local server, but when I
uploaded it to the live server I got the following error when I tried to
run it...

"The path '/resources$' maps to a directory outside this application,
which is not supported"

I think this is because the bin directory files are not being picked up.

Here are the details of my setup:

The website root directory is actually a subdirectory off wwwroot on the
live server...

e.g. wwwroot/mywebsite

It's a classic ASP website, so I put my aspx code into a subdirectory on
their own..

e.g. wwwroot/mywebsite/myTools

the bin directory (containing the dlls) is off a subdirectory of this...

e.g. wwwroot/mywebsite/myTools/bin

Is this setup wrong for asp.net?
If so, could you give me any tips on where to locate my files and bin
directory?

Thanks!
Peter
--

"I hear ma train a comin'
.... hear freedom comin"
Nov 19 '05 #1
3 1338
Yes. This is incorrect. The bin folder must be in the root directory

wwwroot/mywebsite/bin

HTH

Nov 19 '05 #2
the bin needs to be off the root of the Virtual Directory Application, so
either move up the /BIN or make the subdir a VDA

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"Stimp" wrote:
I created a project which works fine on my local server, but when I
uploaded it to the live server I got the following error when I tried to
run it...

"The path '/resources$' maps to a directory outside this application,
which is not supported"

I think this is because the bin directory files are not being picked up.

Here are the details of my setup:

The website root directory is actually a subdirectory off wwwroot on the
live server...

e.g. wwwroot/mywebsite

It's a classic ASP website, so I put my aspx code into a subdirectory on
their own..

e.g. wwwroot/mywebsite/myTools

the bin directory (containing the dlls) is off a subdirectory of this...

e.g. wwwroot/mywebsite/myTools/bin

Is this setup wrong for asp.net?
If so, could you give me any tips on where to locate my files and bin
directory?

Thanks!
Peter
--

"I hear ma train a comin'
.... hear freedom comin"

Nov 19 '05 #3
On Thu, 20 Oct 2005 Curt_C MVP <software_at_darkfalz.com> wrote:
the bin needs to be off the root of the Virtual Directory Application, so
either move up the /BIN or make the subdir a VDA


ok I've moved the bin directory to the root of the virtual directory,
but I'm still getting the same error. hmmmm.

Does it matter where my .net files are stored in relation to the bin
directory, or even what the directory where those files are stored is
called?

--

"I hear ma train a comin'
.... hear freedom comin"
Nov 19 '05 #4

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

Similar topics

6
by: Marco Aschwanden | last post by:
I want to store a file in the application directory. What is the easiest way to figure out, where my application is situated? sys.argv does not work for my purposes... do you have any other...
5
by: Guadala Harry | last post by:
What are my options for *securely* storing/retrieving the ID and password used by an ASP.NET application for accessing a SQL Server (using SQL Server authentication)? Please note that this ID and...
10
by: Paul Cheetham | last post by:
Hi, I am developing an application that needs to store some machine-specific settings. The application is going to be published on the network in order to keep the clients on the latest version....
10
by: Mike9900 | last post by:
Hello, I would like to store application expiration date in a file and store that file in a secure place, so the application can access the file for all the users on that computer. ...
8
by: romayankin | last post by:
I'm making some kind of news-board site on PHP (tthat's why I guess it's the right place to post the question here). Each entry would have a small picture (less then 100kb). Taking into...
8
by: Lloyd Sheen | last post by:
I have a list of JPG's which are found in a SQL Server database. When the page selects a certain piece of data it will refer to the file system (resident on IIS server with a virtual directory)...
2
by: jehugaleahsa | last post by:
Hello: Is there a way to directly databind to an XML file? Right now I am manually opening the file, finding my tags and adding the values to a BindingSource. While I'm on the topic, how and...
3
by: | last post by:
I want to write some custom error messages to a log so that I can read them on the next run of the application and as the user to send them to me. Where the right place to store this log file?...
2
by: Nathan Sokalski | last post by:
I am relatively new to the ASP.NET 2.0 Login controls, and am having some trouble getting started. Here are my main problems: 1. I want to use either the default provider or one that stores the...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.