Solved

Data Connection Suddently Fails Between VS 2005 and SQL Server 2000

Posted on 2007-03-22
4
296 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

630 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