.NET Framework Bookmark and Share   
 index > Microsoft Codename 'Oslo' > oslo Repository Database install error.
 

oslo Repository Database install error.

hi

i setuped a OsloMay2009CTP.exe but something wrong..
icould't installRepository Database

i installedmanually Repository Database throughbellow command.

  1. mx create /database:Repository /dataFile:"<Path>/Repository.mdf" /dataFileInitialSize:1GB /dataFileMaxSize:"unlimited" /logFile:"<Path>/Repository.ldf" /logFileInitialSize:800MB /dataFileGrowth:100MB /logFileMaxSize:"unlimited" /logFileGrowth:100MB /force

  2. mx install Repository.mx /database:Repository /property:RepositoryChangeTracking=+


    command 1 is successed.

    command 2 is failed.

    error message is 'column name 'sid' is not exist in aview or table'

    please help me..


  • Edited bymoleee Thursday, July 09, 2009 12:38 AM
  •  
moleee
I've helped molee get a working Repository database installed through a backup of a clean Repository database on a test machine. I had him use the AddPrincipal() stored procedure to add his local administrator account to the Repository after the installation. This seems to work. We were unable to determine why the Repository installation never succeeded. The root problems seems to be a different error that the local Administrator user already existed during the first installation of the Repository.mx and caused the install to fail. The other error was after removing the user and then reinstalling Repository.mx again.
  • Proposed As Answer byJasonRothMSFTMonday, August 24, 2009 1:45 PM
  • Marked As Answer bymoleee Monday, August 24, 2009 1:57 PM
  •  
JasonRoth
Hi,

What version of SQL Server are you running?

--larsw
Lars Wilhelmsen | Senior Consultant | Miles, Norway | Connected Systems MVP | http://larswilhelmsen.com/
Lars Wilhelmsen
hi

Version is a sql server2008(sp1).



thank you.


moleee
Hi. Are you still having problems with the Repository installation? I was wondering if you could try the following test.

1. Make sure that you are a sysadmin on the default instance of SQL Server 2008 on your machine.
2. Try the following command-line to install a Repository with a new name, "RepositoryTest" (change the paths if necessary, but these are the defaults for SQL and Oslo):

"c:\Program Files\Microsoft Oslo\1.0\bin\mx.exe" create /database:RepositoryTest /dataFile:"C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\RepositoryTest.mdf" /dataFileInitialSize:1GB /dataFileMaxSize:"unlimited" /logFile:"C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\RepositoryTest.ldf" /logFileInitialSize:800MB /dataFileGrowth:100MB /logFileMaxSize:"unlimited" /logFileGrowth:100MB /force

3. Any errors yet? If not, go into SQL Server Management Studio. Look under databases in the Object Explorer and verify that there is a RepositoryTest database.
4. If the database exists, do the following with full paths again:

"c:\Program Files\Microsoft Oslo\1.0\bin\mx.exe" install "c:\Program Files\Microsoft Oslo\1.0\bin\Repository.mx" /database:RepositoryTest /property:RepositoryChangeTracking=+

5. Did you get the error again?

Let me know the results and I'll see if this gives us any clues to the source of the problem. BTW, I successfully ran both of the above commands on my May CTP install of Oslo.

Thanks.

Jason Roth

JasonRoth
hi.

thank you your reply.

RepostoryTest Database is verified.

but When i executed number 4 command, error is occurred.


Error message is "Column name 'sid' is not in the target Table or View"

Thanks
moleee

In order to help figure out why this is failing, we could try one of two things. First, I could setup a live meeting session and run some tests on your machine to see if I can spot what's wrong. Or you could generatea SQL Server Profiler trace and send it to me. The trace should show me what statements are failing.

If you choose to send me a trace, please capture the following events (delete the RepositoryTest database, recreate it, and then start the trace before installing Repository.mx):
1. Under Errors and Warnings
a. Attention
b. ErrorLog
c. Exception
d. User Error Message
2. Under Stored Procedures
a. SP: Starting
b. SP: StmtStarting
3. Under TSQL
a. SQL: BatchStarting
b. SQL: StmtStarting

Let me know if you're interested in troubleshooting this further.

Thanks.

Jason Roth

JasonRoth
hi.

how to send a trace log file to you??
moleee
Hi. Please sendit tojroth <at> microsoft.com. If it is very big, then send me a message at that address, and I'll provide you with an FTP location to upload it to.

Thanks.

Jason Roth
JasonRoth
Jason/molee--any more progress here?

.Kraig
Kraig Brockschmidt
I've looked at the trace and a backup of the Repository database (what does get installed) and tried a few other things without success. I am involving others internally to see if they can look at the same information and provide some ideas. I'll include you on those mails. Thanks.

Jason
JasonRoth
I've helped molee get a working Repository database installed through a backup of a clean Repository database on a test machine. I had him use the AddPrincipal() stored procedure to add his local administrator account to the Repository after the installation. This seems to work. We were unable to determine why the Repository installation never succeeded. The root problems seems to be a different error that the local Administrator user already existed during the first installation of the Repository.mx and caused the install to fail. The other error was after removing the user and then reinstalling Repository.mx again.
  • Proposed As Answer byJasonRothMSFTMonday, August 24, 2009 1:45 PM
  • Marked As Answer bymoleee Monday, August 24, 2009 1:57 PM
  •  
JasonRoth
Thank you very much.
moleee
I have the same porblem ,thanks for all your help �a title="AVCHD Converter Mac" href="http://www.avchdconverters.com" title="AVCHD Converter Mac">AVCHD Converter Mac
  •  
ptwb123

You can use google to search for other answers

Custom Search

More Threads

• inheritance in M: relational vs. OO modeling
• How to do complex uniqueness contraints in MSchema?
• Defining String Literals in MGrammar?
• How to create a Schema/View and Folder in Oslo Repository from an ordenary .NET Assembly
• DynamicParser and partial parses?
• MGrammar: Produce complex (multi-level) productions with dot prefix
• Intellipad Classification Attributes
• MGraph to MGrammar
• Internal Error: Operation is not valid due to the current state of the object.(System.InvalidOperationException) at MX
• M CodeDom equivalent...?