Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Crystal Reports 13 for VS2013 Hangs when report deployed via Clickonce

$
0
0

Hi,

 

We have upgraded from vs2008 to vs2013 one of our .net C# projects. Project consist of a Server and a windows client. Reports are run in the client, and data transported with disconnected Datasets ( No direct connection to the database ). We use Microsoft clickonce to deploy this application to our users.

 

The problem we have is that after the migration clients deployed with clickonce experience a delay of about 1 minute while the report is shown with a message "please wait while the document is processing". However if we run the application directly from the filesystem the report is shown immediately.

 

running the clickonce deployed shows the following message using process monitor, however after ~1 minute the report displays correctly.

 

6:08:05.5863138 PMECMWin.exe18156CreateFileMappingD:\Users\o\AppData\Local\Temp\2\temp_6a4d2478-2cab-45d5-8e21-af5d5d3a761a {56013444-9297-4F76-A8DE-00A08C289BBF}.rptFILE LOCKED WITH WRITERSSyncType: SyncTypeCreateSection, PageProtection:

 

 

Code:

 

        CrystalReport1 c = new CrystalReport1();

        public Form1()

        {

            InitializeComponent();

            c.Load();

        }

 

 

        Stopwatch s = new Stopwatch();

        private void Form1_Load(object sender, EventArgs e)

        {          

            if (c.IsLoaded)

            {

                crystalReportViewer1.ReportSource = c.FileName.Replace("rassdk://", ""); ;

                Console.WriteLine("crystalReportViewer1.ReportSource = c;:" + s.Elapsed.TotalMilliseconds.ToString());

            }

        }

 

* Note:

1. the report from the code above is empty and has no connections to database.

2. Using Vs2013

3. Using SAP Crystal Reports, developer version for Microsoft Visual Studio - Service Pack 9 - Fixed Issues and updates - Busines…


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>