Why do I see a database login dialog when I show my report? - sql

I have created my report using my friend's laptop, but when I copied it to my laptop and tryied to show the report I see a database login dialog.
this is the project I've worked on it.
http://www.4shared.com/zip/ZWHy0zPrce/WindowsFormsApplication7.html
My database saved in Debug Folder.
I've used DataSet.WriteXml() Function for the report.
Please see it and modify it please.

Related

Export/view next page/refresh action from Crystal report not using filter condition and showing all the data

I am using Crystal report in VB.NET web application.
IDE: VS 2010 Ultimate
Crystal Report installed: V13.0.16
I am able to view my crystal report with data, but when i click the refresh button or next page button or export option in CR menu.
the whole filter condition is reset and all the data related to the report is displayed/exported.
when i re enter URL which has filter condition then it loads the data with filters.
Request.QueryString() is used to get the filter details
and report details.
I need help at the earliest. Kindly help me.
I have fixed the issue which is posted above.
The application was developed using Crystal report version 13.0.0.99 (approximately 6 years before). I tried to upgrade it with latest version but it didn't help me on time. When i use the version which is used during development solved the error. The export or next page or refresh post back didn't reset the report content.
I am not sure how to fix it with most recent version of crystal report. This Discussion sounds like a solution with latest version but i don't have additional time to use it. I hope this could help some one in need.

SSRS Report Does Not Show Up in Profiler Trace

I have written an SSRS Report and everything works fine within the Visual Studio Solution. When I try to view the report within the browser, all of the parameter fields and columns display, but no data is pulled. There are no errors when running the report and when I run a SQl Server Profiler trace, nothing is there. Any ideas?
In browser Click on report's arrow to see drop down menu, then click Manage, then go to Parameters tab and set them up.

"Action - Go to report" in VS2008 reportviewer not working

I have an SSRS report which drills through to sub reports via actions. The report functions correctly in the VS environment, and correct once deployed to the server and viewed through a browser.
The report however is also viewed inside our in-house app via a Microsoft.Reporting.WinForms.ReportViewer - and while it renders on screen correctly, clicking the element that would normally take me to a sub-report no longer functions.
I have had a look around and there seemed to be an issue around VS2010 SP1 where this stopped working, however I'm currently stuck with VS2008. This seems to be the majority of results I'm getting.
Anyone have any ideas?
Many thanks.
OK have found issue.
The text box in question had three place holders. A reference No, A date and an age. I wanted to trigger the sub report if someone clicked on the reference no. While this worked fine in VS and IE, it failed to work in the Microsoft Report Viewer control.
I have now set the action against the containing text box, rather than against a single placeholder/expression within that box. While this has solved the immediate issue that I have, it would not work if you wanted multiple actions from different placeholders in a single text box.
But for now, I'm all good, and all solved.

Microsoft SQL Server not letting me open .bak

I am taking a class and our instructor gave us a file to download called cs.bak and its supposed to be formatted for the version of SQL we are using. So I downloaded the one for Microsoft SQL Server.
Well I tried to do the restore but when I get to the part that I choose device and locate the file cs.bak it loads and now I am suppose to be able to choose destination. Well after I choose destination I do not have the OK button to go through with the restore.
On these instructions http://www.katieandemil.com/sql-server-2012-restore-database-backup-file
If you count the window screens. I can only get as far as the 6th screen.
I am suppose to do this, "Some questions will ask you to write out query results from a database. In order to answer these questions you will need to have the example database available to you."
Well I can't open it to do this. Any help would appreciated. Thank you.
Check this:
This checkbox might be unchecked - and then the [OK] button remains disabled...
This seems to be a Windows Layout issue. To resolve this, reset the SSMS Window Layout by selecting from the main menu Window -> Reset Windows Layout.

"File Save Failed" error when working with Crystal Reports in VS2008

Occasionally while attempting to save a Crystal Report that I'm working on in VS2008, a dialog titled "File Save Failed" pops up saying "The document could not be saved in C:\Users\Phillip\AppData\Local\Temp{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}.rpt. It has been saved in C:\Users\Phillip\AppData\Local\Temp\~zzz{YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY}.tmp."
If I OK the dialog, I get a "Save File As" dialog. If I specify the correct location of the report file, I'm asked if I want to replace the existing file. If I say "Yes", I get an error message saying "The operation could not be completed. The system cannot find the file specified." Even if I specify a completely different filename, in a different folder (e.g. C:/test.rpt) I get the same "operation could not be completed" error.
Sometimes if I wait a moment, then try to save again, it works fine. More frequently, however, I keep getting the "Save File As" dialog. My only option then is to close the report and discard my changes.
This is an intermittent problem - much of the time, saving the report works just fine. Any ideas?
Copernic Desktop Search sometimes locks files so that they can't be written. Closing the program resolves the problem. Perhaps the same problem occurs with other search engines too.
I had a problem VS2010 and Crystal which may be related
Suddenly saving was not working (asterisk never went away) - then VS would crash on trying to exit the report form (presumably trying to save).
I found that by changing the tab to preview the report (at the bottom) which I rarely do due to the fact that it is rarely accurate enough - I could save from there.
Saving during the preview removed the (dirty) astersisk in the top tab and allowed me to exit the form cleanly.
Too early to tell if the report is still ok - I too have had to recreate reports in the past.
Though once I did download the demo for the full Crystal which allowed me to mend a report so that is sometimes worth it too.
sounds like a job for process moniter. you should be able use process moniter to see what's really hapening and why.
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
Or you could install VS2008 sp1 and cross your fingers. (I'd do both)