Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6127669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:32:16+00:00 2026-05-23T16:32:16+00:00

I started getting this error in ASP.NET Gridview SQLDataSource. Everything was fine. In the

  • 0

I started getting this error in ASP.NET Gridview SQLDataSource. Everything was fine. In the Edit Column, Gridview I accediently added the same colum (ID) twice but then I removed it. I started getting this error. I am not passing anything anywhere. It is a simple select statement which joins the two tables.

SELECT T1.[ID], T1.[amg_id], T1.[FirstName], T1.[LastName],  
T2.[UserName] FROM [T1] JOIN T2
on T1.ApplicationUserID = T2.UserID

I could not figure how where I am getting this error. Then I copied my SQL statement from SQLDatasource to SQL Server Management Studio. Surprisingly I got the same error. If I split the join and pull the records individually, both queries work fine. Don’t know where is the problem and how it got started. The same query ran fine before.I hope to reply to this question, once I find the solution. SQL Error is here:

Msg 8169, Level 16, State 2, Line 1 Conversion failed when converting from a character string to uniqueidentifier.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:32:16+00:00Added an answer on May 23, 2026 at 4:32 pm

    I have only one idea about this issue – the types of T1.ApplicationUserID and T2.UserID are different … I think that this flash appears because of error you’ve mentioned. Please check the data types, what are they?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an ASP.NET project and I've started getting this really strange error
I was following this tutorial - Getting Started with an ASP.NET MVC 3 Website
This is a follow-up to: Getting Started With ASP.NET MVC3 & Google Checkout: Take
My ASP.NET MVC 3 website was working fine, and then this afternoon I started
I recently migrated to new version of protobuf-net, and i started getting this error
I decided to learn MVC so I am going through this tutorial, http://www.asp.net/mvc/tutorials/getting-started-with-mvc3-part2-cs .
I started getting this error when posting the form back with Model Binder. To
I just started getting this error today, seemingly out of nowhere. Any one see
Out of the blue today I started getting this error in Visual Studio 2008
I'm running IIS 6.0 on Windows 2003 and started getting this error: Compiler Error

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.