Showing posts with label deploying. Show all posts
Showing posts with label deploying. Show all posts

Wednesday, March 21, 2012

Error when deploying report to server

I'm trying to deploy my report to the server but keep getting the following error. does anyone know how to fix or is there some steps on how to set up the server to allow this?

Error 1 The permissions granted to user 'GIP-SQLTEST\IUSR_GIP-SQLTEST' are insufficient for performing this operation. 0 0

Thanks,

the user account you are using to deploy the account needs to be DB Owner on the sql server....|||I don't know where the error message is getting this user. This is not my username on this machine nor does this user have access to the server. I'm stumped.|||

it a local system account on the SQL Box, you will find however it has no rights by default to your db.

You will see it if you look at the config settings of ssrs on the server

|||This has been changed but I still can't deploy my report to the server?

Error when deploying Report Model

I installed SQL Server 2005 on my laptop, this also contains my SQL Server 2000, so I couldnt use localhost and I used CreweAlex/SQLSERVER2005 as the hostname.

What do I need to fill in the field:

TargetServerURL

Because when I type http:\\localhost\ReportServer it doesn't work (as mentioned in the tutorial which I am following), also CreweAlex/SQLSERVER2005/ReportServer doesnt work.

I tried all kinds of combinations, but nothing works.

Everything is installed on my laptop, also the Reporting Server.

Try http://crewealex/reportserver$sqlserver2005|||

Thanks for the quick respons, but I still get an error:

Connection could not be made to the report server

The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. (Microsoft.ReportingServices.SemanticQueryDesign)

|||

When I type http://crewealex/reportserver in my browser then I can see that I log in into my Report Server, because this is the message that I get:

Microsoft SQL Server Reporting Services Version 9.00.1399.00

I typed http://crewealex/reportserver in my TargetServerURL and this works now. But my instance name is SQLSERVER2005. > Problem solved.

Error when deploying report builder model

I get the following error when I try to deploy a report builder model. The SQL Server 2005 "Reporting Services" are installed and running on the local machine.

TITLE: Microsoft Semantic Model Designer

A connection could not be made to the report server http://localhost/ReportServer.

ADDITIONAL INFORMATION:

Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
<html>
<head>
<title>
SQL Server Reporting Services
</title><meta name="Generator" content="Microsoft SQL Server Reporting Services 9.00.2047.00" />
<meta name="HTTP Status" content="500" />
<meta name="ProductLocaleID" content="9" />
<meta name="CountryLocaleID" content="1033" />
<meta name="StackTrace" content=" at Microsoft.ReportingServices.Diagnostics.RSConfiguration.Load()
at Microsoft.ReportingServices.Diagnostics.RSConfiguration.Construct(String configFileName)
at Microsoft.ReportingServices.Diagnostics.RSConfiguration..ctor(String configFileName, String location)
at Microsoft.ReportingServices.Diagnostics.RSConfigurationManager..ctor(String configFileName, String configLocation)
at Microsoft.ReportingServices.Library.Global.get_ConfigurationManager()
at Microsoft.ReportingServices.WebServer.Global.StartApp()
at Microsoft.ReportingServices.WebServer.Global.Application_BeginRequest(Object sender, EventArgs e)" />
<style>
BODY {FONT-FAMILY:Verdana; FONT-WEIGHT:normal; FONT-SIZE: 8pt; COLOR:black}
H1 {FONT-FAMILY:Verdana; FONT-WEIGHT:700; FONT-SIZE:15pt}
LI {FONT-FAMILY:Verdana; FONT-WEIGHT:normal; FONT-SIZE:8pt; DISPLAY:inline}
.ProductInfo {FONT-FAMILY:Verdana; FONT-WEIGHT:bold; FONT-SIZE: 8pt; COLOR:gray}
A:link {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#3366CC; TEXT-DECORATION:none}
A:hover {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#FF3300; TEXT-DECORATION:underline}
A:visited {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#3366CC; TEXT-DECORATION:none}
A:visited:hover {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; color:#FF3300; TEXT-DECORATION:underline}

</style>
</head><body bgcolor="white">
<h1>
Reporting Services Error<hr width="100%" size="1" color="silver" />
</h1><ul>
<li>The report server has encountered a configuration error. See the report server log files for more information. (rsServerConfigurationError) </li><ul>
<li>Access to the path 'C:\Program Files\Microsoft SQL Server\MSSQL.4\Reporting Services\ReportServer\RSReportServer.config' is denied.</li>
</ul>
</ul><hr width="100%" size="1" color="silver" /><span class="ProductInfo">SQL Server Reporting Services</span>
</body>
</html>
--. (Microsoft.ReportingServices.SemanticQueryDesign)

BUTTONS:

OKI ended up uninstalling SQL Server 2005, uninstalling the previously installed SQLExpress, and then reinstalling SQL Server 2005. This solved the problem.|||I had the same kind a problem and i started looking some other reporting tool .The very best one on the market in my opinion is Intelliview. It is very pricey

though! You can find it here: http://www.synaptris.com/products/reporting-analytics/index.html

Error when deploying report builder model

I get the following error when I try to deploy a report builder model. The SQL Server 2005 "Reporting Services" are installed and running on the local machine.

TITLE: Microsoft Semantic Model Designer

A connection could not be made to the report server http://localhost/ReportServer.

ADDITIONAL INFORMATION:

Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
<html>
<head>
<title>
SQL Server Reporting Services
</title><meta name="Generator" content="Microsoft SQL Server Reporting Services 9.00.2047.00" />
<meta name="HTTP Status" content="500" />
<meta name="ProductLocaleID" content="9" />
<meta name="CountryLocaleID" content="1033" />
<meta name="StackTrace" content=" at Microsoft.ReportingServices.Diagnostics.RSConfiguration.Load()
at Microsoft.ReportingServices.Diagnostics.RSConfiguration.Construct(String configFileName)
at Microsoft.ReportingServices.Diagnostics.RSConfiguration..ctor(String configFileName, String location)
at Microsoft.ReportingServices.Diagnostics.RSConfigurationManager..ctor(String configFileName, String configLocation)
at Microsoft.ReportingServices.Library.Global.get_ConfigurationManager()
at Microsoft.ReportingServices.WebServer.Global.StartApp()
at Microsoft.ReportingServices.WebServer.Global.Application_BeginRequest(Object sender, EventArgs e)" />
<style>
BODY {FONT-FAMILY:Verdana; FONT-WEIGHT:normal; FONT-SIZE: 8pt; COLOR:black}
H1 {FONT-FAMILY:Verdana; FONT-WEIGHT:700; FONT-SIZE:15pt}
LI {FONT-FAMILY:Verdana; FONT-WEIGHT:normal; FONT-SIZE:8pt; DISPLAY:inline}
.ProductInfo {FONT-FAMILY:Verdana; FONT-WEIGHT:bold; FONT-SIZE: 8pt; COLOR:gray}
A:link {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#3366CC; TEXT-DECORATION:none}
A:hover {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#FF3300; TEXT-DECORATION:underline}
A:visited {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#3366CC; TEXT-DECORATION:none}
A:visited:hover {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; color:#FF3300; TEXT-DECORATION:underline}

</style>
</head><body bgcolor="white">
<h1>
Reporting Services Error<hr width="100%" size="1" color="silver" />
</h1><ul>
<li>The report server has encountered a configuration error. See the report server log files for more information. (rsServerConfigurationError) </li><ul>
<li>Access to the path 'C:\Program Files\Microsoft SQL Server\MSSQL.4\Reporting Services\ReportServer\RSReportServer.config' is denied.</li>
</ul>
</ul><hr width="100%" size="1" color="silver" /><span class="ProductInfo">SQL Server Reporting Services</span>
</body>
</html>
--. (Microsoft.ReportingServices.SemanticQueryDesign)

BUTTONS:

OKI ended up uninstalling SQL Server 2005, uninstalling the previously installed SQLExpress, and then reinstalling SQL Server 2005. This solved the problem.|||I had the same kind a problem and i started looking some other reporting tool .The very best one on the market in my opinion is Intelliview. It is very pricey

though! You can find it here: http://www.synaptris.com/products/reporting-analytics/index.htmlsql

Error when deploying on Server 2003

I built a utility that grabs large XML string from a database and then uses XML bulk load to shread the data in to 4 seperate tables. Everything works great on my box, but when I tried to move it to the dev server I started getting errors.

The first error I got was: Exception: Retrieving the COM class factory for component with CLSID {19AA7334-069C-437F-BFE4-CC9894DB8504} failed due to the following error: 80040154.

I evetually figured out that the XML bulkload dll 'xblkld4.dll' was not registered. I had a hard time getting the DLL registered as it was dependant on a lot of other dll's. Finally I copied all of the dll's from C:\Program Files\Common Files\System\Ole DB that had XML in them and I was able to register.

Now I am getting a new error that I can't find any information on. When the XML bulk load executes, I get the exception: Error creating SAX reader.

Is there a sax reader dll that I need to copy to the dev server and register? Does anybody have any ideas?

~Jason

I think this article may help you deploy your solution and fix your problems.

http://msdn2.microsoft.com/en-us/library/ms171744.aspx

Error when deploying on Server 2003

I built a utility that grabs large XML string from a database and then uses XML bulk load to shread the data in to 4 seperate tables. Everything works great on my box, but when I tried to move it to the dev server I started getting errors.

The first error I got was: Exception: Retrieving the COM class factory for component with CLSID {19AA7334-069C-437F-BFE4-CC9894DB8504} failed due to the following error: 80040154.

I evetually figured out that the XML bulkload dll 'xblkld4.dll' was not registered. I had a hard time getting the DLL registered as it was dependant on a lot of other dll's. Finally I copied all of the dll's from C:\Program Files\Common Files\System\Ole DB that had XML in them and I was able to register.

Now I am getting a new error that I can't find any information on. When the XML bulk load executes, I get the exception: Error creating SAX reader.

Is there a sax reader dll that I need to copy to the dev server and register? Does anybody have any ideas?

~Jason

I think this article may help you deploy your solution and fix your problems.

http://msdn2.microsoft.com/en-us/library/ms171744.aspx

Error when deploying forms authentication sample

Hello

I'm trying to get the forms authentication sample working - I have followed the instructions given in the ReadMe that came with the samples. When I try to browse to localhost/reportserver (on the server), instead of seeing the logon page as expected, I get the following error message:

An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I built the sample in VS 2005, and am using v2 of .net. Reporting services is installed on a windows server 2003 machine.

This has been driving me crazy for a while now. Any help would be greatly appreciated!

Thanks in advance

Dominic

Have a look at this.

http://blog.devstone.com/aaron/archive/2005/03/31/502.aspx

Also, try using www.sysinternals.com filemon and regmon to track down permission issues.

cheers,

Andrew

|||

I am also facing the same problem. Due you get the solution ?I

|||

I was having the same problem. I solved it changing the RSSrvPolicy.config as explained in http://msdn2.microsoft.com/en-us/ms160724.aspx

My particular mistake was in the line Url="C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin\Microsoft.Samples.ReportingServices.CustomSecurity.dll" because I had the path wrong. I corrected that and corrected the problem.

Hope this helps.

The RSSrvPolicy.config that has to be changed:

<CodeGroup
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="$CodeGen$/*"
/>
</CodeGroup>
<CodeGroup
class="UnionCodeGroup"
version="1"
Name="SecurityExtensionCodeGroup"
Description="Code group for the sample security extension"
PermissionSetName="FullTrust">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin\Microsoft.Samples.ReportingServices.CustomSecurity.dll"
/>
</CodeGroup>

Monday, March 19, 2012

Error when deploying forms authentication sample

Hello

I'm trying to get the forms authentication sample working - I have followed the instructions given in the ReadMe that came with the samples. When I try to browse to localhost/reportserver (on the server), instead of seeing the logon page as expected, I get the following error message:

An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I built the sample in VS 2005, and am using v2 of .net. Reporting services is installed on a windows server 2003 machine.

This has been driving me crazy for a while now. Any help would be greatly appreciated!

Thanks in advance

Dominic

Have a look at this.

http://blog.devstone.com/aaron/archive/2005/03/31/502.aspx

Also, try using www.sysinternals.com filemon and regmon to track down permission issues.

cheers,

Andrew

|||

I am also facing the same problem. Due you get the solution ?I

|||

I was having the same problem. I solved it changing the RSSrvPolicy.config as explained in http://msdn2.microsoft.com/en-us/ms160724.aspx

My particular mistake was in the line Url="C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin\Microsoft.Samples.ReportingServices.CustomSecurity.dll" because I had the path wrong. I corrected that and corrected the problem.

Hope this helps.

The RSSrvPolicy.config that has to be changed:

<CodeGroup
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="$CodeGen$/*"
/>
</CodeGroup>
<CodeGroup
class="UnionCodeGroup"
version="1"
Name="SecurityExtensionCodeGroup"
Description="Code group for the sample security extension"
PermissionSetName="FullTrust">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin\Microsoft.Samples.ReportingServices.CustomSecurity.dll"
/>
</CodeGroup>

Error when deploying forms authentication sample

Hello

I'm trying to get the forms authentication sample working - I have followed the instructions given in the ReadMe that came with the samples. When I try to browse to localhost/reportserver (on the server), instead of seeing the logon page as expected, I get the following error message:

An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I built the sample in VS 2005, and am using v2 of .net. Reporting services is installed on a windows server 2003 machine.

This has been driving me crazy for a while now. Any help would be greatly appreciated!

Thanks in advance

Dominic

Have a look at this.

http://blog.devstone.com/aaron/archive/2005/03/31/502.aspx

Also, try using www.sysinternals.com filemon and regmon to track down permission issues.

cheers,

Andrew

|||

I am also facing the same problem. Due you get the solution ?I

|||

I was having the same problem. I solved it changing the RSSrvPolicy.config as explained in http://msdn2.microsoft.com/en-us/ms160724.aspx

My particular mistake was in the line Url="C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin\Microsoft.Samples.ReportingServices.CustomSecurity.dll" because I had the path wrong. I corrected that and corrected the problem.

Hope this helps.

The RSSrvPolicy.config that has to be changed:

<CodeGroup
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="$CodeGen$/*"
/>
</CodeGroup>
<CodeGroup
class="UnionCodeGroup"
version="1"
Name="SecurityExtensionCodeGroup"
Description="Code group for the sample security extension"
PermissionSetName="FullTrust">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin\Microsoft.Samples.ReportingServices.CustomSecurity.dll"
/>
</CodeGroup>

Error when Deploying Cube

Hey guys,

Have a really strange error, I have a AS Cube designed and ready to go. Have been deploying it previosly and was erroring out due to attributes not being found in the tables. So ive worked on fixing all of them and now, i have an error message occuring and all it says is:

Server: The Operation has been cancelled.

I havnt cancelled anything, it doesnt show any more details for the error either.. Is there a log file somewhere that i can look further into?


Or has anyone had this message before? I am stumpped and now its annoying me as i was so close to having my first cube up and deployed...

Thanks in advance

Scotty

If you have made some changes in the source DB, you can try re creating the Data source and data source view and processing the dimensions and the cube after that.

|||

Are you receiving the error when you build and deploy the cube? Or does the error happenwhen you process the cube *after* deploying. If you have the Processing Options set to "default", then your cube will automatically process after each deployment.

If Processing Options are set to "default", then first set this to "do not process" (Right click on Project name to find this).

Then go into the Data Source View tab and right click anywhere in the diagram pane and select "Refresh...." This will perform some comparisons between your DSV and your relational database.

At this point, you can start processing your cube. What I would do at this point is select all the dimensions and process them first. If you see any errors, look at the error messages and backtrack until they are all corrected. Keep in mind that because your dimensions are being processed in parallel any error will cause any dimensions that are still being processed to stop and they will display a "canceled" message.

One you get the dimensions processed then start processing the partitions.

This is somewhere tedius, but if you haven't been keeping the relational database and your cube structure in synch, you'll have to take the time to do it now.

Hope this helps,

Pam

|||

Thanks Pam, I am receiving the error when i am deploying the cube. Building the cube works fine.

I will go through your instructions and see if it works. i am thinking you are right as i have been changing one particular table,. keeping all the columns names the same, but the problem started happening after i did this..

Ill let you know how i go in a couple of minutes..

Once again,,thanks.. this place in invaluable for advice!!

|||

Pam,

I went through and did what you suggested. Everything processed correctly to i go to the partition and tried to process that. This is where i got the message : Server: The Operation has Been Cancelled.

Any ideas on this? Should i try to create a new partition? if so, can i base if of the old one? I havnt done much with partitions yet as im pretty new to SSAS but im willing to read up on it if need be..

Thanks


Scotty

|||

hi guys,

Even i have error while deploying the cube

Error is as follows:

Error 1 The project could not be deployed to the "Server name" server because of the following connectivity problems : A connection cannot be made. Ensure that the server is running. To verify or update the name of the target server, right-click on the project in Solution Explorer, select Project Properties, click on the Deployment tab, and then enter the name of the server.

but the server was working fine..

i didnt get what excatly was the error

could any help me out

lalitha

|||

Hi
I am getting the same error while running the MDX. The query uses subcube. Query runs ok when there is less data BUT it gives me error "Server: The operation has been cancelled." there is large amount of data.
Thanks in advance!
Rakesh

|||Looks like its a perfomance issue. long-running queries can lock the system as a whole. |||When I highlight a few partitions and start processing, the process occasionally stops with a message that operation has been canceled, like this:

Response 3
Server: the operation has been cancelled.
Response 4

Server: the operation has been cancelled.

Response 5
Server: the operation has been cancelled.

..etc...

(no further error message details are provided)
SQL profiler shows that batch was completed (but rowcount shown in process progress log is too small).
Analysis Services profiler shows no messages at that time at all. It just shows messages when it started, and when I restarted the processing.

This is an occasional error and sometime occurs within 15-20 minutes from starting to process. It could fail on 1st partition in the process list , or on some partition in the middle. Some partitions might run for a few hours and not error out, but sometimes it fails quickly.

Also looks like the profiler (engine and ssas) are not working correctly - they are skipping messages (not capturing or not showing). I do not have any filters on the Profiler.

Error when Deploying Cube

Hey guys,

Have a really strange error, I have a AS Cube designed and ready to go. Have been deploying it previosly and was erroring out due to attributes not being found in the tables. So ive worked on fixing all of them and now, i have an error message occuring and all it says is:

Server: The Operation has been cancelled.

I havnt cancelled anything, it doesnt show any more details for the error either.. Is there a log file somewhere that i can look further into?


Or has anyone had this message before? I am stumpped and now its annoying me as i was so close to having my first cube up and deployed...

Thanks in advance

Scotty

If you have made some changes in the source DB, you can try re creating the Data source and data source view and processing the dimensions and the cube after that.

|||

Are you receiving the error when you build and deploy the cube? Or does the error happenwhen you process the cube *after* deploying. If you have the Processing Options set to "default", then your cube will automatically process after each deployment.

If Processing Options are set to "default", then first set this to "do not process" (Right click on Project name to find this).

Then go into the Data Source View tab and right click anywhere in the diagram pane and select "Refresh...." This will perform some comparisons between your DSV and your relational database.

At this point, you can start processing your cube. What I would do at this point is select all the dimensions and process them first. If you see any errors, look at the error messages and backtrack until they are all corrected. Keep in mind that because your dimensions are being processed in parallel any error will cause any dimensions that are still being processed to stop and they will display a "canceled" message.

One you get the dimensions processed then start processing the partitions.

This is somewhere tedius, but if you haven't been keeping the relational database and your cube structure in synch, you'll have to take the time to do it now.

Hope this helps,

Pam

|||

Thanks Pam, I am receiving the error when i am deploying the cube. Building the cube works fine.

I will go through your instructions and see if it works. i am thinking you are right as i have been changing one particular table,. keeping all the columns names the same, but the problem started happening after i did this..

Ill let you know how i go in a couple of minutes..

Once again,,thanks.. this place in invaluable for advice!!

|||

Pam,

I went through and did what you suggested. Everything processed correctly to i go to the partition and tried to process that. This is where i got the message : Server: The Operation has Been Cancelled.

Any ideas on this? Should i try to create a new partition? if so, can i base if of the old one? I havnt done much with partitions yet as im pretty new to SSAS but im willing to read up on it if need be..

Thanks


Scotty

|||

hi guys,

Even i have error while deploying the cube

Error is as follows:

Error 1 The project could not be deployed to the "Server name" server because of the following connectivity problems : A connection cannot be made. Ensure that the server is running. To verify or update the name of the target server, right-click on the project in Solution Explorer, select Project Properties, click on the Deployment tab, and then enter the name of the server.

but the server was working fine..

i didnt get what excatly was the error

could any help me out

lalitha

|||

Hi
I am getting the same error while running the MDX. The query uses subcube. Query runs ok when there is less data BUT it gives me error "Server: The operation has been cancelled." there is large amount of data.
Thanks in advance!
Rakesh

|||Looks like its a perfomance issue. long-running queries can lock the system as a whole. |||When I highlight a few partitions and start processing, the process occasionally stops with a message that operation has been canceled, like this:

Response 3
Server: the operation has been cancelled.
Response 4

Server: the operation has been cancelled.

Response 5
Server: the operation has been cancelled.

..etc...

(no further error message details are provided)
SQL profiler shows that batch was completed (but rowcount shown in process progress log is too small).
Analysis Services profiler shows no messages at that time at all. It just shows messages when it started, and when I restarted the processing.

This is an occasional error and sometime occurs within 15-20 minutes from starting to process. It could fail on 1st partition in the process list , or on some partition in the middle. Some partitions might run for a few hours and not error out, but sometimes it fails quickly.

Also looks like the profiler (engine and ssas) are not working correctly - they are skipping messages (not capturing or not showing). I do not have any filters on the Profiler.

Error when Deploying Cube

Hey guys,

Have a really strange error, I have a AS Cube designed and ready to go. Have been deploying it previosly and was erroring out due to attributes not being found in the tables. So ive worked on fixing all of them and now, i have an error message occuring and all it says is:

Server: The Operation has been cancelled.

I havnt cancelled anything, it doesnt show any more details for the error either.. Is there a log file somewhere that i can look further into?


Or has anyone had this message before? I am stumpped and now its annoying me as i was so close to having my first cube up and deployed...

Thanks in advance

Scotty

If you have made some changes in the source DB, you can try re creating the Data source and data source view and processing the dimensions and the cube after that.

|||

Are you receiving the error when you build and deploy the cube? Or does the error happenwhen you process the cube *after* deploying. If you have the Processing Options set to "default", then your cube will automatically process after each deployment.

If Processing Options are set to "default", then first set this to "do not process" (Right click on Project name to find this).

Then go into the Data Source View tab and right click anywhere in the diagram pane and select "Refresh...." This will perform some comparisons between your DSV and your relational database.

At this point, you can start processing your cube. What I would do at this point is select all the dimensions and process them first. If you see any errors, look at the error messages and backtrack until they are all corrected. Keep in mind that because your dimensions are being processed in parallel any error will cause any dimensions that are still being processed to stop and they will display a "canceled" message.

One you get the dimensions processed then start processing the partitions.

This is somewhere tedius, but if you haven't been keeping the relational database and your cube structure in synch, you'll have to take the time to do it now.

Hope this helps,

Pam

|||

Thanks Pam, I am receiving the error when i am deploying the cube. Building the cube works fine.

I will go through your instructions and see if it works. i am thinking you are right as i have been changing one particular table,. keeping all the columns names the same, but the problem started happening after i did this..

Ill let you know how i go in a couple of minutes..

Once again,,thanks.. this place in invaluable for advice!!

|||

Pam,

I went through and did what you suggested. Everything processed correctly to i go to the partition and tried to process that. This is where i got the message : Server: The Operation has Been Cancelled.

Any ideas on this? Should i try to create a new partition? if so, can i base if of the old one? I havnt done much with partitions yet as im pretty new to SSAS but im willing to read up on it if need be..

Thanks


Scotty

|||

hi guys,

Even i have error while deploying the cube

Error is as follows:

Error 1 The project could not be deployed to the "Server name" server because of the following connectivity problems : A connection cannot be made. Ensure that the server is running. To verify or update the name of the target server, right-click on the project in Solution Explorer, select Project Properties, click on the Deployment tab, and then enter the name of the server.

but the server was working fine..

i didnt get what excatly was the error

could any help me out

lalitha

|||

Hi
I am getting the same error while running the MDX. The query uses subcube. Query runs ok when there is less data BUT it gives me error "Server: The operation has been cancelled." there is large amount of data.
Thanks in advance!
Rakesh

|||Looks like its a perfomance issue. long-running queries can lock the system as a whole. |||When I highlight a few partitions and start processing, the process occasionally stops with a message that operation has been canceled, like this:

Response 3
Server: the operation has been cancelled.
Response 4

Server: the operation has been cancelled.

Response 5
Server: the operation has been cancelled.

..etc...

(no further error message details are provided)
SQL profiler shows that batch was completed (but rowcount shown in process progress log is too small).
Analysis Services profiler shows no messages at that time at all. It just shows messages when it started, and when I restarted the processing.

This is an occasional error and sometime occurs within 15-20 minutes from starting to process. It could fail on 1st partition in the process list , or on some partition in the middle. Some partitions might run for a few hours and not error out, but sometimes it fails quickly.

Also looks like the profiler (engine and ssas) are not working correctly - they are skipping messages (not capturing or not showing). I do not have any filters on the Profiler.

Error when deploying a report

I hope someone can help. I'm new to reporting services 2005, and I'm currently going through Microsoft's tutorial.

I can build a report no problem. But when it comes to deploying the report to a web page, the following message appears:

Build started: Project: Reporting Services Tutorial, Configuration: Production
Build complete -- 0 errors, 0 warnings
Deploy started: Project: Reporting Services Tutorial, Configuration: Production
Deploying to http://localhost/reportserver
Error : Response is not well-formed XML.
Deploy complete -- 1 errors, 0 warnings
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

This "reponse is not well-formed XML" error also occurs when I try to expand any of the folders from a "reporting services" server type in management studio.

Any ideas would be greatly appreciated!

Cheers

Richard Powell

are you able to view the xml of the report in Visual Studio?

(right click on the file in solution explorer and select 'view code')

at least this will confirm that the report is well formed.

have you managed to corrupt the css for report manager?

I can but empathise, i'm getting mighty sick of this product..|||

Hello Adolf

I am able to view the XML code after choosing "view code" in solution explorer.

What do you mean by a css in report manager? I did say I was new to this.

Richard

|||

For future reference, I have got this working now. When deploying the same report another time, a different error message appeared. Which was something like "The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server".

To stop this appearing, run "reporting services configuration" and connect to the appropriate server. Then click on "encryption keys" and click on the delete button that is under "delete encrypted content". After doing that, I am now able to deploy reports.

Error when deploying a report

I hope someone can help. I'm new to reporting services 2005, and I'm currently going through Microsoft's tutorial.

I can build a report no problem. But when it comes to deploying the report to a web page, the following message appears:

Build started: Project: Reporting Services Tutorial, Configuration: Production
Build complete -- 0 errors, 0 warnings
Deploy started: Project: Reporting Services Tutorial, Configuration: Production
Deploying to http://localhost/reportserver
Error : Response is not well-formed XML.
Deploy complete -- 1 errors, 0 warnings
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

This "reponse is not well-formed XML" error also occurs when I try to expand any of the folders from a "reporting services" server type in management studio.

Any ideas would be greatly appreciated!

Cheers

Richard Powell

are you able to view the xml of the report in Visual Studio?

(right click on the file in solution explorer and select 'view code')

at least this will confirm that the report is well formed.

have you managed to corrupt the css for report manager?

I can but empathise, i'm getting mighty sick of this product..|||

Hello Adolf

I am able to view the XML code after choosing "view code" in solution explorer.

What do you mean by a css in report manager? I did say I was new to this.

Richard

|||

For future reference, I have got this working now. When deploying the same report another time, a different error message appeared. Which was something like "The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server".

To stop this appearing, run "reporting services configuration" and connect to the appropriate server. Then click on "encryption keys" and click on the delete button that is under "delete encrypted content". After doing that, I am now able to deploy reports.

Error when creating schedule in Report Manager

Hello,

Scenario:

I am trying to set up a shared schedule in report manager after successfully deploying the reports to my server. I have set up the linked reports and AD permissions, however when I want to either set up a shared schedule, or an individual schedule I encounter the error below.

System details:

Microsoft SQL Server 2005 - 9.00.2050.00 (Intel X86) Feb 13 2007 23:02:48 Copyright (c) 1988-2005 Microsoft Corporation Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4)

Report Manager Error:

An internal error occurred on the report server. See the error log for more details. (rsInternalError) The specified @.category_id ('100') does not exist.

The error log does not contain any infor regarding this error, and I've searched for this error extensively in Google as well as microsoft.com, however can't seem to find a resolution for it.

I have also tried to create the schedule in SQL Server Management Studio. The complete error message is as follows:

An internal error occurred on the report server. See the error log for more details. (rsInternalError) (Report Services SOAP Proxy Source)

Additional information:

An internal error occurred on the report server. See the error log for more details. (rsInternalError) (ReportingServicesLibrary)

The specified @.category_id ('100') does not exist. () (.Net SqlClient Data Provider)

Please could you send me any further info about how to solve this problem and resolve the error.

Thank you

Sune de Vos

Hi,
It looks like you did not have permission to setup category on database server in msdb.
try this:
use msdb

set IDENTITY_INSERT syscategories ON
insert into syscategories(category_id,category_class,category_type,name) values(100,1,1,'Report Server')
set IDENTITY_INSERT syscategories OFF

you need to be sysadmin to run this.
It seems to work after that - did not test how it will behave later, so be careful.
Best Regards

Wednesday, February 15, 2012

Error running report after deploying

I have created a function that queries the database for a value if conditions
are met. IE the query in the function runs less than 2% of report. In preview
mode in VS.net, the report works correctly. When I use Report Manager to
upload the report, when the query runs, it places #Error in the report field.
This is the begining of the function:
Public Function SKU(rootSerial as String, _
currentSKU as Guid)as String
Dim currentSKUStr as String
currentSKUStr=currentSKU.ToString()
If rootSerial = "" Then
Else
Dim arset As Guid
Dim oConn as New System.Data.SqlClient.SqlConnection
oConn.ConnectionString = "Data Source=PPNS1;Initial
Catalog=Persyst_Development_MSCRM;Integrated Security=SSPI;"
oConn.Open()
Dim oCmd as New System.Data.SqlClient.SqlCommand
oCmd.Connection = oConn
oCmd.CommandText = "SELECT New_ProductId FROM
New_PersystSerialNumberExtensionBase WHERE (New_SerialNumber = N'4320401')"
arset = oCmd.ExecuteScalar()
currentSKUStr = arset.ToString()
oConn.Close()
End IF
There is additional code after End If, but that code is run for each data
row. I also have verified in the IDE via msgbox, that the correct value is
being returned from the query.
1. Is it possible to deploy a function that contains its own query as I have
done?
2. What could be the cause of it working in the IDE but not when deployed?
TIA, JimUpdate:
I have traced the problem to:
Request for the permission of type
System.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
How do I set security for embeded code?
"JHPArizona" wrote:
> I have created a function that queries the database for a value if conditions
> are met. IE the query in the function runs less than 2% of report. In preview
> mode in VS.net, the report works correctly. When I use Report Manager to
> upload the report, when the query runs, it places #Error in the report field.
> This is the begining of the function:
> Public Function SKU(rootSerial as String, _
> currentSKU as Guid)as String
> Dim currentSKUStr as String
> currentSKUStr=currentSKU.ToString()
> If rootSerial = "" Then
> Else
> Dim arset As Guid
> Dim oConn as New System.Data.SqlClient.SqlConnection
> oConn.ConnectionString = "Data Source=PPNS1;Initial
> Catalog=Persyst_Development_MSCRM;Integrated Security=SSPI;"
> oConn.Open()
> Dim oCmd as New System.Data.SqlClient.SqlCommand
> oCmd.Connection = oConn
> oCmd.CommandText = "SELECT New_ProductId FROM
> New_PersystSerialNumberExtensionBase WHERE (New_SerialNumber = N'4320401')"
> arset = oCmd.ExecuteScalar()
> currentSKUStr = arset.ToString()
> oConn.Close()
> End IF
>
> There is additional code after End If, but that code is run for each data
> row. I also have verified in the IDE via msgbox, that the correct value is
> being returned from the query.
> 1. Is it possible to deploy a function that contains its own query as I have
> done?
> 2. What could be the cause of it working in the IDE but not when deployed?
> TIA, Jim|||Update 2:
I solved the problem and will post again after I have refined it. I am not
happy at this time with the solution as I have set the default permission
behavior from "Nothing" to "FullTrust". This is OK for my use as the web
server is private so I am less concerned about malicious code. However, I
would like to have it working with tighter permissions
"JHPArizona" wrote:
> Update:
> I have traced the problem to:
> Request for the permission of type
> System.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
> How do I set security for embeded code?
> "JHPArizona" wrote:
> > I have created a function that queries the database for a value if conditions
> > are met. IE the query in the function runs less than 2% of report. In preview
> > mode in VS.net, the report works correctly. When I use Report Manager to
> > upload the report, when the query runs, it places #Error in the report field.
> >
> > This is the begining of the function:
> >
> > Public Function SKU(rootSerial as String, _
> > currentSKU as Guid)as String
> > Dim currentSKUStr as String
> > currentSKUStr=currentSKU.ToString()
> > If rootSerial = "" Then
> > Else
> > Dim arset As Guid
> > Dim oConn as New System.Data.SqlClient.SqlConnection
> > oConn.ConnectionString = "Data Source=PPNS1;Initial
> > Catalog=Persyst_Development_MSCRM;Integrated Security=SSPI;"
> > oConn.Open()
> >
> > Dim oCmd as New System.Data.SqlClient.SqlCommand
> > oCmd.Connection = oConn
> > oCmd.CommandText = "SELECT New_ProductId FROM
> > New_PersystSerialNumberExtensionBase WHERE (New_SerialNumber = N'4320401')"
> > arset = oCmd.ExecuteScalar()
> > currentSKUStr = arset.ToString()
> > oConn.Close()
> > End IF
> >
> >
> > There is additional code after End If, but that code is run for each data
> > row. I also have verified in the IDE via msgbox, that the correct value is
> > being returned from the query.
> >
> > 1. Is it possible to deploy a function that contains its own query as I have
> > done?
> > 2. What could be the cause of it working in the IDE but not when deployed?
> >
> > TIA, Jim