SSMS 2008 R2 is losing Intellisense after installing Visual Studio 2010 SP1
09-Sep-1111 Leave a comment
Apply cumulative update to SQL Server 2008 R2
http://support.microsoft.com/kb/981356
IT and business subjects
09-Sep-1111 Leave a comment
Apply cumulative update to SQL Server 2008 R2
http://support.microsoft.com/kb/981356
09-Sep-1111 Leave a comment
Installation seemed easy enough – If Excel 2010 32-bit edition as you should, then need 32-bit x86 version of PowerPivot
If a table has a timestamp (binary) data then exclude that otherwise you get an error
So far this has been disabled for me
At first glance “Home” tab, section “Get External Data” is the only place to get new tables from. However it is not possible to use an existing connection from here, so I landed up with several connections 1,2,3 to the same SQL Server. To add a new import to an existing connection:
Design tab > Existing Connections > Open or Double click the connection you want to get a new import from
Design Tab > Table Properties
Use Switch to “Table Preview” or “Query Editor” to validate
This puts the Data for Sheet 1 Chart 1 on a different tab.
To move it to the same tab as the chart use “PivotTable Tools” > Move PivotTable
I had WO -> Reject Card on WO -> Reject Detail on WO
I found this created no proper grouping, so sum was same number for every group. Changed to:
WO – > Reject Card
and
WO -> Reject Detail
Problem solved
Sort by Date workaround
Sorting by date does not work, to workaround this create a Computed/Calculated column and use this:
= Year([WorkOrder!CompletionDate) * 100 + Month([WorkOrder]![CompletionDate]
YearMonth = Date(Year([WorkOrder!CompletionDate), Month([WorkOrder]![CompletionDate], 1)
YearMonthSort = Format(YearMonth, “yyyy-mm”)
“Could not add the field “<field>” to the PivotTable. Please ensure the field exists and is calculated, and try refreshing the PivotTable.”
Close the file and then open it again
09-Sep-1111 Leave a comment
There is a lot of web talk on problems with existing SQL installations before installing LightSwitch
07-Sep-1111 Leave a comment
Nice clear entry at:
In Project > My Project > Publish > Options > Deployment
Uncheck “Use “.deploy” file extension
Now after publishing you will get the .exe file. If you create a shortcut to this .exe file you can add command line arguments to it as shown in the image below:
Dim CommandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String) = My.Application.CommandLineArgs
For i As Integer = 0 To CommandLineArgs.Count - 1
MessageBox.Show(CommandLineArgs(i))
Next
There maybe reasons why you may not want to uncheck this. Namely:
05-Sep-1111 2 Comments
Error message may be “Field called xxx does not exist”
Try this on Form closing
Private Sub frm_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
Me.MyGridView.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.None
End Sub
I would hazard to suggest thatVisual Studio does not dispose of the datagridview in the correct sequence
This sometimes occurs when my personal code > SetUpDataGridView may programmatically set the AutoSizeRowsMode.
—–
This link http://social.msdn.microsoft.com/forums/en-US/winformsdatacontrols/thread/88c3adee-ed2a-41ee-9407-c3314588e08a/
Suggests it may be something to do with autosize, when there is a combobox created. The order of creation and setting may be important.
“If you autosize the column but have not provided the combo box column with a valid datasource or you haven’t yet added items to the combo box column’s items collection then you’ll get this error at startup because autosizing requires the cell’s FormattedValue to be requested. Requesting the FormattedValue of a combo box cell is where the check is done that may raise the data error exception you are seeing.
Set the autosize mode after you fill the combo box and things should be ok.
Mark Rideout – DataGridView Program Manager – Microsoft”
Or create the comboboxcolumn then clear the autosize modes > run > re-set the autosize mode.
Or programattically set the autosize after form has designer InitialiseComponent code has loaded.
01-Sep-1111 Leave a comment
While I have accessed email from Outlook on my PC for years, I recently discovered that I could access my email from the web and this left a copy of the message on the server, so when I next used Outlook the message would be shown there as well. However as soon as it is received in Outlook it is no longer visible on the server.
My friend indicated that there was a method of leaving messages on the server. This is here:
28-Aug-1111 Leave a comment
After setting up new PC was initially having problems with the graphics card. (Novatech) AMD Radeon 6770.
Key: Catalyst Control Center = CCC
Did uninstall the driver and CCC at one point and re-install everything, from Downloads\Graphics folder. Seemed to work well for half an hour – now seems a little less than perfect. Will see. So turned off PC rest then turn back on and graphics good again. However with HDMI to Iiyama I now have a buzz. Have used the monitor setting to mute the sound and it has gone away. May need to use DVI on Iiyama as well.
The configurations which temporarily worked are:
Update 1-Sep-2011
Still having problems. So after talking with Technical Support at Novatech I have took the graphics card out – and put back in – reseat in the computer. This seems to have increased the proportion of time that the machine is OK. Still not 100% though
24-Aug-1111 Leave a comment
To login to a work network
Once you have joined the domain you can use explorer address bar to type \\ <domain name> \ shared directory path
To login back in to home
24-Aug-1111 Leave a comment
Solution from Don,
“I had the same problem with one of my projects. If you open up the Dataset using the XML editor you should see a line near the top that looks like this:
<DataSourceDefaultConnectionIndex=“1“FunctionsComponentName=“QueriesTableAdapter“Modifier=“AutoLayout, AnsiClass, Class, Public“SchemaSerializationMode=“IncludeSchema“xmlns=“urn:schemas-microsoft-com:xml-msdatasource“>
I changed the DefaultConnection Index from a 1 to a 0 and the problem went away. I suspect at one time I had two connections and one went away but the index was not updated.
<DataSourceDefaultConnectionIndex=“0“FunctionsComponentName=“QueriesTableAdapter“Modifier=“AutoLayout, AnsiClass, Class, Public“SchemaSerializationMode=“IncludeSchema“xmlns=“urn:schemas-microsoft-com:xml-msdatasource“>”
Also other posts here may be useful:
In my particular case had too many connection strings and deleted one of them.
16-Aug-1111 Leave a comment
Several points of issue with this routine. It is not as obvious as it may seem:
For a long time I had not used the backup set expire. I have been using the expire for about 3 months with 100 days. I was expecting it to start clearing out the old backups, so keeping the backup device file size roughly static. However this did not happen and the disk started to fill up.
So in conclusion I will revert to my previous method of renaming the backup device with a date on the end yyyy-mm-dd which means the backup task then recreates it. Then after a period of time move the old backup devices off to a separate NSA drive.
Grandfather – Father – Son
Now do backups several times a day, but now also do a monthly backup with the intention of eventually deleting daily backups.