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

  • Home
  • SEARCH
  • 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 8269899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:22:59+00:00 2026-06-08T06:22:59+00:00

I am starting to learn RavenDB. I installed Server version on the server machine,

  • 0

I am starting to learn RavenDB. I installed Server version on the server machine, and added Client dlls to a simple console application. When I am trying to run the application, it gives me a WebException: “The request was aborted: The request was canceled.”

Here is the code:

public class Article : AbstractIndexCreationTask<Article>  
  {
    public string Id { get; set; }
    public string Text { get; set; }
    public string Title { get; set; }

    public Article()
    {
        Map = articles => from article in articles select new { article.Text };  
    }
} 

       static void Main(string[] args)
    {
        var ravenIntroArticle = new Article()
        {
            Text = "RavenDB fits into a movement that is called ...",
            Title = "RavenDB Introduction",
        };

        var csharpUsingArticle = new Article()
        {
            Text = "The full value of the C# using statement ...",
            Title = "Your Friend the C# Using Statement",
        };

        var nutsAndProteinArticle = new Article()
        {
            Text = "Nuts are a great source of protein ...",
            Title = "Nuts and Protein",
        };

        using (IDocumentStore documentStore = new DocumentStore() { Url = "http://rtest01:8081" })
        {
            documentStore.Initialize();
            using (IDocumentSession session = documentStore.OpenSession())
            {
                session.Store(ravenIntroArticle); // the exception happens here
                session.Store(csharpUsingArticle);
                session.Store(nutsAndProteinArticle);
                session.SaveChanges();
            }
        }

enter image description here

Here is what happens when I try to run it on local server “http://localhost:8080“

enter image description here

Could you please tell what I am missing?

Thanks.

  • 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-06-08T06:23:02+00:00Added an answer on June 8, 2026 at 6:23 am

    Your port 8080 in the Code Url "http://rtest01:8080" does not match the port 8081 shown in the console running RavenDb Server.

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

Sidebar

Related Questions

im starting to learn php, a little application im building needs to send visitors
I'm currently starting to learn about JavaScript on the server side with node, I've
I'm starting to learn more about the Ruby object model, and am trying to
im just starting to learn flex and im trying to understand how Flex does
I'm starting to learn about Scrum, and I'm interested in trying it out with
I am just starting to learn JavaFX 2. Now I am trying to build
I'm starting to learn Rails. I'm using Rails 3. In my simple App, I
I'm just starting to learn the C programming language. I've written this simple piece
Starting to learn Canvas and have two classes so far (main one to call
Just starting to learn ASP.NET (C#) and I am using Visual Studio 2008. I

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.