Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Stored Procedure dbo.aspnet_CheckSchemeVersion could not be found

web-app

Hello,

I have done an upgrade (option 1 = automatic) from 2.11 to 2.20.

Now, everytime I try to list issues I get this error at the system protocol:

"Die gespeicherte Prozedur dbo.aspnetCheckSchemaVersion konnte nicht gefunden werden."

That means "the stored procedure dbo.aspnetCheckSchemeVersion could not be found."

This is the whole error string:

SOURCE: .Net SqlClient Data Provider TARGETSITE: Void OnError(System.Data.SqlClient.SqlException, Boolean) STACKTRACE: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavio

I have looked for the stored procedure in the gemini database but haven't found the stored procedure.

Also I sometime get this error:

"No Page.Request.UrlReferrer detected : /Gemini/issue/ViewIssue.aspx"

Login works, database access also, because I can see the project list, the links of RoadMap and ChangeLog and a issue detail as well. So the problem could not be a wrong database connection.

Except the issue list do not work. Creating a issue do not work either?

Please help.

Best regards,

 

lun
· 1
lun
Replies (8)
helpful
0
not helpful

I made some research:

1. the stored procedure do not exist in the gemini database, but the sp exist in the database called geminiaspnetdb.

2. the database (for connecting the database) has no rights to execute the sp. I changed that yet.

3. the error still exist.
The last SQL query before the error is
"exec dbo.aspnetCheckSchemaVersion @Feature = N'Profile', @CompatibleSchemaVersion = N'1'"
Question: on what database runs the query. Of course the statement will fail at the gemini database, because the sp do not exist at the gemini database.

That's what I can do. Now I need help.

4. Question: should the database user exist in both database as database owner and what right must he have to every stored procedure?


lun
· 1
lun
helpful
0
not helpful

Did you amend the web.config profile connection string to point to the profile database?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

it looks fine to me:

  <connectionStrings>
    <add name="ProfilesServer" connectionString="data source=10.10.0.12;initial catalog=GEMINI;user id=;password=*" providerName="System.Data.SqlClient"/>
  </connectionStrings>

the sql database name is gemini (lower case),
the name in the connection string catalog is in capitals (is this important)

 

if we purchase your upgrade support, how fast can you help / upgrade the solution?


lun
· 1
lun
helpful
0
not helpful

You need to amend this connection string to point to the profile database, in your case gemini_aspnetdb (obviously you might need to change the user and password as well).

Our upgrade support will be able to do this tomorrow morning - providing we have access to the server. But I do not think you need it, hopefully the above will solve your issues.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Thank you. No I can access issues, can create issues, modify issus... (I changed a value in the connection string in the web.conf to: catalog=GEMINI_ASPNETDB;)

BUT, I found two data errors (no errors in the admin protocol).
1. All assigned ressources in all projects are now empty!

2. All issues have now empty components!

Version, priority etc. values existing in each issue.
Of course, before update to V2.20 all issues had have assigend ressources and components.


lun
· 1
lun
helpful
0
not helpful

by the way, this is the result of the upgradev2.2.sql script:

C:\Dokumente und Einstellungen\admin>osql -S 10.10.0.12 -d * -U gemini -P * -i "C:\Programme\CounterSoft\Gemini Project Issue Tracking\Gemini Database
\upgrade
v2-2.sql"
1> 2> 3> 4> 5> 6> 7> 8> 9> 10> (1 row affected)
1> 2> 3> 4> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 1> 2> 3> 4> 1> 2> 3> 4> 1
> 2> 3> 4> 5> 6> 7> 8> 9> 10> 1> 2> 3> 4> 5> 1> 2> 3> 4> 1> 2> 3> 4> Meldung 270
5, Ebene 16, Status 4, Server S-GEMINI, Zeile 3
Spaltennamen müssen in jeder Tabelle eindeutig sein. Der Spaltenname
'affectedversions' wurde in der personalfilters-Tabelle mehrmals angegeben.
1> 2> 3> 4> Meldung 2705, Ebene 16, Status 4, Server S-GEMINI, Zeile 3
Spaltennamen müssen in jeder Tabelle eindeutig sein. Der Spaltenname 'comment'
wurde in der users-Tabelle mehrmals angegeben.
1> 2> Meldung 2705, Ebene 16, Status 4, Server S-GEMINI, Zeile 1
Spaltennamen müssen in jeder Tabelle eindeutig sein. Der Spaltenname 'active'
wurde in der users-Tabelle mehrmals angegeben.
1> 2> 3> 4> (1 row affected)
1> 2> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> (0 rows affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> (1 row affected)
1> 2> 3> 4> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 1> 2> 3> 4> 5> 1> 2> 3> Meldung 2705,
 Ebene 16, Status 4, Server S-GEMINI, Zeile 2
Spaltennamen müssen in jeder Tabelle eindeutig sein. Der Spaltenname
'resourcemode' wurde in der projects-Tabelle mehrmals angegeben.
1> 2> Meldung 2705, Ebene 16, Status 4, Server S-GEMINI, Zeile 1
Spaltennamen müssen in jeder Tabelle eindeutig sein. Der Spaltenname
'componentmode' wurde in der projects-Tabelle mehrmals angegeben.
1> 2> 3> 4> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 1> 2> 3> 4> 5> 1> 2> 3> 4> Meldung 20
7, Ebene 16, Status 3, Server S-GEMINI, Zeile 2
Ungültiger Spaltenname 'compid'.
Meldung 207, Ebene 16, Status 3, Server S-GEMINI, Zeile 2
Ungültiger Spaltenname 'compid'.
Meldung 207, Ebene 16, Status 3, Server S-GEMINI, Zeile 2
Ungültiger Spaltenname 'compid'.
1> 2> 3> 4> Meldung 207, Ebene 16, Status 3, Server S-GEMINI, Zeile 2
Ungültiger Spaltenname 'assignedto'.
Meldung 207, Ebene 16, Status 3, Server S-GEMINI, Zeile 2
Ungültiger Spaltenname 'assignedto'.
Meldung 207, Ebene 16, Status 3, Server S-GEMINI, Zeile 2
Ungültiger Spaltenname 'assignedto'.
1> 2> 3> 4> 5> 6> Meldung 170, Ebene 15, Status 1, Server S-GEMINI, Zeile 1
Zeile 1: Falsche Syntax in der Nähe von 'constraint'.
1> 2> 3> Meldung 3701, Ebene 11, Status 7, Server S-GEMINI, Zeile 2
löschen von Index 'issues.indcompid' ist nicht möglich, da nicht im
Systemkatalog vorhanden.
1> 2> 3> Meldung 4924, Ebene 16, Status 1, Server S-GEMINI, Zeile 2
Fehler bei ALTER TABLE DROP COLUMN, da die assignedto-Spalte in der
issues-Tabelle nicht vorhanden ist.
1> 2>
C:\Dokumente und Einstellungen\admin>osql -S 10.10.0.12 -d gemini -U gemini -P g
emini -i "C:\Programme\CounterSoft\Gemini Project Issue Tracking\Gemini Database
\create
views.sql"
1> 2> 3> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20>
21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32> 33> 34> 35> 36> 37> 38> 39> 40>
41> 42> 43> 44> 45> 46> 1> 2> 3> 4> 1> 2> 3> 4> 1> 2> 3> 4> 1> 2> 3> 4> 1> 2> 3>
 4> 1> 2> 3> 4> 1>

TRANSLATION:
- Der Spaltenname ... mehrmals angegeben = The column name ... was named more than once
- Ungültiger Spaltenname = not valid column name
- Falsche Syntax in der Nähe von 'constraint' = wrong syntax near by 'constraint'
- löschen von Index 'issues.indcompid' ist nicht möglich, da nicht im
Systemkatalog vorhanden = deleting index 'issues.ind
compid' could not be done, because it does not exist in the system catalog

 


lun
· 1
lun
helpful
0
not helpful

Which scripts did you run? It seems to me that you run some scripts more than once.

Can you restore the database?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Yes I run three scripts, as described on page 26 of the gemini installation.pdf:

chapter 11.1 v2.1.x
1. upgrade v2-2.sql
2. createviews.sql
3. create
procs.sql

Yes, I can. I  have a database backup and I need very quick a full runing system.

I consider to purchase the update service, restore the database and do the update again with professional support. I'd kindly request support.

Thank you and best regards


lun
· 1
lun