Geeks With Blogs
Server Error in Application An unhandled exception occurred during the execution of the current web request unhandled exception
More relaxing jobs are more dangerous: Economic Slowdown, JOB CUTs and Software Developer.
I just posted article about "Economic Slowdown, JOB CUTs and Software Developer." I wish everybody should not to be in situation to read this..... More relaxing jobs are more Normal 0 false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; ......

Posted On Wednesday, October 15, 2008 2:36 PM

SQL Server 2005 (Database) Interview Questions
SQL Server 2005 Interview Questions 1. What is DESCRIBE command in SQL Server 2005? What is its purpose? How to use it? DESCRIBE is used to see table structure. In SQL server 2005 we can use sp_columns, sp_tables or sp_help. sp_columns will show list of columns and its details in table. sp_tables will show list of tables in the databas 2. What is RDBMS? Relational Data Base Management Systems (RDBMS) are database management systems that maintain data records and indices in tables. Relationships created ......

Posted On Friday, September 19, 2008 2:49 AM

IE 7 Vs Firefox Vs Safari
I did quick test to check which browser eats more memory. My test is not so robust. I only open 4 similar pages into all the browser and check the memory uses into Window task manager. What I found Safari eats more memory then IE 7 and least memory consume by Firefox. I am not saying this test is a sufficient test for browsers. Here is snapshot. Interview Questions | ASP.NET Interview Questions | .NET Interview Questions ASP.NET 2.0 Interview Questions | .NET 2.0 Interview Questions | SQL Server ......

Posted On Friday, May 23, 2008 12:21 AM

ASP.NET 2.0 Interview Questions
Related Post: Talent vs Attitude – Harsha Bhogle Association, Aggregation, Composition object relationship What we can learn from Babies ASP.NET 2.0 Interview Questions 1. What is the name of the property of ASP.NET page that you can query to determine that a ASP.NET page is being requested not data being submitted to web server? A. FirstGet B. Initialized C. IncludesData D. IsPostBack IsPostBack 2. While creating a Web site with the help of Visual Studio 2005 on a remote computer that does not have ......

Posted On Thursday, January 10, 2008 7:33 AM

Items collection cannot be modified when the DataSource property is set.
Items collection cannot be modified when the DataSource property is set. This exception “Items collection cannot be modified when the DataSource property is set.” occurs when you trying to add some text like “Select” or “None” in combo box (drop down list) in .NET framework window form control. There is no such way to add items in combo box’s items property after you set DataSource. To avoid this you can add one more item in your datasource. For example if you are trying to bind drop down list through ......

Posted On Wednesday, December 26, 2007 7:59 PM

ASP.NET TextBox MultiLine maxlength
ASP.NET textbox multiline maxlength multiline textbox with maxlength in asp.net According to msdn in ASP.NET you can not use textbox’s MaxLength property with Multiline Mode. But I was required in my current application. So I search google and other search engines and finally got few solution. I am simply compiling all of the solutions in single post. Solution Number 1 for ASP.NET TextBox.MultiLine maxlength Add following javascript function Count(text,long) { var maxlength = new Number(long); // ......

Posted On Thursday, December 27, 2007 11:41 PM

Mutex Could not be Created.
Mutex Could not be Created. Some time while running ASP.NET web application through Visual Studio you might receive following error Server Error in Application. Mutex could not be created. Few workaround for “Mutex Could not be Created.” Interview Questions | ASP.NET Interview Questions | .NET Interview Questions ASP.NET 2.0 Interview Questions | .NET 2.0 Interview Questions | SQL Server 2005 Interview Questions “Mutex Could not be Created.” Solution number 1 1. If your visual studio 2005 is open, ......

Posted On Thursday, December 27, 2007 6:28 AM

Association, Aggregation, Composition
Association, Aggregation, Composition update - Please read updated article on Association, Aggregation, Composition When we have only one relationship between objects, that is called Association. Aggregation and Composition both are specialized form of Association. Composition is again specialize form of Aggregation. Association is a relationship where all object have their own lifecycle and there is no owner. Let’s take an example of Teacher and Student. Multiple students can associate with single ......

Posted On Friday, November 3, 2006 1:40 AM

EXECUTE permission denied on object 'aspnet_CheckSchemaVersion', database 'myDB', schema 'dbo'.
To resolve this there are some work workaround Re-run the aspnet_regsql.exe. If first one is not working for you then you have to “Add the user to the aspnet_Membership_FullAccess database role.” -- Add user to database role USE aspnetdb GO sp_addrolemember 'aspnet_Membership_FullAcce... 'Network Service' “Network Service” is your user name Related Post: Association, Aggregation, Composition object relationship Talent vs Attitude – Harsha Bhogle What we can learn from Babies ......

Posted On Saturday, October 7, 2006 6:40 AM

Brief about Static modifier in C#
Static modifier used with the class, field, method, properties, operator, event and constructors. We can not use static modifier with indexers, destructors. When we use static modifier with the members then they are no more part of instance of a class. Static members are a part of class itself. For example: public class MyClass { public struct MyStruct { public static int x = 100; } } //To refer to the static member x, use the fully qualified name MyClass.MyStruct.x Consider a class that represents ......

Posted On Wednesday, September 27, 2006 10:46 AM

Validation of viewstate MAC failed / The state information is invalid for this page and might be corrupted
The error caused by an ASP.net 2.0 feature named Event Validation. This is a security feature ensures postback events allowed and created by the server to help prevent spoofed postbacks. This feature is implemented by having controls register valid events when they render. The end result is that at the bottom of your rendered tag, you'll see something like this: When a postback occurs, ASP.net uses the values stored in this hidden field to ensure that the button you clicked invokes a valid event. ......

Posted On Friday, September 22, 2006 6:41 AM

EnableEventValidation error .NET v2.0
I had a problem today using a custom control with button. Clicking on the button gave me the following error: “Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true... in configuration or <%@ Page EnableEventValidation="true" %> in a page. This verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid then ClientScriptManager.Registe... ......

Posted On Thursday, September 21, 2006 10:54 AM

Running batch file through ASP.NET application
Few days back In my project I have to run a batch file which contains the series of piped MS-DOS commands to deals with Active Directory. Running batch file through ASP.NET requires impersonate the user id (for ASP.NET aspnet account), which requires lots of code and require understanding of windows securities. I found one work around which is very easy and no need of extra coding. In MS SQL Server there is one stored procedure named “xp_cmdshell” which executes a given command string as an operating-system ......

Posted On Friday, September 15, 2006 12:48 PM

Abstract Class vs Interface
Introduction: There are lost of discussion on the internet about the Interface vs Abstract class. Also, as base class whether we have to use interface, abstract class or normal class. I am trying to point out few considerations on which we can take decision about Interface vs Abstract class vs Class. Abstract Class vs Interface I am assuming you are having all the basic knowledge of abstract and interface keyword. I am just briefing the basics. We can not make instance of Abstract Class as well as ......

Posted On Wednesday, July 5, 2006 10:38 AM

Get control name in Page_Load event which make the post back
Hi, Few day back i need post back control name in the Page_Load event. I did lots of search on net. I found few intersting fact about that and i am sharing that. There are two types of controls which make post back in ASP.NET. One button type control like image button, button (whose type is “submit”), and another type use javascript function “_doPostBack” for the post back. If post back control is button type then it will be added in the Request.Form collection means if there are two button in a ......

Posted On Tuesday, June 27, 2006 9:48 AM

Copyright © Mahesh Singh | Powered by: GeeksWithBlogs.net