To solve this issue go to Control Panel --> Administrative Tools --> IIS Manager and Change Application site's Managed Pipeline from Integrated to Classic.
Wednesday, 25 February 2015
The requested page cannot be accessed because the related configuration data for the page is invalid problem in IIS
We need to change the config section applicationHost file
First Open folder path based on this
C:\Windows\System32\inetsrv\config
After open this path we will find applicationHost file.
Now select applicationHost file and right click on applicationHost file and open with Notepad to modify config section.
After open applicationHost file with Notepad
Go to <configSections> under that go to <sectionGroup name="system.webServer">
<section name="handlers" overrideModeDefault="Deny" />
change this value from "Deny" to "Allow"
<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
change this value from "Deny" to "Allow"
After change those values save your applicationhost file and run your application it will work for you.
First Open folder path based on this
C:\Windows\System32\inetsrv\config
After open this path we will find applicationHost file.
Now select applicationHost file and right click on applicationHost file and open with Notepad to modify config section.
After open applicationHost file with Notepad
Go to <configSections> under that go to <sectionGroup name="system.webServer">
<section name="handlers" overrideModeDefault="Deny" />
change this value from "Deny" to "Allow"
<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
change this value from "Deny" to "Allow"
After change those values save your applicationhost file and run your application it will work for you.
Monday, 9 February 2015
How to change local folder for TFS
To change local folder path for TFS do the following steps:
1- Connect to your TFS
2- Go to File > Source Control > Workspaces
3- Click on Edit... the workspace which is causing the problem
4- Change the local folder and click on OK.
1- Connect to your TFS
2- Go to File > Source Control > Workspaces
3- Click on Edit... the workspace which is causing the problem
4- Change the local folder and click on OK.
Sunday, 28 September 2014
CONVERT IP ADDRESS INTO URL IN C#
To convert an IP (Internet protocol) address into corresponding Url (Uniform Resource Locator) in C#, ASP.NET you need a help of IPHostEntry and IPAddress class. Make an object of this call and call the Dns.GetHostEntry() class to find the HostName against the Url.
IPAddress addr = IPAddress.Parse("195.175.254.2");
IPHostEntry entry = Dns.GetHostEntry(addr);
Response.Write(entry.HostName.ToString());
entry.HostName.ToString() will return the host name of the IP address.
IPAddress addr = IPAddress.Parse("195.175.254.2");
IPHostEntry entry = Dns.GetHostEntry(addr);
Response.Write(entry.HostName.ToString());
entry.HostName.ToString() will return the host name of the IP address.
Subscribe to:
Posts (Atom)
Copyright 2013 Keep Smiling Always