Posts

Showing posts from June, 2012

Error when you browse your ASP site from IIS

When you take a copy of your project from TFS, and you run the project it will create virtual directory in IIS (Internet Information Service), after running (or pressing F5) it will encounter an error like Server Error in '/' Application. Or It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error will occur because you virtual directory is not act as Application. For converting your virtual directory in an Application follows following steps: For windows XP: Start -->  control panel --> Administrative tools --> Internet Information Service (IIS) Right click on website folder and select properties. Select the directory tab and click the create button in the Application Settings section. Now you can see the application name field enabled and your website converted into an application. Then click OK. Now browse your application, it will run without any error. For W...