ASP.Net – How to pass the user.identity.name from your ASP.Net application as a parameter via the client side of your aspx page to a flash program

Say you want to restrict access to your flash application that is called by your aspx page. That is easy enough by adding the aspx page to your your web.config file’s location/authorization section. But what if you want to pass …

ASP.Net – Missing URL parameter: IterationId’ Error

You get the following error when calling a reporting services report from your ASP.Net web application that passes a parameter on Non-IE browsers using the 2010 ReportViewer control:

Message
Missing URL parameter: IterationId
StackTrace
at Microsoft.Reporting.WebForms.HandlerOperation.GetAndEnsureParam(NameValueCollection urlQuery, …

Microsoft Visual Studio / Active Reports 6 – How to sort your collections using IComparer

Put this class in your solution. Change ‘[object name of your collection]’ to be the name of your object that defines your collection.

Public Class SimpleComparer
Implements IComparer(Of [object name of your collection])

    Private _propertyToSort As String
    Private _sortOrder As 

Microsoft Visual Studio 2010 – How to add recaptcha and have it work with Microsoft’s CreateUserWizard

Let’s say you create a web site, and you want to add recaptcha to the aspx page where clients can sign up for an account. Instead of a custom sign up form, you instead use Microsoft’s CreateUserWizard control. I’ll explain …

Microsoft Visual Studio 2010 – How to Set Up Forms Authentication for Your ASP.NET Web Site

After developing a web site that uses Forms Authentication, you need to create a SQL database that stores the client’s log-in information along with any profiles. The tool that creates the tables in your database that is needed for your …

Microsoft Visual Studio 2010 – How to pre-compile your “Web Site” and FTP only portions of your site to your Host.

You decided to build a “Web Site” and not a “Web Solution”. You proceed to use the PUBLISH utility in Visual Studio and publish your entire site to your host. You later make a change to your Web Site and …