Locations of visitors to this page
Onteora Software - April 2006

Onteora Software

Ken Tucker's Blog

About the author

Author Name is someone.
E-mail me Send mail

Recent posts

Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

SQL Server 2005 SP 1 help

SQL Server 2005 SP 1 help



From my partner Kelly Martins at KJM Solutions

If this error occurs here is what worked for me. I hope it may work for you but am not sure.


In my case I had SQL Express 2005 Installer on my system as well as I run both (one for development, one for production).



Shut down all SQL related services manually.

I set registry permissions on Software\Policies\Microsoft\Windows\Installer to include the account that is doing the install with Full Control. Click Advanced and make sure everything is selected.

I downloaded and ran the SQL Install Cleanup and removed the SQL 2005 Setup Files Installer and the SQL Express Installer. I then reinstalled the SQL Setup Files (ONLY!!!!!) from my SQL Server 2005 CD. If you don't don't do this you won't be able to use the SP.

Q290301 OFFXP: Windows Installer CleanUp Utility

I then reinstalled the SP and it worked

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Sql
Posted by Ken Tucker on Thursday, April 27, 2006 10:12 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Web Control Issue

Web Control Issue



I was playing around with creating a web control you can add to the toolbox. To create this I started with a VB 2005 class library project. I added a reference to the system.web. I added a bitmap to the project and set its build action to embedded resource. I also set the tagprefix for the control. Here is the issue. If I set the namespace in the project properties everything works as expected. If set the namespace the toolbox bitmap and tag prefix do not work .



Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Drawing
<Assembly: System.Web.UI.TagPrefix("MyControls", "kens")>

<ToolboxBitmap(GetType(MyWeatherSticker), "Arrow.bmp")> _
<ToolboxData("<{0}:MyWeatherSticker runat='server'></{0}:MyWeatherSticker>")> _
Public Class MyWeatherSticker
    Inherits WebControl

    Public Sub New()
        ' your code goes here
    End Sub 'New

    Protected Overrides Sub Render(ByVal writer As System.Web.UI.HtmlTextWriter)
        Dim sr As IO.StreamReader
        Dim wc As New System.Net.WebClient
        Dim strUrl As String
        Dim strOut As String = ""
        strUrl = "http://xml.weather.yahoo.com/forecastrss?p=32927"

        Try
            sr = New IO.StreamReader(wc.OpenRead(strUrl))
            Dim strHtml As String = sr.ReadToEnd
            Dim x As Integer = strHtml.IndexOf("<img src")
            Dim y As Integer = strHtml.IndexOf(")<br/>")
            Try
                strOut = strHtml.Substring(x, y - x + 6)

            Catch ex As System.ArgumentOutOfRangeException
                ' thrown by : System.String.Substring(System.Int32,System.Int32)
                ' description :startIndex plus length indicates a position not within this instance.-or- startIndex or length is less than zero.

            End Try
            sr.Close()
        Catch
            strOut = "<h1>Error getting weather</h1>"
        Finally
            writer.Write(strOut)
        End Try
    End Sub
End Class

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: VB
Posted by Ken Tucker on Friday, April 14, 2006 10:12 PM
Permalink | Comments (0) | Post RSSRSS comment feed

VB 2005 Performance issues Hotfix

VB 2005 Performance issues Hotfix



A hot fix that addresses some performance issues with Visual Basic 2005 has been released.If you are having the problems listed in the KB article call PSS (Product Support Services) 800-936-4900 and tell Technical Routers that they want to be transferred to Developer Support, Visual Basic team, it would expedite the call. Request the hot fix described in KB Article 917452. The KB article is not available yet.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: VB
Posted by Ken Tucker on Thursday, April 13, 2006 11:42 AM
Permalink | Comments (0) | Post RSSRSS comment feed

Atlas April Ctp Released

Atlas April Ctp Released



The April CTP of Atlas was released today. Along with a toolkit that has some cool tools.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Ajax
Posted by Ken Tucker on Thursday, April 13, 2006 11:42 AM
Permalink | Comments (0) | Post RSSRSS comment feed

SQL Everywhere

SQL Everywhere



Microsoft will be removing the restrictions on sql sever 2005 mobile edition so it works in a desktop environment. Check out the SQL everywhere FAQ on Steve Lasker's blog


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: General | Sql
Posted by Ken Tucker on Monday, April 10, 2006 11:42 AM
Permalink | Comments (0) | Post RSSRSS comment feed

Tom Fuller MVP

Tom Fuller MVP



Congradulations to my friend Tom Fuller on making Solution Architect MVP. Tom runs the Soa Pitstop website. Tom also speaks at florida code camps and user group meetings.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Archive
Posted by Ken Tucker on Wednesday, April 05, 2006 11:42 AM
Permalink | Comments (0) | Post RSSRSS comment feed

Virtual Server 2005 R2 Now free

Virtual Server 2005 R2 Now free



Microsoft has now made Virtual server 2005 R2 a free product. You can download Virtual Server 2005 R2 here.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: General
Posted by Ken Tucker on Tuesday, April 04, 2006 11:42 AM
Permalink | Comments (0) | Post RSSRSS comment feed