CRVS2010 Beta thread was being aborted
Hi,
I am attempting to upgrade from CR 11.5 to CR 2010 Beta2 (with VS 2010, net 4) to see how the reports and applications do in the new environment. All of the reports have sql parameters and connect to sql server 2008r2 stored procedures. I am experiencing one strange issue.
In the crystal viewer toolbar, if I print the report, after the printer dialog box is opened, the page and report won't work. (it doens't matter if you close the dialog or actually print the report) So, if there are parameter fields or a generate report button, nothing works after the print dialog has been shown. The CrystalDecisions.Web.ErrorEventArgs error says "Thread was being aborted". In order to have access to the web page, the user now needs to refresh the page. Why is this happening? Everything worked fine in both CR 11.5 and CR 2008 Also, if the export button is clicked instead of the print button, everything works fine afterwards, so it's just the print button that is errorring out.
This error happens both on a development computer (XP sp3) and a development server (2008 x86).
Any ideas? Thanks, Harlan
Hi Don,
I created a new asp.net Crystal reports Web site, created a new report and just connected it to a table instead of a stored procedure with no parameters. When I run it from the browser, I still get the same error messages when I try to print so it does not appear to be a migration issue.
Thanks again,
Harlan
Similar Messages
-
I am getting error like in my asp.net website
System.Threading.ThreadAbortException: Thread was being aborted.
at System.String.wstrcpy(Char* dmem, Char* smem, Int32 charCount)
at System.String.FillStringChecked(String dest, Int32 destPos, String src)
at System.String.Concat(String str0, String str1)
at reporterror.Page_Load(Object sender, EventArgs e)
In that procedure i do perform concatenation of two large strings.
Can anyone help to know why this error comes? Why Thread was being aborted error comes?Hello,
For ASP.NET projects please consider asking your question here
http://forums.asp.net/
Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. -
Hi,
I am trying to solve some issues and strange behaviour with an important workflow hooked up with an InfoPath 2010 list in SharePoint 2010. Everything worked fine until now.
One workflow item has ended prematurely with the workflow history messages "An error has occurred in workflowname" followed by some init text message I added, and finally "Could not start workflowname"
(not sure of the exact translation but something like that). Status is still "On Going" (again not sure of translation).
The workflows after this has gotten the status "Canceled" with no further error messages. However the first init text I added is visible in their workflow history but no other messages are displayed, neither my custom ones nor
the built in.
Please help me out, any hints or pointers to help debug this is very appreciated! I do not have other than "view" access so I will have to tell the IT-department to check logs and perform changes if needed.
/Jesper Wilfing
Edit: The IT guys sent me the error message from the log file:
Workflow Infrastructure 72fq
Unexpected Start Workflow: System.Threading.ThreadAbortException: Thread was being aborted.Hi,
Thank you for sharing and it will help others who meet the same issue.
Best regards,
Victoria
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Victoria Xia
TechNet Community Support -
Hello,
I am getting 'Thread was being aborted - Unable to evaluate expression because
the code is optimized or a native frame is on top of the call stack' error
when I use 'SPUtility.GetPrincipalsInGroup' method.
bool bReachedMaxCount = false;
SPPrincipalInfo[] _spPrincInfoColl = SPUtility.GetPrincipalsInGroup(web, groupName, Int32.MaxValue - 1, out bReachedMaxCount);
We have both SharePoint groups (SPGroup) & Active Directory groups in our site.
I am checking if logged in user has access to the group name that I am passing here as 'groupName'.
Code works without any error when I pass 'domain name' as 'groupName' e.g. (Domain\\usergroup) but the same throws error when I pass SharePoint groups (SPGroup) name.
Both type of these groups have at least 'Read' permission on site.
I have this code inside 'try-catch' block and hence I am able to catch that thread aborted error.
What could be the reason for this error? I don't get any call stack and all other properties of exception object are either null or with garbage values.
I am having SP2010 foundation, VS2012 and .Net4.5 installed on my machine.
Kindly suggest on this. Thank you.
Sagar S.I think the RunWithElevatedPrivilages is not working correctly. I believe that the new site and web objects need to be opened within elevatedprivilages to work. it looks like the way your code is working the SPsite and SPweb objects are getting opened before
the RunWithElevatedPrivilages give this a try and see if your result changes.
bool IsUserInGroup = false;
try
SPSecurity.RunWithElevatedPrivileges(() =>
Guid siteId = SPContext.Current.Site.ID;
Guid webId = SPContext.Current.Web.ID;
using (SPSite newSite = new SPSite(siteId)) {
using (SPWeb newWeb = newSite.OpenWeb(webId)){
bool bReachedMaxCount = false;
SPPrincipalInfo[] _spPrincInfoColl = SPUtility.GetPrincipalsInGroup(newWeb, "TestGroup", Int32.MaxValue - 1, out bReachedMaxCount);
if (_spPrincInfoColl.Where(a => a.LoginName == username).Count() > 0)
IsUserInGroup = true;
}//close web
}//close site
catch (Exception ex)
LogManager.LogMessage(ex.Message.ToString());
Alex -
SPLongOperation throws error "Thread was being aborted"
Recently we have migrated our SharePoint application from 2010 to 2013, we have upgraded our solution from VS 2012 to VS 2013 and deployed it successfully in newly installed SharePoint 2013 prior to content DB migrate and all.
In our solution, we had requirement to implement lengthy operation which create site from site template, copying documents from one library to another, creating user groups and so on. To achieve these, we have used
SPLongOperation which is taking care for not to abort thread and complete operation without and time constraint, which is working fine 2010 environment.
After upgrading to 2013, we started facing problem with "Thread was being aborted", which seems SPLongOperation is not working.
Have I missed any configuration?
Help appreciated.
Arpan Shah MSFT Mark as Answer if it solves your problem. Vote As Helpful if the post is helpful for you.Hi,
According to your description, I suggest you debug your code in the test
environment and check if the method of SPLongOperation.End throw the exception.
The code snippet below for your reference:
//Long Operation Code
using (SPLongOperation longOperation = new SPLongOperation(this.Page))
//Start the long operation
longOperation.Begin();
//Your Long Operation Code Goes Here...
//End the long operation
longOperation.End("http://localhost/_layouts/success.aspx", Microsoft.SharePoint.Utilities.SPRedirectFlags.DoNotEndResponse, HttpContext.Current, "");
More information:
http://snahta.blogspot.com/2009/10/splongoperation-class.html
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support -
SPListItem.Update() = Thread was being aborted.
Hello,
I currently have a problem to update a mysite list item.
This code is working very well on my dev environment but in the production it's not working :/
My logs end with :
Item added
Error: Thread was being aborted.
Nok: Thread was being aborted
Anyone have an idea? (on prod the mysites are in a separate web application. that's the only difference)
Thanks
public static object Add(String User, String Title, String Text)
try
String AuthorLoginName = SPContext.Current.Web.CurrentUser.LoginName;
SuiteBarLog("Sender: " + AuthorLoginName);
SPSecurity.RunWithElevatedPrivileges(delegate()
SuiteBarLog("RunWithElevatedPrivileges");
using (SPWeb Web = new SPSite(new PeopleManager().GetPropertiesFor(User).PersonalUrl).RootWeb)
SuiteBarLog("Open Web: " + Web.Url);
Web.AllowUnsafeUpdates = true;
SPUser Author = Web.EnsureUser(AuthorLoginName);
try
SPList List = Web.Lists[LISTNAME];
SPListItem Item = List.AddItem();
SuiteBarLog("Item added");
Item["Title"] = Title;
Item["Text"] = Text;
Item["Read"] = false;
Item["Author"] = Author.ID + ";#" + Author.Name;
Item.SystemUpdate();
SuiteBarLog("Notification Updated");
List.Update();
SuiteBarLog("List Updated");
catch (Exception ex)
SuiteBarLog("Error: " + ex.Message);
Web.AllowUnsafeUpdates = false;
return "ok";
catch(Exception ex)
SuiteBarLog("Nok : " + ex.Message);
return "Nok : " + ex.Message;Thanks, but it solves nothing. I have no error to open the website. The error appears once I update my item in the list.
I tried your code but as I thinked it's always the same error.
public static object Add(String User, String Title, String Text)
try
SuiteBarLog("Add Notification to " + User);
String AuthorLoginName = SPContext.Current.Web.CurrentUser.LoginName;
SuiteBarLog("Sender: " + AuthorLoginName);
String PersonalURL = new PeopleManager().GetPropertiesFor(User).PersonalUrl;
SPSecurity.RunWithElevatedPrivileges(delegate()
SuiteBarLog("RunWithElevatedPrivileges");
using (SPSite Site = new SPSite(PersonalURL))
using (SPWeb Web = Site.OpenWeb())
SuiteBarLog("Open Web: " + Web.Url);
Web.AllowUnsafeUpdates = true;
SPUser Author = Web.EnsureUser(AuthorLoginName);
SuiteBarLog("Author confirmed: " + Author.Email);
try
SPList List = Web.Lists[LISTNAME];
SPListItem Item = List.AddItem();
SuiteBarLog("Item added");
Item["Title"] = Title;
Item["Text"] = Text;
Item["Read"] = false;
Item["Author"] = Author.ID + ";#" + Author.Name;
Item.SystemUpdate();
SuiteBarLog("Notification Updated");
List.Update();
SuiteBarLog("List Updated");
catch (Exception ex)
SuiteBarLog("Error: " + ex.Message);
Web.AllowUnsafeUpdates = false;
return "ok";
catch(Exception ex)
SuiteBarLog("Nok : " + ex.Message);
return "Nok : " + ex.Message; -
Thread was being aborted Exception while creating large number of Sites in SharePoint 2013
Hi All,
I am getting threading exception while creating a large extent of sites in SharePoint 2013. I am reading data from an excel file and then looping each row. The sites are creating for first two rows then i am getting exception. This code working fine in dev
server but not in UAT server. I tried with changing maxRequestLength in web.config but not working. And also followed the below link.
http://support.microsoft.com/kb/928756
My code as follows-
private void CreateSites(DataRow dr)
try
using (SPSite site = new SPSite(OtherSiteCollection)) // I am creating sites in another site collection
using (SPWeb web = site.OpenWeb())
SPWeb newWeb = null;
SPWebTemplateCollection templates = site.RootWeb.GetAvailableWebTemplates(1033);
SPWebTemplate template = (from SPWebTemplate m in
templates
where m.Title == "SiteTemplate"
select m).FirstOrDefault(); //Here i am using custom template
string siteName = dr["Site Name"].ToString();
newWeb = web.Webs.Add(siteTitle, siteTitle, siteDescription, 1033, template, true, false); //Getting exception here.
newWeb.Update();
newWeb.Dispose();
catch (Exception ex)
lblMsg.Text = "Exception in create sites : " + ex.Message + ";" + ex.StackTrace + ";" + ex.ToString()
I am getting error as-
Exception in create sites: Thread was being aborted.; at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent,
String& bstrWebTemplate, Int32& plWebTemplateId)
at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)
at Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate)
at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate)
at Microsoft.SharePoint.SPWeb.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId)
at Microsoft.SharePoint.SPWeb.SPWebCollectionProvider.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId)
at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere, Guid appInstanceId)
at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, SPWebTemplate WebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere)
System.Threading.ThreadAbortException: Thread was being aborted.
at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32&
plWebTemplateId)
at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)
at Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate)
at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate)
at Microsoft.SharePoint.SPWeb.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId)
at Microsoft.SharePoint.SPWeb.SPWebCollectionProvider.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId)
at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere, Guid appInstanceId)
at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, SPWebTemplate WebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere)
Thread was being aborted.; at System.Threading.ThreadAbortException: Thread was being aborted.
Can anyone please help. Thanks!
dineshIf you do this from a Console application, does it succeed?
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Thread was being aborted Error.
HI,
I am Getting Below error:
Thread was being aborted. Source of Error :mscorlib Error Method :18 Helplink : Line of Error : at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End()
Thanks is in Advance,
Help me.try to move Response outside of the Try/Catch block
Check this thread
http://stackoverflow.com/questions/1433448/thread-was-being-aborted -
Thread being aborted sharepoint 2013
Hi All,
I am receiving the below error "Thread being aborted" when i try to open my dev url. I have no idea about the area(ThirdSPS2010) which is throwing error. As the production was set up by third party and i just took back up of the url and also the
back up of custom webparts and restored in development environment. I am struck with this error now :(
06/25/2013 14:06:17.45 w3wp.exe (0x22A4) 0x13DC ThirdSPS2010
Error 00000 Unexpected Thread was
being aborted. b6c1289c-d07c-a0de-44ea-088cb42c35e3
Above this i can find multiple Distributed cache warnings as below
SharePoint Foundation DistributedCache ah24w Unexpected
Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedLogonTokenCache' - Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are
present or running in the farm. at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'.
Can someone guide what is the reason for these errors :(
Thanks in advance
Ranjani.RUnlike other service instances, though, the Distributed Cache Service Instance should either be installed *and* online on a SharePoint server, or not installed at all. If the service instance is stopped (disabled) but not uninstalled, details about the associated
Cache Host stay in the Cache Cluster Config store, which can cause problems.
For this reason, the Distributed Cache Service Instance should never be stopped via the Services on Server page in Central Administration or via Stop-SPServiceInstance in PowerShell. A special cmdlet, Remove-SPDistributedCacheServiceInstance, is available
to stop *and* uninstall the local Distributed Cache Service Instance from a SharePoint server. This cmdlet, and its complement Add-SPDistributedCacheServiceInstance, should be used instead of Stop- and Start-SPServiceInstance for managing the local Distributed
Cache Service Instance.
from
http://blogs.msdn.com/b/besidethepoint/archive/2013/03/27/appfabric-caching-and-sharepoint-2.aspx -
CRVS2010 Beta - Unable to Install CR Beta 2 for Visual Studio 2010.
I am unable to install Crystal Reports for VS2010. "Failed to update cache for execution."
There is a similar thread (locked) with this problem. (CRVS2010 beta 2 - error during install)
I have tried everything from this tread, and everything else I can think of. I am out of options.
I appreciate any help.
Thanks,
MF
OS: Windows XP SP(3).
Running on local drive with Administrator ID.
(Tail of SETUPENGINE.LOG)
17:27:38.765 Cache: DU files cached in: C:\Program Files\SAP BusinessObjects\InstallData\InstallCache\tp.rosette-4.0-core-32\0\
17:27:38.796 Cache: copying files from: C:\cr4vs2010\dunit\tp.sap.ncs-4.0-core-32\
17:27:38.843 Cache: DU files cached in: C:\Program Files\SAP BusinessObjects\InstallData\InstallCache\tp.sap.ncs-4.0-core-32\0\
17:27:38.890 Cache: copying files from: C:\cr4vs2010\dunit\tp.curl.cpp-4.0-core-32\
17:27:38.984 Cache: DU files cached in: C:\Program Files\SAP BusinessObjects\InstallData\InstallCache\tp.curl.cpp-4.0-core-32\0\
17:27:39.031 Cache: copying files from: C:\cr4vs2010\dunit\tp.sap.nwrfc-4.0-core-32\
17:27:39.546 Cache: DU files cached in: C:\Program Files\SAP BusinessObjects\InstallData\InstallCache\tp.sap.nwrfc-4.0-core-32\0\
17:27:39.625 Cache: copying files from: C:\cr4vs2010\dunit\tp.ooc.dotnet-4.0-core-32\
17:27:39.796 Cache: DU files cached in: C:\Program Files\SAP BusinessObjects\InstallData\InstallCache\tp.ooc.dotnet-4.0-core-32\0\
17:27:39.937 Cache: copying files from: C:\cr4vs2010\dunit\tp.pkware.cpp-4.0-core-32\
17:27:40.140 Cache: DU files cached in: C:\Program Files\SAP BusinessObjects\InstallData\InstallCache\tp.pkware.cpp-4.0-core-32\0\
17:27:40.203 Cache: copying files from: C:\cr4vs2010\dunit\tp.rsa.crypto-4.0-core-32\
17:27:40.453 Cache: DU files cached in: C:\Program Files\SAP BusinessObjects\InstallData\InstallCache\tp.rsa.crypto-4.0-core-32\0\
17:27:40.640 Cache: copying files from: C:\cr4vs2010\dunit\tools.srvtools-4.0-core-32\
17:27:40.765 Cache: DU files cached in: C:\Program Files\SAP BusinessObjects\InstallData\InstallCache\tools.srvtools-4.0-core-32\0\
17:27:40.812 Cache: copying files from: C:\cr4vs2010\dunit\foundation.jdsr-4.0-core-nu\
17:27:40.906 Cache: DU files cached in: C:\Program Files\SAP BusinessObjects\InstallData\InstallCache\foundation.jdsr-4.0-core-nu\0\
17:27:40.921 Cache: copying files from: C:\cr4vs2010\dunit\tp.azalea.fonts-4.0-core-32\
17:27:40.953 Cache: DU files cached in: C:\Program Files\SAP BusinessObjects\InstallData\InstallCache\tp.azalea.fonts-4.0-core-32\0\
17:27:40.968 Cache: copying files from: C:\cr4vs2010\dunit\tp.external.icu-4.0-core-32\
17:27:41.968 Error: Could not move temp dest folder to dest folder.
17:27:42.015 Error: Temp dest folder: C:\Program Files\SAP BusinessObjects\InstallData\tmp\tp.external.icu-4.0-core-32
17:27:42.078 Error: Dest folder: C:\Program Files\SAP BusinessObjects\InstallData\InstallCache\tp.external.icu-4.0-core-32\0\
17:27:42.109 Error: Cache: error copying files to cache from: C:\cr4vs2010\dunit\tp.external.icu-4.0-core-32\ to: C:\Program Files\SAP BusinessObjects\InstallData\InstallCache\tp.external.icu-4.0-core-32\0\
17:27:42.156 Error: CacheDUs - failed to cache DUs.
17:27:42.171 Error: Failed to update cache for execution. Program will exit.
(SETUPEXE.LOG)
17:25:18 Unable to open file :c:\Temp\2010.10.23.17.25.18\setupexe.log
17:25:18 Welcome to setup.exe!
17:25:18 Launching SetupEngine.exe: "C:\cr4vs2010\setup.engine\SetupEngine.exe"
17:25:18 SetupEngine.exe command line: -engine "C:\cr4vs2010\setup.engine
" -bootstrapper "C:\cr4vs2010
" -l "c:\Temp\2010.10.23.17.25.18"Hi MF,
I had a problem with changing my default temp folders installing another third party program, not any CR stuff.
I changed my temp folders back to the defaults and then it worked. I tried changing the permissions for all users on c:\temp and c:\tmp but that didn't help either for the other program.
Only way it would work was to use the default temp folder structure.
Try changing yours back to c:\User\appdata\local\temp
Clear the temp folder out first and try again.
Something, not sure if it was Windows or anti-virus or the firewall was blocking access. Odd that it gets part way so likely some third party dependency on that file doesn't like or get to your c:\temp folder.
Thanks
Don -
CRVS2010 beta - Why to use useLegacyV2RuntimeActivationPol
In .NET 4.0, while using Crystal Report 2010 we need to specify useLegacyV2RuntimeActivationPolicy attibute in
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
because those Crystal Report dll's properties showing Runtime Version as v2.0.50727.
But why Crystal Report 2010 DLL's are showing v2.0.50727 instead of v4.0?
I dont want to use useLegacyV2RuntimeActivationPolicy attibute to run my application.
Can SAP will provide the compaitable version of Crystal Report for .NET 4.0?
Edited by: Jay _Dixit@Digital on Jul 1, 2010 12:32 PM
Edited by: Jay _Dixit@Digital on Jul 1, 2010 12:36 PM
Updated subject line
Edited by: Don Williams on Jul 1, 2010 11:20 AMI would like an update on this issue.
In other posts SAP representatives have put forward that this won't be addressed in the RTM, stating that this is a 'Microsoft issue'.
Re: CRVS2010 Beta - file not found error crdb_adoplus.dll
CRVS2010 Beta - crdb_adoplus.dll not found
In this thread it sounds like there is something actually being done.
Using the useLegacyV2RuntimeActivationPolicy=true is very impactful and effectively discards most of the effort put into the CLR 4.0. -
My daughter used her friends apple account to login on her ipad and then the mother of her friend thought it was being hacked and consequently tracked the ipad and my daughter lost all her photos. Can we get these back?
Your iOS device backup only includes data and settings stored on your device. It doesn’t include data already stored in iCloud, for example contacts, calendars, bookmarks, mail messages, notes, shared photo albums, iCloud Photo Library beta, My Photo Stream, and documents you save in iCloud using iOS apps and Mac apps.
-
Instead of displaying "Total" at the bottom of my pie chart legend I am getting the following text: "_e_Total:1_n_pseudoloc_"
The values and percentages calculate correctly, but the label is unusual.Hello,
I have the same problem with my pie chart. My report was fine before I did my update to CRVS2010 Beta 2. I was using crystal report 11.5.
My report is really simple. I have a resume chart that you can drilldown. Each drilldown show the same chart for the selected
item.
I'm using Windows 7 Professionnel 64 bit in french (canada version).
Visual Studio Version 10.0.30319.1
Framework 4.0.30319 -
CRVS2010 Beta 2 - "Database Logon failed" Error, after Upgrade
Hi,
Generally: we are using the Crystal Reports in combination with a DataSet, that is filled during runtime and pushed to the report, using "SetDataSource". The Project is an ASP .NET 3.5 Project, published on our server.
I upgraded my development-machine to CRVS2010 (installed both packages - the CRVS for VS 2010 and the runtime) last week and changed some fields in the Report. The DataSet was left unchanged. Everything is working well on my development-machine, but when I publish the Project to our server, I get an "Databse Logon failed" Error, when I want to create my Report. The CRVS2010 Beta 2 redist Runtime is installed on our server. Here is the code, we use:
// create new Report
var report = new Reports.repMyReport();
// DataSource ds was filled correctly (we checked with export to XML
report.SetDataSource(ds);
// Set several Parameters to Report
report.SetParameterValue("test", "test");
// Export Report to PDF-Format and open in Browser
report.ExportToHttpResponse(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Response, false, "reportName.pdf");
Response.End();
The error I get is:
Database logon failed.
[COMException (0x8004100f): Database logon failed.]
CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) +0
CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +260
[LogOnException: Database logon failed.]
CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) +325
CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +315
CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +650
CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options) +98
CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName) +98
CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName) +124
SprintBoxWeb.BuchungDruck.Page_Load(Object sender, EventArgs e) in D:\Projects\sprnt_erp\SprintBoxWeb\BuchungDruck.aspx.cs:32
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
I already tried everything, found googling the web and/or searching this forum:
e.g.: perform "verify Database" on all Reports and map the DataSet.xsd again to the Report
Is that a known issue on the Beta and we should wait for the RC, or does anyone have an idea how to fix that one?
This error is really annoying!
Many thanks for your help.
kind regards
ReinhardDear Ludek,
Many thanks for your quick reply. Currently, I have to finish some other things. I will try your ideas next week and give you some feedback then, to keep you informed.
best regards,
Reinhard -
CRVS2010 Beta - Hyperlinks don't work in textobjects
I just wanted to report a bug that will hopefully get fixed in the November version of Crystal Reports for Visual Studio 2010.
HyperLinks do not work! they cut off any url with a querystring in it.
Note: I can create one in five seconds in the versions of CR that comes with both Visual Studio 2005 and 2008.
Dave.
Subject modified as per the sticky post at the top of this forum; [Crystal Reports for Visual Studio 2010 Beta - read before posting|Crystal Reports for Visual Studio 2010 Beta - read before posting;
Edited by: Ludek Uher on Sep 22, 2010 4:13 PMI believe this is the same issue as in [CRVS2010 Beta - Problem with HyperLink and Parameters|CRVS2010 Beta - Problem with HyperLink and Parameters;. The issue is also reported in [this|Re: CRVS2010 Beta - Hyperlink translator dropping parm; thread.
I am not able to reproduce the issue with URL to Yahoo, or Google, etc. If you can provide a publicly available URL that duplicates the issue, I will re-test.
Ludek
Maybe you are looking for
-
How to pickup files from multiple directories
Hi all, How to pickup files from multiple directories and send it to two different folders at target Ex: files\xi\us\US.txt files\xi\uk\UK.txt i need to pick up the above mentioned two files and send it to the following paths app1\files\us\download\U
-
New ipod nano on ebay dont buy its a fake warning
JUST A WARNING IM SO ANGRY: i was bought what appeared to be a 6th gen nano for xmas, (http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=220691379928&ssPageName=STR K:MEWNX:IT) well all the pictures we of the genuine nano 6th gen ipod. it even cam
-
I am setting up redundancy for another RD Connection Broker? What is the earliest version of SQL that i can use in Windows Server 2012?
-
Broadcasting - Bursting - workbooks - 2004S
Having tried Bursting with pdf format, and found its not possible (apart from using the very basic format options), I moved on to trying to get it to work with workbooks... BIG question: has ANYONE managed to get bursting to work with workbooks, is i
-
does the Mac book Pro w/ retina continue to download a file after the screensaver comes on?