locked
CreateRepository fails with 'cannot assign a default value to a local variable. Must declare the variable @login'

    Question

  • When the Oslo SDK Installation Wizard failed installing the Repository, I tried a number of things:
    - installing Oslo on a pretty clean Windows 2003 Standard SP2 (might have left overs from a SQL 20005 installation) => same error
    - installing Oslo on Windows 2008 Enterprise (upgraded from Windows 2003) => same error

    Any ideas?
    Friday, October 31, 2008 10:23 AM

Answers

  • We do not support Sql Server 2005 at all, because some of the repository features depend on Sql Server Katmai.
    • Marked as answer by Mike Weinhardt Wednesday, November 05, 2008 4:56 PM
    Friday, October 31, 2008 11:40 PM

All replies

  • I've seen this error when trying to install the repository on a non-default instance of SQL.

    The easy way to fix this is to install to the default instance.

    To create a default instance of SQL Express, follow the instructions here

    Basically, you have to install an instance named MSSQLSERVER.

    I do not know if there is a different way of resolving the issue.
    • Proposed as answer by Snaaks Friday, October 31, 2008 3:31 PM
    Friday, October 31, 2008 2:41 PM
  • Hi Lex,

       We supstect that you still have an active default instance of Sql Server 2005 in your system. Please make sure this is not the case and that you are using a Sql Server 2008 default instance for installing the Oslo SDK.
    Friday, October 31, 2008 6:44 PM
  • I posted this on MS Connect and it was resolved as By Design:

    https://connect.microsoft.com/oslo/feedback/ViewFeedback.aspx?FeedbackID=378415

    Is it By Design to not support SQL Server 2005 for the Repository?  Or just to not support it for the October CTP?
    Erik
    Friday, October 31, 2008 11:17 PM
  • We do not support Sql Server 2005 at all, because some of the repository features depend on Sql Server Katmai.
    • Marked as answer by Mike Weinhardt Wednesday, November 05, 2008 4:56 PM
    Friday, October 31, 2008 11:40 PM