Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

SQL 2000 to SQL 2005 Compatibility mode - application role Issue
We are currently run into an issue with upgrading our production db in
the lab to SQL2005 compatibility mode 9.

The upgrade process:
1. Detached and copied production db to our test SQL2005 server
2. Attached PROD_COPY_DB to sql2005
3. Ran the following script
USE PROD_COPY_DB
GO
SP_UPDATESTATS
GO
4. Did a backup/restore of PROD_COPY_DB to PROD_COPY_DB_05
5. Changed PROD_COPY_DB_05 Compatibility mode from 8 to 9

So I have 2 test DBs on SQL2005:
-PROD_COPY_DB       --> Compatibility mode 8 (2000)
-PROD_COPY_DB_05  --> Compatibility mode 9 (2005)

Running our application: with PROD_COPY_DB
* When we run our application with PROD_COPY_DB we have no issues - it
ran oh so happy.

Running our application: with PROD_COPY_DB_05
* When we run our application with PROD_COPY_DB_05 we get permission
issues.
* My initial reaction is that it seems that Comp_mode_9 application
roles do not function the way they used to.

I am at a loss as how to find the exact cause of the permission issue.


Any insight or suggestions are welcomed.

/Kevin


Report this thread to moderator Post Follow-up to this message
Old Post
Kevinski
03-31-06 01:23 AM


Re: SQL 2000 to SQL 2005 Compatibility mode - application role Issue
BooksOnline has an extensive list of the differences between levels 8.0 and
9.0 at
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/tsqlref9/html/508c686d-2bd4-41ba-8602-
48ebca266659.htm
(aka sp_dbcmptlevel).

Also, you can use the Upgrade Advisor at
http://www.microsoft.com/downloads/...&displaylang=en
to find compatibility issues.



--
Hal Berenson, President
PredictableIT, LLC
http://www.predictableit.com


"Kevinski" <kevin@deepcovelabs.com> wrote in message
news:1143767521.018063.158740@t31g2000cwb.googlegroups.com...
> We are currently run into an issue with upgrading our production db in
> the lab to SQL2005 compatibility mode 9.
>
> The upgrade process:
> 1. Detached and copied production db to our test SQL2005 server
> 2. Attached PROD_COPY_DB to sql2005
> 3. Ran the following script
>          USE PROD_COPY_DB
>          GO
>          SP_UPDATESTATS
>          GO
> 4. Did a backup/restore of PROD_COPY_DB to PROD_COPY_DB_05
> 5. Changed PROD_COPY_DB_05 Compatibility mode from 8 to 9
>
> So I have 2 test DBs on SQL2005:
> -PROD_COPY_DB       --> Compatibility mode 8 (2000)
> -PROD_COPY_DB_05  --> Compatibility mode 9 (2005)
>
> Running our application: with PROD_COPY_DB
> * When we run our application with PROD_COPY_DB we have no issues - it
> ran oh so happy.
>
> Running our application: with PROD_COPY_DB_05
> * When we run our application with PROD_COPY_DB_05 we get permission
> issues.
> * My initial reaction is that it seems that Comp_mode_9 application
> roles do not function the way they used to.
>
> I am at a loss as how to find the exact cause of the permission issue.
>
>
> Any insight or suggestions are welcomed.
>
> /Kevin
>



Report this thread to moderator Post Follow-up to this message
Old Post
Hal Berenson
03-31-06 08:23 AM


RE: SQL 2000 to SQL 2005 Compatibility mode - application role Issue
Hi

Have you tried re-creating your views/procedures/function in a database that
is mode 9?

John

"Kevinski" wrote:

> We are currently run into an issue with upgrading our production db in
> the lab to SQL2005 compatibility mode 9.
>
> The upgrade process:
> 1. Detached and copied production db to our test SQL2005 server
> 2. Attached PROD_COPY_DB to sql2005
> 3. Ran the following script
>           USE PROD_COPY_DB
>           GO
>           SP_UPDATESTATS
>           GO
> 4. Did a backup/restore of PROD_COPY_DB to PROD_COPY_DB_05
> 5. Changed PROD_COPY_DB_05 Compatibility mode from 8 to 9
>
> So I have 2 test DBs on SQL2005:
> -PROD_COPY_DB       --> Compatibility mode 8 (2000)
> -PROD_COPY_DB_05  --> Compatibility mode 9 (2005)
>
> Running our application: with PROD_COPY_DB
> * When we run our application with PROD_COPY_DB we have no issues - it
> ran oh so happy.
>
> Running our application: with PROD_COPY_DB_05
> * When we run our application with PROD_COPY_DB_05 we get permission
> issues.
> * My initial reaction is that it seems that Comp_mode_9 application
> roles do not function the way they used to.
>
> I am at a loss as how to find the exact cause of the permission issue.
>
>
> Any insight or suggestions are welcomed.
>
> /Kevin
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
John Bell
03-31-06 08:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 07:39 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006