dman
Perch
Hello,
For the last couple of days I have had issues working with MS SQL via SMS. I am trying to create a table either on the server or locally using SMS 2005. When I try "Script Database As" on MSSQL9 I get the error below. I have changed my the user and db to user_db.
______________________________________________________________
TITLE: Microsoft SQL Server Management Studio
------------------------------
Script failed for Database 'user_db'. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?Prod...eptionText&EvtID=Script+Database&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
User 'user_db' does not have permission to run DBCC SHOWFILESTATS for database 'user_db'. (Microsoft SQL Server, Error: 7983)
For help, click: http://go.microsoft.com/fwlink?Prod...39&EvtSrc=MSSQLServer&EvtID=7983&LinkId=20476
When I try to create a table or "Generate Scripts" I get this error:
_________________________________________________________________
TITLE: Microsoft SQL Server
------------------------------
This wizard will close because it encountered the following error:
For help, click: http://go.microsoft.com/fwlink?Prod...kErrorSR&EvtID=UncaughtException&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
Failed to connect to server mssql9.xxx.com. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
Cannot open user default database. Login failed.
Login failed for user 'user_db'. (Microsoft SQL Server, Error: 4064)
For help, click: http://go.microsoft.com/fwlink?Prod...er&EvtSrc=MSSQLServer&EvtID=4064&LinkId=20476
I've put in a support ticket but they have not resolved it yet. Any suggestions on how I might fix it??( I do sanitize any input but it is possible I missed something and this related to the SQL Injection Attack Stephen posted about.
http://support.jodohost.com/showthread.php?t=12246
Any help is appreciated. Thanks!
For the last couple of days I have had issues working with MS SQL via SMS. I am trying to create a table either on the server or locally using SMS 2005. When I try "Script Database As" on MSSQL9 I get the error below. I have changed my the user and db to user_db.
______________________________________________________________
TITLE: Microsoft SQL Server Management Studio
------------------------------
Script failed for Database 'user_db'. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?Prod...eptionText&EvtID=Script+Database&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
User 'user_db' does not have permission to run DBCC SHOWFILESTATS for database 'user_db'. (Microsoft SQL Server, Error: 7983)
For help, click: http://go.microsoft.com/fwlink?Prod...39&EvtSrc=MSSQLServer&EvtID=7983&LinkId=20476
When I try to create a table or "Generate Scripts" I get this error:
_________________________________________________________________
TITLE: Microsoft SQL Server
------------------------------
This wizard will close because it encountered the following error:
For help, click: http://go.microsoft.com/fwlink?Prod...kErrorSR&EvtID=UncaughtException&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
Failed to connect to server mssql9.xxx.com. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
Cannot open user default database. Login failed.
Login failed for user 'user_db'. (Microsoft SQL Server, Error: 4064)
For help, click: http://go.microsoft.com/fwlink?Prod...er&EvtSrc=MSSQLServer&EvtID=4064&LinkId=20476
I've put in a support ticket but they have not resolved it yet. Any suggestions on how I might fix it??( I do sanitize any input but it is possible I missed something and this related to the SQL Injection Attack Stephen posted about.
http://support.jodohost.com/showthread.php?t=12246
Any help is appreciated. Thanks!