Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot access application/bin directory
Message
De
28/10/2003 16:44:03
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Cannot access application/bin directory
Divers
Thread ID:
00843810
Message ID:
00843810
Vues:
42
I am using .Net2003 on a XP Pro running IIS.

I am having problems creating ASP.Net applications. I keep getting Parser Error messages when attempting to view a webform in a browser.

However, I believe I have narrowed the problem down to a problem with the application's BIN/ directory. It seems that nothing in this BIN directory can be accessed through IIS.

If I create a new ASP.Net project, .Net will create the BIN/ folder under my application directory. However, when I build my assembly, my webform can't access the created assembly in the BIN folder.

Also, using notepad, if I manually create a Test.htm file in this BIN/ folder and try to view this Test.htm in a browser, I get a "The page cannot be displayed" error in the browser even though I am positive that the page and path are correct.

If I manually create a "mytest/" folder under my application folder and create a Test.htm in this new folder, I can successfully view the test.htm page.

I just can't view or access anything in the application's BIN/ folder.

This works in a browser.
http://localhost/MyDotNetApp/mytest/test.htm

This does not work in a browser.
http://localhost/MyDotNetApp/Bin/test.htm

What sort of setting could I have that blocks access to any existing BIN/ folder or any newly created BIN/ folders?

Thanks,

Jerry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform