Sorry, we found 0 results. Please try another query.
Showing max 10 of results

WebDAV + Basic Authentifizierung mit Windows Vista

 Wer versucht auf ein WebDAV Folder was mit Basic Authentifizierung geschützt ist mit Windows Vista zu zugreifen, der wird schnell merken, dass das so nicht geht.

Das Problem ist nämlich, dass Vista die Basic Authentication standardmäßig für unsicher hält (auch wenn die Verbindung SSL verschlüsselt ist).

Um dieses Verhalten zu ändern ist es nötig den Wert von
_HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\BasicAuthLevel _auf 2 zu ändern: (hier im Bild steht der Wert noch auf 1)

Danach das System neu starten und über Map Network Drive das Laufwerk einbinden:

Wichtig dabei: Nicht über den Link “Connect to a Web site that you can use to store…” gehen, sondern die WebDAV URL direkt als Folder eingeben (siehe Screenshot).

Server Umzug

So, es ist geschafft. Der Server Umzug ist weitesgehend ohne Problem abgelaufen. Wurde aber auch dringend Zeit. Jetzt wird dieses Blog (und noch einige andere Dinge) auf einem schnellen Athlon XP 1800+ mit 1 GB RAM ausgeführt. Im Gegensatz zu dem vorigen virtuellen Server mit 1 GHz und geradezu lächerlichen 256 MB RAM ein rasend schnelles Teil. ;-)

Natürlich läuft das System auf Windows Server 2003 mit ASP.NET 2.0 und SQL Server 2005. Kein PHP, kein MySQL! ;-)

Als Mailserver kommt übrigens der hMailServer zum Einsatz. Sehr zu empfehlen, wird ständig weiterentwickelt und läuft mit MySQL oder SQL Server. Ich glaube der einzige vernünftige kostenlose Mailserver für Windows.

Windows Vista Hibernate/Ruhezustand

Notiz an mich, Dinge die man besser lassen sollte:

In Windows Vista den Disk Cleanup (Festplatten Bereinigungsassistent) “mal eben” ausführen und dabei alles anklicksen.
Ergebnis: Er hat auch das Hibernatefile gelöscht, was an sich kein Problem wäre, aber seitdem gibt es die Option nirgenwo in den PowerOptions mehr und auch sonst habe ich gerade eine halbe Stunde versucht, Hibernate wieder zu aktivieren… In XP war das noch ein einfaches Häkchen in Systemsteuerung->System->Ruhezustand…

Nach einiger Recherche fand ich dann die Lösung, und dass es dafür keine grafische Oberfläche gibt. Einfach in der Console folgendes eingeben:

powercfg.exe /hibernate on

InfoPath 2003/2007 and satellite assemblies

Is it possible that no one ever tried this “easy” thing before? I can’t belive that, but I did’t find anything on the whole internet.

Ok, here it is:
I have a class library makes use of the Visual Studio feature to automatically create satellite assemblies for other languages. Nothing special. If you don’t know, here it is how it works:

Create the class lib project, add a resource file (Strings.resx) with one entry (Hello=Hello) and Visual Studio automatically created a strongly-typed resource from that.
Now you can use MessageBox.Show(Strings.Hello); to access this string. > If you now add another resource file called Strings.de.resx (Hello=Hallo) you can do this to access it:
Strings.Culture = new CultureInfo(“de”);
MessageBox.Show(Strings.Hello);
And this is the output after building:

  • \MyAssembly.dll
  • \de\MyAssembly.resource.dll

So, now I want to use this simple library in my InfoPath project. Open it in Visual Studio, add the reference to the assembly and build: Ok. Then publish this InfoPath Form. VS now _**should **_compile all associated resources, dlls and so on into the InfoPath *.xsn file, but it does not!

And that’s the problem here: It looks like that VS can’t embed the satellite assemblies residing in subfolders into the .xsn file…
If anyone has tried this before (and got a solution ;-)) let me know.