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 Server 2005 DB errors out as "Could not find stored procedure
Hello All,

I get the below mentioned error

"Could not find stored procedure 'dbo. aspnet_checkschemave
rsion'."

when I try to access a SQL Server 2005 DB from a .NET application.
Anyone has any idea why this error is thrown..


Thanks in advance...
Shar.

Report this thread to moderator Post Follow-up to this message
Old Post
Sharath Shetty
12-28-05 02:23 PM


Re: SQL Server 2005 DB errors out as "Could not find stored procedure
Dejan Sarka  wrote:
> Shar,
>
> My first thought is - do you have the Initial Catalog (or Database) elemen
t
> in the connection string? Maybe you use the default database, probably
> master?
>


Hello Dejan,

Thanks for the quick reply. The connection string is as follows

<add name="LocalSqlServer" connectionString="Data
 source=BLRIDCTPR187\
 SQLEXPRESS;UID=HgAud
 itTester;PWD=app;Ini
tial
Catalog=Mercury"/>

As per the connection string the Initial Catalog is defined. Kindly
let me know if any other details are needed


Report this thread to moderator Post Follow-up to this message
Old Post
Sharath Shetty
12-28-05 04:23 PM


Re: SQL Server 2005 DB errors out as "Could not find stored procedure
Dejan Sarka  wrote:
> Shar,
>
> My first thought is - do you have the Initial Catalog (or Database) elemen
t
> in the connection string? Maybe you use the default database, probably
> master?
>

Hello Dejan,

Thanks for the quick reply. The connection string is as follows

<add name="LocalSqlServer" connectionString="Data
 source=BLRIDCTPR187\
 SQLEXPRESS;UID=HgAud
 itTester;PWD=app;Ini
tial
Catalog=Mercury"/>

As per the connection string the Initial Catalog is defined. Kindly
let me know if any other details are needed

Report this thread to moderator Post Follow-up to this message
Old Post
Sharath Shetty
12-28-05 04:23 PM


Re: SQL Server 2005 DB errors out as "Could not find stored procedure
Dejan Sarka  wrote: 
>
>
> Next idea: is the db collation case sensitive? Can you check the procedure
> name with Management Studio?
>

Hello Dejan,

The stored procedure itself was missing, our counterparts told us
that the version of the DB was a problem and have sent across a script
file with all the Roles, Schemas, Table and Stored Procedures

Below is a brief description of some of the objects that were created

sys.database_principals -- Roles
 aspnet_WebEvent_Full
Access - Schema
 aspnet_SchemaVersion
s - Table
aspnet_GetUtcDate - Procedure

But now when we try to login,it gives the following error...

The 'System.Web.Security. SqlMembershipProvide
r' requires a database
schema compatible with schema version '1'.  However, the
current database schema is not compatible with this version.  You may
need to either install a compatible schema with aspnet_regsql.exe
(available in the framework installation directory), or upgrade the
provider to a newer version.

Can you please let us know what is the version problem and what is the
new error that is occuring..

Thanks in Advance.

Report this thread to moderator Post Follow-up to this message
Old Post
Sharath Shetty
12-29-05 12:23 PM


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 04:09 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006