virtual-directory

Accessing Network Share Generates "Failed to start monitoring changes to '\\share' because access is denied."

I have two web applications both on the same IIS 7 box. One application is running in an app pool with .NET 2.0. The other is running in a different app pool with .NET 4. Both are running as the app pool identity and have identical settings. Each contains a virtual directory of a network share. To access the share, a username and passwor...

Uploading files from one site to another

I have 2 asp.net sites (site1 and site2). site1 have a directory inside in called images. In images directory there are images. I need to upload files using site2 aspx page, but need to upload them to images folder of site1. how can I do that? ...

Security issue related to Virtual directory in Weblogic?

Hi all I wonder whether there is any related security issues if virtual directories are created, specifically in weblogic deployment. Given that I don't put any sensitive information in the directory, should I concern about anything else ? Thank you very much. Regards K. ...

Get virtual directory mapping information in backing bean?

Hi all, Is there a way to get the virtual directory map information of weblogic in backing bean? Thank you very much. ...

Umbraco 4.5 in a virtual directory with umbracoUseDirectoryUrls

I've installed Umbraco 4.5 in a virtual directory on my web server (server/cms). When I edit web.config and set umbracoUseDirectoryUrls = "true", the URLs generated don't contain the virtual directory (i.e. server/page instead of server/cms/page). How can I get umbracoUseDirectoryUrls to work with an instance of Umbraco that lives in a...

Windows Seven seems to leave behind unwanted remnants in a virtual directory

I am working on a java application that targets both mac and PC. Recently I discovered a strange problem with Windows 7. My application has a projects directory that is not uninstalled by my uninstaller. Recently I uninstalled the application and then manually deleted this projects directory, then reinstalled the application. When I ...

IIS6 Virtual Directory not accessible as an app

I have a WinSrv2k3 box with IIS6 hosting a series of sites, one of which is a VB/.NET2 site. Inside this I have created a virtual directory and pointed it at a very simple C#/.NET3.5 site's directory. I was expecting the site to allow me to view the pages as a normal site (there is only one ASMX in the virtual directory) but when access...

ASP.NET C# Nested application (sub directory) - Parser Error Message: Could not load type ...

Hello all, I created an asp.net web application that can create dynamically asp.net web application projects within it's file system (subdirectories). Lets say I manually create Virtual Directory in the IIS for each webapp created. When I try to access those applications (http://localhost/<virtual-dir>/) I get an error: Parser ...

Create virtual directories in WebsitePanel through C#.net

I'm using WebsitePanel (open sourced DotNetPanel) to manage my system and web sites. Untill now I created a virtual directory for each application manually through the panel UI. My goal is to create those same virtual dirs, but through the C# code behind in one of the root applications. IIS Version: 7.5 ASP.NET Version: 4.0 ...

C# How to find WCF IIS deployment/virtual directory at runtime to change name of log file ?

I am trying to change the name of a c# WCF logfile based on the name of the IIS Virtual directory it is deployed to. I tried to use the Directory.GetCurrentDirectory() call but it returns the directory c:\windows\system32\inetsrv regardless which virtual directory the WCF apps was deployed to.. So should I be looking into the Virtua...

Create Virtual Directories in IIS 7.5

My asp.net web application knows how to create sub-applications (asp.net applications with web.config file, located in sub folders of the root application). Now, I need to configure each sub-application in the IIS with a Virtual Directory, AND, make this new virtual directory an application in a specified application pool. Is there any...

ASP.NET C# - "The RPC server is unavailable"

Hello all, This is my code for creating Virtual Directory in IIS: /// <summary> /// Creates the virtual directory. /// </summary> /// <param name="webSite">The web site.</param> /// <param name="appName">Name of the app.</param> /// <param name="path">The path.</param> /// <returns></returns> /// <exception cref="Exception"><c>E...

How to make a .net web application run as the root application in Visual Studio

I've been converting some .net "Web Sites" to "Web Applications". This has been going along smoothly. One of the steps that I perform each time I do a conversion is I go to the web section of the project properties and set the virtual directory. So far, I've set up -http://localhost/site1 -http://localhost/site2 -http://localhost/site...

Authentication for IIS content in virtual directory under ASP.NET MVC website

Hello. I have an ASP.NET MVC application for which I store uploaded content files in a virtual directory. This virtual directory is directly underneath my MVC website in IIS. My problem is that the virtual directory allows anonymous access. Anyone, logged in or not, can type in a public URL to my virtual directory and read the files in ...

Creating nested virtual directories in IIS 7.5 \ C# (.NET v4.0)

Hello all, I created a Windows Service, with a constant interval that checks few lines in the DB, and creates virtual directories in the IIS by code. Those virtual directories are created in the following template: "IIS://localhost/W3SVC/1/Root/" + vdName As written, virtual directories are created successfully, but in the ROOT folde...

Creating virtual directories within another virtual directory using C#

Hello, I created a windows Service app which knows how to create virtual directories in the root folder of the IIS (7.5). And this is the code: System.EnterpriseServices.Internal.IISVirtualRoot vr = new System.EnterpriseServices.Internal.IISVirtualRoot(); string sError = ""; vr.Create("IIS://localhost/W3SVC/1...

How to Create Virtual Diectory build asp.net web site using nant ?

Hi Frnds, I am trying to Create Virtual Directory and develop the asp.net projects ..in IIS using NAnt script . Would u pls tell me the Solution . ...

IIS Virtual Folders Permissions per User Account

I have a website with the below structure for saving product images: ~/fileserver/{user_id}/{file_id}.{file_extension} I want to restrict access to each {user_id} folder and let only the specific user to retrieve that image. How this can be done? Do I have to set something in IIS? ...

Wix + IIS : Creating a virtual directory on a web site with bindings for port 80 disabled.

I have a Wix installed which creates a virtual directory in IIS via the following: <DirectoryRef Id="INSTALLLOCATION"> <Component Id="VirtualDirectory" Guid="29BEECCC-AA5F-11DF-BBB1-9C0AE0D72085"> <iis:WebVirtualDir Id="MyVDir" Directory="INSTALLLOCATION" Alias="MyVDir" WebSite="DefaultWebSite"> <iis:WebApplication Id="MyApp...

IIS, Visual Studio 2010: How to exclude files from being in my IIS folder?

I have a Visual Studio solution that is linked to an IIS Virtual Directory. Is there any way to exclude files/folders from my solution from showing up in the IIS Virtual Directory? Oh, and currently I'm running IISV5.1, but on the deployed server it'll probably be IIS6 or II7. Also, to that point... are there any files/folders that ARE ...