Pages

Tuesday, May 26, 2009

.Net Error Message: .Net 3.0 & 3.5 installation errors

Error Message:

[11/21/07,08:52:42] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[11/21/07,08:55:36] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[11/21/07,09:10:30] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[11/21/07,09:10:36] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
[11/21/07,09:12:06] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[11/21/07,09:12:11] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
[11/21/07,09:25:28] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[11/21/07,09:25:32] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
[11/21/07,09:38:12] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[11/21/07,09:38:17] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
[11/21/07,09:43:32] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[11/21/07,09:56:03] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[11/21/07,09:56:08] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.
[11/21/07,10:15:10] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[11/21/07,10:38:23] Microsoft .NET Framework 3.0a: [2] Error: Installation failed for component Microsoft .NET Framework 3.0a. MSI returned error code 1603
[11/21/07,10:38:28] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0a is not installed.

Solution:

First - 1

Stop the World Wide Web service.
Open IIS and try to stop it from there, or goto My Computer. Right Click. Manage Services.
Then close service named World Wide Web Publishing.

Second- 2

1. Uninstall IIS service and related components.
2. Reinstall IIS server and asp.net etc.
3. Install .Net 3.5 .

Error Message: Internet Explorer cannot open the internet site [the requested URL like www.interviewsworld.com]. Operation aborted

Visiting a Web page in Internet Explorer 5.5/6.0/7.0 will give this error. Internet Explorer cannot open the Internet site http://www.interviewsworld.com. Operation aborted.

This error will not occur in firefox, opera and Internet Explorer 8.0.

Cause:

This problem occur if a DIV element is a child container in a BODY element, and a SCRIPT block in the DIV element tries to modify the BODY element that is a parent container for the DIV element.

Dot Net Error : Internet Explorer cannot open the internet site [www.sample.com]. Operation aborted

Description: Visiting a Web page in Internet Explorer 5.5/6.0/7.0 will give this error. Internet Explorer cannot open the Internet site http://.com. Operation aborted. This error will not occur in firefox, opera and Internet Explorer 8.0.
Cause: This problem occur if a DIV element is a child container in a BODY element, and a SCRIPT block in the DIV element tries to modify the BODY element that is a parent container for the DIV element.

Save this page as a html file and run in internet explorer will generate same error.








This problem generally occurs while implementation Ajax, or using Modal Dialog box.

Solutions

Solution 1: Upgrade to Internet Explorer 8

Solution 2: Try to change the position of div tag.
Place script tag outside of div tag.






Solution 3: If you are getting error in below senario.







Try to move the position of script tag.







Friday, May 22, 2009

Reading last line in text file

StreamReader streamReader = new StreamReader("HereWillBeYourTextFilePath");
ArrayList lines = new ArrayList();

string line;

while ((line = streamReader.ReadLine()) != null)
{
lines.Add(line);
}
streamReader.Close();

if (lines.Count > 0)
{
Response.Write(lines[lines.Count - 1].ToString());
}

Wednesday, December 24, 2008

What is the difference between ASP.NET 1.1 and ASP.NET 2.0?

You can find differences in details-

http://www.interviewsworld.com/Default.aspx
http://www.codeproject.com/KB/aspnet/ComparisonASP1xASP20.aspx

What is difference between DML and DDL in SQL Server ?

DML : The statement that works with data in database is called Data manipulation language.

Example:

  • SELECT - Get rows from tables
  • UPDATE - Update the rows of tables
  • DELETE - Remove rows from tables
  • INSERT - Add new rows to tables

DDL: The Statement that works with object in database is called Data Definition language.

Example:

  • Create Table Statement
  • Create Database Statement
  • Create Index Statement
  • Drop Statement
  • Alter Statement
  • Drop table Statemet
  • Drop Database Statement

Monday, December 1, 2008

New feature in Visual Studio 2008

some new features are-.

1-Improved Designer (i.e.WYSIWYG)
2-modern CSS editing options
3-enhanced java script debugging and development support
4-visual studio 2008 can target web applications to the .NET 2.0 , .NET 3.0 and .NET 3.5 environment.

To Know more

http://www.interviewsworld.com/Q_326_new-feature-in-visual-studio-2008.aspx

Thanks

Shared Button