Hi again
The problem resurfaced and I need to get it solved.
I did a clean install of labkey 15.2 (build:39349.20), with MS SQL Server. Everything was done with the same user
1. I started tomcat which created the database and a few tables.
2. I shutdown tomcat
3. installed GROUP_CONCAT
4. restarted tomcat
5. made a site admin user
6. shutdown tomcat
7. installed a module with only the config/module.xml file
8. restarted tomcat: got the error FastaAdmin already exists.
9: shut down tomcat
10: removed the module
11: restarted tomcat
12: ran:
http://localhost:8080/labkey/admin/recreateViews.view
13: got the error again
I checked the the stored procedure core.fn_dropifexists and ran:
EXEC core.fn_dropifexists 'FastaAdmin', 'prot', 'VIEW', NULL
in management studio and it ran without problems, BUT it didn't delete the view and the return value is 0.
Even if I manually delete the view I can run
http://localhost:8080/labkey/admin/recreateViews.view but if I run it again it fails. (all the other views are deleted without problems.)
It seems that core.fn_dropifexists doesn't work for FastaAdmin which must be a permission issue. I have compared FastaAdmin with ms2.spectra and they seem to have the same permissions set. Also the schemas ms2 and prot seems identical.
As I appear to be the only one having the problem I assume the problem is in the database or server config somehow.
But is there anything that is being created differently in the two schemas?
Do you have any idea about what is going on here? Any suggestions to what I can try to find the problem?
Last minute addition: I found that
select OBJECT_ID('prot.FastaAdmin') returns an id
while
select OBJECT_ID('prot.fastaadmin') don't
So it seems that the function is vase sensitive with respect to fastaadmin but not the views in ms2, is there any digferencein how these views and schemas are created?
Best wishes
Allan Lind-Thomsen