Global variable of ASP.net

Global variables are those variables that can be accessed anywhere in the application. Global variable should always be used with caution. It stores data. The most common way of accessing global variables in ASP.net are by using Application, Cache, and Session Objects. Application – Application objects are application level global variables, that need to be

Read More

HTTP/1.0 503 Service Unavailable

Some days ago, I fall in a problem. I could not create an ASP.net project. An error occurred when I press ok button in New project. ERROR: “The Web server reported the following error when attempting to create or open the Web project located at the following URL: ‘http://localhost/MyProjectMahedee’. ‘HTTP/1.0 503 Service Unavailable’.” Solution: Go

Read More

Could not access network location %SystemDrive%\inetpub\wwwroot\”

I have found the message – Could not access network location %SystemDrive%\inetpub\wwwroot\” – When I was trying to install Infragistic NetAdvantage on Windows 7. To solve the problem do the followings. 1. Type “regedit” in the Run From Start Menu dialog box to open the “Registry Editor”. 2. Find the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp\PathWWWRoot 3. Change

Read More