Solved

sql server - Two versions of assembly

Posted on 2010-08-25
3
1,505 Views
Last Modified: 2012-05-10
I execute this query
use myDatabaseTest
GO
--Crear el Assembly
create assembly ConvertDecimalToString
 from 'D:\6232\Utilities.dll'
it is OK

Run the same code but using another database and got error of the following information
use AdventureWorks
GO
--Crear el Assembly
create assembly ConvertDecimalToString
 from 'D:\6232\Utilities.dll'
I have this error
Msg 10326, Level 16, State 2, Line 3
Two versions of assembly 'utilities, version=0.0.0.0, culture=neutral, publickeytoken=null, processorarchitecture=msil' cannot coexist in database 'AdventureWorks'. Keep one version and drop the other.

The problem is that there is already a dll with that name, as I can do to create the assembly without removing the existing ones.
0
Comment
Question by:enrique_aeo
3 Comments
 
LVL 2

Expert Comment

by:marat-oz
ID: 33527572
You already have created assembly, why do you what to create it twice?
0
 
LVL 12

Accepted Solution

by:
Nirmalan Nagenthiran earned 500 total points
ID: 33527963
0
 

Author Comment

by:enrique_aeo
ID: 33533231
Two people from different companies I have given each its assembly and coincidentally have the same name
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now