Solved

Data Connection Suddently Fails Between VS 2005 and SQL Server 2000

Posted on 2007-03-22
4
272 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
  • 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

762 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

23 Experts available now in Live!

Get 1:1 Help Now