Solved

Data Connection Suddently Fails Between VS 2005 and SQL Server 2000

Posted on 2007-03-22
4
290 Views
Last Modified: 2013-11-27
Visual Studio 2005
(Also tried Visual Studio Express 2005)
Data Connections
Connecting to Windows 2000 Server Running SQL Server 2000

For the past few weeks I've been able to add database connections to my Visual Studio Data Connections and manage databases without any issues. Suddenly when I try to connect from VS 2005 or VS Express 2005 I get the following error:

Unable to Add Data Connection.
Failed to retrieve data for this request.
Could not load file or assembly 'Microsoft.VisualStudio.vspSQLEnum, Version 9.0.242.0, Culture=neutral, PublicKeyToken=8945dc8080cc91' or one of it's dependencies. Strong name validation failed.
(Exception from HRESULT: 0x8013141A)
Strong name validation failed. (Exception from HRESULT: 0x8013141A)

As far as I can remember I haven't installed anything new or changed any configurations. As I said, this problem affects both my installed instance of VS and VS Express, so I'm thinking the problem may be on the server or having something to do with network security.

Anyone know about this one?
0
Comment
Question by:cnxmax
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 11

Expert Comment

by:DeepuAbrahamK
ID: 18785065
This errors is caused by the only partial signed XXXX.dll assembly (see AssemblyInfo.cs). As a developer, you must register this assembly for verification skipping. Open the "Visual Studio .NET Command Prompt" and cd to the installation directory. Now enter e.g.:

    sn -Vr XXXX\bin\debug\XXXX.dll
    sn -Vl

Read this:-http://p2p.wrox.com/topic.asp?TOPIC_ID=9137
0
 

Author Comment

by:cnxmax
ID: 18785216
I tried this solution with the following DLL:

Microsoft.visualstudio.vspsqlenum.dll

It didn't solve the problem, but maybe are other dlls that I have to register. Any ideas about how to figure out what dependencies this dll has?
0
 
LVL 11

Expert Comment

by:DeepuAbrahamK
ID: 18786155
Try putting AssemblyInfo.cs:
Just see this link http://www.codeproject.com/dotnet/AssemblyTest.asp 
Best Regards,
DeepuAbrahamK
0
 
LVL 11

Accepted Solution

by:
DeepuAbrahamK earned 500 total points
ID: 18786170
Use Dependency walker to find the dependend dlls.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

710 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