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 99639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:25:34+00:00 2026-05-11T00:25:34+00:00

I have a Guid.NewGuid() call that is creating an Empty Guid. What would cause

  • 0

I have a Guid.NewGuid() call that is creating an Empty Guid.

What would cause such a problem and how can I fix it?

Edit: The code:

<WebMethod()> _ Public Function CreateRow(rowValue As String) as String     Dim rowPointer As Guid = System.Guid.NewGuid()     Dim rowPointerValue As String = rowPointer.ToString()      Try         Dim result as Integer = SqlHelper.ExecuteNonQuery(ConnectionString, 'Sproc_Name', rowValue, rowPointer)          Return result     Catch ex as Exception         Throw ex     End Try End Function 

Edit: Turns out that rowPointer was originally being passed to the SqlHelper and not rowPointerValue – This of course is passed as empty, as pointed out in the answers. Changing it to rowPointerValue/rowPointer.ToString() fixed the problem.

  • 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. 2026-05-11T00:25:34+00:00Added an answer on May 11, 2026 at 12:25 am

    This is an old problem in VB.NET. It is only the debug visualizer that is broken.

    http://www.thesoftwaredevotional.com/2008/12/guid-visualizer-broken-in-vbnet.html

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

Sidebar

Related Questions

I have code which replaces the dash with empty strings in a GUID. Replace(System.Guid.NewGuid.ToString,
I have this piece of code: Page.ClientScript.RegisterClientScriptInclude(this.GetType(), Guid.NewGuid().ToString(), this.ResolveUrl(~/Scripts/min.js)); When we push to our
I feel like GUID/UUID questions have been done to death here, but I can't
I have a function that (via ajax) I pass a Guid and a comma
I have code below that is getting called from a while loop so it's
I have the following model: public class ABaseObject { private Guid id = Guid.NewGuid();
Possible Duplicate: How Random is System.Guid.NewGuid()? Based on this question I would like to
I have a GUID variable and I want to write inside a text file
Ok I have a GUID f5cc4100-f1b4-4af6-9e9e-224b0eb74166 and I am inserting it to MySQL database
I have these objects: public class Class { public Guid Id {get;set;} public string

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.