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 started getting this error when posting the form back with Model Binder. To
This is a baffling one. My ASP.NET 3.5 app that was working fine suddenly
I am just getting started with expression trees so I hope this makes sense.
I am just getting started with IoC containers so apologies if this is a
I'm getting started on figuring out how to use RESTful design. I have this
I'm perhaps being a bit lazy asking this here, but I'm just getting started
Sorry, if this is a noobish question, but I'm just getting started with Rails
Just started getting a bunch of errors on our C# .Net app that seemed
I just started getting into BizTalk at work and would love to keep using
Just getting started with Linq to SQL so forgive the newbie question. I'm trying

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.