.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Unable to create the virtual directory - VS 2010

Posted By:      Posted Date: September 28, 2010    Points: 0   Category :ASP.Net

I just migrated from xp to windows7 and also fron VS2008 to VS 2010 so please bare with me if this is a simple question.  I am trying to get settle with my new dev environement and when I create a new web project and try to run it on IIS instead of the virtual server and use the create Virtual Directory button I get the following error message:

Unable to create the vitual directory. To aceess local Web sites, you must install the following IIS components:
IIS6 Metabase and IIS 6 Configuration Compatibility ASP.NET

In Addition, you must run Visual Studio in the context of an administrator account. 

If someone could help I would appreciate.


PS: I was running VS 2010 as an administrator when I got this error

View Complete Post

More Related Resource Links

create and Edit Virtual directory through c#


Hi All,

I am working in a .net C# .In my application I have to create in the
IIS>local computer>Web Sites>Default Web Site - virtual directory

and also I want to be able to
change properties of this vitrual directory (All process of creation virtual directory in the IIS I want to do programmaticaly).

I had make a program in C# for create a Virtual Directory.But i didn't able to edit its property..

After this i have to implement all this program in .Net Remoting 0r WCF.So please guide its possible and how to i make it ,Please members or seniors help me.I'll wait for reply..

Warm Regards:-
    Gourav Vishnoi
   +91-9871157845 (M)

Unable to Trust Active Directory So that can Be included In sharePoint 2010


Hi ,

I wanna add another Active Directory to User Profiles in SharePoint 2010,Please guide me in Step by Step.

Thanks in advance

Unable to create new web application in sharepoint foundation 2010


I installed and successfully setup development environment in win 7 ultimate through PowerShell. When I tried to create new web application in “Manage web application” option of central admin, I found “New” button greyed out. I applied all the solution while browsing internet:

1.       I run internet explorer as administrator

2.       I run central admin as administrator


Create a virtual directory in WebMatrix



I would please like to know the steps for creating a Virtual Directory for Webmatrix.

I referred the post http://forums.asp.net/p/1586631/4010126.aspx but could not understand how it can be done.

Thanks in advance.

Unable to create task using Custom task Process Action in Sharepoint Designer 2010 workflow

Problem : In Sharepoint Designer 2010, we are working on creating reusable workflow.
In workflow we are using "Start Custom task process" action. It has been observed that,all of the sudden it behaves weirdly. It creates task but without any number appending to taskform.for eg. when we create task it generally shows "Start Task(1) process on Current Item with these users" However now it does not provide any number with Task. It shows "Start Task process on Current Item with These users"
In task form , it does not allows to add task forms fields from existing fields nor allows to create outcomes.
Thus we are unable to create any new workflows or edit and enhance exisitng workflows in the site.This is showstoper for project. Client wants to use sharepoint designer exclusively to develop workflow.
When we tried to create workflow (Sharepoint designer) in a new site with new list it allows us to create custom tasks process. 
Resoultions approaches done so far.
1) Took backup of site on local box from Server and tried to create custom process task but not able to do it.
2) On Server removed all unwanted workflow status columns from the tasks list but still not able to create custom process task 
3) Took backup and t

Difference Btw Website vs Web application and Virtual directory in IIS 7


May i know what is the Differenc that they actually make in IIS7 .

Please tell me at a low level as i am still a novice in Asp.Net


Thanks in Advance.


Unable to search Custom User Property Created in User Profiles in SharePoint 2010


Hi ,

I have created a custom user property,and created metadata property and added mapping to it, still i m not able to Search in People,Please advise

how do i create a webpart for sharepoint 2010 that allows users to create their own subsite..



how do i create a webpart for sharepoint 2010 that allows users to create their own subsite..

for e.g..

i create a webpage in vs 2010 which allows users to create their account by specifying username and password..and make it a webpart and after that for that user a subsite should be created under sharepoint 2010 top level site.....how could i achieve that..

Quick Note: Create Silverlight Applications to Access SharePoint 2010 Data

In this exercise, you will learn how to create Silverlight applications to display SharePoint 2010 lists inside DataGrid controls.

Quick Note: Create Silverlight Graphs with SharePoint 2010 Data by Using LINQ

In this exercise, you will learn how to create Silverlight applications to retrieve SharePoint 2010 list data using LINQ.

Quick Note: Create Custom List Definitions in SharePoint 2010

In this exercise, you create a custom list definition in Microsoft SharePoint 2010 and then create an event receiver that is triggered when the list is used.

Quick Note: Create Visual Web Parts by Using SharePoint 2010 Controls

In this exercise, you create a SharePoint 2010 visual Web Part in Visual Studio 2010 and then add a SharePoint ListViewByQuery control, a ASP.NET Label control, and a SharePoint DateTime control to it.

Quick Note: Create Custom Content Types in SharePoint 2010

Learn how to create a custom content type. Then you add two fields to the content type: a new text field and a field that already exists in web site.

Quick Note: Create Lists with Custom Content Types in SharePoint 2010

Learn how to create a list in SharePoint Server 2010 and associate it with a new content type. Next, you disassociate the list from the content type and then delete the list.

Quick Note: Create Visual Web Parts for SharePoint 2010

Learn to create and deploy Visual Web Parts that display hierarchical views of list items and SubWebs.

send credentials for virtual directory through application

Hi All,Please let me know that how to send credentials for virtual directory through application.Thanking You...

unable to create new table in sql server 2000 enterprise manager on windows7(Operating system)

i have successfuly installed sql server 2000 on windows7 and i am able to browse all the tables and edit aswell(on enterprise manager) but i have a problem while creating new tables it says ' MMC has detected an error in a snap-in' and provides options to either continue with the error or send a report to microsoft ,   Please help regarding this compatibility issue   Thanks in advance !
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend