lamp

August 2006 - Posts

Visual Studio Regular Expression Find & Replace are not like .NET ones!
29 August 06 02:37 PM | Frederick.Chapleau | with no comments

I'v used a lot regular expression in Visual Studio, so, when I wanted to replace a pattern matching regular expression, I chossen the obvious Find & Replace that use Regular Expression. But I found that the regular Grouping that are remembered to be used in the replace statement are not the same!

Take a look at this blog...

http://blogs.msdn.com/vseditor/archive/2004/06/18/159515.aspx

or this one

http://msdn2.microsoft.com/en-us/library/2k3te2cs.aspx

-f.

Report Server : rsInvalidReportServerDatabase
23 August 06 12:08 PM | Frederick.Chapleau | 1 comment(s)

When trying to get reports from both reports & reportserver virtual directories, try using the configuration command

rsconfig -c -s server_db -d ReportServer -a windows -u Admin -p password

And user Windows Authentication, that solved my problem

related keywords:

Schedule and Delivery Processor, invalid version, event id 117, reportserver, CRM

-f.

How to Reset/Reinitialize Internet Explorer Window Placement
23 August 06 11:17 AM | Frederick.Chapleau | with no comments

Find his registry key, and delete it, using regedit.exe

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Window_Placement

-f.

 

How to repair the .NET Framework 1.1 that ships as part of the OS on Windows Server 2003
23 August 06 10:51 AM | Frederick.Chapleau | with no comments

Take a look at this... and it works!

1. Manually delete the netfx registry value from the Windows registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents 
 
2. Create an INF with this in it:

[Version]
Signature = "$Windows NT$"
DriverVer=10/01/2002,5.2.3790.0

[Components]
netfx=netfxocm.dll,UrtOcmProc,netfxocm.inf,,7
 
3. Run the Windows Optional Component (OC) Installer wizard

sysocmgr /i:%Windows Folder%\inf\yourfilenamehere.inf
 
4. Manually install assemblies in the global assembly cache.

"%Windows Folder%\Microsoft.NET\Framework\v1.1.xxxx\gacutil.exe" /f /il %Windows Folder%\Microsoft.NET\Framework\v1.1.xxxx\assemblylist.txt

Ref.: http://blogs.msdn.com/astebner/archive/2005/06/21/431385.aspx

originated from

http://support.microsoft.com/?id=830646

-f.

 

SOA and remoting bugs
13 August 06 04:29 PM | Frederick.Chapleau | with no comments

If develop some website, and applications just for the fun of integrating new architectures and new concept. Now, I'm at the point where I found issues about scalability, and fault tolerence on those type of architecture. Using Service Oriented Architecture via Remoting, I must be able to open / close channel rapidly and efficiently.

But those TCP/HTTP channels that are provided with the .NET framework have some bottlenecks. They are not bidirectionnal, and difficult to setup / maintain. There are also the only two channels that are provided with the .NET framework.

Now, I've downloaded & tried the Genuine Channel from www.genuinechannels.com and, in a snap, replaced the HTTP Channel, with a Memory Channel. They also include a Bi-directionnal Channel on HTTP / TCP and many others!

Try it, you won't be disappointed!

-f.

WMI doesn't want to start
01 August 06 12:02 PM | Frederick.Chapleau | with no comments

When I tried to install SQL Server 2005, I had a message saying that WMI wasn't installed, or working properly. And suprisingly, that was the case.

I began to debug. I search for all the keyword in the event log, I deleted the WMI repository and rebuilt it with does commands.

  1.. Disable the Windows Management Instrumentation SERVICE in the services console (services.msc)
  2.. Back up the contents in the C:\windows\system32\wbem\Repository\
  3.. Clearing the contents of C:\windows\system32\wbem\Repository\
  4.. Click Start and click Run
  5.. In the Run dialog box, please type CMD
  6.. In the Command prompt, please just copy and paste the command below. Run it then.
    1.. for %1 in (%systemroot%\system32\wbem\*.mof %systemroot%\system32\wbem\*.mfl) do mofcomp %1
  7.. Restart the server.

But this does not resolve my case (even if this was the command that is the more used to resolve WMI bugs...).

After that, I saw an article on the MS Kb. http://support.microsoft.com/kb/909444/en-us

Thas wasn't the case too. After searching all the web for all the keywords in the log I just traced by my self. So I ran Filemonitor and didn't saw anything special. After that I ran Regmonitor . And guess what : some of the registry keys where not used the common %SystemRoot%. So I just remapped all the directories in under HKLM\Software\Microsoft\WBEM\CIMOM, and everything started!

Why there is no fixing tools that are checking that???

-f.