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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:38:32+00:00 2026-05-30T13:38:32+00:00

I have a VS2010 SQL Server project. I also have a simple C# library

  • 0

I have a VS2010 SQL Server project. I also have a simple C# library that I’d like it to reference. The library is pure .NET, it just does some string parsing. I think that I have to reference the library once it’s on SQL Server (but I might be wrong about that). I’ve copied the library to the server, and added it to SQL Server using:

CREATE ASSEMBLY MyAssembly
FROM 'F:\CLR\MyDll.dll'
WITH PERMISSION_SET = SAFE

The library shows up in sys.assemblies. However, I can’t add it as a reference in my SQL Server project. When I go to “Add Reference… -> SQL Server”, it’s not in the list.

I’m not sure how to go about debugging this further, and any help would be appreciated.

  • 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-30T13:38:33+00:00Added an answer on May 30, 2026 at 1:38 pm

    Solved this. I failed to realise that Assembly object are created per-database, not per-server. My SQL Server project connection string didn’t specify an initial catalog, and as such was looking in “master”, not in the database where I’d created my assembly. Point the string at the right database, and it works.

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

Sidebar

Related Questions

I am working on project (VS2010 .NET) and have two SQL Server databases, Dev
I have a ASP.NET MVC2 project in VS2010 that can be deployed in two
I have an ASP.NET MVC 3 project that I just created using the project
I have a standard sql server 2008 project which has been created using vs2010.
I've created a medium-sized web-based automation project for a university (VS2010,C#,ASP.NET,SQL Server 2008), now
I have vs2010 ultimate installed and sql server 2008 developer. I created a package
I'm using VS2010,C#,SQL Server to develop my ASP.NET web app, although this is not
I'm using MVC3 VS2010 with EF4.1, I have created my DB using SQL Server
net project in vs2010 i have a db and table inside the app_data folder,
I have both SQL Server CE 3.5 and 4.0 installed. In VS2010 WPF, when

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.