Re: ASP.net insists on using dbo. to call aspnet_* stored procedures
- From: "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Mar 2007 09:08:35 -0500
dbo is the schema used in SQL Server and, even if removed from queries, is technically still there. Unless, of course, you have created a new schema and own the objects in question. It sounds more like a permissions error or connectivity problem than a dbo problem.
Is SQL Server on the same box as your application? If not, turn on the SQL Browser service. If this is a default install, you may also have to turn on a protocol other than Managed Local (or whatever it is called). TCP/IP is a good one to turn on in most cases; you can also try named pipes.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
*********************************************
Think outside the box!
*********************************************
"Pedro Vera" <pedro.vera@xxxxxxxxx> wrote in message news:1175261450.698261.35410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am helping somebody setup one of the asp.net starter kits. I
converted it from sql express to sql server with no real issues, and I
got it running local perfectly.
On my first attempt to run it remotely I noticed that a lot of the
queries had dbo. hardcoded and that SQL server on the remote server
was not allowing my sql account access to these. I removed all
mentions of dbo. and again it still runs local. I have posted it to
the remote server once again, but I still get errors like this:
Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'
Now, the common sense answer here is that the remote database was not
primed properly with:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe
But this is not true. The remote db was primed properly and I can run
aspnet_* stored procedures from enterprise manager logged in using the
same account used in the connection string.
Any idea how I can go around this? My worst case scenario is to grab a
clean copy of the starter kit and instead of removing dbo., changing
it from dbo. to mysqlusername. and see if that helps.
Thanks,
Pedro Vera
http://veraperez.com
.
- Follow-Ups:
- Re: ASP.net insists on using dbo. to call aspnet_* stored procedures
- From: Pedro Vera
- Re: ASP.net insists on using dbo. to call aspnet_* stored procedures
- References:
- ASP.net insists on using dbo. to call aspnet_* stored procedures
- From: Pedro Vera
- ASP.net insists on using dbo. to call aspnet_* stored procedures
- Prev by Date: Re: How do I change the session timeout?
- Next by Date: Re: How do I change the session timeout?
- Previous by thread: ASP.net insists on using dbo. to call aspnet_* stored procedures
- Next by thread: Re: ASP.net insists on using dbo. to call aspnet_* stored procedures
- Index(es):
Relevant Pages
|