Tag Archives: asp

Accessing Server variable from your aspx[designer] page

If you want to access any server variable from you designer[*.aspx] page. Use Following steps to do so: Create a variable with public nature on your code[*.cs] page on designer page use to show /print the same on page or …

Read more »

Calling a stored procedure from ASP.NET c# website/application

Hello All, To call a stored procedure you need to set CommandType property of SQLCommand to CommandType.StoredProcedure. Following is the sample code for the same:- Any ?’s, Please let me know. Thanks.

remove Debug=True while deploying ASP.NET web application to server

Please make sure to remove Debug=True while deploying ASP.NET web application to server, It increases performance of application in a significant manner.

Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module…

This error comes due to one of following reasons: You haven’t installed ASP.NET services on your IIS server. You haven’t  registered your .NET Framework  on your IIS Server. Solution:  To solve the issue try to repair the .net framework 4[whatever …

Read more »

Cannot use a leading .. to exit above the top directory

This error means some where in code your are using path which is targeting above root directory. Example: if you used “../images/img.png” on any Page/form which is on root folder of your website. Solution: Do not use ../xxxxx.xxx  for  pages/Forms …

Read more »