IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old May 19th, 2005, 05:22 AM
jap jap is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 14 jap User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 39 m 11 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old May 19th, 2005, 11:20 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
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

Reply With Quote
  #3  
Old May 19th, 2005, 11:27 PM
jap jap is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 14 jap User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 39 m 11 sec
Reputation Power: 0
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.

Reply With Quote
  #4  
Old May 22nd, 2005, 09:30 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
Maybe the drive letter is embedded in your coding somewhere?

Reply With Quote
  #5  
Old May 26th, 2005, 05:42 AM
jap jap is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 14 jap User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 39 m 11 sec
Reputation Power: 0
virtual directory not being configured as an application in IIS

Quote:
Originally Posted by Doug G
Maybe the drive letter is embedded in your coding somewhere?



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.

Reply With Quote
  #6  
Old July 7th, 2005, 12:50 PM
mhsdevshed mhsdevshed is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 1 mhsdevshed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 52 sec
Reputation Power: 0
Configuration of virtual dir as application under IIS

Quote:
Originally Posted by jap
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.


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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > virtual directory not being configured as an application in IIS?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway