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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:31:50+00:00 2026-05-25T21:31:50+00:00

Have a very large ASP.NET application I’m creating Automated UI test cases for, part

  • 0

Have a very large ASP.NET application I’m creating Automated UI test cases for, part of the final part of this test case is to remove the user it just created (so we keep the same details every single test run, and will expect the same results, no data will change.) and so I took to a stored procedure to do this.

The SP works fine in SQL, have tested it. Have now mapped it into LINQ2SQL. However when it is ran I get this:

System.InvalidOperationException: ‘System.Void’ is not a valid return type for a mapped stored procedure method.

The bottom line is that my SP doesn’t have a return type, I don’t want it to.

  • 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-25T21:31:51+00:00Added an answer on May 25, 2026 at 9:31 pm

    By default, the successful execution of a stored procedure will return the numeric value 0.

    Can you change the return type for your LINQ2SQL mapping to int? If you don’t care about the returned value, you can just ignore it.

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

Sidebar

Related Questions

I have an ASP.NET application that does a large database read. It loads up
I have a very large ASP.NET project that i need to make good with
We have an ASP classic ERP (very large application) that we want to rewrite
I have a very large file that looks like this (see below). I have
In my latest ASP.NET MVC 2 application I have been trying to put into
I have a Asp.net/C# web Application hosted under IIS7.5 server 2008 64bit. my application
Scenario : I have an ASP.NET MVC application developed in Visual Studio 2008. There
Summary We have an ASP.NET application that allows users to query a SQL Server
We have a large ASP.Net website that has a single css stylesheet which is
In my application, I have a large number of pages that repeat very similar

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.