|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
virtual directory not being configured as an application in IIS?
Hi,
I have an .NET WebApplication running on my machine smoothly. Now I did an XCOPY to have it run on another location on my machine. I have created a new Virtual directory also for this purpose. But I get the following error on running the application, Parser Error: 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: Line 7: <compilation defaultLanguage="c#" debug="true" /> Line 8: <customErrors mode="RemoteOnly" defaultRedirect="error.aspx" /> Line 9: <authentication mode="Forms">--HIGHLIGHTED Line 10: <forms loginUrl="~/Login.aspx" /> Line 11: </authentication> in Web.config. If I tried taking the property of VirtualDirectory and clicking the 'Create' Application. But no change is found. If I delete the Line 9, the same error jumps onto <SessionState..> tag in Web.config. Any hints? Thanks in advance. |
|
#2
|
|||
|
|||
|
Try the NET forum maybe? Is the same NET framework installed on both computers? Are the two computers identical in all other ways? Are the permissions set properly?
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
virtual directory not being configured as an application in IIS
They application that I mentioned running smoothly is in D: drive and the copy is in C: drive , in the same machine.. Any clues from that?
Thanks. |
|
#4
|
|||
|
|||
|
Maybe the drive letter is embedded in your coding somewhere?
|
|
#5
|
|||
|
|||
|
virtual directory not being configured as an application in IIS
Quote:
Thanks Doug, I could get the issue solved by having the folder which had bin directory set as application thru Properties of the virtual directory. |
|
#6
|
|||
|
|||
|
Configuration of virtual dir as application under IIS
Quote:
Hi jap, I am having similar problem with my .NET web app. Could you please elaborate and write down the steps that you took to register the virtual directory as application in IIS. I have three items in the 'administrative tools', namely: Active Directory Domain and Trust Active Directory Sites and Services Active Directory Users and Computers Out of these three, which one should I use to register it as application under IIS. Your help is greatly appreciated, thanks. |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > virtual directory not being configured as an application in IIS? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|