ASP.NET Application Performance Tuning and Scalability Improvement (Part – 1)

Every developers and customer wants his/her application performed well. But it is very tricky to improve performance of a web application. It’s actually depends on different parameter like HTML client, HTTP network, Web server, middle-tier components, database components, resource-management components, TCP/IP networks, and database servers. Sometimes performance of the application increases drastically, if you change

Read More

bobj is undefined

Problem Statement I have an application developed with the following tools and technologies. MS .NET Framework 4.5 SAP Crystal Report 13.5 ASP.NET Web form SQL Server 2008 R2 In deployment server the report is not displayed. Instead I found a javascript error “bobj is undefined”. But it works fine in development server. Solutions Copy aspnet_client

Read More

How to register .NET framework in IIS

If you install IIS after installing framework, you have to register framework in IIS. Otherwise you will get following message after hosting asp.net application in IIS. ASP.NET 4.5 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.5 in order for your site to run correctly.

Read More

How to configure IIS for different port

1.      Open IIS Manager (run -> inetmgr) 2.      In the Connections pane, expand the Sites node in the tree, and then click to select the site for which you want to add/edit binding. 3.      Right click on the site and click Edit bindings 4.      Select Port on the site binding pane 5.      Click Edit button 6.      In Edit Site Binding pane type port (ex. 1080) and click Ok

Call JavaScript from Asp.net code behind

Suppose you want to display confirmation message by javascript from asp.net code behind after saving data. Write the following code in your button event. protected void btnSaved_Click(object sender, EventArgs e) { string msg = “Data saved sucessfully”; Page.ClientScript.RegisterStartupScript(this.GetType(), “Alert”, “

Which Service is using which port?

Every day we fell in some difficulties and want to know which service is using by which port? Ports are divided into three ranges: The well-known ports (from 0 to 1023), the registered ports (from 1024 to 49151) and Dynamic (Private) ports (from 49152 to 65535). The Internet Assigned Numbers Authority (IANA) is responsible for

Read More

HTTP Error 404.3

Did you find the error “HTTP Error 404.3” ? Yes, I found the error at the time of deploying my ASP.NET web application to IIS 7. I found the following error (screen shot). To solve the error follow the following steps: Step 1: Go to Control Panel -> Programs and Features -> Turn Windows

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