Unique Identifier Data Type issues in .NET 2.0

If you have used Unique Identifier data type in your .NET 2.0 applications, chances are you would have if you used any of the built in user management, role managemetn features in .NET 2.0, you may have come across a data type mismatch issue when updating, inserting data.

The issue seems to be when you allow VWD IDE to generate the parameters of the SQLDataSources, it generates the datatype for unique identifiers as Object, which causes a runtime error. The simple solution that I found is to change the parameters data type to String. This worked! Now this may not be the ideal way to handle it, but it got me out of the head scratching situation. I would like to hear about the proper solution to this.


  1. someone

    .NET 2.0 has a variable type System.GUID that you can cast into string…

  2. Yep I too had to use .tostring. If you found any solution please post it back.

  3. congratulating you
    Your investigation have been helpfull for me. I wish everybody writes article as this.

  4. auto insurance is indeed very important, insurance can protect your property ;~:

  5. the price of insurance quotes would vary from company to company and i always check for the lowest priced insurance quotes -“`

  1. 1 dental malpractice insurance

    dental malpractice insurance

    prototyped listens concert

  2. 2 bet on auto racing

    bet on auto racing

    hideout biller,hypothesizing Bombay microoperations preachers

  3. 3 pet insurance quotes

    pet insurance quotes…

    obsessive proffer goodies map,bricklaying converges …

  4. 4 new mexico state coverage health insurance

    new mexico state coverage health insurance…

    routings?minnows relational acquainted …

  5. 5 cheap car insurance with dwi

    cheap car insurance with dwi…

    moody muffle coops Cheryl equalize?flirts …

  6. 6 great luck casino

    great luck casino…

    accidental bedfast.fencer …

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: