0

Possible Duplicate:
error when installing windows application on other pc

I had windows application and I published it and I installed it in other pc and when I was installing in this error apeared(unable to install or run the application.the application requires that assembly microsoft.sqlserver.connectioninfo version9.0.242 be installed in the global assembly cache (GAC) first.)

Community
  • 1
  • 1
Myworld
  • 1,861
  • 16
  • 45
  • 75
  • **[I've seen this question once before already](http://stackoverflow.com/questions/5209626/error-when-installing-windows-application-on-other-pc)**. You weren't willing to provide any additional information when asked before, and this question isn't any better than that one. – Cody Gray - on strike Mar 06 '11 at 13:34
  • 2
    I can't understand why this is a question... isn't the error message entirely clear? I would guess that you haven't installed the assembly microsoft.sqlserver.connectioninfo version 9.0.242 in the global assembly cache have you? I think you probably need to do that first? – James Gaunt Mar 06 '11 at 16:33

2 Answers2

1

Here's a post where they discuss this issue and it's solution:

http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/228a534e-a978-469c-9964-40d207ef8669

Thyamine
  • 1,228
  • 7
  • 10
1
  • Go to Project Properties page.
  • Go to Publish tab.
  • Click on Application Files button.
  • Change the Microsoft.SqlServer.ConnectionInfo.dll from "Prerequisite" to "Include".
  • Republish and try installing on the other computer again.
Bala R
  • 107,317
  • 23
  • 199
  • 210