January 2006 - Posts
Hello:
I decided to make your life easy :D, and thanks for Wessam.
My new RSS Feed is:
http://bhaidar.net/cs/blog/rss.aspx
Regards
I would like to announce my new blog located at http://www.bhaidar.net
Please do updated your RSS links to my new blog.
Regards
I spent the whole day working on my dream. It is taking lots of time, but at least, there is something making me happy these days !!
Keep an eye here!!
Regards
Have you ever faced that error before?
I have started development lately on a Windows 2003 Standard Server, having both VS.NET 2003 and VS.NET 2005 installed.
I was trying to open a DotNetNuke project yesterday and got the error by VS.NET 2003:
Error while trying to run the project : Unable to Start debugging on the web server. You do not have permissions to debug the server
Verify that you are a member of the 'Debugger Users' group on the server
I have Integrated Security on, Network Service, ASPNET, Administrator (Local Account), IUSR_MachineName accounts all added in the Debugger Users group.
Lately, I figured out after reading this document, How To Solve Debugger Problems
If you created the web project with a full machine name (like “machinename.domainname.something”), the web site is recognized as “Internet” site.
So the default setting of IE will impact on the behavior of log on. In this case, you need to enable logging on with your current user account in “Internet” area with IE setting.
But it is not the default setting of IE, so you’d be better off if you create project with only the machine name.
So, open the IE browser, go to --> Tools --> Internet Options --> Security --> Custom Level --> User Authentication --> Select Automatic Logon with current username/password
This will hopefully, fix your problem.
Regards
Here I am announcing the start of the Lebanese and Personal Dream.
Keep an eye on this Blog, to know more about the Dream.
Regards
Hello:
I have been using Windows Live Mesesnger for a week or so. At first I felt myself *New In Town*, but now I am finding it nice and helpful too; especially that *Share Folder* thingy.
Here is the offer :D
The first person (Who has not yet got an invitation ;)) who sends me an email asking for an invitation to get the New Live Messenger, will get it !!
Regards
Go and check my ego here: Ego Surf
Regards
In my work today, I faced a very weird thingy, here it is:
I was retreiving a bit column from the table whose default value is set to 0, and then using an SqlDataReader, and the weird thing is that I used:
1- (bool)reader[col]
2- Convert.ToBoolean(reader[col]])
3- reader.GetInt32(col)
Nothing worked but:
Convert.ToBoolean( Convert.ToByte( reader[col] ) )
Can anyone explain why that happened? I beleive, option #1 should work pretty simple.
Regards
A new and cool feature in ASP.NET 2.0, that allows you to import default namespaces once in the Web.Config file, and then every ASPX page (Not Code-Behind) can see those imported namspaces. Here is a small code:
<?xml version="1.0"?>
<configuration>
<system.web>
<pages buffer="true" maintainScrollPositionOnPostBack="true">
<namespaces>
<add namespace ="System.Web" />
<add namespace="System.Text"/>
</namespaces>
</pages>
</system.web>
</configuration>
Hope you liked that.
Regards
There is a new ASP.NET 2.0 Security Wiki in Town, go and check it:
http://channel9.msdn.com/wiki/default.aspx/SecurityWiki.ASPNET2SecurityFAQs
Regards
When I start a new project, I usually create a Blank Solution in VS.NET, then add to it my Class Libraries and Web Application. The problem I used to have before is that, every time I did some changes in one of the Class Libraries I had to update the references manually to all other projects referencing that updated Class Libraries.
Thank to Peter Johnson for hinting for me that:
Correct way:
1. Right-click web project file, choose "Add Reference..."
2. Click "Projects" tab.
3. Select your class library project and hit OK.
Wrong way:
1. Right-click web project file, choose "Add Reference..."
2. On ".NET" or "Browse" or "Recent" tabs, choose your class library output DLL.
Hope that helps you out.
This way, whenever you change anything in your Class Libraries, then you do a Build, all the references will be updated.
Regards
Before I create a new web application in Visual Studio .NET 2003, I usually create a new website in IIS MMC, then create the new web application based on the url of teh website I created early.
Today, doing the same process as above generated the following error:
The web server reported the following error when attempting to create or open the Web Project located at the following URL: '....' . 'HTTP/1.1 403 Forbidden'
If you ever face such a problem, make sure in the website's properties screen in IIS MMC, in the Home Directory Tab, Execute Permissions is 'Script Only', since by default it will be 'None'.
Regards
Hello:
I just finished now configuring my laptop to function as follows:
My laptop is a toshiba Satellite M45 Series. The host operating system is Windows XP + SP2.
I have created a Virtual PC with the guest operating system as Windows 2003 Standard Server and installed on it most of the development tools I use, including:
Visual Studio 2003 + Visual Studio 2005 + MS SqlServer 2000 + FireWorks MX 2004 + IE 6.0 + FireFox 1.0 + MS Front Page 2003
Then I backed-up the new VPC which is around 7GB to an external HardDisk.
I will now format my host machine and have a clean installation of WinXP SP2.
This way, whatever happened to my guest machine, the basic tools which usually takes like 6 or 7 hours to be installed will be preserved now.
You can also, create a VPC with any windows installation and keep that VPC as a Base HardDisk, then I can create other VPCs out of that Base HardDisk by inheriting from the base one.
Hope this post helps you out.
Regards.
I kindly invite you to check my latest article on the www.aspalliance.com, with the title of:
Code Snippets in Visual Studio 2005
Hope you enjoy it.
Regards
My colleague Dave Wanta published his new informative website about System.Net.Mail, the new namspace for email-related issues in ASP.NET 2.0
check at: http://www.systemnetmail.com/
Regards
I have been recently working on creating a website for a company here in Lebanon, using pure CSS. I needed to test my website against some old browsers like IE 5.5 and others.
I found the following website: http://browsers.evolt.org/ Which has most of the old and new browsers.
Have a look at.
Regards