Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Server Name Takes Long Time
Message
General information
Forum:
ASP.NET
Category:
Reporting
Miscellaneous
Thread ID:
01451564
Message ID:
01451579
Views:
29
>I'm using the following code to change the server name in a Crystal Report.
>
>
>ReportSource = _ReportInfo.Report;
>
>LogOnInfo[0].ConnectionInfo.ServerName = _ReportInfo.LogonInfo.ServerName;
>LogOnInfo[0].ConnectionInfo.DatabaseName = _ReportInfo.LogonInfo.DatabaseName;
>LogOnInfo[0].ConnectionInfo.IntegratedSecurity = _ReportInfo.LogonInfo.IntegratedSecurity;
>
>if (! _ReportInfo.LogonInfo.IntegratedSecurity)
>{
>    LogOnInfo[0].ConnectionInfo.UserID = _ReportInfo.LogonInfo.UserId;
>    LogOnInfo[0].ConnectionInfo.Password = _ReportInfo.LogonInfo.Password;
>}
>
>
>The line that changes the server name take 30 seconds to run. Anyone know why this is?

I have the same problem and never found a solution. What I did notice though is if I change the server name back to a name I had already specified it works quickly. Odd that it's taking 30 seconds though - mine takes like 8 to 10 seconds...
ICQ 10556 (ya), 254117
Previous
Reply
Map
View

Click here to load this message in the networking platform