When attempting to POST to a web page in Internet Information Services (IIS) 5.1 under Windows 2000 (Win2k) or Windows XP, you may receive the following error:
The page cannot be displayed The page you are looking for cannot be displayed because the page address is incorrect.
——————————————————————————–
Please try the following: If you typed the [...]
Archive for April, 2007
HTTP 405 -Resource not allowed Error in IIS
Posted in DotNet 2.0, Techincal on April 30, 2007 | 4 Comments »
ASP.NET Session State Management Using SQL Server
Posted in DotNet 2.0, Techincal on April 20, 2007 | 8 Comments »
Web applications are by nature stateless. Statelessness is both an advantage and a disadvantage. When resources are not being consumed by maintaining connections and state, scalability is tremendously improved. But the lack of state reduces functionality severely. Ecommerce applications require state to be maintained as the user navigates from page to page. ASP.NET’s Session [...]
Unable to load DLL ‘ABCpdfCE6.dll’: The specified module could not be found. (Exception from HRESULT: 0×8007007E)
Posted in DotNet 2.0, Techincal on April 19, 2007 | 8 Comments »
This is a common error that may occure while you are using ABCPDF to generate PDF in asp.net. If you install the component on your machine and use that in application it works fine. However when you copy that application on a machine on which component is not installed, it throws eception as “Unable [...]
Create PDF in ASP.NET
Posted in DotNet 2.0, Techincal on April 19, 2007 | 4 Comments »
In my current web application I have to genarate PDF for subcription information and need to attach in email. I was searching a component which can generate PDF from HTML content. ABC PDF is really a cool component to generate PDF and really simple to use in application. You can find the trial version here.
Happy Programming !!
Session Management in ASP.NET
Posted in DotNet 2.0, Techincal on April 17, 2007 | 1 Comment »
ASP.NET Session State: Architectural and Performance Considerations
I recently came across a great post on one of the internal forums describing the strengths and weaknesses of different ASP.NET session state strategies.
As you’re probably aware, state management is an important consideration for web developers. The HTTP protocol is connectionless, so any web application that persists data [...]
Difference between user defined function and stored procedure
Posted in DotNet 2.0, Sql Server, Techincal on April 17, 2007 | 39 Comments »
Advantages of User Defined Functions
Before SQL 2000, User Defined Functions (UDFs), were not available. Stored Procedures were often used in their place. When advantages or disadvantages of User Defined Functions are discussed, the comparison is usually to Stored Procedures.
One of the advantages of User Defined Functions over Stored Procedures, is the fact that a UDF [...]
Javascript function to check valid decimal value with specified digits after decimal point
Posted in DotNet 2.0, DotNet 3.0, Javascript, Techincal on April 17, 2007 | 2 Comments »
Below is the function that validates only positive decimal numbers in text box. You can specify number of digits that can be allow after decimal point.
var NumberofDigitsAfterDecimal = 8 ;
function CheckUnit(sender, args)
{
if(document.getElementById(“TextBoxName”).value ==” )
{
args.IsValid = false;
}
else
{
if(isNaN(document.getElementById(“TextBoxName”).value))
args.IsValid = false;
else
{
var val = document.getElementById(“TextBoxName”).value;
if(val.indexOf(“.”) > -1)
[...]
Validation of viewstate MAC failed.
Posted in DotNet 2.0, Javascript, Techincal on April 6, 2007 | 4 Comments »
I was trying to post my aspx page to new page using JavaScript. The common methods “document.form1.submit()”. I have specified action and method attribute also. Still I was getting error on form submit as shown below,
“Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> [...]
Single Sign on between Form Authentication Applications
Posted in DotNet 2.0, Techincal on April 2, 2007 | 4 Comments »
In my recent interview, I faced an interesting question. “Can we use single sign on for diffrent Form Authentication Sites?”. Obviously my answer was “No Idea”. After that I search on net for this and found that, yes !! we can do that. Below is the way to achieve this.
SSO for parent and child [...]