Bart De Smet's on-line blog (0x2B | ~0x2B, that's the question)
RSS is the abbreviation for many things. I personnally like Really Simple Syndication, but technically it stands close to RDF. I guess this is why you chose this description.
Bart, Managing file permissions is possible in v1.1 too without resorting to PInvoke. Whitbey will add this to the BCL, but as of today you can use the System.Management namespace classes that wraps WMI functionality to do that, on XP and higher it's also possible to use the DirectoryServices namespace classes to manage ACL's on Filesystem objects and AD objects. If you need a sample of both methods just drop me a mail.
Bart, Another point I forgot in my previous feedback is that the same namespaces can be used to create Fileshares Printershares etc. Here is a sample using the DirectoryServices with some COM interop with the activeds.dll. using System; using System.DirectoryServices; using System.Runtime.InteropServices; using activedsnet; class Tester { public static void Main() { // DirectoryEntry container = new DirectoryEntry("WinNT://yourcomputernamehere, computer", null, null, AuthenticationTypes.ServerBind); using (DirectoryEntry container = new DirectoryEntry("WinNT://scenic/LanmanServer", "administrator", "kevin", AuthenticationTypes.ServerBind)) { IADsContainer cont = container.NativeObject as IADsContainer; if (cont != null) { // Share the path as PublicDocs IADsFileShare FileShare = cont.Create("FileShare", "PublicDocs") as IADsFileShare; FileShare.Path = @"c:\pipo"; FileShare.Description = "MyPipo"; FileShare.MaxUserCount = 2; FileShare.SetInfo(); } } } } // K:\NetV1.1\Management>csc /r:activedsnet.dll fileshares.cs To run the sample you need to create a Interop Assembly by running tlbimp on the activeds.tlb (found in the system32 dir) fi . tlbimp c:\windows\system32\activeds.tlb out:activedsnet.dll will create a IA called activedsnet.dll containing a namespace activedsnet Adapt the path to your own needs, compile the program and run Success. Willy.
Héhé, nice to bring to attention. I'll take a look when I watch Koppen next week :)
Windows PE? Never heard of it. Can you give a link to some more info
Windows PE stands for Pre-installation Environment. It's a small Windows release of Windows XP which can run completely from a CD-ROM (compare it with running DOS from a diskette). I'm using this tool for my SchoolServer project at Microsoft Belux but unfortunately it's only available for volume license customers of Microsoft. However, there's a free alternative on http://www.nu2.nu/pebuilder/.
When will your article on SQL Server Notification Services be published? Will it be available in English? Sorry, I just have an email address - pjones0619@rogers.com
Nice vision, but right? Then, where would you place Windows 3.0 ^^ in your vision?
I agree there is some overlap between all those "versions". DOS still existed when Windows was built. The Windows technology will live further in the .NET timeframe. So, to answer your question: in my opinion all the pre-Windows 95 products can be placed in the DOS timeframe; it's just a graphicall shell on top of DOS, not a real OS itself (while Windows 95 was a stand-alone OS that contained a lot of DOS underneath the covers). It was (almost) all about clients or little networks. In the v2.0 timeframe the client-server model became more and more important, while today in v3.0 there's the new magic word of "services".
Hi Bart I played with generics and it's really cool, if your intresed check out my blog (http://weblogs.asp.net/jan/posts/40139.aspx, http://weblogs.asp.net/jan/posts/38949.aspx). Another great feature of .NET 2.0 is ObjectSpaces (in my opinion). I'm just getting started with it, but it looks very cool. cu Jan
One word: pathetic.
And a happy 2004 to you too Bart!
Is your application doing all of the low level calls to AD to perform your actions, or do you export those tasks to another execution engine? Perhaps you may want to think about the Microsoft Provisioning System to do the low level work for you. Take a look a the community site that I run: http://groups.msn.com/MSProvisioningSystem/ Feel free to send me an email to discuss further: conrada@microsoft.com Thanks, Conrad Agramont
Nice work Bart!
It seems to be fine... But i think there a problem. I had to work with shares in vb.net and i get an error the path in my shares is higher than 260 characters... In fact, i had to browse all the folders in my shares and for each files of my folders, i had to output to a file the ACE. Did you get such errors with the length of your path ? thx, troll
Just read your article about http handlers on ASP.NET. Great great work!
Oh, nice step you have on your new website ;-)
I've got it... Windows Preinstallation Environment (Windows PE) 1.2 Readme Document April 15, 2003
Informative. Inspiring. Thanks for all your hard work!
I am new to the internet and I am web surfing and I did a search in the search engines on "real estate company blog" and I found your web blog. I am a Halifax Real Estate Agent in Halifax, Nova Scotia, Canada and I heard blogs were specialized discussions on topics, thus my interest in searching for a real estate blog on the WWW. I just wanted to see how the rest of the world thinks and see what trends and technology are happening in the real estate market. I also am interested in a blog for myself, that is if I can understand the technology of operating a blog and from what I see I am somewhat hesitant right now even though it was interesting reading. Respectfully yours James B. , <a href="http://www.a-purfectdream-expression.com/jamesb.html">A Halifax Real Estate Agent</a>
Thank you for the RSS
XP Reloaded; I like that! btw: good to cu blogging again
Good luck with your demo Bart!
It all went perfect! Congratulations to the best team ever!
Or use the google toolbar - also *very* effective :) http://toolbar.google.com/
Hey Bart. Just wanted to say thanks for mentioning CassiniEx. I just posted a new version of CassiniEx v0.94.402. This is configured more like IIS, and you can also see a screen shot of the new Management Console I'm working on.
Check this out for a great WinPE replacement
Indeed, I know of this as well, but I'm involved in a project of Microsoft Belux where we need to deploy Windows PE itself. Thanks for the feedback!
Test
I get an error that the <cache> section is an unrecognized configuration section. Any ideas?
It should work if you're using the PDC build of ASP.NET version 2.0 (a.k.a. "Whidbey").
i also get "Unrecognized configuration section cache" when ASP.NET tries to parse web.config. we've got the Community Tech Preview installed here. Tried it on 2 machines, same error. Interestingly no error with the <connectionStrings/> node with i believe is a ASP.NET 2.0 feature.
XP SP2 RC1 issues http://dotnetjunkies.com/WebLog/stefandemetz/archive/2004/05/07/13102.aspx
@BartPE Nice Tools Bart !, I start to disassemble ERD Commander 2003 to a new OS Based on XP,2000 & 2003 called SatanOS, a Network, Cra**** & Disa******** related OS, the Idea Is to give people all over the world the might to hack what they want to...even chinese poeople a "not controlled" Net ! We are very surprised to find Barts Tools wich are very helpfull for the "little" Project. If anyone in this Blog have any Good Idea what we can embedd in Satan OS, you are welcome to post it here: -faz
Try using 'caching' instead of cache.
...Good Idea a VNC Client if course, where do I get satanOS ?
Care to share the ISO file (LH-4074)
Cheers...You're a life saver.
"Gacutil will definitely be your friend " Acutally I find the shell extension you mentioned to be much more convienent. Just open explorer to c:\windows\assembly, drag your dll into it, and you are done. Also can delete with it. Of course GACutil is scriptable...
It's secure because nothing works :D (everything is disabled by default) Well, they didn't make the same fault as with IIS5.0, and that's an improvement. Windows 2003 Web edition is the most secure web server ... of all IIS. Apache and others are more stable and secure though...
Hi Geert, Thanks for your comment and reading my blog. However, can you give us some arguments why Apache would be more secure and stable than IIS? :-) I've various reasons to say the same about IIS 6.0. Cheers, Bart
Just read this and I'm sure you'll make your own customized one. http://www.xppe.com/
IIS6 is a major step forward, but it's main problem is Windows :). My personal experience: i installed the Windows 2003 web edition, i brought a server to the data center and I connected to the Internet. After 1 minute, a famous virus (already forgot it's name, it was a virus targetting sql server servers) had infected the server (I didn't had the time to do windows update and install patches/updates - I can't do magic in 1 minute :) The virus was constantly rebooting the server, but gave me every time 30 seconds to do some stuff... So I clicked as hell to install the patch :D Talking about webservers, IIS6 could be as stable as Apache (which has proven itself over the years). Now it's up to IIS. Oh, and never let debugger users on your IIS, they can bring down your application pool...
Hi Geert, That's exactly why I have this post on my blog: http://community.bartdesmet.net/blogs/bart/archive/2004/05/07/262.aspx#FeedBack Cheers, Bart
I should have known this earlier ;) The command line is a vewwy powerful Windows tool :)
On the last security summit Jürgen van Dievel (?) talked about a SP which would be very strict about security, and he was sure it would give a lot of application problems (because the security will be véry thight). looking forward to it :-)
I think you mean Jurgen Van Duvel. Sounds that we were there both that day (but I was attending the developers track). The point is in fact that certain points will be disabled by default indeed (thing that have to do with DCOM etc). Furthermore there is of course the built-in firewall that will be enabled by default as well, therefore blocking all "crucial ports".
Yes, Jurgen Van Duvel (although I rather like Palm or Kriek). Blocking all crucial ports... sounds like helpdesk people will be going through hell shortly :-)
hmm sounds focking cool :-)
These are hard links, not symbolic links!
Wanneer komt de schoolserver uit? Ik kan echt niet meer wachten om ons netwerk eindelijk op schoolniveau te kunnen beheren... Kristof Boeckx ICT-Coördinator VTI Kontich kristof@defantasie.com English: When will the schoolserver be released? I can't wait to manage our schoolnetwork on a school-based level.
can someone post a link that works please
Solving the spam problem with Caller ID technology would be great. But according to experts, this technology has both strong points and weaknesses. It requires mail servers to download the entire content of spam messages, then it only checks for it for the sender IP address before rejecting them. The Microsoft Outlook 2003 spam filter wasn’t good enough for me too, so I installed a plug-in for Outlook - <a href="http://www.spambully.com/">Spambully</a>. It’s a Bayesian spam filter and works almost perfect for me.
Solving the spam problem with Caller ID technology would be great. But according to experts, this technology has both strong points and weaknesses. It requires mail servers to download the entire content of spam messages, then it only checks for it for the sender IP address before rejecting them. The Microsoft Outlook 2003 spam filter wasn’t good enough for me too, so I installed a plug-in for Outlook - Spambully (http://www.spambully.com). It’s a Bayesian spam filter and works almost perfect for me.
Yep, that was me speaking on that event ;) Microsoft is trying to find the right balance currently between tight security by default and not breaking (too) many end user experiences / functionality. However this does not mean that there won't be any issues. As I stressed over the last couple of months: test Windows XP SP-2 as soon as possible. That is the only way to make sure you're not in for a big surprise ;) http://www.microsoft.com/windowsxp/sp2/default.mspx
sd
Hello Bart, my comment on: "...learned to know some nice guys." It's time to look for a nice girl now you're in 'Holland'. ;-) Have fun and enjoy the 'holidays'. Koen D'Haese aka K#
THANK YOU!!!
for Italian fans i've find one, the best site with all arguments is http:www.pda-phones.net they have also some links where to buy the other Qtek, 8080 that is smaller, is not big like a pda but is like a normal phone, the same windows ce but smaller
for me it's ok here i've founded more instruction in italian
excuse me for the error i made, i repost the link here http://www.pda-phones.net
Bart, can you post detailed informations about what is said about VSMT during Wednesday? Thanks
Thx for your example, can you please provide me the different documents. Because I don't understand everything. Thank you
Take a look at http://bink.nu/DesktopModules/ArticleDetail.aspx?ArticleID=2103 for more information (a post of fellow-MVP "Bink").
I posted that informations from myself on my blog. I wanted to have some more informations not published till now about what you asked and what Microsoft answered at Q&A session time. Thanks
I installed the VBExpress but finally after the download and install/setup no icons are displayed.. it looks like it is completely vanished from my machine. Tried this on 2 different machine and both had the exact same outcome. Anything special that needs to be done after installation?
do you know how to setup a ISA server 2004 with Exchange 2003 using RPC over HTTPS? Love to hear more. THanks, Mike
I'm not really an ISA expert, that is, I know how to setup the server and how to do the basic configuration and I'm currently investigating the SDK to develop solutions based on ISA 2004. However, I don't know all kinds of scenarios. I know there is a kind of task in ISA 2004 to publish an Exchange 2003 server with OWA, POP3, IMAP4, etc and I think you can publish RPC for Exchange 2003 that way as well. For more information, you can take a look at www.isaserver.org which is a 3rd party (community) site that focuses on ISA Server 2000 and ISA Server 2004. If you don't find the answer, post your question on the forums over there. Cheers, Bart
Regarding "bugs" - no, not on your machine only - I too get the "The service principal name for the VMRC server..." issue as well, and I cannot connect to my Virtual Servers :( Did you get any joy sorting this out?
how do i get this fantastic longhorn file and program
THANK YOU!1!!!!
How do you sign up to MSDN, I can find my .NET passport ID but it's to big. GreetZ Barto!!!
Welcome back to your blog ;) I´ve missed you..
I've been off for a short holiday.
Hey Bart, "Onderkast" is a valid dutch word and means exactly the same as the word "lowercase" in English. So there's nothing wrong with that translation... See http://www.vandale.be/opzoeken/woordenboek/?zoekwoord=onderkast
mailMSG.Fields["http://schemas.microsoft.com/cdo/configuration/smtpserver"] = txServidor.Text; mailMSG.Fields["http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"] = 0; mailMSG.Fields["http://schemas.microsoft.com/cdo/configuration/sendusing"] = 2; Msg.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25; Msg.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username"; Msg.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password";
Is there anybody do this work in C++?
Take note that in W2k AD you need to extend the AD schema first, for W2k3, the extended fields are already there. Cheers.
Nice, read the complete series and discovered some interesting things!
aaaa
good
as i remember the aspnet_setreg tool can only be used for pre-defined sections so encrypting the dsn key in the appSettings want work if i'm correct the only sections you can use it for are <identity userName= password= /> <processModel userName= password= /> <sessionState stateConnectionString= sqlConnectionString= /> so basically you can not use if for the appSettings please correct me if i'm wrong over here!!
Indeed, this is right and (since my post was done rather late that day) it might not be completely clear in my initial post. The sections you mention are the only ones which are supported (although this will change towards the Whidbey release of ASP.NET). For storing secrets in <appSettings> in an encrypted way, use DPAPI as well (as ASP.NET is doing itself using aspnet_setreg). More information can be found on http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT08.asp.
nice! I would have never thought of that!
Hi. I'm just learning but, when I run this line: tlbimp c:\windows\system32\activeds.tlb out:activedsnet.dll it gives me activeds.dll not activedsnet.dll as you have indicated here. What am I doing wrong> Thanks. HardwareGuy
Have a look at this mate: http://www.tkachenko.com/blog/archives/000024.html it's quite easy and really cool stuff!
I too get that service principal name error. What the he!! is that about?! I found this forum purely because I am trying to find someone who has fixed this issue. Help!
What if the shutdown -a will not execute on a windows 2000 machine
Nice post! Keep up the good work.
Just to illustrate how popular the question is actually. The next question I was answering was basically the same (but now for PDF file protection) :-): http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=692594#692617
According to the 2.0 guided tour, you need not do the web.config work for Yukon: http://beta.asp.net/GuidedTour/s24.aspx Yukon doesn't do table-level locking, it detects changes at the row-level. (However, I still can't get it to work!) Cheers, Dave
shouldn't the result of type text.cpy be Hello for true symbolic linking ?
oops sorry, didn't read far enough :)
but (as already stated) this is not a symbolic link at all! try to do this: echo joker>joker.txt fsutil hardlink create hoho.txt joker.txt del joker.txt type hoho.txt still works.. wheras in unix a file not found alike message would occur..
Omg.. I hope the names will be confgurable..
<a href=http://cast-video-divx.da.ru>video divx</a>
Do you know if there is a way to somehow scan a non-sparse file for zero data, set the file sparse, and then flag those ranges in the sparse file? In other words, would it be possible to "convert" a non-sparse file to a sparse one automatically?
Bart! Please say it ain't so! Power User is *not* running with least privilege! It's sometimes called admin-lite because it has most of the dangerous privileges that the Administrators group has. You're not protecting yourself from anything by running as a Power User.
Indeed Don, thanks for the correction. In fact I have two accounts, one power user (non-admin) for installation tasks etc and a normal developer user account but I was a little confused since I just finished my Active Directory setup. That time, I was still running under the context of my 'install' account (which is a Power User) since normal users don't have the right to reboot/shut down the machine by default (W2K3 in a domain setup). Now, my normal user account has the right to shut down the machine and now I'm indeed running as a normal user on the system. Thx for the remark; I've added some little remark in the initial post, pointing to this comment.
System Event Log keyed me to the answer of this one: The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {DA3111BC-1BD7-4884-A535-8470D36028F7} to the user... This security permission can be modified using the Component Services administrative tool. Opened up the properties for the Virtual Server component and noticed the Everyone was on the Deny list for COM+ Activation in the Security properties. I added the user I'm hitting the page as with Local Activation permissions and all is well. Good luck J & C, sorry to hijack yer comments B#.
dfdfdfdfd
fghfg
I'm considering ISA 2004 as a firewall/IDS for our LAN, which includes an Exchange 2003 server. Any addtional comments on ISA 2004 would be welcome, particularly about its intrusion detection/prevention features. Thanks in advance.
Monad links http://dotnetjunkies.com/WebLog/stefandemetz/archive/2004/04/20/11794.aspx
am getting the following error in web.config where the connection string is read from the registry. Format of the initialization string does not conform to specification starting at index 0 Could you please let me know what the problem is
Would be nice if it wouldn't be restricted to MVP's only...
i wont dowanlod winpe
The Satanic Boot CD is done: Check this out and tell me what do think about it ! @ eval thx for the link, but... If anyone know how to publish without getting trouble Anybody with P2P server out there, please contact me <a href="http://s4t4n.s4.funpic.de/Shots01.htm"><font color="#75CA02">Screenshots</font></a></font></p>
sry bad link please take the new one: http://s4t4n.s4.funpic.de/
wer macht for me ne xp pe CD..bezahl auch was..! galeb@online.hr
The FileSystemWatcher also isn't that accurate: if you create a lot of files in a short time, the filesystemwatcher will skip some (I believe because of a in-memory buffer which is too small).
good thinking :-)
Hi Geert, Thanks for your feedback. The remark about the accuracy of the FileSystemWatcher is true indeed. This has to do with the underlying Win32 API (*ChangeNotification functions; ReadDirectoryChangesW) being called by the framework and the use of an internal buffer with a default size of 4K (which can hold about 70-80 changes). Each event takes a series of bytes (16 to start with and additional ones for the Unicode-formatted filename). It's possible to modify the buffer size (with caution!) using the InternalBufferSize property. Since the contents of the buffer are non-paged in memory, you should avoid doing this as much as possible (swapping to disk will be denied) since this can imply a performance drop.
Hello sir, i am really get confused that what is ASP.NET v2.0 - About Whidbey ? is it New version of ASP.Net of Microsoft or It is different from Microsoft. so why its Whidbey.. Thanks Shreekant
request to lh 4074 link Please send me link Abhijit_khatate@yahoo.co.in