nascom

Reinhard Schuerer

Flash 10.2 crash IE9 RC

Adobe Flash 10.2 regularly crahes IE9 RC.

All my IE9 RC show a vary similar stacktrace.

If IE9 RC1 crashes allway it happens within Flash10m.ocx (latest Adobe Flash 10.2 installed).

> Flash10m.ocx!632d88d1()  
  [Frames below may be incorrect and/or missing, no symbols loaded for Flash10m.ocx] 
  Flash10m.ocx!62f518e5()  
  Flash10m.ocx!62f5195c()  
  Flash10m.ocx!630b3c19()  
  Flash10m.ocx!630b45f0()  
  Flash10m.ocx!6306206f()  
  Flash10m.ocx!6305bdf9()  
  Flash10m.ocx!6300d489()  
  Flash10m.ocx!630adcdb()  
  Flash10m.ocx!630added()  
  ole32.dll!CRetailMalloc_Alloc()  + 0x16 bytes 
  4f548668() 
  urlmon.dll!75166b35()  
  urlmon.dll!75167c0b()  
  urlmon.dll!7516bab1()  
  urlmon.dll!75168938()  
  urlmon.dll!75167c6a()  
  urlmon.dll!75167289()  
  urlmon.dll!751673c0()  
  urlmon.dll!75165b5d()  
  user32.dll!_InternalCallWinProc@20()  + 0x23 bytes 
  user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7 bytes 
  user32.dll!_DispatchMessageWorker@8()  + 0xed bytes 
  user32.dll!_DispatchMessageW@4()  + 0xf bytes 
  ieframe.dll!61b1d97b()  

for 10.2 beta there was an debugging build but for the final I can't find one.

 

 

Silverlight 4 and the clientaccesspolicy.xml

I used the following clientaccesspolicy.xml which should allow everything from everywhere on my OData webService in my local testing environent but still got an System.SecurityException.

<?xmlversion="1.0"encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from>
<domainuri="*"/>
</allow-from>
<grant-to>
<resourcepath="/"include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>


With Fiddler I saw that the clientaccesspolicy.xml was the last thing that was requested from the server before the exception occurred.

As it turns out the syntax used in the xml file was from a beta version and changed later in the final.

<?xmlversion="1.0"encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-fromhttp-request-headers="*">
<domainuri="*"/>
</allow-from>
<grant-to>
<resourcepath="/"include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
With this small change the dataaccess is now working. A little bit more information in the security exception would be nice.

Office 2010 64 Bit Installation Problems

When trying to install Microsoft Project 2010 64 Bit on a computer which has already installed Microsoft Office 2010 64 Bit we encountered following error:

 

clip_image002

 

As Office 2010 64 bit was already installed, there was no option to the 32 bit version of Project 2010.

Program & Features doesn’t shows any Visual Basic for Application entries.

After some search I found the follow product codes for uninstalling this VBA components:

Visual Basic for Applications (R) Core – German

{90F60407-6000-11D3-8CFE-0150048383C9}

and

Visual Basic for Applications (R) Core

{90F50409-6000-11D3-8CFE-0150048383C9}

 

to manual uninstall you can use

 

msiexec.Exe /x {90F60407-6000-11D3-8CFE-0150048383C9} /qf

msiexec.Exe /x {90F50409-6000-11D3-8CFE-0150048383C9} /qf

BlogEngine.net and .NET Framework 4.0

When trying to post an Blog Entry containing HTML code I got the following error

"A potentially dangerous Request.Form value was detected"

After checking for 'ValidateRequest="False"' in Add_entry.aspx I search for the error and found that the problem is caused by a change in .NET Framework 4.0

Following modification of the web.config solved the problem:

<httpRuntime 
requestValidationMode="2.0"
 enableVersionHeader="false" useFullyQualifiedRedirectUrl="true" maxRequestLength="16384" executionTimeout="3600" requestLengthDiskThreshold="16384"/>

Syntaxhighligther and BlogEngine.net

Just added SyntaxHighlighter to my BlogEngine theme master page.

Let's test

function helloSyntaxHighlighter()
{
	return "hi!";
}

Syntaxhighligther and BlogEngine.net

Just added SyntaxHighlighter to my BlogEngine theme master page.

Let's test

function helloSyntaxHighlighter()
{
	return "hi!";
}

Windows Internal Database Backup with sqlmaint.exe

sqlmaint -S (local)\MICROSOFT##SSEE -D -BkUpDB -BkUpMedia DISK

SSL Certificates and Mobile Devices

If your are publishing OWA or using Outlook Push Mail you need an SSL certificate.

Here you have the choice between using a free SSL Certificate Service like CAcert, creating an certificate with your own certificate server or using an commercial Certificate Service like VeriSign.

Using a free SSL certificate has one big disadvantage. You have to install the root certificate of the certificate service you use on every moble device where you want to use push mail.

But even if you are using an commercial certificate service it is possible that your mobile device doesn't know it's root certificate.

If you use a certificate from NetworkSolutions it's based on the root certificate of UTN which works with the Internet Explorer, but smart phones lilke the HTC Touch haven't this root certificate installed by default.

So if you a looking for a commercial SSL certificate make sure its root certificate is known on all your devices, but you will have to ask for this information because it's mostly missing on the web sites.

Exchange 2003 Outlook Mobile Access (OMA)

Windows Mobile 5:

System:

  • Microsoft Exchange Server 2003 SP2
  • SSL enable
  • ActiveSync 4.1
  • SSL root certificate added to the PocketPC if you are not using a official CA.

When configuring ActiveSync the first time or after manually adding (Tools->Configure Server Source)

Enter the Server Address, select "This server requires an encrypted (SSL) connection), enter your username, password and domain. This should be the FQDN of the exchange server and must match the public name of the certificate. For internal and external use you have to build a split dns infrastructure.

After this ActiveSync tries to connect to the exchange server to validate your settings.

This always failed with various errors, at last I ignored it and conntinued anyway. ActiveSync than configured the PocketPC for Server syncronisation and the pocketpc had no problems with it.

Pocket PC 2003SE

The same as with Windows Mobile 5 but there ActiveSync has no problems when configuring the same settings.            

February CTP fails to open old projects build with Beta 1 Refresh

If the February CTP fails to open old projects with an error that it can't find the CSHARP.Targets which is included from the your .csproj file, you have manually to edit it and change the line

<Import Project="$(MSBuildBinPath)\CSHARP.Targets" /

to

<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />

Afterwards it should load witout further problems.