On my work PC I run all my SQL Server 2008 queries on a remote desktop connection to Microsoft Server 2008. Because of this I often have the window minimized and check it occasionally to see if a query has run.
Does anyone know if I can write any kind of script to blink the Windows 7 taskbar icon when a query completes. A pop up warning box would also work, anything to grab my attention whilst I'm surfing the web waiting for a query to complete.
Thanks,
Alex
You could set SSMS to play a sound to notify you, there's a link here that shows you how to set this up in options.
Related
When developing my report in BIDS, the Go to Bookmark action is pretty quick but after deploying my report to the server any bookmark click takes about 10 seconds with the "Loading" pop-up. My report is 1 (potentially long) page but it displays a lot of information so i wanted to be able to add a little index at the top. I've tried DocumentMapLabel as well but it's the same loading issue but I have no control over how gargantuan the side bar is for the tiny tree map it displays.
My query runs in less than a second so pretty much all of the time waiting is on SSRS.
Any ideas what is going on or if there are setting i can change to make it more snappy?
thanks.
well, i work remotely so i'm not on the network that the report server is on directly. After remoting into a machine that is, the bookmark feature is nearly instantaneous. I'm not sure why it matters for this feature but I suppose i'll be testing my report on the remote machine instead.
When running SSRS Reports that have many parameters that users will change and click view report to see different results, chrome security will intermittently prompt for Sign In. When it does, valid credentials will not work.
This started happening with the latest chrome update where the tabs because curved about two months ago.
IE and Edge work fine (albeit much slower)
The Datasource uses a sql login with full access to the SQL Server.
The end users are on windows auth and should not be prompted once authenticated.
Same report has worked for a long time prior to latest update and works in other browsers. Chrome Canary does the same thing. All Chrome users are having this same issue rendering chrome unusable for SSRS.
I have access to the reporting services log file, but there is lots of traffic so very hard to read.
I can run profiler, but the server is very busy and I'm since I'm not sure what to look for, leaving it wide open has so many other threads from other users and it seems even my spid changes constantly as ssrs moves through the requests. Enter report, view report, view report, view report, etc..
Cannot find anything close on google except old stuff that we've went through with chrome using the ie lan advanced security settings. None of the old stuff helps. Have also check ssrs configs to make sure we are forcing windows auth and it is.
Any help with the actual problem or even help with how to troubleshoot this would be greatly appreciated.
Screenshot provided just after hitting view report for the third time. Correct credentials will not work at this point.
Ken . . .
Resolved as a Digital Guardian network tool blocking.
I'm having a very peculiar issue with SQL Server Data Tools 2012. Whenever I attempt to launch the report previewer, I get the following exception:
There was no endpoint listening at net.pipe://localhost/PreviewProcessingServce7324/ReportProcessing that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more deatils.
As far as I can tell, nothing I did triggered the issue. It just started happening one day when I fired up SSDT. I tried the suggestion on
Report Designer Preview in SSDT throws up a 'end point' not found error.
However, my service is up and running just fine (restarting it didn't help), and using Setspn didn't do anything for it, either.
Anyone have any ideas?
That is a current bug in SSDT-BI. The current workaround for now is to right click on the report you want to preview in your Solution Explorer and click RUN.
You will also notice that if you try to preview the report for the first time a command prompt window opens up that runs the preview process, If you don't close this window and just minimize it then you can preview the report but I think the RUN method is much easier for now. Please mark as answer if this helped.
This can happen when you have some SQL Services installed and running on your machine that interfere with the Report Preview. You can check your current services by going opening Sql Server Configuration Manager:
To fix this you can do the following:
Type WinKey + R, input services.msc in the Run box, and press Enter.
Find the "Net.Pipe Listener Adapter" and either Restart or Disable it.
The workaround, as SQLnbe mentioned, is to:
Right Click the RDLC file from solution explorer
Click "Run" from there which will open up a new window.
The Preview issue was resolved for me when I deleted the .DATA files associated with the solution.
In my case I tried all the above solutions, and:
"Run" from context menu does not really work for me, as it's much, much longer than preview in VS2017, as rendering was a deciding factor in my work (lots of grouping by column etc). and render is much faster in VS compared to SSRS,
Could not find listed .Net services on my laptop,
Deleting DATA files did not fixed the issue either,
VS restart and reloading the solution.
I'm not sure if it was points 3 and 4 together that actually did the trick, but I'm putting it out there - just in case it actually is the procedure that will work for others, which is to try option 4.
I need to also note that this issue started after there was a momentary connection dropout. I need to work with WIFI instead LAN due to necessity to be roam-able, and every time I undock the laptop all my connections in SSMS are lost (and with them all the temp tables etc).
I faced the same issue and solved it.
Steps:
Right click on the report.
Click view code.
Check the parameters names in both query parameters and report parameters and make sure it's written correctly.
Close the report and open it again
Thanks
This is what I did:
Restart the .Net.Pipe service in the service console. This didn't resolve the issues.
Closed Visual Studio completely and relaunch the Visual Studio 2017 (in my case).
It seem that the preview is back. It could be the combination of (1) and (2).
None of the solution above worked for me. What did I found and it worked is to run Visual Studio as administrator.
Just closing the visual Studio by ending task with task manager and re-opening the solution worked for me to get through the error.
I am trying to generate the database scripts(tables,triggers,views,procedures) in sql server 2008, all of sudden the scriptting wizards hang up at the end state saying that scripting is completed but the close button never enable, if i stop this some of the tablels are missing, please advise
Install earlier SSMS version.
For me bug was at 15.0.18358.0, changed to 15.0.18338.0 and the wizard started working.
If the wizard says "0 Remaining", this means it has determined all the objects that it needs to script, and is writing them out to your destination. If you are writing to a file, go to that file location in Windows Explorer, and keep refreshing the view. If the file keeps growing in size, this means everything is fine and the data is still being written. Be patient, and eventually the process will finish and the Close button will become enabled.
I often have multiple databases open in SQL Server 2008. Often they are prod, dev, and dr. It is annoying because each window says something generic like SQLQuery1.sql... (sa(200))*. So I have to hover over the tab and make sure I am in the correct window.
Is there a way to color code each window, or in some way to make it instantly knowable which database or server I am in?
Jonathan
Yes, you can color-code connections in SQL 2008, by modified the properties of the registered server. There is a "Use Custom Color" option on the Connection Properties tab.
See this cool tutorial video by the Midnight DBA
I'm not sure about changing the colors, but I got tired of the small tab truncating the window name. As a result I run them as windows, so the entire DB name shows in the window's frame.
I have 2005 (shouldn't be that different than 2008) and this is where I made the change:
tools - options:
environment
general
MDI Environment