Configuration :: 3.5 Deployment Without Virtual Directory?

Nov 2, 2010

First of all, I am trying to deploy a web application, without virtual directory. Yes...I have no other option but to try this due to some non-tehnical constraints.

Now, I have developed an ASP.NET 3.5 Web application, which works fine on my local ASP.NET Development Web Server. Then, I published the application to the actual webserver using the VS2008 Publish... option. When I got some error messages related to web.config, I removed the corresponding items from the web.config.

When I can access the page but the code inside the page doesn't really work. When I open the Default.aspx, which is directly under the website, I keep on getting this error:

Compiler Error Message: CS0246: The type or namespace name 'DynamicLoadControl' could not be found (are you missing a using directive or an assembly reference?)

This DynamicLoadControl is a class that I have developed and is present in App_CodeDynamicLoadControl.cs file (in the same namespace).

I have searched a lot and tried everything except creating a virtual directory. First of all, is it possible to have asp.net 3.5 website without virtual directory.

View 3 Replies


Similar Messages:

Configuration :: Web Project One-Click Deployment And Creation Of IIS Virtual Directories?

Oct 28, 2010

I have an ASP .NET web project; let's call it XYZZY. On my development machine I test and debug it using IIS. Under the IIS virtual directory for XYZZY, I have several "sub" virtual directories which I reference for downloading documents. Let's call them Doc1, Doc2, Doc3. These virtual directories reference a shared folder on another machine. Everything works great on the development machine.

Now I would like to publish the XYZZY web application to the production machine using One-click deploy. I have told it to include all IIS settings as configured in IIS manager. When I deploy XYZZY to the production machine, it properly creates the XYZZY application directory under c:inetpubwwwrootXYZZY and copies all files there and creates the XYZZY application in IIS. However, when it creates the sub virtual directories Doc1, Doc2, Doc3 under XYZZY in IIS, it doesn't use the shared folder I have them
set up as on the development machine, it points all 3 of them to c:inetpubwwwrootXYZZY.

I've examined the metaproperties in the archive.xml from the zipped deployment package, and it correctly has the IIsWebVirtualDir virtual directory folder Path settings correct from the dev machine, but for some reason they are overridden when the app is deployed.

I have found the instructions on customizing the deployment settings complicated and confusing. Surely this requirement for creating IIS virtual directories during web package deployment must be common. Can anyone explain clearly how to get the deployment package to create the IIS virtual directories with the proper targets on the target machine? Ideally, it would be nice to be able to set them to different values based on the configuration just as Web.config can be customized, but that's not a requirement just yet.

View 4 Replies

Configuration :: Creating The Virtual Directory?

Jan 12, 2011

m new to .net framework 4 and iis 7.I created a webapplication in VS2010 with C#.I created the virtual directory for that web application in my IIS (IIS 7).when i tried to open the page by using virtual directory, it is displaying the following problem.Server Error in '/' Application.

Configuration Error
Description:An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.Parser Error Message: 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.Source Error:

[Code]....

Source File: E: estweb.config Line: 12 Show Additional Configuration Errors:

View 3 Replies

Configuration :: How To Create Virtual Directory In IIS

Jun 3, 2010

I'm new to IIS, I just want to create a virtual directory in IIS. I'm using WINDOWS7.When I Browse my Default file it throws the folling Error,Error SummaryHTTP Error 500.19 - Internal Server ErrorThe requested page cannot be accessed because the related configuration data for the page is invalid.

View 8 Replies

Configuration :: Virtual Directory Is Not Working?

Mar 22, 2011

I have made a virtual directory in IIS 7.5 but still unable to catch the required path. I need to save uploaded files inside a folder which i created as virtual directory but still it is showing error like- "Could not find the path..

View 3 Replies

Configuration :: Setting The Deployment Bin Directory DLL Names

Sep 30, 2010

How can I specify the DLL names in the bin directory when the application is deployed - even with "Use fixed naming and single page assemblies" option checked, it still appends "random" characters to the DLL name.

View 1 Replies

Configuration :: Rename Virtual Directory In IIS Like Domain Name

Aug 13, 2010

At my pc, i developed one asp.net application that can be used by my other family members too. Lets say application name is XYZApplication. I have put this appl in virtual directory with same name. So now it can be accessed by the link [URL]. Is it possible by any way to make it accessible by link

1. [URL] OR

2. [URL]

I doubt on second one but atleast 1st one?

View 1 Replies

Configuration :: Virtual Directory Path Is Not Valid?

Mar 5, 2011

I have created a setup for my application which is having both website and desktop application. i m supposed to changes connection string in both the config files at runtime. i used following code :

[code]...

View 2 Replies

Configuration :: Created A New Virtual Directory On IIS To Host Website?

Apr 11, 2010

I am developing an ASP.NET 3.5 website using Visual Studio 2008 professional on a Windows Server 2008 R2 machine. The website is hosted on the local machine IIS with no problems at all. I got a new server (Windows Server 2008 R2), I created a new virtual directory on IIS to host my website. When I try to publish it, I get this error: "The Web server does not appear to have FrontPage Server Extensions installed." I have searched online and it appears that FrontPage extensions have been removed from IIS 7.5

View 2 Replies

Configuration :: IIS Manager - Virtual Directory-property Missing Tab

Jun 1, 2010

i tried to set up a virtual dir within default web site. When I navi to property dialog, I could not see "ASP.NET" tab.

View 5 Replies

Configuration :: How To Give C# Worker Access To Virtual Directory

Sep 29, 2010

I'm totally stuck. I've tried many ways. I have a webapplication deployed on Win2003 with IIS 6.0. The website needs to access:

D:data on another PC.

I've sucessfully created a virtual directory (using local credentials to the data PC) in IIS and I am fully able to browse and view all the files. So now the webserver is: WebserverData.

In my behind code, I call filestream f = (Server.MapPath("WebserverDatasomedata.txt")));

and it tells me access to that location: \webserverdatasomedata.txt is DENIED. BUT I am able to browse on the Win2k3 IIS server.

I've set impersonation to true and used local username and password of the data PC. I've configured IIS to use the same username password.

View 1 Replies

Configuration :: Unable To Save Graphic File On Virtual Directory?

Nov 25, 2010

I am really stumped on this. I have IIS setup on my local box, and a virtual directory pointed to the folder MapBuilder. IUSR and IWAM have been given full access. When I run this through web developer, everything works great. When I access it through IIS, the following error is generated:

[Code]....

The line of code that generates the error is:

[Code]....

If I change the code to use a virtual directory I get the same basic error on the Overview.Save call:

[Code]....

View 2 Replies

Configuration :: Need To Change The Port Or Use A Virtual Directory / Running On Vista?

May 18, 2010

I have setup a new site in IIS Manager and set the Host name to the actual website address, so everytime I try to access the site via the web it takes me to the site hosted on my pc. Do I need to change the port or use a virtual directory? Running on Vista.

View 1 Replies

Configuration :: IIS6 Virtual Directory And Separate Application Pool?

Feb 17, 2011

Our website has all of the publicly accessible pages at the root and private pages (login required) in a folder below the root (call it "private").Private pages are accessed as

www.oursite.com/private/somepage.aspx.I want to run the pages in the private folder in a separate application pool without changing the URL for private users.I tried making the private folder a virtual directory but then the pages in the private folder did not render(I think because it did not find a web.config in the private folder).Is the answer to simply put a copy of the web.config that resides at the root in the private folder or is that problematic?

View 4 Replies

Configuration :: Web Setup Project Change Virtual Directory Physical Path?

Apr 9, 2010

I created a web setup project. When the users install it, the virtual directory gets created and all the files are created under "C:Inetpubwwwroot<myvirtualdirectory>".

How to customize the web setup project so that I can change the virtual directory physical path? I had followed the tutorial

[URL]

but it didn't work and my MSI stopped installing alltogether.

View 4 Replies

Configuration :: Virtual Directory Targeting Newer Framework Version Than Parent Site?

Mar 25, 2011

There is an existing asp.net 2.0 app on an IIS 6 server. I need to add a feature/page to this site (third party app, don't have source code). I'm creating my tool in VS targeting dotnet 4. For end user convenience I need my tool to be available within the same url namespace as this .net 2.0 app. I assumed I would just create a new virtual directory within this existing app to put my app. But I hadn't thought about the different framework versions.... the web server does have v 4 installed. So can I create my virtual directory and host my v4 tool there, within the v2 website?

anything I should be aware of to make that work?

View 13 Replies

WCF / ASMX :: GetUser() Is Null When WCf In Virtual Directory Is Called In Parent Directory

Nov 10, 2010

I have a WCF service in a virtual directory that is called in the code behind of a page that is in the parent directory, when i debug the code i can see the wcf service is being called, however when the service calls Membership.GetUser() it alway returns null. The user has already logged in to the asp.net site. When i call the service via jquery it does pick up the correct user, but i need to be able to call it via the code behind as well. I am developing in .Net 3.5 how i can make the Wcf pick up the logged in user?

View 3 Replies

Installation :: Development To Web Movement: Directory Listing Denied - This Virtual Directory Does Not Allow Contents To Be Listed

Oct 27, 2010

I made a web form on a development website of mine (we'll call it dev.somewhere.com) and tried to publish it out to the web (we'll call it [URL]) in a subfolder. I named it default.aspx like I was supposed to and it worked flawlessly on the dev site. When I published it out the web, I wound up getting the following error when trying to get to the subfolder: [URL] Directory Listing Denied

This Virtual Directory does not allow contents to be listed. Confused and flustered, I tried to go to [URL], but I wound up with some error that won't tell me the problem. Instead it tells me to change the my web.config to read <customErrors mode="Off"/>.

View 1 Replies

Why Necessary To Create Virtual Directory In IIS When Website Content Is Placed In IIS Root Directory

Feb 13, 2010

As virutal directory points to physical path of the application, so if the IIS root directory is C:inetpubwwwroot and the application is stored at D:websites, than we need to create a virtual directory but if the application content is placed at C:inetpubwwwroot, then why still need to create virtual directory.

View 3 Replies

Configuration :: Can Create An Incremental Deployment Package Using Either Visual Studio 2010 Web Deployment Projects

Mar 27, 2011

Can I create an incremental deployment package using either Visual Studio 2010 Web Deployment Projects or Web Deploy (Web Deployment Tool) .

I need to automatically select changed files from a source and destination or a change set on TFS and build a deployment package only with the changed files.

View 9 Replies

C# - Get Name Of Virtual Directory?

Jan 30, 2010

I'm using Request.ApplicationPath to learn the name of the Virtual Directory in which I'm running. Is there a more reliable way?

View 2 Replies

C# - IIS 5.1 Not Resolving Virtual Directory?

Oct 13, 2010

I set up a Virtual Directory called 'Site'. I browse to [URL].In the source file, the relative paths are coded as '/Page1.aspx', for example, and it has worked in the past.I'm using Win XP Pro SP3 and IIS 5.1. Any ideas on what might be causing this behavior?

View 3 Replies

Go About Reading And Writing To Virtual Directory In 7?

Feb 10, 2010

How do you go about reading and writing to a virtual directory in iis 7?

View 2 Replies

A Virtual Directory Not Being Configured As An Application In IIS

Jan 13, 2010

I've below error message:

***********************************

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:PdfViewerPdfTestSiteWeb.Config 28

***********************************
When I double click the error it goes to Web.Config file to tag:

<authentication
mode="Windows"/>

The application name in IIS is PdfViewer

View 2 Replies

Virtual Directory In IIS To Physical Path

Mar 1, 2010

My basic question is, can a virtual directory in IIS point to a physical path that's not on the local machine? For instance, right now I have a virtual path /NaturalGasReport/NYMEX which points to physical path C:Program Files (x86)NymexSettleNATGAS_REPORTNYMEX, but I want it to point to a physical path on a difference PC on the same network. Is this possible? (I know I can just try it out so I apologize for asking but I thought it would be best to get an explanation along with "yes" or "no"). If you want more detail, this is what I need to do. To make a long story short, because of a vendor product we are using that won't run on a 64-bit operating system, I have to run a program called Generate_NGReportData.vbs (it's a vbscript program) on a PC I will call 28. It uses a vendor product which produces jpg files which are graphs of the Natural Gas market. The machine where I wish it could run is called RTEST01 but this machine runs a 64-bit OS and the components won't work there. RTEST01 has the databases. So, I created a datasource on 28 which points to RTEST01's database. The vbs program will read the data, generate the reports, and write one row to a database table on RTEST01. RTEST01 has to run the complimentary program which sends these reports (via email). 28 is not an email server so it can't email the reports. So on RTEST01 I will run Send_NaturalGasReport.vbs. This program creates an email body of html. The html references [URL]NaturalGasReport/NYMEX/" & Day(nymex_update_dt) & ".jpg which is a virtual directory pointing to C:Program Files (x86)NymexSettleNATGAS_REPORTNYMEX. I need it to point to the folder and files on 28.So if my initial question has a simple yes answer then I am all set. If not, examine my architecture and propose an alternative solution.

View 10 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved