![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
However, my application executes the stored procedure "sp_helpdb" which fails with "Invalid object name '#spdbdesc'" error. |
|
I'm programming in .NET C# CLR2.0, any body know what's going wrong? |
|
I'm running Vista Business edition on 2005 Virtual PC. Installed SQL Server 2005 Express latest download, with instance of MSSQLSERVER and service accounts running under "NT AUTHORITY\SYSTEM". Mixed mode authentication specified and sa password specified. Used server manager to create user login with sysadmin role. Login using windows authentication. Run my application and database is created and populated with default records. However, my application executes the stored procedure "sp_helpdb" which fails with "Invalid object name '#spdbdesc'" error. If I run a query in server manager to execute same procedure logged in as the same person it runs ok and returns a table of information. All this was working ok on XP with MSDE2000A previously. I'm programming in .NET C# CLR2.0, any body know what's going wrong? |
#3
| |||
| |||
|
|
This question was also posted and answered in microsoft.public.sqlserver.programming. If you need to post the same question to multiple groups, post the message once to all groups in order to avoid duplication of effort. |
|
Dan Guzman SQL Server MVP |
#4
| |||
| |||
|
|
If I don't specify SET FMTONLY ON/OFF in my code is there a default state that I can rely on? |
|
Is it the same for all SQL implementations? |
![]() |
| Thread Tools | |
| Display Modes | |
| |