I have a root application that has various sub-applications (subdirectories
set up as applications within IIS). All of the sub-applications rely on the
root application for profiles, membership, etc.
This all worked fine for a bit, but now, I get an error when trying to build
the root site:
"It is an error to use a section registered as
allowDefinition ='MachineToAppl ication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS."
The subdirectory is configured as an application in IIS.
I also need to have separate global.asax pages for the root application and
the sub-applications, and Visual Studio doesn't seem to like this either.
How can I get this to work?
TIA,
jdn 8 1532
I was able to resolve the issue, though it isn't totally satisfactory.
If you add a web site (new or existing) in Visual Studio 2005, you have
three options: File System, IIS, FTP.
I don't know about the FTP option, but if you use the File System option,
the problem comes up. No sub-applications are recognized as such by VS
2005, no matter how they are configured in IIS.
If you use the IIS option, things are fine. So, if you have code that isn't
in the inetpub\wwwroot folder, set up the web site within IIS to point to
the folder where it resides, and then add the site to VS 2005 using the IIS
option. It will then see any sub-applications as applications.
This shouldn't be the case, in my opinion. Even a File System web site
should see the IIS settings. But, this is a workable workaround. You will
need to add any of the sub-applications as separate web sites to VS 2005 in
order to work on them (in the root application, they simply appear with a
special icon).
jdn
"jdn" <ki******@earth link.net> wrote in message
news:eK******** ******@TK2MSFTN GP14.phx.gbl... I have a root application that has various sub-applications (subdirectories set up as applications within IIS). All of the sub-applications rely on the root application for profiles, membership, etc.
This all worked fine for a bit, but now, I get an error when trying to build the root site:
"It is an error to use a section registered as allowDefinition ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."
The subdirectory is configured as an application in IIS.
I also need to have separate global.asax pages for the root application and the sub-applications, and Visual Studio doesn't seem to like this either.
How can I get this to work?
TIA, jdn
On Sat, 21 Jan 2006 19:06:43 -0600, "jdn" <ki******@earth link.net>
wrote: I was able to resolve the issue, though it isn't totally satisfactory.
If you add a web site (new or existing) in Visual Studio 2005, you have three options: File System, IIS, FTP.
I don't know about the FTP option, but if you use the File System option, the problem comes up. No sub-applications are recognized as such by VS 2005, no matter how they are configured in IIS.
If you use the IIS option, things are fine. So, if you have code that isn't in the inetpub\wwwroot folder, set up the web site within IIS to point to the folder where it resides, and then add the site to VS 2005 using the IIS option. It will then see any sub-applications as applications.
This shouldn't be the case, in my opinion. Even a File System web site should see the IIS settings. But, this is a workable workaround. You will need to add any of the sub-applications as separate web sites to VS 2005 in order to work on them (in the root application, they simply appear with a special icon).
jdn
Hi,
This isn't a bug. In order to recognize application in IIS, Visual
Studio has to read the metabase and display file and folder structure
according to what is there. Obviously, this doesn't apply in a file
system project.
Jim Cheshire
--
Blog: http://blogs.msdn.com/jamesche
"Jim Cheshire" <no****@nomail. com> wrote in message
news:02******** *************** *********@4ax.c om... On Sat, 21 Jan 2006 19:06:43 -0600, "jdn" <ki******@earth link.net> wrote:
I was able to resolve the issue, though it isn't totally satisfactory.
If you add a web site (new or existing) in Visual Studio 2005, you have three options: File System, IIS, FTP.
I don't know about the FTP option, but if you use the File System option, the problem comes up. No sub-applications are recognized as such by VS 2005, no matter how they are configured in IIS.
If you use the IIS option, things are fine. So, if you have code that isn't in the inetpub\wwwroot folder, set up the web site within IIS to point to the folder where it resides, and then add the site to VS 2005 using the IIS option. It will then see any sub-applications as applications.
This shouldn't be the case, in my opinion. Even a File System web site should see the IIS settings. But, this is a workable workaround. You will need to add any of the sub-applications as separate web sites to VS 2005 in order to work on them (in the root application, they simply appear with a special icon).
jdn
Hi,
This isn't a bug. In order to recognize application in IIS, Visual Studio has to read the metabase and display file and folder structure according to what is there. Obviously, this doesn't apply in a file system project.
Jim Cheshire -- Blog: http://blogs.msdn.com/jamesche
I disagree. You shouldn't have a set of sites that WORK and have VS 2005
tell you that you can't build correctly.
I can't imagine it would be impossible to add the capability to do this.
At least you didn't call it a feature.
jdn
Okay, I will call it a feature. One of the purposes of the File System
option within VS 2005 is because some computers will not be able to have IIS
installed. In some corporate environments, IIS is not allowed on local
workstations, even this may be their development environment. Additionally,
some developers only have access to XP Home which does not come with IIS.
So, the File System option provides web developers the ability to test their
website with a standalone web server.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."
"jdn" <ki******@earth link.net> wrote in message
news:uC******** ******@TK2MSFTN GP15.phx.gbl... "Jim Cheshire" <no****@nomail. com> wrote in message news:02******** *************** *********@4ax.c om... On Sat, 21 Jan 2006 19:06:43 -0600, "jdn" <ki******@earth link.net> wrote:
I was able to resolve the issue, though it isn't totally satisfactory.
If you add a web site (new or existing) in Visual Studio 2005, you have three options: File System, IIS, FTP.
I don't know about the FTP option, but if you use the File System option, the problem comes up. No sub-applications are recognized as such by VS 2005, no matter how they are configured in IIS.
If you use the IIS option, things are fine. So, if you have code that isn't in the inetpub\wwwroot folder, set up the web site within IIS to point to the folder where it resides, and then add the site to VS 2005 using the IIS option. It will then see any sub-applications as applications.
This shouldn't be the case, in my opinion. Even a File System web site should see the IIS settings. But, this is a workable workaround. You will need to add any of the sub-applications as separate web sites to VS 2005 in order to work on them (in the root application, they simply appear with a special icon).
jdn
Hi,
This isn't a bug. In order to recognize application in IIS, Visual Studio has to read the metabase and display file and folder structure according to what is there. Obviously, this doesn't apply in a file system project.
Jim Cheshire -- Blog: http://blogs.msdn.com/jamesche
I disagree. You shouldn't have a set of sites that WORK and have VS 2005 tell you that you can't build correctly.
I can't imagine it would be impossible to add the capability to do this.
At least you didn't call it a feature.
jdn
Then they should have found a way to be able to remove project files (where
they could have stored the required information) and yet not have this
happen.
I would call it maybe a design flaw then, instead of a bug.
I don't think it makes sense to be able to write perfectly functional, legal
code, which functions within a file system project and have the IDE say the
site can't be built.
jdn
"Christophe r Reed" <ca****@nospam. nospam> wrote in message
news:eT******** ******@TK2MSFTN GP15.phx.gbl... Okay, I will call it a feature. One of the purposes of the File System option within VS 2005 is because some computers will not be able to have IIS installed. In some corporate environments, IIS is not allowed on local workstations, even this may be their development environment. Additionally, some developers only have access to XP Home which does not come with IIS. So, the File System option provides web developers the ability to test their website with a standalone web server. -- Christopher A. Reed "The oxen are slow, but the earth is patient."
"jdn" <ki******@earth link.net> wrote in message news:uC******** ******@TK2MSFTN GP15.phx.gbl... "Jim Cheshire" <no****@nomail. com> wrote in message news:02******** *************** *********@4ax.c om... On Sat, 21 Jan 2006 19:06:43 -0600, "jdn" <ki******@earth link.net> wrote:
I was able to resolve the issue, though it isn't totally satisfactory.
If you add a web site (new or existing) in Visual Studio 2005, you have three options: File System, IIS, FTP.
I don't know about the FTP option, but if you use the File System option, the problem comes up. No sub-applications are recognized as such by VS 2005, no matter how they are configured in IIS.
If you use the IIS option, things are fine. So, if you have code that isn't in the inetpub\wwwroot folder, set up the web site within IIS to point to the folder where it resides, and then add the site to VS 2005 using the IIS option. It will then see any sub-applications as applications.
This shouldn't be the case, in my opinion. Even a File System web site should see the IIS settings. But, this is a workable workaround. You will need to add any of the sub-applications as separate web sites to VS 2005 in order to work on them (in the root application, they simply appear with a special icon).
jdn
Hi,
This isn't a bug. In order to recognize application in IIS, Visual Studio has to read the metabase and display file and folder structure according to what is there. Obviously, this doesn't apply in a file system project.
Jim Cheshire -- Blog: http://blogs.msdn.com/jamesche
I disagree. You shouldn't have a set of sites that WORK and have VS 2005 tell you that you can't build correctly.
I can't imagine it would be impossible to add the capability to do this.
At least you didn't call it a feature.
jdn
On Tue, 24 Jan 2006 19:33:13 -0600, "jdn" <ki******@earth link.net>
wrote: Then they should have found a way to be able to remove project files (where they could have stored the required information) and yet not have this happen.
I would call it maybe a design flaw then, instead of a bug.
I don't think it makes sense to be able to write perfectly functional, legal code, which functions within a file system project and have the IDE say the site can't be built.
File system mode was meant to work against the ASP.NET Development
Server. You can, of course, use it to open content that's in physical
folders in the IIS web site structure, but in doing so, you have to
accept the fact that File System projects do not enumerate the
metabase because they are . . . well, file system projects.
Jim Cheshire
--
Blog: http://blogs.msdn.com/jamesche
There's a distinct difference between being able to "write perfectly
functional, legal code" and "have the IDE say the site can't be built".
Just because the individual pieces work doesn't mean that the website will.
If the files cannot be compiled together, then your website cannot function.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."
"jdn" <ki******@earth link.net> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. .. Then they should have found a way to be able to remove project files (where they could have stored the required information) and yet not have this happen.
I would call it maybe a design flaw then, instead of a bug.
I don't think it makes sense to be able to write perfectly functional, legal code, which functions within a file system project and have the IDE say the site can't be built.
jdn
"Christophe r Reed" <ca****@nospam. nospam> wrote in message news:eT******** ******@TK2MSFTN GP15.phx.gbl... Okay, I will call it a feature. One of the purposes of the File System option within VS 2005 is because some computers will not be able to have IIS installed. In some corporate environments, IIS is not allowed on local workstations, even this may be their development environment. Additionally, some developers only have access to XP Home which does not come with IIS. So, the File System option provides web developers the ability to test their website with a standalone web server. -- Christopher A. Reed "The oxen are slow, but the earth is patient."
"jdn" <ki******@earth link.net> wrote in message news:uC******** ******@TK2MSFTN GP15.phx.gbl... "Jim Cheshire" <no****@nomail. com> wrote in message news:02******** *************** *********@4ax.c om... On Sat, 21 Jan 2006 19:06:43 -0600, "jdn" <ki******@earth link.net> wrote:
>I was able to resolve the issue, though it isn't totally satisfactory. > >If you add a web site (new or existing) in Visual Studio 2005, you have >three options: File System, IIS, FTP. > >I don't know about the FTP option, but if you use the File System >option, >the problem comes up. No sub-applications are recognized as such by VS >2005, no matter how they are configured in IIS. > >If you use the IIS option, things are fine. So, if you have code that >isn't >in the inetpub\wwwroot folder, set up the web site within IIS to point >to >the folder where it resides, and then add the site to VS 2005 using the >IIS >option. It will then see any sub-applications as applications. > >This shouldn't be the case, in my opinion. Even a File System web site >should see the IIS settings. But, this is a workable workaround. You >will >need to add any of the sub-applications as separate web sites to VS >2005 in >order to work on them (in the root application, they simply appear with >a >special icon). > >jdn >
Hi,
This isn't a bug. In order to recognize application in IIS, Visual Studio has to read the metabase and display file and folder structure according to what is there. Obviously, this doesn't apply in a file system project.
Jim Cheshire -- Blog: http://blogs.msdn.com/jamesche
I disagree. You shouldn't have a set of sites that WORK and have VS 2005 tell you that you can't build correctly.
I can't imagine it would be impossible to add the capability to do this.
At least you didn't call it a feature.
jdn
"Jim Cheshire" <no****@nomail. com> wrote in message
news:qi******** *************** *********@4ax.c om... On Tue, 24 Jan 2006 19:33:13 -0600, "jdn" <ki******@earth link.net> wrote:
Then they should have found a way to be able to remove project files (where they could have stored the required information) and yet not have this happen.
I would call it maybe a design flaw then, instead of a bug.
I don't think it makes sense to be able to write perfectly functional, legal code, which functions within a file system project and have the IDE say the site can't be built.
File system mode was meant to work against the ASP.NET Development Server. You can, of course, use it to open content that's in physical folders in the IIS web site structure, but in doing so, you have to accept the fact that File System projects do not enumerate the metabase because they are . . . well, file system projects.
Jim Cheshire -- Blog: http://blogs.msdn.com/jamesche
All the more reason to bring back project files then, I would think.
<shrug>
jdn This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Marcus |
last post by:
I have seen many posts of people with the same problem as me (attached
below), but I have yet to see any solutions posted. Has anyone figured
out how to deploy an Asp.net web site to the webserver in any place
other than the default website? I do not want to install it there as
our IIS has multiple websites, but nowhere is there an option when...
|
by: Christopher J. Walker |
last post by:
Hello,
I am trying to create a website on port 8888 with VisualStuidio 2005. When
I go to create a new project or migrate from an old one, everything seems to
work fine, but when I go to build I get an error on every .aspx page like:
ASP.NET runtime error: '/www.website.com:8888/' is not a valid virtual path.
page.aspx 1 1 ...
|
by: William LaMartin |
last post by:
I just received my Visual Studio upgrade to 2005 and tried to create a new
web site via File | New Web Site with location http. Unfortunately I
received the following error:
"Visual Web Developer does not support creating Web sites on a SharePoint
Web server"
If I create a new server extensions 2002 web in IIS and mark it as an...
|
by: William LaMartin |
last post by:
It was suggested that I post this query here rather than in the
Microsoft.public.dotnet.languages.vb group.
I just received my Visual Studio upgrade to 2005 Pro and tried to create a
new web site via File | New Web Site with location http. Unfortunately I
received the following error:
"Visual Web Developer does not support creating Web...
|
by: m.roello |
last post by:
In the book:
"Working with Microsoft Visual Studio 2005"
Craig Skibo wrote:
"The power of Visual Studio 2005 lies in its ability to empower users to
build, test, and debug powerful applications quickly and easly."
I don't agree on what concernes ASP .NET Web Sites in VS2005.
All what involves Namespaces in Web sites has been disappeared....
| |
by: fiona |
last post by:
Innovasys Ltd., a leader in help authoring and documentation tools,
today announced the inclusion of a tailored version of the Innovasys
HelpStudio help authoring product, HelpStudio Lite, in the Microsoft
Visual Studio 2005 Software Development Kit. By providing a full help
authoring environment within the Visual Studio 2005 SDK, Innovasys...
|
by: Rolf Welskes |
last post by:
Hello,
for a large web site project we would like to use nested Master Pages.
Unfortunely VS2005 is not able to show pages in design mode when
nested Master pages are used.
This has the consequence that also each content page cannot be used in
design mode.
It is impossible to design hundrets of pages in source mode without design
|
by: Edwin Smith |
last post by:
I have a 2 form project in VS2005 that now hangs whenever I try to do
anything with the second form. This seems to have started when I added some
SQL tables from a Pervasive v.9 database using the Pervasive ODBC driver.
The devenv.exe process hangs and will not respond with about 50% cpu usage
and about 100 megs of memory used.
I am...
|
by: johnlim20088 |
last post by:
Hi,
Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in some files and work on it.
Let say, I want add new page to web project named websiteOrder.sln, i will open websiteOrder.sln in my local computer,...
|
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...
|
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...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
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...
| |