Help Mozilla create a guinness world record by downloading the new Mozilla Firefox 3 on firefox download day. Firefox wants the release of Firefox 3 to be a record-setting event. so pledge to download firefox 3 on the download day.

You can pledge here

ASP.NET membership and roles control creates a default database ‘ASPNETDB.MDF' for storing and retrieving users and roles. If you already have a database and want to use that for the login controls then here is what you have to do

For using the exisiting database for the login control we have to configure it for ASP.NET memebership, profile and role management. Which means that we have to add new tables for the exisiting database. This can be done using the  ASP.NET SQL Server Registration Tool (aspnet_regsql.exe). You can find this in “%WINDOWS%\Microsoft.NET\Framework\v2.0.50727″ folder.

If you are using a SQL Server Standard Edition then follow these steps:

1. Run the aspnet_regsql.exe tool and You’ll get a screen asking whether you want to Configure a SQL server for the application service or You want to remove the application service from a databse. Choose Configure a SQL server for application services

2. Then put in your Server name. select the databae you want to configure

3. Click Next and you’ll be asked to confirm the settings

And you are done.

If you are using SQL server Express Edition then you’ll be using a database present in the App_Data folder in your project. For this the server is:localhost\sqlexpress . And the database name is its path. Lets say you have a database called MyDB.mdf in your App_Data folder then the name would be “C:\VisualStudio\Website\App_Data\MyDB.mdf “. Follow these steps to complete the process

1. To use the database in the tool we need to first attach it to the server which can be done by running the tool from command-line with specified arguments

sqlcmd -S localhost\SQLExpress -Q “EXEC sp_attach_db ‘Foobar’, N’C:\VisualStudio\Website\App_Data\MyDB.mdf‘”

where FooBar is a name you are giving your databse in the server. You can change it to anything you want.

2. Then run the following command

aspnet_regsql.exe -S localhost\SQLExpress -d Foobar -E -A all

3. Tables will be added to your database and you can use it for the membership and roles control

Once configuring the databases is done you are ready to get all login-related queries to your database. But the Default SQL server membership providers (SqlMembershipProvider, SqlRoleProvider, SqlProfileProvider) will send queries to ASPNETDB.MDF.
We have to modify the web.config file. Here is a web.config file configured to use an exisiting database MYDb.mdf

<configuration>
  <connectionStrings>
     <add name="MyDB" connectionString="..." />
  </connectionStrings>
  <system.web>
    ... authentication & authorization settings ...

    <roleManager enabled="true"
                 defaultProvider="CustomizedRoleProvider">
      <providers>
         <add name="CustomizedRoleProvider"
              type="System.Web.Security.SqlRoleProvider"
              connectionStringName="MyDB" />
      </providers>
    </roleManager>

    <membership defaultProvider="CustomizedMembershipProvider">
      <providers>
         <add name="CustomizedMembershipProvider"
              type="System.Web.Security.SqlMembershipProvider"
              connectionStringName="MyDB" />
      </providers>
    </membership>

  </system.web>
</configuration>

Recently I was searching for some stuff in the internet and stumbled upon this!
Google Search Beta!

I actually found this in the Internet Archive.This is an organization which keeps snapshots of all webpages taken at various points of time.This , of course , is the real Google Search Website in 1998 (You can seen the year in the snapshots).

To change the mac address in Linux i’ll be using the ifconfig utility:

( I am using Fedora 8 )

  1. Open Terminal
  2. $ su
  3. # /sbin/ifconfig eth0 down hw ether 00:00:00:00:00:00
    (assuming the device to be eth0 and the new mac address to be  00:00:00:00:00:00.In some distros  # ifconfig eth0 down hw ether 00:00:00:00:00:00 might work)
  4. # /etc/init.d/network restart
  5. # /sbin/ifconfig  will display all the details with the new mac address

These are steps you should follow to successfuly install a Nvidia Display driver for linux (I am using Fedora 8 and my hardware is Nvidia GeForce Go 7150M)

  1. Download the latest driver or the driver which complies with your graphics card from here
  2. Press Ctrl+Alt+f1. This will stop X and will take you to the command prompt.
  3. Login As root
  4. Enter /sbin/init 3 This will take you runlevel 3 from where you can install the driver. To know what are these runlevel you can visit here
  5. cd to the directory which contains the nvidia driver
  6. then do this: sh <filename> (mine was this: sh NVIDIA-Linux-x86-169.12-pkg1.run) . This will take you to nvidia driver installation screen. Follow the instructions there.
  7. Enter /sbin/init 5. To get back to runlevel 5

And you are done!

Hello everyone! here goes my first blog…

“Without tradition, art is a flock of sheep without a shepherd. Without innovation, it is a corpse.
-Winston Churchill

So true.I’ll start off my first post with a topic which is amazimgly expressed in the above quote, Innovation.Innovation is what drives every business today and is going to do forever.To flourish a Startup or a Big Company innovation should be the chief agenda.I came across an amazing slideshow which imparts the concept of innovation perfectly.

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

Follow

Get every new post delivered to your Inbox.