Archive

Archive for July, 2009

ASP on Vista Error: Disallowed Parent Path cannot contain ‘..’ to indicate the parent directory.

July 31st, 2009 No comments

Classic ASP may give you this error. Full error is something like this:

Active Server Pages error ‘ASP 0131′

Disallowed Parent Path

/include/login.asp, line 1

The Include file ‘../includes/hello.asp’ cannot contain ‘..’ to indicate the parent directory.

You can do this on Windows Vista/IIS7

  1. Start Internet Services Manager.
  2. Click Default Web Site, and then click Properties.
  3. Double-click ASP in the Features pane.
  4. Expand Behavior.
  5. Click Enable Parent Paths.
  6. Click True for Enable Parent Paths.
  7. Click Apply.

 

If you ned more details, check: http://support.microsoft.com/kb/226474

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: ASP.NET, Web Design

Dynamic Language Runtime

July 31st, 2009 No comments

The dynamic language runtime (DLR) is a runtime environment that adds a set of services for dynamic languages to the common language runtime (CLR). The DLR makes it easier to develop dynamic languages to run on the .NET Framework and to add dynamic features to statically typed languages.

Some of the available languages which use DLR are:

 

Dynamic Language Runtime Architecture Overview

You can read more about dlr and its documentation here:

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: DOTNET, News, PHP

Project Management Interview Questions

July 30th, 2009 No comments

Just came through an excellent list of questions (only questions ;) ).

Link: http://www.pmconnection.com/modules.php?name=News&file=article&sid=27

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General

Windows 7 Wallpaper

July 30th, 2009 No comments

Just made a quick wallpaper for my desktop. Thought I may share it with my readers :)

image

Size: 1024×800

Download here
Alternate: here

VN:F [1.9.18_1163]
Rating: 5.0/5 (1 vote cast)
Categories: General

ASP.NET 4.0 and Visual Studio 2010 Web Development Features

July 29th, 2009 No comments

Read it here: http://www.asp.net/learn/whitepapers/aspnet40/

Or download the whitepaper directly for offline reading here

 

Contents

Core Services
Extensible Output Caching
Auto-Start Web Applications
Permanently Redirecting a Page
The Incredible Shrinking Session State
AJAX Functionality in ASP.NET 4.0
Client Template Rendering
Instantiating Behaviors and Controls Declaratively
Live Data Binding
Using the Observer Pattern with JavaScript Objects and Arrays
The DataView Control
The AdoNetServiceProxy Class
The DataContext and AdoNetDataContext Classes
Refactoring the Microsoft AJAX Framework Libraries
Web Forms
Setting Meta Tags with the Page.Keywords and Page.Description Properties
Enabling View State for Individual Controls
Changes to Browser Capabilities
Routing in ASP.NET 4.0
Setting Client IDs
Persisting Row Selection in Data Controls
FormView Control Enhancements
ListView Control Enhancements
Filtering Data with the QueryExtender Control
Dynamic Data
Declarative DynamicDataManager Control Syntax
Entity Templates
New Field Templates for URLs and E-mail Addresses
Creating Links with the DynamicHyperLink Control
Support for Inheritance in the Data Model
Support for Many-to-Many Relationships (Entity Framework Only)
New Attributes to Control Display and Support Enumerations
Enhanced Support for Filters
Visual Studio 2010 Web Designer Improvements
Improved CSS Compatibility
HTML and JScript Snippets
JScript IntelliSense Enhancements
Web Application Deployment with Visual Studio 2010
Web Packaging
Web.Config Transformation
Database Deployment
One-Click Publishing
Resources

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General

Microsoft Wave

July 28th, 2009 No comments

image

Microsoft Wave available now. It is a site that brings you freshest developments and products to come out of Microsoft.

image

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: News

Internet freedom

July 28th, 2009 No comments

Some times I get nervous :) when I hear the question:

Praveen, why do you need Internet?

I am more on Research activities and gets mad when I do not get sufficient access to resources.

BLOCKER!!!!BLOCKER!!!!BLOCKER!!!!

btw, we all are bound to obey the rules :) Let the needle run…

Well, funny that I have access to http://www.youtube.com/ even though I have no access to http://www.phpframeworks.com

VN:F [1.9.18_1163]
Rating: 1.0/5 (1 vote cast)
Categories: General

ninethsense bandwidth usage

July 27th, 2009 2 comments

>> The domain ninethsense.com (ninethse) has reached 80% of its bandwidth limit (2837.31/3500.00 Megs).

 

Every month end I have to face this :( … recession… no money to upgrade hosting ;)

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General

How to add a button to Outlook Standard toolbar

July 23rd, 2009 No comments

Here goes a quick code. You need to write your own button removal code ;) This uses VSTO – for Office 2007

image

private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
	Office.CommandBar cbar 
		= Application.ActiveExplorer().CommandBars["Standard"];
 
	Office.CommandBarButton btn 
		= (Office.CommandBarButton)cbar.Controls.Add(Office.MsoControlType.msoControlButton, 
		Type.Missing, Type.Missing, Type.Missing, true);
 
	btn.Click +=new Microsoft.Office.Core.
		_CommandBarButtonEvents_ClickEventHandler(btn_Click);
 
}
 
 
private void btn_Click(CommandBarButton Ctrl, 
			ref bool CancelDefault)
{
	MessageBox.Show("Clicked me!");
}
VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: C#, Code Snippets, VSTO

My first artile on CodeGain.com – Custom Membership provider for SharePoint

July 22nd, 2009 No comments

www.codegain.com is new for me. I thought I must post my next article there as I liked the name ‘CodeGain’ :)

Click here to read this article article

My intention for this article was to provide a kick start for the SharePoint developers to write a Custom Provider for their database. You should be able to:

  • Use your existing user database with your SharePoint
  • Upgrade your existing ASP.NET application to SharePoint
  • Authenticate against a webservice etc.

If you search on internet, you will find much results for configuring forms authentication in SharePoint. As a beginner you will be still confused and the question still pending will be "how to use my own user database with SharePoint?".

Read more

A draft of the article I posted at Kidoos.net also – http://kidoos.net/content/SharePointCustomMemershipProvider.aspx

VN:F [1.9.18_1163]
Rating: 4.0/5 (1 vote cast)
Categories: Articles, ASP.NET, C#, SharePoint