RSSCategory: Error and Solution

System.Security.SecurityException in Asp.Net

| April 23, 2013 | 0 Comments

I was trying to host Intranet website based on .Net Framework 2.0 on remote share with fewer privileges. But the web application got failed and showed exception as : Server Error in ‘/rso/intranet’ Application. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the […]

Continue Reading

Concatenate strings in .aspx page

| November 5, 2011 | 0 Comments

Problem I am trying to set label value dynamically in .aspx page. Additionally I need to concatenate strings in the .aspx page. Solution We would need to use string.Concat() function for same. Here is solution for concatenating string values in .aspx page: Code Snippet for .aspx: Above code results in string as http://80Hello.

Continue Reading

The database ‘file.mdf’ cannot be opened because it is version 655

| December 28, 2010 | 0 Comments

Problem: This was weird & probably first problem I faced related to Sql Server version(s). I was trying to learn Asp MVC with the help of sample application MvcMusicStore. I open it in VS 2010 and debug. On debugging it throw runtime exception: System.Data.EntityException was unhandled by user code. Message=The underlying provider failed on Open. […]

Continue Reading

The type initializer for CrystalDecisions.CrystalReports.Engine.ReportDocument threw an exception

| December 8, 2010 | 2 Comments

Problem I am having simple Window Forms application developed in VS 2005. And in that I am using Crystal Report so that reports can be shown to users. So when I was trying to show report application reported runtime exception as: The type initializer for CrystalDecisions.CrystalReports.Engine.ReportDocument threw an exception Solution I faced this exception because […]

Continue Reading

Could not load type System.Web.UI.ScriptReferenceBase

| October 20, 2010 | 0 Comments

Problem I was developing small web application by using ModalPopupExtender control of AjaxControlToolkit.Binary.NET 3.5 downloaded from AjaxControlToolKit. After registering AjaxControlToolKit when I used ToolKitScriptManager I got error as: Could not load type System.Web.UI.ScriptReferenceBase from assembly ‘System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′. Description: An unhandled exception occurred during the execution of the current web request. Please review the […]

Continue Reading

CheckBoxList cannot be validated

| September 25, 2010 | 0 Comments

Problem Sometimes the stuff doesn’t work in the way they are made to work. While I was trying for validation of CheckBoxList control with CustomValidator, I get runtime exception as Control ‘CheckBoxList1′ referenced by the ControlToValidate property of ‘chkCustom’ cannot be validated. So I got stuck with problem CheckBoxList cannot be validated. Solution The probable […]

Continue Reading

Missing JavaScript Intellisense Items in VS IDE

| August 30, 2010 | 0 Comments

As a developer you might have noticed some of the javascript intellisense items missing while developing website with Visual Studio IDE’s.  I checked in all and found missing javaScript intellisense items in VS IDE such as VS 2005, VS 2008, VS 2010. Why is it so? What’s the reason behind. Read out details here. I searched […]

Continue Reading

Cross-thread operation not valid

| August 13, 2010 | 0 Comments

What is Cross-thread operation not valid? It is a part of details of InvalidOperationException that is raised when you try to access control of one thread from another thread. Code Snippet There are two controls on Form Button named btnStartThread & second one is TextBox named txtName. And if you execute following code you will […]

Continue Reading

File is being used by another process

| August 10, 2010 | 1 Comment

Problem: A small problem that can be solved by just little sense of intelligence proves  that leaving a little loop hole in your program can make your peace of mind to disturb. Actually I was developing a small application named Screenshot. The application was meant for capturing screen shot of active display device. As application […]

Continue Reading

Failed to import ActiveX control in Visual Studio 2005

| July 13, 2010 | 1 Comment

Problem: I was working on a project to add ActiveX controls such as Microsoft Forms 2.0 Label from COM tab. For this I followed the steps: Right click in ToolBox. Select option Choose Items. From Choose ToolBox Items under COM tab, I checked Microsoft Forms 2.0 Label & then OK. Item was successfully added to […]

Continue Reading

Sex Chat Live Jasmin WP-Clear 3.0 Theme