To deploy a .net web application, one needs to go into IIS and make sure the
folder that contains the application is set to be an application folder.
Can anyone explain why we need to do this? Why can't IIS just assume that if
there are aspx pages, then it's a .net application?
-Darrel 4 1276
What if I happen to have a folder with .aspx pages but I don't want them to
be accessed? I don't want IIS just making any folder an application just
because it happens to have a certain file type in there! This could be a
major security issue if IIS just starts assuming this.
Not to mention, it would mean it has to constantly monitor every folder to
see if it now happens to have some .aspx files in there so it can start
treating it as an application. And it would have to monitor for many other
file types too that could be part of a web application (.htm, .html, .asp,
etc).
"darrel" <no*****@nowher e.com> wrote in message
news:uk******** ******@TK2MSFTN GP11.phx.gbl... To deploy a .net web application, one needs to go into IIS and make sure the folder that contains the application is set to be an application folder.
Can anyone explain why we need to do this? Why can't IIS just assume that if there are aspx pages, then it's a .net application?
-Darrel
> What if I happen to have a folder with .aspx pages but I don't want them to be accessed?
Why would you upload aspx pages to a web server that you don't want
accessed? ;o)
I don't want IIS just making any folder an application just because it happens to have a certain file type in there! This could be a major security issue if IIS just starts assuming this.
I suppose it adds a layer of security.
Not to mention, it would mean it has to constantly monitor every folder to see if it now happens to have some .aspx files in there so it can start treating it as an application.
That wouldn't be a big deal. That's how ASP worked.
-Darrel
Maybe it is not only a web server but has other functionality. Maybe I want
to store some data up there - who knows why?
Are you saying that if you had a .asp file anywhere, the folder it is in
would suddenly become a web application?
Is it really hard to mark a folder as a web application? It takes 2 seconds.
It's not like you are creating hundreds of new applications a day. I'm not
sure if that's really worth complaining about...
"darrel" <no*****@nowher e.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. What if I happen to have a folder with .aspx pages but I don't want them to be accessed?
Why would you upload aspx pages to a web server that you don't want accessed? ;o)
I don't want IIS just making any folder an application just because it happens to have a certain file type in there! This could be a major security issue if IIS just starts assuming this.
I suppose it adds a layer of security.
Not to mention, it would mean it has to constantly monitor every folder to see if it now happens to have some .aspx files in there so it can start treating it as an application.
That wouldn't be a big deal. That's how ASP worked.
-Darrel Are you saying that if you had a .asp file anywhere, the folder it is in would suddenly become a web application?
I'm saying IIS would go 'oh, it's an ASP file...I should execute that for
you' without me having to explicitely tell it to execute ASP files in a
particular directory.
Is it really hard to mark a folder as a web application? It takes 2 seconds.
No, it takes about 15 mintues. (We're not anywhere near the server room and
don't have remote access at this time).
It's not like you are creating hundreds of new applications a day. I'm not sure if that's really worth complaining about...
It's worth complaining about if there isn't a reason for it. If there's a
reason, then that's what I'm looking for. I haven't heard an explanation for
why we have to explicitly tell IIS that a folder with aspx files should be
executed...as why else would I be using aspx files?
-Darrel This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David Webb |
last post by:
The problem started when the Working Folder for a project was somehow set to
the folder of another project. I set the correct working folder in VSS and
deleted the .vbproj files that had been created in the wrong folder on the
hard drive. Before I discovered these files, .NET kept trying to create a
new project with _1 following the project name. Deleting those files
corrected that problem.
I deleted the Virtual Directory, rebooted, and...
|
by: db2group88 |
last post by:
we are using db2 udb v8.2 Express edition on windows 2003,we use third
party vendor software to help replicate one server to another.
Production server has three instances, each instances has one database
under it. So we would see three folders on D drive: DB2 folder, TEST
folder and EDU folder, each database has 5 tablespaces and they exist
on F drive. So I told the client to replicate the three instance
folders on D and the data folder...
|
by: Chris Durkin |
last post by:
I've got an ASP.NET website on my local box, set to compile to
bin\Debug and bin\Release in debug and release modes. Both directories
are populated with dlls, as the solution has been compiled in both
modes. When I browse to the local website, it works, but which set of
dlls is it using? What happens when I deploy to Test and there is only
a \bin\ directory, no \Debug or \Release?
I assume .NET has some path-searching rules that govern...
|
by: Ray Stevens |
last post by:
I am attempting to test a VeriSign account and the setup instructions stated
that the certs file needed to go into the Windows\System32 folder. I am
getting an error from the code-behind assebly stating it cannot find it in
the certs chain and is pointing to a path in C:\Program Files\Microsoft
Visual Studio 8\Common 7\IDE.
Where should I put the certs folder?
|
by: Bruce W. Darby |
last post by:
This will be my very first VB.Net application and it's pretty simple. But
I've got a snag in my syntax somewhere. Was hoping that someone could point
me in the right direction.
The history:
My work involves creating custom packages of our software product for golf
courses that purchase our software. The course data is kept as a back up in
the event the course needs us to replace their custom files. Each course has
a folder of it's own...
| |
by: Max2006 |
last post by:
Hi,
After I right-click on my web application project file and choose
"Publish ." and do the publishing, the result publishable files does not
include the *.ashx files. Is it by design? How can I add *.ashx files to
the publish target?
|
by: Lloyd Sheen |
last post by:
Ok I copied a VS 2005 web site to another folder.
Open my new VS 2008. Attempt to run.
I get the following:
Error 1 It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS. C:\Visual Studio Projects\Music Player Web Site\MusicSite\Web.config
|
by: Lord Zoltar |
last post by:
I built a small app with VS C# Express 2008, and published it as a
click-once app. I tried installing it on my local machine, and when I
click on its icon from the Start menu, nothing happens. Everything
works fine when I run the code from VisualStudio. I get this problem
if I use Debug or Release build config.
I'm sure it must be something rather simple, but I just can't seem to
find it.
|
by: jabbari |
last post by:
Hello, Please Help us...!
I have a big problem ,so i searched on google and other search engine ,then I realized that so many other people have the same problem and they, all, have'nt been able to solve it.
My problem is:
I want to import a dll in asp.net, and I have a major problem
First i want to say that this dll works fine in a windows application written in C#, and It works fine when I use the ASP.NET development server (Local...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |