Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

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 ASP Free Forums Sponsor:
  #1  
Old April 9th, 2007, 10:39 AM
asmoran asmoran is offline
ASPFree Know-It-All
ASP Free Novice (500 - 999 posts)
 
Join Date: Aug 2004
Posts: 932 asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 16 h 32 m 39 sec
Reputation Power: 326
Element Not Found error when creating a virtual directory

That about sums it up. I right click on a folder and choose "properties". Normally I can just click on "create" to make the folder a virtual directory, but for some reason it's giving me a "Element Not Found" dialog box error message.

After the error it behaves as if it hasn't created the VD, but if you refresh the listings it appears with the right icon, and seems to have been created (though it doesn't work). When you go into the properties, the name field is blank. You can enter a name and click on OK and then it works just fine.

Anyways, I can't seem to find anything on Google. Anyone have any suggestions?

Reply With Quote
  #2  
Old April 9th, 2007, 09:09 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 32 m 56 sec
Reputation Power: 182
try backing up the data then delete the folder completely. Reboot a couple times for luck, then try re-creating the virtual directory normally. Possibly there used to be a folder there and then it got deleted from the disk but is still remaining in the IIS metabase.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old April 10th, 2007, 07:57 AM
asmoran asmoran is offline
ASPFree Know-It-All
ASP Free Novice (500 - 999 posts)
 
Join Date: Aug 2004
Posts: 932 asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 16 h 32 m 39 sec
Reputation Power: 326
Nope, this is happening to brand new folders. It's a brand new OS install, actually. And I've tried the reboot-and-pray technique several times to no avail.

Reply With Quote
  #4  
Old September 14th, 2009, 08:34 PM
Norma Norma is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Posts: 2 Norma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 9 sec
Reputation Power: 0
Hi Asmoran - I was wondering if you ever found a solution to this problem. We are experiencing the same on WIN2003. We have tried to reinstall metadata.xml- but it was no help. Like you said it happens on new and old folders.
Hope you can help - cheers Norma

Reply With Quote
  #5  
Old October 8th, 2009, 11:51 AM
ryanm72 ryanm72 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 1 ryanm72 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 38 sec
Reputation Power: 0
Quote:
Originally Posted by Norma
Hi Asmoran - I was wondering if you ever found a solution to this problem. We are experiencing the same on WIN2003. We have tried to reinstall metadata.xml- but it was no help. Like you said it happens on new and old folders.
Hope you can help - cheers Norma


It happens when you delete the DefaultAppPool. Recreate it and the error will go away.

-Ryan

Reply With Quote
  #6  
Old October 8th, 2009, 08:42 PM
Norma Norma is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Posts: 2 Norma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 9 sec
Reputation Power: 0
IIS Element Not Found Error

Hey Thanks for that Ryan. It was linked to the DefaultAppPool- we ended up raising this with Microsoft:

We had entries in the metabase.xml file for the DefaultAppPool, which were not required as we had deleted our DefaultAppPool for "business" reasons. There are a couple of possible reasons why we ended up with this corruption/conflict with the IIS settings in the metabase.xml file:

1. I could have happened when we uninstall FrontPage Server Extensions(FPS). We had to uninstall FPS to fix another error we were getting. Microsoft advised that the uninstall can cause conflict/corruption in the metabase.xml file.
2. It also could have happened after a live restore of our web server. We noticed that our third party support company did not restore all files and folders, perhaps this is how the metabase.xml file got 'out of sync' with the App Pools.

In the end Microsoft applied the following steps to fix the problem:

1. Open a command prompt on this server.
2. Navigate to %systemdrive%\inetpub\adminscripts directory.
3. Execute the following commands,
cscript adsutil.vbs set W3SVC/AppPoolId ASP
cscript adsutil.vbs set W3SVC/1/AppPoolId ASP

This replaced the DefaultAppPool entries with the valid 'ASP' app pool and we are now able to create applications - Yay!

Cheers - Norma

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Element Not Found error when creating a virtual directory


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





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek