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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:44:43+00:00 2026-06-11T20:44:43+00:00

I have a test website running on a test server with Windows Server Web

  • 0

I have a test website running on a test server with Windows Server Web (SP2) installed. I’ve just installed .NET4.5 on it. In the website (simple ASP.NET webforms from template) I’ve used Entity Framework 5 Spatial types, very simple code just for testing which runs fine on my local dev machine:

var conn = new DbEntities();
var geo = conn.tbl_SpatialData.First().GeoInfo;
var geom = DbGeometry.FromGml(geo.AsGml());
litText.Text = geom.AsGml();

However on the server it gives me this error:

Spatial types and functions are not available for this provider because the assembly ‘Microsoft.SqlServer.Types’ version 10 or higher could not be found.

The sql database where it wants to connect is on a different server, and is a SQL Server 2008 -> I am connecting to the same db from my local dev machine.

I’ve already tried searching for the dll on my local machine, and adding it to the website’s bin folder, however it gives me a new error requesting for another dll. I would like to have those dlls installed globally like on my dev machine. What am I missing or should I install on the server?

Thanks in advance!

  • 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-11T20:44:44+00:00Added an answer on June 11, 2026 at 8:44 pm

    That assembly and its dependencies are part of SQL Server Managements Objects. This feature must be installed on the server. It should be part of SQL Server’s Client Tools or Client Tools SDK.

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

Sidebar

Related Questions

I have a ASP.NET 1.1 application running on IIS 6 / Windows Server 2003.
I have an ASP.NET application running on Apache server with mod_mono. If I have
We have just moved a website to a new server, both servers are Windows
I am running a LAMP server on a VPS, and I have just installed
I have a test website with VS 2008 that just uses code behind files,
I'm using Dreamweaver to publish my website to the web server. I have a
I am trying to set up a mono asp.net 4.0 test website that uses
Using Visual Studio 2008, I have published my ASP.NET website to my local disk
I have built my new website in Visual Studio 2010 (C# - ASP.NET 4).
I have a VM on my Win 7 machine running Server 2008. My website

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.