Solved

sql server - Two versions of assembly

Posted on 2010-08-25
3
1,542 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to create an MVC5, Razor Widget 2 28
TSQL recursive CTE challenge... 8 29
linq, c# 8 24
how to restore or keep sql2000  backups useful... 2 18
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

830 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