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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:47:46+00:00 2026-05-25T17:47:46+00:00

We are having problems creating an assembly in our database and need some assistance.

  • 0

We are having problems creating an assembly in our database and need some assistance. We have two .NET 2.0 assemblies (ABC.Company.App1.dll and ABC.Company.App2.dll). Both assemblies only have references to System, System.Data, and System.XML. ABC.Company.App1.dll also references ABC.Company.App2.dll.

We’re trying to create the ABC.Company.App1.dll assembly using:

CREATE ASSEMBLY App1 
AUTHORIZATION dbo 
FROM 'C:\ApplicationPath\ABC.Company.App1.dll' 
WITH PERMISSION_SET = SAFE
GO

Note both assemblies are in C:\ApplicationPath.

But this fails. The error is:

Msg 10300, Level 16, State 1, Line 21
Assembly ‘ABC.Company.App1’ references assembly ‘ABC.Company.App2, version=0.0.0.0, culture=neutral, publickeytoken=null.’, which is not present in the current database. SQL Server attempted to locate and automatically load the referenced assembly from the same location where referring assembly came from, but that operation has failed (reason: version, culture or public key mismatch). Please load the referenced assembly into the current database and retry your request.

What’s the problem? How can we fix this?

The version of ABC.Company.App2 is definitely not 0.0.0.0. We’ve tried creating the ABC.Company.App2 assembly into our database first, which succeeds, but trying to create ABC.Company.App1 assembly still fails. A little more info. We’ve tried with PERMISSION_SET = SAFE, UNSAFE, and EXTERNAL_ACCESS, none of which work. And, these DLLs are not strongly named and are not registered in the GAC.

Help?!

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-05-25T17:47:47+00:00Added an answer on May 25, 2026 at 5:47 pm

    Sounds like you are trying to create assembly ABC.Company.App1.dll which references ABC.Company.App2.dll but, since ABC.Company.App2.dll hasn’t been created yet, you’re getting an error. Try creating ABC.Company.App2.dll first.

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

Sidebar

Related Questions

I have been having problems with creating a download list of files for a
We're having a significant number of problems creating a bulk upload function for our
I have been having problems creating a relative layout in XML for a list
I am having some problems creating a query that gives me the average of
I'm having some problems creating a view for a node within my website. The
I seem to be having some problems creating a jquery plugin. I am testing
I am having some problems creating a loop that could show the cheapest price.
I'm having problems creating MVC 3 T4 template. I have cleared the Custom Tool
Im having some problems creating a custom search form for jqGrid, on the last
I am creating some dynamic linq and am having problems with the following exception:

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.