Dear,
We can create a DTS Package that will process all the Analysis Databases one by one.
HTH
from
sufian
Dear,
We can create a DTS Package that will process all the Analysis Databases one by one.
HTH
from
sufian
I have problems with processing cubes on AS2005. I get this error message while processing:
Memory error: Allocation failure: Not enough storage is available to process this command. Error in the OLAP storage engine.
This machine has 6GB of memory and once it hits 3.5GB the processing stops. AWE is turned on.
I would appreciate, if anyone can help on this.
Thanks,
Gopal
Analysis Services is not AWE aware. So it can only use 2GB on a 32bit box (3GB if you have /3GB switch in boot.ini). Looks like the processing operation is running out of memory.
What are the number and sizes of dimension and partition tables? Do you have aggregations? Look at the processing log (in the process dialog) and find out what is the operation that causes out of memory - dimension processing, partition processing, building aggregations, etc.
This could also happen due to excessive parallelism. Try processing the dimensions and partitions individually.
|||Thanks for your reply.
I managed to process the partitions and dimensions individually. That worked.
Gopal
|||Hi.
Just a short question:
Is it really true that SSAS can use only 2GB RAM on a 32bit system? The technical reference for SQL Server 2005 Standard and Enterprise states that SQL Server can use the amount of RAM supported by the operating system which is 4GB for a Server 2003 Standard edition and 32GB for a Server 2003 Enterprise edition, both on 32bit systems. Does this apply only to the SQL Server Database Engine then and not the Analysis Services Server?
Regards
Kjetil
|||T.K. Anand wrote:
Analysis Services is not AWE aware. So it can only use 2GB on a 32bit box (3GB if you have /3GB switch in boot.ini). Looks like the processing operation is running out of memory.
What are the number and sizes of dimension and partition tables? Do you have aggregations? Look at the processing log (in the process dialog) and find out what is the operation that causes out of memory - dimension processing, partition processing, building aggregations, etc.
This could also happen due to excessive parallelism. Try processing the dimensions and partitions individually.
In the 64-bit versions of Analysis Services...has this memory use limit been removed?
...cordell...
|||Yes - 64bit version doesn't have these limitations.Hi,
I am having MSRS 2000 Reports which is using subscription feature to email PDF format reports to user . I am able to get all the reports e-mailed as expected only this report is giving an errror in the status as "Failure sending mail: An unexpected error occurred in Report Processing". I can pull this report properly and also export it in PDF manually. The Report is a 15 page Report with few images. If I try to email only the link of the Report it works fine. Was wondering if anybody would have a clue about the same .
The Log files read as
Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
An unexpected error occurred in Report Processing. > System.IO.DirectoryNotFoundException:
Could not find a part of the path "F:\".
I dont know why it is going in F drive and failing.
cheers,
siaj
The more detailed log is :
ReportingServicesService!processing!1790!04/25/2006-14:15:10:: e ERROR:
Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
An unexpected error occurred in Report Processing., ;
Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
An unexpected error occurred in Report Processing. > System.IO.DirectoryNotFoundException:
Could not find a part of the path "F:\".
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path)
at System.IO.Directory.CreateDirectory(String path)
at Microsoft.ReportingServices.Library.PartitionManager.CreateFile(String folder, String filename)
at Microsoft.ReportingServices.Library.FileChunkWriteStream.OpenFileStream()
at Microsoft.ReportingServices.Library.FileChunkWriteStream..ctor(Guid snapshotDataID, Boolean isPermanentSnapshot, String chunkName, Int32 chunkType, String mimeType, ChunkFlags flags)
at Microsoft.ReportingServices.Library.SnapshotChunkStreamFactory.CreateWriteStream(Guid snapshotDataID, Boolean isPermanentSnapshot, String chunkName, Int32 chunkType, String mimeType, Int32 bufferSize)
at Microsoft.ReportingServices.Library.ReportSnapshot.CreateReportChunk(String name, ReportChunkTypes type, String mimeType)
at Microsoft.ReportingServices.ReportProcessing.a.a()
at Microsoft.ReportingServices.ReportProcessing.a.c()
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.a(Report A_0, ProcessingContext A_1, Boolean A_2, GetReportChunk A_3, az A_4, DateTime A_5, CreateReportChunk A_6, ab& A_7)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.a(DateTime A_0, GetReportChunk A_1, ProcessingContext A_2, RenderingContext A_3, CreateReportChunk A_4, Boolean& A_5)
It sounds like you have the feature enabled where we store temporary snapshots in the filesystem. Check this article:
http://msdn2.microsoft.com/en-us/library/ms157439(SQL.90).aspx
Make sure that the FileShareStorageLocation element is set to a path which actually exists. My guess is that it is not.
We are using Service Broker to synchronise two databases using async triggers (using a middle server to preform data mapping processing). We are re-using dialogs as we want to ensure order when sending messages which contain the data to be synced. A dialog is created between each intiator and target service (there are 3 of each) which is kept open indefinately (we are only ending conversation upon receiving an end conversation message or error message).
We seem to get it working for a period then after about 1 hour it seems to stop sending and we see the following error in SQL Profiler:
An error occurred while receiving data: '64(error not found)'
Any ideas what could be causing this? We do not see any errors or end conversations. It seems to happen at irregular points.
Error 64 is usually a red herring. It simply indicates that connections are being closed due to inactivity (no traffic for 90 seconds).|||We find however that when we next try to send across to the other server the message does not get delivered, instead we only see this error.
As a last resort we have had to send one message on one dialog, closing the dialog after it has been sent, and we have no issues now. However as the messages are being sent over seperate dialog SB cannot guarantee that it will arrive in the same order as it happened in the original database.
Below is the activation SP which resides on the middle server where I think the problem lies, although all three servers contain activation SPs that are fairly similar:
Create Procedure [ctk].[ActivateMartiniSendQueue]
AS
begin
set nocount on
declare
@.ConversationHandle uniqueidentifier,
@.DialogHandle uniqueidentifier,
@.MessageType varchar(128),
@.MessageBody xml,
@.QueuingOrder bigint,
@.Counter int,
@.Error int
declare @.tableMessage table
(
queuing_order bigint,
conversation_handle uniqueidentifier,
message_type_name sysname,
message_body xml
)
declare cursorMessage cursor forward_only read_only
for select
queuing_order,
conversation_handle,
message_type_name,
message_body
from @.tableMessage
order by queuing_order asc
begin try
while (1 = 1)
begin
begin transaction
waitfor
(
receive
queuing_order,
conversation_handle,
convert(varchar(128),message_type_name),
convert(xml,message_body)
from MartiniSendQueue
into @.tableMessage
), timeout 2000
if @.@.rowcount = 0 begin
if @.@.trancount > 0 rollback transaction
break
end
open cursorMessage
while (1 = 1)
begin
fetch next from cursorMessage into
@.QueuingOrder,
@.ConversationHandle,
@.MessageType,
@.MessageBody
if @.@.fetch_status <> 0 begin
break
end
if @.MessageType = 'Martini/Customer/Create'
Begin --1
Set @.counter = 0
while (1 = 1)
begin --2
select @.DialogHandle = [conversation_handle] from
sys.conversation_endpoints as ce
left join sys.services as s on s.service_id = ce.service_id
left join sys.service_contracts as sc on sc.service_contract_id = ce.service_contract_id
where is_initiator = 1 and s.name = 'MartiniSenderService' and far_service = 'MartiniReceptionService'
if @.DialogHandle is null
begin --3
begin dialog conversation @.DialogHandle
from service [MartiniSenderService]
to service 'MartiniReceptionService'
on contract MartiniContract
with encryption = off
end;--3e
set @.MessageType = 'Martini/Customer/Create';
send on conversation @.DialogHandle
message type @.MessageType (@.MessageBody)
set @.error = @.@.error
if @.error = 0 break
set @.counter = @.counter + 1
if @.counter > 10
begin --4
raiserror ('Failed to SEND on a conversation for more than 10 times. Error %i.', 16, 1, @.error) with log
break
End --4e
End conversation @.DialogHandle
set @.DialogHandle = null
End --2e
End --1e
else if @.MessageType = 'Martini/Address/Create'
Begin --1
Set @.counter = 0
while (1 = 1)
begin --2
select @.DialogHandle = [conversation_handle] from
sys.conversation_endpoints as ce
left join sys.services as s on s.service_id = ce.service_id
left join sys.service_contracts as sc on sc.service_contract_id = ce.service_contract_id
where is_initiator = 1 and s.name = 'MartiniSenderService' and far_service = 'MartiniReceptionService'
if @.DialogHandle is null
begin --3
begin dialog conversation @.DialogHandle
from service [MartiniSenderService]
to service 'MartiniReceptionService'
on contract MartiniContract
with encryption = off
end; --3e
set @.MessageType = 'Martini/Address/Create';
send on conversation @.DialogHandle
message type @.MessageType (@.MessageBody)
set @.error = @.@.error
if @.error = 0 break
set @.counter = @.counter + 1
if @.counter > 10
begin --4
raiserror ('Failed to SEND on a conversation for more than 10 times. Error %i.', 16, 1, @.error) with log
break
end --4e
end conversation @.DialogHandle
set @.DialogHandle = null
End --2e
End --1e
else if @.MessageType = 'Martini/Address/Update'
Begin
Set @.counter = 0
while (1 = 1)
begin
select @.DialogHandle = [conversation_handle] from
sys.conversation_endpoints as ce
left join sys.services as s on s.service_id = ce.service_id
left join sys.service_contracts as sc on sc.service_contract_id = ce.service_contract_id
where is_initiator = 1 and s.name = 'MartiniSenderService' and far_service = 'MartiniReceptionService'
if @.DialogHandle is null
begin
begin dialog conversation @.DialogHandle
from service [MartiniSenderService]
to service 'MartiniReceptionService'
on contract MartiniContract
with encryption = off
end;
set @.MessageType = 'Martini/Address/Update';
send on conversation @.DialogHandle
message type @.MessageType (@.MessageBody)
set @.error = @.@.error
if @.error = 0 break
set @.counter = @.counter + 1
if @.counter > 10
begin
raiserror ('Failed to SEND on a conversation for more than 10 times. Error %i.', 16, 1, @.error) with log
break
end
end conversation @.DialogHandle
set @.DialogHandle = null
End
End
else if @.MessageType = 'Martini/Payment/Create'
Begin --1
Set @.counter = 0
while (1 = 1)
begin --2
select @.DialogHandle = [conversation_handle] from
sys.conversation_endpoints as ce
left join sys.services as s on s.service_id = ce.service_id
left join sys.service_contracts as sc on sc.service_contract_id = ce.service_contract_id
where is_initiator = 1 and s.name = 'MartiniSenderService' and far_service = 'MartiniReceptionService'
if @.DialogHandle is null
begin
begin dialog conversation @.DialogHandle
from service [MartiniSenderService]
to service 'MartiniReceptionService'
on contract MartiniContract
with encryption = off
end;
set @.MessageType = 'Martini/Payment/Create';
send on conversation @.DialogHandle
message type @.MessageType (@.MessageBody)
set @.error = @.@.error
if @.error = 0 break
set @.counter = @.counter + 1
if @.counter > 10
begin
raiserror ('Failed to SEND on a conversation for more than 10 times. Error %i.', 16, 1, @.error) with log
break
end
end conversation @.DialogHandle
set @.DialogHandle = null
End --2e
End --1e
if @.MessageType = 'http://schemas.microsoft.com/SQL/ServiceBroker/EndDialog' begin
end conversation @.DialogHandle
end
-- Error
if @.MessageType = 'http://schemas.microsoft.com/SQL/ServiceBroker/Error' begin
end conversation @.DialogHandle
end
end
close cursorMessage
delete from @.tableMessage
if @.@.trancount > 0 commit transaction
end
deallocate cursorMessage
end try
begin catch
if @.@.trancount > 0 rollback transaction
end catch
end
go
Any help would be much appreciated.
Regards
David
We are using Service Broker to synchronise two databases using async triggers (using a middle server to preform data mapping processing). We are re-using dialogs as we want to ensure order when sending messages which contain the data to be synced. A dialog is created between each intiator and target service (there are 3 of each) which is kept open indefinately (we are only ending conversation upon receiving an end conversation message or error message).
We seem to get it working for a period then after about 1 hour it seems to stop sending and we see the following error in SQL Profiler:
An error occurred while receiving data: '64(error not found)'
Any ideas what could be causing this? We do not see any errors or end conversations. It seems to happen at irregular points.
Error 64 is usually a red herring. It simply indicates that connections are being closed due to inactivity (no traffic for 90 seconds).|||We find however that when we next try to send across to the other server the message does not get delivered, instead we only see this error.
As a last resort we have had to send one message on one dialog, closing the dialog after it has been sent, and we have no issues now. However as the messages are being sent over seperate dialog SB cannot guarantee that it will arrive in the same order as it happened in the original database.
Below is the activation SP which resides on the middle server where I think the problem lies, although all three servers contain activation SPs that are fairly similar:
Create Procedure [ctk].[ActivateMartiniSendQueue]
AS
begin
set nocount on
declare
@.ConversationHandle uniqueidentifier,
@.DialogHandle uniqueidentifier,
@.MessageType varchar(128),
@.MessageBody xml,
@.QueuingOrder bigint,
@.Counter int,
@.Error int
declare @.tableMessage table
(
queuing_order bigint,
conversation_handle uniqueidentifier,
message_type_name sysname,
message_body xml
)
declare cursorMessage cursor forward_only read_only
for select
queuing_order,
conversation_handle,
message_type_name,
message_body
from @.tableMessage
order by queuing_order asc
begin try
while (1 = 1)
begin
begin transaction
waitfor
(
receive
queuing_order,
conversation_handle,
convert(varchar(128),message_type_name),
convert(xml,message_body)
from MartiniSendQueue
into @.tableMessage
), timeout 2000
if @.@.rowcount = 0 begin
if @.@.trancount > 0 rollback transaction
break
end
open cursorMessage
while (1 = 1)
begin
fetch next from cursorMessage into
@.QueuingOrder,
@.ConversationHandle,
@.MessageType,
@.MessageBody
if @.@.fetch_status <> 0 begin
break
end
if @.MessageType = 'Martini/Customer/Create'
Begin --1
Set @.counter = 0
while (1 = 1)
begin --2
select @.DialogHandle = [conversation_handle] from
sys.conversation_endpoints as ce
left join sys.services as s on s.service_id = ce.service_id
left join sys.service_contracts as sc on sc.service_contract_id = ce.service_contract_id
where is_initiator = 1 and s.name = 'MartiniSenderService' and far_service = 'MartiniReceptionService'
if @.DialogHandle is null
begin --3
begin dialog conversation @.DialogHandle
from service [MartiniSenderService]
to service 'MartiniReceptionService'
on contract MartiniContract
with encryption = off
end;--3e
set @.MessageType = 'Martini/Customer/Create';
send on conversation @.DialogHandle
message type @.MessageType (@.MessageBody)
set @.error = @.@.error
if @.error = 0 break
set @.counter = @.counter + 1
if @.counter > 10
begin --4
raiserror ('Failed to SEND on a conversation for more than 10 times. Error %i.', 16, 1, @.error) with log
break
End --4e
End conversation @.DialogHandle
set @.DialogHandle = null
End --2e
End --1e
else if @.MessageType = 'Martini/Address/Create'
Begin --1
Set @.counter = 0
while (1 = 1)
begin --2
select @.DialogHandle = [conversation_handle] from
sys.conversation_endpoints as ce
left join sys.services as s on s.service_id = ce.service_id
left join sys.service_contracts as sc on sc.service_contract_id = ce.service_contract_id
where is_initiator = 1 and s.name = 'MartiniSenderService' and far_service = 'MartiniReceptionService'
if @.DialogHandle is null
begin --3
begin dialog conversation @.DialogHandle
from service [MartiniSenderService]
to service 'MartiniReceptionService'
on contract MartiniContract
with encryption = off
end; --3e
set @.MessageType = 'Martini/Address/Create';
send on conversation @.DialogHandle
message type @.MessageType (@.MessageBody)
set @.error = @.@.error
if @.error = 0 break
set @.counter = @.counter + 1
if @.counter > 10
begin --4
raiserror ('Failed to SEND on a conversation for more than 10 times. Error %i.', 16, 1, @.error) with log
break
end --4e
end conversation @.DialogHandle
set @.DialogHandle = null
End --2e
End --1e
else if @.MessageType = 'Martini/Address/Update'
Begin
Set @.counter = 0
while (1 = 1)
begin
select @.DialogHandle = [conversation_handle] from
sys.conversation_endpoints as ce
left join sys.services as s on s.service_id = ce.service_id
left join sys.service_contracts as sc on sc.service_contract_id = ce.service_contract_id
where is_initiator = 1 and s.name = 'MartiniSenderService' and far_service = 'MartiniReceptionService'
if @.DialogHandle is null
begin
begin dialog conversation @.DialogHandle
from service [MartiniSenderService]
to service 'MartiniReceptionService'
on contract MartiniContract
with encryption = off
end;
set @.MessageType = 'Martini/Address/Update';
send on conversation @.DialogHandle
message type @.MessageType (@.MessageBody)
set @.error = @.@.error
if @.error = 0 break
set @.counter = @.counter + 1
if @.counter > 10
begin
raiserror ('Failed to SEND on a conversation for more than 10 times. Error %i.', 16, 1, @.error) with log
break
end
end conversation @.DialogHandle
set @.DialogHandle = null
End
End
else if @.MessageType = 'Martini/Payment/Create'
Begin --1
Set @.counter = 0
while (1 = 1)
begin --2
select @.DialogHandle = [conversation_handle] from
sys.conversation_endpoints as ce
left join sys.services as s on s.service_id = ce.service_id
left join sys.service_contracts as sc on sc.service_contract_id = ce.service_contract_id
where is_initiator = 1 and s.name = 'MartiniSenderService' and far_service = 'MartiniReceptionService'
if @.DialogHandle is null
begin
begin dialog conversation @.DialogHandle
from service [MartiniSenderService]
to service 'MartiniReceptionService'
on contract MartiniContract
with encryption = off
end;
set @.MessageType = 'Martini/Payment/Create';
send on conversation @.DialogHandle
message type @.MessageType (@.MessageBody)
set @.error = @.@.error
if @.error = 0 break
set @.counter = @.counter + 1
if @.counter > 10
begin
raiserror ('Failed to SEND on a conversation for more than 10 times. Error %i.', 16, 1, @.error) with log
break
end
end conversation @.DialogHandle
set @.DialogHandle = null
End --2e
End --1e
if @.MessageType = 'http://schemas.microsoft.com/SQL/ServiceBroker/EndDialog' begin
end conversation @.DialogHandle
end
-- Error
if @.MessageType = 'http://schemas.microsoft.com/SQL/ServiceBroker/Error' begin
end conversation @.DialogHandle
end
end
close cursorMessage
delete from @.tableMessage
if @.@.trancount > 0 commit transaction
end
deallocate cursorMessage
end try
begin catch
if @.@.trancount > 0 rollback transaction
end catch
end
go
Any help would be much appreciated.
Regards
David
We are using Service Broker to synchronise two databases using async triggers (using a middle server to preform data mapping processing). We are re-using dialogs as we want to ensure order when sending messages which contain the data to be synced. A dialog is created between each intiator and target service (there are 3 of each) which is kept open indefinately (we are only ending conversation upon receiving an end conversation message or error message).
We seem to get it working for a period then after about 1 hour it seems to stop sending and we see the following error in SQL Profiler:
An error occurred while receiving data: '64(error not found)'
Any ideas what could be causing this? We do not see any errors or end conversations. It seems to happen at irregular points.
Error 64 is usually a red herring. It simply indicates that connections are being closed due to inactivity (no traffic for 90 seconds).|||We find however that when we next try to send across to the other server the message does not get delivered, instead we only see this error.
As a last resort we have had to send one message on one dialog, closing the dialog after it has been sent, and we have no issues now. However as the messages are being sent over seperate dialog SB cannot guarantee that it will arrive in the same order as it happened in the original database.
Below is the activation SP which resides on the middle server where I think the problem lies, although all three servers contain activation SPs that are fairly similar:
Create Procedure [ctk].[ActivateMartiniSendQueue]
AS
begin
set nocount on
declare
@.ConversationHandle uniqueidentifier,
@.DialogHandle uniqueidentifier,
@.MessageType varchar(128),
@.MessageBody xml,
@.QueuingOrder bigint,
@.Counter int,
@.Error int
declare @.tableMessage table
(
queuing_order bigint,
conversation_handle uniqueidentifier,
message_type_name sysname,
message_body xml
)
declare cursorMessage cursor forward_only read_only
for select
queuing_order,
conversation_handle,
message_type_name,
message_body
from @.tableMessage
order by queuing_order asc
begin try
while (1 = 1)
begin
begin transaction
waitfor
(
receive
queuing_order,
conversation_handle,
convert(varchar(128),message_type_name),
convert(xml,message_body)
from MartiniSendQueue
into @.tableMessage
), timeout 2000
if @.@.rowcount = 0 begin
if @.@.trancount > 0 rollback transaction
break
end
open cursorMessage
while (1 = 1)
begin
fetch next from cursorMessage into
@.QueuingOrder,
@.ConversationHandle,
@.MessageType,
@.MessageBody
if @.@.fetch_status <> 0 begin
break
end
if @.MessageType = 'Martini/Customer/Create'
Begin --1
Set @.counter = 0
while (1 = 1)
begin --2
select @.DialogHandle = [conversation_handle] from
sys.conversation_endpoints as ce
left join sys.services as s on s.service_id = ce.service_id
left join sys.service_contracts as sc on sc.service_contract_id = ce.service_contract_id
where is_initiator = 1 and s.name = 'MartiniSenderService' and far_service = 'MartiniReceptionService'
if @.DialogHandle is null
begin --3
begin dialog conversation @.DialogHandle
from service [MartiniSenderService]
to service 'MartiniReceptionService'
on contract MartiniContract
with encryption = off
end;--3e
set @.MessageType = 'Martini/Customer/Create';
send on conversation @.DialogHandle
message type @.MessageType (@.MessageBody)
set @.error = @.@.error
if @.error = 0 break
set @.counter = @.counter + 1
if @.counter > 10
begin --4
raiserror ('Failed to SEND on a conversation for more than 10 times. Error %i.', 16, 1, @.error) with log
break
End --4e
End conversation @.DialogHandle
set @.DialogHandle = null
End --2e
End --1e
else if @.MessageType = 'Martini/Address/Create'
Begin --1
Set @.counter = 0
while (1 = 1)
begin --2
select @.DialogHandle = [conversation_handle] from
sys.conversation_endpoints as ce
left join sys.services as s on s.service_id = ce.service_id
left join sys.service_contracts as sc on sc.service_contract_id = ce.service_contract_id
where is_initiator = 1 and s.name = 'MartiniSenderService' and far_service = 'MartiniReceptionService'
if @.DialogHandle is null
begin --3
begin dialog conversation @.DialogHandle
from service [MartiniSenderService]
to service 'MartiniReceptionService'
on contract MartiniContract
with encryption = off
end; --3e
set @.MessageType = 'Martini/Address/Create';
send on conversation @.DialogHandle
message type @.MessageType (@.MessageBody)
set @.error = @.@.error
if @.error = 0 break
set @.counter = @.counter + 1
if @.counter > 10
begin --4
raiserror ('Failed to SEND on a conversation for more than 10 times. Error %i.', 16, 1, @.error) with log
break
end --4e
end conversation @.DialogHandle
set @.DialogHandle = null
End --2e
End --1e
else if @.MessageType = 'Martini/Address/Update'
Begin
Set @.counter = 0
while (1 = 1)
begin
select @.DialogHandle = [conversation_handle] from
sys.conversation_endpoints as ce
left join sys.services as s on s.service_id = ce.service_id
left join sys.service_contracts as sc on sc.service_contract_id = ce.service_contract_id
where is_initiator = 1 and s.name = 'MartiniSenderService' and far_service = 'MartiniReceptionService'
if @.DialogHandle is null
begin
begin dialog conversation @.DialogHandle
from service [MartiniSenderService]
to service 'MartiniReceptionService'
on contract MartiniContract
with encryption = off
end;
set @.MessageType = 'Martini/Address/Update';
send on conversation @.DialogHandle
message type @.MessageType (@.MessageBody)
set @.error = @.@.error
if @.error = 0 break
set @.counter = @.counter + 1
if @.counter > 10
begin
raiserror ('Failed to SEND on a conversation for more than 10 times. Error %i.', 16, 1, @.error) with log
break
end
end conversation @.DialogHandle
set @.DialogHandle = null
End
End
else if @.MessageType = 'Martini/Payment/Create'
Begin --1
Set @.counter = 0
while (1 = 1)
begin --2
select @.DialogHandle = [conversation_handle] from
sys.conversation_endpoints as ce
left join sys.services as s on s.service_id = ce.service_id
left join sys.service_contracts as sc on sc.service_contract_id = ce.service_contract_id
where is_initiator = 1 and s.name = 'MartiniSenderService' and far_service = 'MartiniReceptionService'
if @.DialogHandle is null
begin
begin dialog conversation @.DialogHandle
from service [MartiniSenderService]
to service 'MartiniReceptionService'
on contract MartiniContract
with encryption = off
end;
set @.MessageType = 'Martini/Payment/Create';
send on conversation @.DialogHandle
message type @.MessageType (@.MessageBody)
set @.error = @.@.error
if @.error = 0 break
set @.counter = @.counter + 1
if @.counter > 10
begin
raiserror ('Failed to SEND on a conversation for more than 10 times. Error %i.', 16, 1, @.error) with log
break
end
end conversation @.DialogHandle
set @.DialogHandle = null
End --2e
End --1e
if @.MessageType = 'http://schemas.microsoft.com/SQL/ServiceBroker/EndDialog' begin
end conversation @.DialogHandle
end
-- Error
if @.MessageType = 'http://schemas.microsoft.com/SQL/ServiceBroker/Error' begin
end conversation @.DialogHandle
end
end
close cursorMessage
delete from @.tableMessage
if @.@.trancount > 0 commit transaction
end
deallocate cursorMessage
end try
begin catch
if @.@.trancount > 0 rollback transaction
end catch
end
go
Any help would be much appreciated.
Regards
David
whats there in the error log ? ? ?......also did you try to backup using T-SQL .......is the db accessible ? ? ? after you restored from SQL 2000......try running
dbcc checkdb........
|||Below is the error log:
Failed-1073548784) Executing the query "BACKUP DATABASE [SURVIAC] TO DISK = N'C:\\DatabaseBackups\\DailyFull\\SURVIAC\\SURVIAC_backup_200707091051.bak' WITH NOFORMAT, NOINIT, NAME = N'SURVIAC_backup_20070709105151', SKIP, REWIND, NOUNLOAD, STATS = 10
" failed with the following error: "An error occurred while processing 'BackupMetadata' metadata for database id 13 file id 65537.
Inconsistent metadata has been encountered. The only possible backup operation is a tail-log backup using the WITH CONTINUE_AFTER_ERROR or NO_TRUNCATE option.
BACKUP DATABASE is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
The database is accessible and is being used. I ran checkdb and did not come up with anything. I haven't used T-SQL. I have only used enterprise manager and my maintenance plans.
|||seems your db is corrupted i guess.........the error log states that metadata is inconsistent ........also it allows you to take transaction log backup by using the option WITH CONTINUE_AFTER_ERROR ........you have the following options,
1.Try to backup the db with T-SQL or
2.Take a tran log backup with the above option
3.If you have any recent full backup just restore it somewhere and test if you can take backup on that restored db....coz i doubt your db is corrupted....
|||It looks like you could be hitting a problem where you have damaged pages in the backup. The default behavior under 2005 is for the backup to fail if the checksum can't be verified.
To see if it is the maintenance plan or not, first try to backup the database using your own T-SQL and not the maintenance plan.
Also, run your DBCC CHECKDB using your own T-SQL, not a maintenance plan.
How long ago did you move this from 2000 to 2005? Did you run a checkdb after that migration? How did upgrade the database? Have you done any successful backups since upgrading the database to 2005?
-Sue
|||The error was cause I lose the encription key. Then I deleted with
rskeymgmt -d
After that I have to reconfigure all the connection.|||
hi, this probleb caused becaus mainly of the initializtion of reporting services you need to initialize the reporting service in the sql server for that u need to do
start-->all programs>sql server2005-->reporting services-->configure>initialize -->check the box and press initialize button
An error has occurred during report processing. (rsProcessingAborted)
The report server installation is not initialized. (rsReportServerNotActivated) (rsRPCError)
Any Ideas
Thanks in advanceIt happens because another instace of RS was running.
See it at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSerrors/htm/Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings_rsReportServerNotActivated.asp
I try to do this to solve this stuff:
rsactivate -c "path to the report server config file"
rsactivate -r
With no luck.
Any Ideas?|||The error was cause I lose the encription key. Then I deleted with
rskeymgmt -d
After that I have to reconfigure all the connection.
Hi Raj,
What is your question? The error is fairly clear. The query that returns data in your report cannot access the data source defined in your report for User 'sam' and 'database03'.
Could some one out there help me out?
Ronald
While creating a new report in the report designer I can pull all the information from my cube,
however later after it is created i get this message:
An error has occurred during report processing.
Query execution failed for data set 'MedContv15S'.
Unable to recognize the requested property ID 'ReturnCellProperties'.
anybody a clue ?
I meanwhile tried to set "ConnectTo" to 8.0, however after that i get this error:
An error occured during local report processing
An error has occured during report processing
Cannot create a connection to data source 'MeD'.
The LCID or Compare String flags have already been set by an existing connection. They cannot be changed
While creating a new report in the report designer I can pull all the information from my cube,
however later after it is created i get this message:
An error has occurred during report processing.
Query execution failed for data set 'MedContv15S'.
Unable to recognize the requested property ID 'ReturnCellProperties'.
anybody a clue ?
I meanwhile tried to set "ConnectTo" to 8.0, however after that i get this error:
An error occured during local report processing
An error has occured during report processing
Cannot create a connection to data source 'MeD'.
The LCID or Compare String flags have already been set by an existing connection. They cannot be changed
Could some one out there help me out?
Ronald
HI All,
I am working with AMO and .Net i have few queries,
1) how to handle the transactions in AMO
2)if one user is processing the cube then how to prevent other user to access it.
Please let me know.
Your suggestions are valueable to me.
Thanks in advance.
vish.
AMO is inherently transactional. If an object is being processed changes that other users submit will not be committed until after the transaction has completed.
If you need to do a series of operations, like changing a cubes structure and then processing it, but you want either both or neither of these operations to suceed, then you can use explicit transactions. The server object has beginTransaction, commitTransaction and rollbackTransaction methods.
SQL Alternative to cursor,sql server