SQL Error - Urgent
Aug 22, 2001
Hi,
We are using SQL 6.5 and maintaining a application written in Delphi 3.0. While executing the one of the stored procedure(Cover period) we are getting following error msg:
"Unable to create Query Error in Calculating Cover period General SQL Error. Can't allocate space for object '-333' in database 'tempdb' because the 'system' segment is full" with a warning "Fatal Error 1510 occured"
We have increased the space for DB, but still we are getting the same problem.
We would appreciate, if you respond asap
Regards
View 2 Replies
ADVERTISEMENT
Jul 20, 2005
DB-Library Error 10007: General SQL Server error: Check messages fromthe SQLServer.CREATE PROCEDURE [dbo].[spu_Import_Export_Image](@srvr varchar(50),@db varchar(50),@usr varchar(15),@pwd varchar(50),@tbl varchar(50),@col varchar(50),@mod varchar(1),@imgpath1 varchar(1000),@pk varchar(50))ASBEGINdeclare @path varchar(50)declare @whr varchar(200)declare @fil varchar(100)declare @cmd varchar(1000)declare @imgpath varchar(800)declare @ext varchar(5)--declare @pk varchar(50)declare @KeyValue varchar(8000)declare @image varchar(50)--declare @imgpath1 varchar(1000)declare @imgpath2 varchar(1000)declare @sellist varchar(2000)set @path = 'c: extCopy.exe'select @sellist = 'DECLARE curKey CURSOR FOR SELECT ' + @pk +' FROM '+ @tbl + ' ORDER BY ' + @pkexec (@sellist)OPEN curKeyFETCH NEXT FROM curKey INTO @KeyValueWHILE (@@fetch_status = 0)BEGINset @whr = '"where '+ @pk +' = "' + @KeyValueset @fil = @imgpath1 + '' + @KeyValue --+ @extset @cmd = @path + ' /S ' + @srvr + ' /D ' + @db + ' /U ' + @usr+ ' /P ' + @pwd+ ' /T ' + @tbl + ' /C ' + @col + ' /W ' + @whr + '/F ' + @fil+ ' /' + @modexec Master..xp_cmdShell @cmdFETCH NEXT FROM curKey INTO @KeyValueENDCLOSE curKeyDEALLOCATE curKeyENDGOAbove srcipt runs fine with image data type in one table but when irun for some other table it gives me Error MessageTEXTCOPY Version 1.0DB-Library version 8.00.194SQL Server 'WSQL01' Message 170: Line 1: Incorrect syntax near '99'.(Concerning line 1)DB-Library Error 10007: General SQL Server error: Check messages fromthe SQLServer.ERROR: Could not use database 'test1'NULL-----------Aslo it only runs on server console if i run it from workstation uingsame files and tables it gives me an error again. Can anybody help meand reply me at Join Bytes! asap.thnx,dharmesh
View 1 Replies
View Related
Oct 13, 2000
I have three problems related to Sql Server
a.I am developing a database application using VB5/VB6, SQL server 7 and Crystal reports.When I try to generate reports I get the message 'Automation error'. Please help-urgent.
b. I am using temperorary tables to generate reports.ie Table is created by user.Tables are generated runtime ie created as well as deleted. Sometimes
Sometimes i get the message 'SQLServer error' What should I do.What are the rights to be assigned to LOGINS?.
c.Is there precaution while installing SQLserver in WIN98.
View 1 Replies
View Related
Mar 28, 2002
Hi All,
I am getting the following error in DTS.
I request you to help me in this regard.
Error: -2147467259 (80004005); Provider Error: 3023 (BCF)
Error string: Backup, CHECKALLOC, bulk copy, SELECT INTO, and file manipulation (such as CREATE FILE) operations on a database must be serialized. Reissue the statement after the current backup, CHECKALLOC, or file manipulation operation is completed.
Error source: Microsoft OLE DB Provider for SQL Server
Help file:
Help context: 0
Thanks in advance.
Regards
Kalyan Kumar
View 1 Replies
View Related
Jun 26, 2001
I get the following error when I try to run distributed queries. I added the 2 linked servers.
[OLE/DB provider returned message: Client unable to establish connection]
[DBNMPNTW]ConnectionOpen (CreateFile()).
Is there anything else I need to check. Let me know
View 3 Replies
View Related
Aug 8, 2001
Any clue on what this error is?I am getting this error when I am trying to save after modifying an existing DTS package which transfers 290 tables.
Error: Encripted stream can't exceed 124k
Thanks!
View 1 Replies
View Related
Oct 17, 2001
Can anyone help with the following error message?
The column prefix 'TEST_REPORT.dbo.BUS_REQ_DESCRIPTION_TST' does not match with a table name or alias name used in the query.
View 1 Replies
View Related
Dec 13, 2000
I removed the constraint and update the table and after that I enforced the constraint again and got following error.
I check the data in both table is fine and both the table have a primary key on it.
Thanks for help in advance
Server: Msg 547, Level 16, State 1, Line 1
ALTER TABLE statement conflicted with TABLE FOREIGN KEY constraint 'fk_ikw_indexed_form_approved_ikw_indexed_uri'. The conflict occurred in database 'rns_indexed', table 'ikw_indexed_form_approved'.
View 1 Replies
View Related
Jun 21, 2000
I have set up a job to extract records everyday from a remote server.It has extracted the records but it says the job failed!Any idea what is happening?
Following is the error message.
thanks!
''... DTSRun: Executing... DTSRun OnStart: Create Table Request1999 Step DTSRun OnError: Create Table Request1999 Step, Error = -2147217900 (80040E14) Error string: There is already an object named 'Request1999' in the database. Error source: Microsoft OLE DB Provider for SQL Server Help file: Help context: 0 Error Detail Records: Error: -2147217900 (80040E14); Provider Error: 2714 (A9A) Error string: There is already an object named 'Request1999' in the database. Error source: Microsoft OLE DB Provider for SQL Server Help file: Help context: 0 DTSRun OnFinish: Create Table Request1999 Step DTSRun OnStart: Copy Data from Results to Request1999 Step DTSRun OnProgress: Copy Data from Results to Request1999 Step; 1000 Rows have been transformed or copied.; PercentComplete = 0; ProgressCount = 1000 DTSRun OnProgress: Copy Data from Results to Request1999 Step; 1628 Rows have been transfo... Process Exit Code 1. The step failed.''
View 2 Replies
View Related
Apr 19, 2000
I use the Microsoft Site Server interface to import web log files into a SQL database (db1). The raw logs are around 2GB per day in size. I have been trying to delete a date range from the database, but I keep getting the following error:
50004
37000: [Microsoft][ODBC SQL Server Driver][SQL Server] Could not allocate space for object 'tblImportUser' in database 'db1' because the 'PRIMARY' filegroup is full.
Error adding indexes.
Also, the performance of this machine has greatly decreased from just 2-3 weeks ago. I had been doing some performance testing, so I know that I was able to import a full day of log files (either zipped or unzipped) in just under 2 hours. It is now taking close to 8 hours
View 2 Replies
View Related
Nov 9, 2005
We are installing the final release of SQL 2005 On our main SQL server.
View 10 Replies
View Related
Jun 3, 2007
I've been working on a project that exchanges data with 2 different mssql dbs. Today I compiled my website and test it locally on remote databases. Everything seemed ok. Then I uploaded all files to the server and after an hour something strange has happened, I do not know why. I could still reach the website locally using remote connstrings but when I try to visit One of the databases could not be connected, ASP.NET said.
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Interesting thing is that website can authorize the request (I mean I can login) after that it throws this error.
Thanks
View 3 Replies
View Related
May 6, 2008
hi frenz:
This is my query:it shows the following
error:Incorrect syntax near the keyword 'as'.plz let me know my error, and how to correct it.
My Query:
SELECT EH.EmpID, EL.UserName,EL.Password, E.FirstName, E.LastName, E.DesignationID,
E.DepartmentID, E.Sex, E.DOB, E.Age, E.Address, E.Email,
'ContactNo'= Case When E.phone is not null Then E.phone When E.phone is null
Then E.Mobile End ,E.DateOfjoining, D.Designation, DE.Department,E.HobbyID
where E.HobbyID in
(select EH.HobbyID from EMP_Tbl_EmployeeHobbies EH inner join EMP_Tbl_Hobby H on EH.HobbyID=H.HobbyID) as item1,
From dbo.EMP_Tbl_Employee E
Inner Join dbo.EMP_Tbl_Designation D On E.DesignationID=D.DesignationID
Inner Join dbo.EMP_Tbl_Department DE On E.DepartmentID=DE.DepartmentID
Inner Join dbo.EMP_Tbl_EmployeeHobbies EH On E.EmpID=EH.EmpID
Inner Join dbo.EMP_Tbl_EmployeeLogin EL On E.Sno=EL.Sno
View 1 Replies
View Related
Sep 14, 2004
We run a site through asp.net (programmed in visual studio.net) and the site's beginning to get a lot of problems (as the site grows)
Here is the latest error message. I was wondering if someone could help me troubleshoot this.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Transaction (Process ID 145) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Transaction (Process ID 145) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SqlException: Transaction (Process ID 145) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.]
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +723
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) +44
System.Data.SqlClient.SqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +5
System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36
Saltwaterfishing.Components.DB.RankResults.SearchAllSites(String query, Int32 currentPage, Int32 pageSize) in
***************ComponentsDBRankResults.cs:43
***************.Controls.RankResultsGrid.BindDataGrid() in ***************\ControlsRankResultsGrid.ascx.cs:82
***************.Controls.RankResultsGrid.ShowResults() in ***************ControlsRankResultsGrid.ascx.cs:68
***************.Main.ShowPage() in
***************\saltwaterfishingmain.aspx.cs:75
***************.Main.Page_Load(Object sender, EventArgs e) in ***************\main.aspx.cs:43
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
Thank you
View 1 Replies
View Related
Dec 5, 2001
Hi...I have the codes below and it works fine...but there is another field called References and if I add that to the below codes ...then I get an error saying that 'Incorrect Syntax near the keyword 'References'......can someone help me out with this.....Thanks
---This sets the fields as current---
Set db = Server.CreateObject("ADODB.Connection")
db.Open "dsn=DemoBase;"
Set Current = db.Execute("SELECT TheDate, Code, Title, Author, Apparatus, Instructions, Comments, DCSReference, Location, ShortDescription, Video, Popular, Classification, Working FROM dbo.AllDemos WHERE Code = '" + Replace(CodeVar, "'", "''") + "'")
----This updates the database-------
Set UpDateDB = Server.CreateObject("ADODB.Connection")
UpDateDB.Open "dsn=DemoBase;"
Set UpDate = UpDateDB.Execute("UPDATE dbo.AllDemos SET Title = '" + title + "', Comments = '" + Comments + "', Author = '" + Author + "', TheDate = getdate(), Code = '" + Code + "', DCSReference='" + DCSReference + "', Classification = '" + classification + "', Video = '" + Video + "', Instructions = '" + Instructions + "', Apparatus = '" + Apparatus + "', Location = '" + Alocation + "', ShortDescription = '" + SDescription + "', Working = '" + Working + "' WHERE (Code = '" + OldCode + "')")
View 2 Replies
View Related
Jun 5, 2002
Hi there
I have this error message when I try to connect to a server SQL Server :
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver] Client unable to establish connection
/include/ctt.asp, line 6
Thanks in advance
View 1 Replies
View Related
Apr 25, 2001
Hi,
I am trying to do DTS for transfering data from one server to other server,both are on T1 link,after some time DTS failed by giving error message saying that
" Error at destination for Row number 3357844,Errors encountered so far in this test:1,,,Invalid charector value for cast Specification "
that table have 24 million rows..
How can i solve this problem,Please help me in this.this is urgent please
Mark A
View 2 Replies
View Related
Jun 11, 2001
Hi,
I have this error message on the server event log. I don't know what it actually means and how it can be resolved.
Error: 644, Severity: 21, State: 1
Could not find the index entry for RID '36f072000300101a0434d54525830303237323038' in index page (1:28942), index ID 2, database 'gemprod'.
Thanks in advance.
View 2 Replies
View Related
Jul 18, 2001
Hello!
Yesterday my DTS designer was fine and today suddenly when I open the package in designer there is nothing there.
I tried to create new package and it gave me an error when I was trying to save it "It is insufficient disk space to complete operation".
What does this mean?
Thanks
Lena
View 1 Replies
View Related
Jul 20, 2001
Hello!
MSSQL Server 7.0 SP2
One of my users is running DTS packages on her computer using dtsrun utility.
I installed SQL client tools so she can run dtsrun utility.
It was working fine until we moved production database to the new server.
Local DTS packages were saved to the new server and recreated accordingly.
Now when she is running DTS packages in MSDOS using dtsrun she's getting error message "Can not create COM server to load DTS package. Class not registered".
Before this message she was getting different error "Paremeter is incorrect"
Then I applied SP2 to her client sql tools.Because new SQL Server has SP2.
After that we've got new message about COM server.
But dtsrun works on another client machine.
Any ideas what's going on?
Thank you
Lena
View 3 Replies
View Related
Aug 1, 2001
Error when i try to execute a SP with ADO connection, or ADO COMMAND
[ODBC SQL Server Driver][SQL Server]The identifier that starts (XXXXXX)is too long. Maximum length is 128.
can anyone help me.
View 1 Replies
View Related
Aug 29, 2001
--------------------------------------------
Declare @filename char(22)
Declare @cmd char(100)
Select @filename = '"' + 'D:Feedsest_' + substring(convert(char(12), getdate(), 12), 3, 4) + substring(convert(char(12), getdate(), 12), 1, 2) + '"'
Select @cmd = "xp_sendmail @recipients = 'test@test.com'
, @attachments = " + @filename + " "
exec(@cmd)
Go
--------------------------------------------
Above T-SQL step is causing the following error:
Server: Msg 103, Level 15, State 7, Line 6
The identifier that starts with 'xp_sendmail @recipients = 'test@test.com'
is too long. Maximum length is 128.
Any help??Thanks.
View 2 Replies
View Related
Aug 14, 2000
hI iam getting error as 08s01 from the application end to connect to my database.It says communication link failure (odbc error)
no users were able to get into the database. (other applications accessing other DB's on the same server are able to connect )
In my error log i hav this
ERROR 602: severity 21
coudntfind row in sysindexes for dbid,obj id , INDEX 1. Rund dbcc checktable on sysindexes.
I haf run dbcc commands evrything is showing fine. I haf non-clustered inbdex defined on that particular object.
In sysindexes i haf indid as 0 & 2.
i am running out of ideas. can anyone PLEASE suggest anything for me. sqlserver 6.5, standard security.
Thanks for ur help
Ravi
View 2 Replies
View Related
Aug 15, 2000
Hey everyone - I get the following error when I try to open up a DTS package that I ported from one machine to another as a file. The error is:
Error Source: Microsoft Data Transformation Services (DTS) Package
Error Description: The parameter is incorrect.
Does anyone know what this error is and how to get the package to open? I really don't want to have to rewrite the package if I can avoid. Any help would be greatly appreciated.
View 1 Replies
View Related
May 5, 2000
hi ,
i am getting this error while executing,pls tell me the way..
Server: Msg 1101, Level 17, State 10, Line 1
Could not allocate new page for database 'TEMPDB'. There are no more pages available in filegroup DEFAULT.
Space can be created by dropping objects, adding additional files, or allowing file growth.
--raj
View 2 Replies
View Related
Jan 16, 2001
I am trying to perform DTS from a 7.0 server to
a 6.5 server.
But for one of the 6.5 servers, I am getting the following
DTS Wizard error:
Error Source: Microsoft OLE DB Provider for SQL Server
Error Description: The catalog storedprocedures installed on server
VACTBETA4 are version 6.50.193;version 07.00.0330 or later is required
to support IDBSchemaRowset.Please contact your systemadmnistrator.
It is a production server and needs to be fixed.
Help appreciated.
Thanks.
View 1 Replies
View Related
Jan 25, 2002
A service which transfers HL7 data in and out of SQL server gave me the following error message
01/25/02 07:59:41:HL7 TCP Import:Error: Error: -842150451: Unexcepted error: Attempt to fetch logical page (1:112948) in database 'Development' belongs to object 'TRIGGERSbkup', not to object 'PATIENT'.
Attempt to fetch logical page (1:112948) in database 'Development' belongs to object 'TRIGGERSbkup', not to object 'PATIENT'
I ran dbcc against the database and recieved no errors. Any help appreciated
View 2 Replies
View Related
May 22, 2002
Hello,
I am getting following error:
Server: Msg 170, Level 15, State 1, Line 3
Line 3: Incorrect syntax near 'want'.
Server: Msg 105, Level 15, State 1, Line 12
Unclosed quotation mark before the character string ''.
I had a variable which carries following string value
@v = I don't want to go
when I passing @v as parameter to a procedure, I am getting above error. I know the problem ( single cod in don't word ).
How to resolve it.
regards,
venkat.
View 1 Replies
View Related
Jul 9, 2004
After past MDAC it fails running 1st script with error sp3_serv_uni.SQL(1) PLEASE HELP
View 2 Replies
View Related
Oct 19, 2006
Hi all
I got the error below after run the query:
INSERT TABLE1 -- ran at SERVER1
EXEC [SERVER2].DB2.dbo.spInformation
@VR_STARTSHIFT = '10/10/2006 06:00:00',
@VR_INCDATE = '10/10/2006 14:00:00',
@VR_STATION_ID = 221
Server: Msg 7391, Level 16, State 1, Line 1
The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.
[OLE/DB provider returned message: New transaction cannot enlist in the specified transaction coordinator. ]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' ITransactionJoin::JoinTransaction returned 0x8004d00a].
Server1 has a linked server to Server2 (this linked server is working because i can run the SP without the insert).
The Server1 is under WIN2K Server and Sever2 is under WIN2003
The MSDTC is installed and is running in both servers.
How can I fix that?
Thanks in advance
Manuel Rodrigues
View 2 Replies
View Related
Jan 8, 2004
How can i solve this problem ???
Error: QueryEngine encountered error: Call SQLExecDirect got SQL_ERROR
[37000:1101: on HSTMT] [Microsoft][ODBC SQL Server Driver][SQL Server]Could
not allocate new page for database 'TEMPDB'. There are no more pages
available in filegroup DEFAULT. Space can be created by dropping objects,
adding additional files, or allowing file growth.
Error in Process method of Component: QueryEngineServer, Project 11, Job
14797, Error Code= -2147212544.
I already saw the growth and it is correct, i have already set it to 96%.
I have disk space.
How can i solve this problem
Thanks.
View 14 Replies
View Related
Jul 10, 2007
i am getting followig error while using xp_cmdshell
can anyone help regarding this
Message
Description: [SQL-DMO]The name 'SPS90HFD1DSQLServer2005MSFTEUser$RAJServer$MSSQL' was not found in the Users collection. If the name is a qualified name, use [] to separate various parts of the name, and try again. [SQLSTATE 01000] (Message 0) An error occurred during the execution of xp_cmdshell. A call to 'CreateProcess' failed with error code: '1455'. [SQLSTATE 42000] (Error 15121). The step failed.
View 3 Replies
View Related
Apr 11, 2008
Hi,
Any one tell me the code to connect to .sdf file in c# windows application?And tell the requirments to conncet.My sdf file path is this
C:\Documents and Settings\koti\My Documents\Example.sdf
I write this code.It is not working(This c# windows application code in button click event)
string str = "Provider=Microsoft.SQLSERVER.MOBILE.OLEDB.3.0;Data Source=C:\Documents and Settings\koti\My Documents\Example.sdf";
SqlCeConnection cn = new SqlCeConnection(str);
cn.Open();
Ant one help me Plz...
Regards,
venkat.
View 1 Replies
View Related