Where to store bin directory

S

Stimp

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
 
T

tdavisjr

Yes. This is incorrect. The bin folder must be in the root directory

wwwroot/mywebsite/bin

HTH
 
G

Guest

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
 
S

Stimp

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,809
Latest member
moe77

Latest Threads

Top