in

ASP.NET Weblogs

Russell Pooley's .NET Blog

.NET Tools, Source and Research

Published by

Comments

 

Jim Bolla said:

Link in the article seems to be non-functional so here's the link: http://www.garret.ru/~knizhnik/perst.html
July 14, 2003 7:41 AM
 

Fabrice said:

I had made some experiments about this some time ago.
Check here: http://weblogs.asp.net/fmarguerie/posts/3684.aspx
July 15, 2003 1:27 PM
 

Dumky said:

I did some experiments on this and share some basic techniques on IL modification at runtime in a blog series ( http://blog.monstuff.com/archives/000058.html is the first iteration).

It is still work in progress and it is way less advanced than the CLAW framework (see http://iunknown.com ), which is an AOP framework for .NET (but the code isn't available afaik). But I hope to reach a reasonnable level of method and variable monitoring via runtime instrumentation, and the code is available ;-)

Cheers
Dumky (dumky_ATR antispamATantispam hot mail)
July 15, 2003 1:55 PM
 

TrackBack said:

July 30, 2003 5:32 AM
 

Brenton House said:

Here is another one I found a while back. It is called BabbelFisken and although it is not in English, the ui is easy enough to use.
http://w1.311.telia.com/~u31115556/desc/programs.htm#BabbelFisken
July 30, 2003 8:00 AM
 

Stephane Rodriguez said:


Not sure if this will help, but I also had this problem with large C++ workspaces. In fact, that was the .ncb file and .opt files which were growing like crazy. A few megabytes. As soon as I decided to erase them, everything returned to normal, that is fast and with no sleep time. I know erase those files from time to time. I of course lose my breakpoints along the way, but why should I care such a detail.
July 31, 2003 2:56 PM
 

John Cavnar-Johnson said:

Why do you equate a project with 1000 classes with enterprise development? I've designed enterprise applications for years and I've never had a need for a project with anywhere near 1000 classes. In fact, in my experience reviewing architectures of existing applications, a high ratio of classes to deployment units (DLLs, Assemblies, is usually, but not always, indicative of a poorly designed application. Although there are times when I wish I could turn off the IDE's background compilation, on the whole, I like the feature.
July 31, 2003 3:08 PM
 

Pete said:

Hi,

I am interested in the same thing. Most editors use a very simple model of highlighting, one that just seems to revolve around a huge list of keywords and "blocks" (comments, etc). To get an idea of how most (closed source) editors work it's just a matter of looking at their syntax definition files.

At the opposite end of the scale you have Visual Assist style of highlighting, which is based on a full c++ parser.

Lately I've been thinking that a middle ground might be in order. Something like a finite state machine model would provide utmost flexibility, without requiring a full parser for each language you support. Then you would use a simple scripting language (in .NET we have the huge advantage here :) ) to specify the states and the given colours/tokens that are associated with them.

For example, with a comment state is fairly obvious (inputs with "/*" or "//"), but now you can trigger a move on to another state when a certain token is encountered ("TODO" could signify the need to colour this specially, as could XML comments). Adding full plugin support to your scripting language and you can now add special functionality to the state machine (picking up XML comments and storing in a database for intellisense).

Hope that helps,
-- Pete
September 4, 2003 4:19 PM
 

Jason Bunting said:

I have absolutely NO IDEA if this is what you want, but there is a nice free little editor called Crimson Editor (http://www.crimsoneditor.com/) for which you can write syntax highlighting files for import. Hope it is of some use, I may be way off base . . .
September 4, 2003 5:03 PM
 

Dumky said:

You might want to check these articles out (Multiple Language Syntax Highlighting): http://www.codeproject.com/jscript/highlight.asp .
September 4, 2003 5:35 PM
 

JosephCooney said:

Like Pete (above) I'm also kind of interested in syntax highlighting (for a small project I am working on). After following the link posted by Dumky (also above) I was lead to a number of other interesting articles. Check out

http://www.codeproject.com/editctrl/crysedit.asp

http://www.codeproject.com/editctrl/brainchild.asp

http://www.scintilla.org/
September 4, 2003 7:46 PM
 

Dan Bright said:

I'm using the syntax hilighting textarea from #Develop in my opensource project SharpEdit:

http://sourceforge.net/projects/sharpedit

Also, if you need a commercial solution, I recommend Essential Edit by Syncfusion.

http://www.syncfusion.com/products/edit.asp
September 4, 2003 7:50 PM
 

Pete said:

Many editors seem to reparse the current line while you are editing.. this could also benefit from knowing what state you are in :) (see my previous post).
September 5, 2003 7:23 AM
 

Ledcotto said:

Hi! Just upgraded VS.NEt to 2003 version and gave me the same error on previous forms. Did the procedure you indicated and worked like magic. Thanks!

ledcotto@sympletech.com
September 15, 2003 10:12 AM
 

Eddy Recio said:

Just so you know, I recently got a glimpse at Whidbey, the next Visual Studio, at a local user's group I attend (Http://www.onetug.org). In either case the MS group responsible for VB showed up after VSLive (Orlando) and showed us the new IDE. At first glance I thought "Wow, these guys most have the latest laptops with Super insane hyper threading". The IDE opened up faster than MS Word on my 2.8 GHz Machine with 1G Ram. Then after the crowd was speechless the project manager says "Did anyone see that?"... he added " we have made many performance improvements on the IDE". And let me tell you VB was fast!!! I wont bore you with the rest of the demo, but be aware that the next version of VB will have some amazing language additions like the "My" namespace and great performance. This from a guy who is doing 60% C# and 40% VB. So until the next version convert away.
September 15, 2003 8:37 PM
 

Christophe Lauer said:

You might have seen that Ingo has authored two books about Remoting. I strongly recommend "Advanced .NET Remorting". Note that Ingo also runs a blog: http://www.ingorammer.com/weblog/
September 24, 2003 10:52 AM
 

Bob said:

Hi,

try this link :

http://www.binarymission.co.uk

they have many controls - on eis a treeview combobox control.

got this link by typing "treeview combobox" in google.

October 12, 2003 9:31 PM
 

Matthew Reynolds said:

Yeah, I wish you were here too dude. I reckon you'd get a real kick out of it.

Matty
October 27, 2003 4:23 PM
 

Bert-Jan Lappenschaar said:

I had the same error message in my Nant build scripts. After searching for days what could cause this problem I eventually figured it out:
there was a reference to a strong named assembly in the resource file (a reference to explorerbar.dll, that has the explorerbar control). Reason it didn't work was that on the build machine, this file only existed as a copy in the output directory (which I thought should be enough), and didn't exist in the GAK. After putting the file in the GAK, everything worked fine.

November 20, 2003 7:59 AM
 

eqtewrt said:

rgrhrh
November 21, 2003 5:56 AM
 

George said:

I am looking for a tool to convert c# in vb.net project?
Do you know any?

January 7, 2004 10:42 AM
 

D Mayer said:

PERST is getting better every day. It's open source and free. I've used it on large, complex databases and it holds up fairly well. There are still some things that need refinement (currently Xml Import and Backup).
January 9, 2004 6:18 PM
 

TrackBack said:

January 27, 2004 12:00 AM
 

Daniel Acevedo said:

Thank you very much. I am now using my Nokia 3650 to read the asp.net weblogs through your site.
January 27, 2004 1:13 PM
 

Brendan Tompkins said:

Russell.. Very cool. Are you thinking of making this project available in source anywhere? I'd like to set it up on a server for a couple of feeds.

-Brendan
January 28, 2004 1:43 PM
 

TrackBack said:

January 31, 2004 6:05 PM
 

mike_lorengo@nospam.hotmail.com said:

Hmm, I can't seem to register
February 1, 2004 10:24 PM
 

Russell Pooley said:

If anyone was having problems regestering, it is now working. I hate the way ASP.NET seems to lose control events!!!!
February 2, 2004 3:14 AM
 

Beth said:

You may want to check this out:
http://www.panopticoncentral.net/PermaLink.aspx/8f42c52c-aa31-4829-8448-f7f6ed3a98d4

MSTF is offering to test your project with Whidbey so we can all benefit. FWIW, we do all of our enterprise development in VB.NET and I have not noticed a problem with VS-2003, though I may only have 999 classes ;-).
March 9, 2004 7:59 PM
 

Retos Tagebuch said:

Katholisches Weblog über Leben und Glauben, News aus Schweiz und Welt, Internetfunde
March 27, 2004 8:31 PM
 

Depickere Geert said:

Instead of adding & removing a button, you can also set the "Localizable" property to false and then back to true... This also does the trick.

Anyhow, thanks for the tip!
March 30, 2004 7:11 AM
 

Adrian Hara said:


I have the same error message in Nant, i get "invalid resX input". The thing is, i just checked the version, and it is 1.0.3300.0, for all resources. I tried adding and removing a button or whatever, nothing changed. More, even though all files have reader version of 1.0.3300.0, some of them build fine, and i only get an error at the seventh file (or something), but i suspect there could be more errors (i have no way of knowing, the build process stops).
As you said, in vs.net the project builds fine, in nant, it doesn't. I even tried using <solution> instead of a target, but i get the same error, plus "External program failed ...resgen.exe (return code was -1163019603)".
Any help would be greatly appreciated, thanks.
April 8, 2004 4:48 AM
 

Russell Pooley said:

If you try to manually resgen each resx file you will be able to find out which one is causing the error. Once you have found the offending file send it to me at russell@nospamvsdotnet.co.uk make sure you remove the nospam from the email address and I will have a look.
April 8, 2004 4:32 PM
 

Adrian Hara said:


I have to apologize, i was wrong. Actually, nant output was something like:

"read in X resources from: c:\MyFile.resx "
"writing resource file: done"
"Invalid resX input"

So i assumed the faulty file was MyFile.resx, but actually, it was the NEXT file in the build order (still, would have been nice if nant told me invalid resX input at file THEFILE). With that being said, there were two types of problems: first many .resx files were empty (0 bytes), and nant can't cope with that (it's documented on the nant site), and second, as the project was started during the days of .NET beta, some .resx files were malformed, or at the very least had something like

<resheader name="Reader">
<value>System.Resources.ResXResourceReader</value>
</resheader>

in them, so no version. Anyway, i got them all done (long day) and works fine now (well, except for the fact that nant seems not to be able to cope with very long paths, but that's another issue:)). Thanks for your help and keep up the good work!

April 9, 2004 5:40 AM
 

John Adams said:

I am also having this problem in NAnt. When I copied my assembly which it "could not find" into the directory where resgen.exe is, the problem went away. Bizarre to say the least. This interesting thing is that there is no reference to this assembly in the resx file at all.
May 21, 2004 2:30 PM
 

Bryant said:

If you don't mind demangling MASM32 source, Iczelion's Win32 Assembly tutorial covers basic syntax highlighting ( which can be found http://spiff.tripnet.se/~iczelion/tutorials.html ). Also, if MASM32 is too hard for ya, RADAsm (a VERY High level Assembly language) comes with a library that does the syntax highlighting for you (which could easily be transfered into an import lib for whatever language you want). Not really sure what RADAsm's site is, just search for 'syntax highlighting' on http://board.win32asmcommunity.net I know the creator of RADAsm posts updates there.
June 8, 2004 9:54 AM
 

Stefano L. said:

Anybody got experience with running PERST to handle a database to be shared by multiple processes (not many, but more than one)?
June 8, 2004 11:26 AM
 

Euan said:

Enterprise?

I ported a small-ish serial protocol test app, that had arrays of controls. About 120 buttons, 240 labels, and 120 text boxes, plus about another 40 standard vb6 controls. After fixing the 300 on_changed event handlers for the stupid "is initialising" flag, and some unicode to asci conversion it compiles and runs. However it now takes 30 seconds to load (used to be 5 seconds) a
1 MB config file, and it runs can easily see the app drawing the controls sequentially (usually only 20 of the array are present at any one time.

Now the great part is, if I decide to modify the project simply clicking on the form design window causes the IDE to disapear in to a world of it's own. It takes about 1 minute to display the design form. If I click on a control the cursor goes crazy, and after about 4 minutes the default event handler code appears. Even if I don't use it. Stupid. Buggy. Broken. Useless.

PS yes there are better ways than arrays of controls, but it was easy, and quick in VB6. :)
June 9, 2004 5:06 PM
 

Farore said:

A 1MB config file may be insane. If it comes down to it it I may suggest alternative configuration methods.

One method I like is to create a settings structure, and serialize-deserialize it to a file. Binary loading should be faster than plain text XML and smaller even. It's more fragile than XML though, but often that's our trade-off.

If you bother to use the manual offset attributes for structures you can reduce the fragility for a complexity increase.

Note sure why the GUI elements are acting as they are.
July 22, 2004 3:33 PM
 

brady gaster said:

You've GOT to snag a copy of LLBLGen Pro. It is without fail the best one of these products, and i've tried just about all of the ones i'd heard of with little or no satisfaction (sorry to everyone ELSE, but it's my opinion).

check it out -> http://www.llblgen.com

and no, i get no money or kickbacks from the product. i just love it.
October 21, 2004 3:56 PM
 

Shannon J Hager said:

I haven't tried every O/R Mapper, but LLBLGen Pro is by far the best I've used.
October 21, 2004 4:22 PM
 

Gareth said:

LLBLGEN PRO everyday of the week, they have just release a new version, which is packed with everythig you will ever need and now we have a serious tool.
October 21, 2004 5:09 PM
 

Mischa Kroon said:

another commercial option:
Entitybroker.

Free:
opf.net
gentle.net
October 22, 2004 4:18 AM
 

Christian Hassa said:

Genome is used in a number of large scale commercial projects successfully since 2002.
October 23, 2004 2:24 PM
 

Marco said:

Another commercial option:

DataObjects.NET see website for more info

http://www.x-tensive.com/Products/DataObjects.NET/
October 24, 2004 8:32 AM
 

Michael Schwarz said:

It is one of the non-plus-ultra tools for HTTP debugging. If using it as system proxy all applications are using it including MSN Messenger or other HTTP enabled applications. It is very easy to see what is going over the line.

There is a script editor where you can modify the results or what you want to exclude from the list. You can also write your own plugins.

On thing that is also very cool is the HTTP request builder where you can modify a HTTP requests by adding header values, modifing content,...

On Windows XP/2000 Professional you may have sometimes problems with the restriction of 10 simultaneous requests.

There are some other small utilities I love:

http://www.bayden.com/SlickRun/
http://www.bayden.com/Other/
September 7, 2005 5:21 AM
 

Ian said:

I'm intrigued...But I got a series of PHP/MySQL errors when I tried to submit my email  

November 6, 2006 9:47 AM
 

russell@vsdotnet.co.uk said:

I apologise for the difficulty you had submitting your email address, try again now and it will be working.

November 6, 2006 9:53 AM
 

LA.Bass.Player said:

This sounds really interesting.  The musician community has a great potential for growth once these kind of societies start to launch.  BTW, what in particular makes this different from online communities such as Taxi?  

Thanks

November 6, 2006 2:17 PM
 

russell@vsdotnet.co.uk said:

Taxi appears to be a way of finding record deals, whereas oomix is about musicians coming together to make music which they can then sell online. Obviously if you make a piece of music on oomix you can expect to make money from it when you publish it on the oomix store.

The collaborative element comes in when you use samples from other oomix users. Obviously if you produce something with somebody else's sample then they must also agree to allow you to publish it, but if they do then you both benefit when the sales come in.

November 6, 2006 2:37 PM
 

Jon Galloway said:

Very cool! The collaborative studio thing reminds me of the Rocket Network system: http://www.jamwith.us/about_us/rocket_history.shtml

As broadband takes becomes more ubiquitous and servers get more powerful, collaborative online music (and just about everything else) just makes more and more sense.

November 6, 2006 3:45 PM
 

hupu said:

You're a life saver!

After 2 days of googling, searching, thinking, trying, cursing, hitting the table, calling the saints to destroy Microsoft and so on...

Near the moment when I was thinking about suicide... I finally found your post. It's amazing how simple the solution to this problem is.

I'll detail my case here, hoping that Google will rank it higher when somebody searches for this topic:

I created an Outlook Add-in with Visual Studio 2003 (based on the following article: http://blogs.msdn.com/dancre/archive/2004/03/21/93712.aspx) and tried to debug it as described in the same article's comments. But Outlook kept crashing when I tried to debug my Add-in. Creating Outlook.exe.config with the above mentioned contents, "magically" everything worked fine.

The keywords would be:

Cannot debug Outlook Add-in

Outlook crashes when debugging Add-in

Debug Outlook Add-in

How to debug Outlook Add-in (see a detailed description among this articles comments: http://blogs.msdn.com/dancre/archive/2004/03/21/93712.aspx)

December 18, 2006 6:53 AM
 

Shailesh Das said:

Thank God, i found atleat a single complete step by step solution for the problem. I had completely loosed my sanity yesterday night when the above error appeared (apache was not installing either). Now i will try out the above steps in my home this evening.

Thanks for giving me a one more hope.

Thanks a lot.

PS- Do you know how to install apache? I am getting the error message serup interrupted before install error.

February 2, 2007 3:20 AM
 

Russell Pooley's .NET Blog : 2.0 Web Service Problem with 1.1 Assembly Redirections (I challenge you) said:

March 2, 2007 11:57 AM
 

Richard said:

The bindingRedirect element should be a sibling of the assemblyIdentity element, not a child. For example:

<runtime>

   <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

       <dependentAssembly>

           <assemblyIdentity name="Engine" publicKeyToken="91e1bed8f28f6600" />

           <bindingRedirect oldVersion="1.0.1.0" newVersion="1.0.2.0" />

       </dependentAssembly>

   </assemblyBinding>

</runtime>

http://msdn2.microsoft.com/en-us/library/eftw1fys(VS.80).aspx

March 3, 2007 6:59 PM
 

russell@vsdotnet.co.uk said:

Agreed the documentation does state that the bindingRedirect should be a sibling but in this example it makes little difference in solving the problem. You still receive the dreaded System.IO.FileLoadException: Could not load file or assembly 'Engine, Version=1.0.1.0, Culture=neutral, PublicKeyToken=319e0b36fe7c5768' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

  at Service.Service..ctor()

  at WebService.HelloService..ctor()

Thanks for your comment.

March 4, 2007 4:09 AM
 

Russell Pooley said:

It appears there were a couple of mistakes in the the web.config file. The first being the PublicKeyToken was incorrect for the assembly being referenced.

Richard was indeed correct on the location of the element which made it work, but we seemed to have the problem on our live site even with these fixes.

The problem actually stems from the namespace attribute generated by the IIS configuration tool. More information about this can be found here: http://weblogs.asp.net/scottgu/archive/2005/12/02/432077.aspx

With the namespace in the web.config the redirections would not work.

March 29, 2007 7:04 AM
 

Carol He said:

Thank u very much. It is very helpful.

When I did not find your link, I got the information from internet just said to re-install everything. But it still can not work, except re-install Windows.

April 13, 2007 1:04 AM
 

Symon said:

Russell, you are a life saver! We were having the same problem and your hint about the namespace saved us after messing around with this problem for hours.

Cheers,

Symon.

May 4, 2007 9:50 AM
 

andy said:

Didn't work for me.

May 24, 2007 10:18 AM
 

Something XEuropean said:

Just nice to see this error message talked about at all. Windoze it so damn confusing and integrated all at the same time.

June 24, 2007 7:00 PM
 

Jason Birzer said:

I found that I had the same problem.  I tried your solution, but all that does is cause Outlook to disable the Add-In.  For right now, I've removed .NET 2.0 framework in my development enviroment, since I don't need it right now and it works fine.

Does anyone have a true solution to this problem?

October 18, 2007 11:07 AM
 

Derek said:

This is excellent and worked like a charm although at the end, I had to uninstall/reinstall iis for some reason?

Either way, excellent post!

October 29, 2007 1:07 PM
 

Feed Search Engine - All Fresh Articles And News Are Here said:

Pingback from  Feed Search Engine - All Fresh Articles And News Are Here

November 24, 2007 10:17 PM
 

What is oomix.com said:

Pingback from  What is oomix.com

November 26, 2007 12:53 PM
 

SoftWire Free said:

Pingback from  SoftWire Free

November 28, 2007 5:17 AM
 

George said:

I had the same problem. I run XP SP2. I ultimately traced the problem to COM+ specifically "COM+ System Application" service not being able to start. I guess DTC or any com+ related issue will cause the same with IIS. I solved it by re-registering COM+ dlls with the commands:

"regsvr32 oleaut32.dll" and "regsvr32 ole32.dll

March 2, 2008 7:22 AM
 

Mike said:

Hello,

I've been searching for some kind of module or plug-in to add a blog feature to our company's sharepoint portal server 2003 intranet. ANy ideas if anything like this exists? They don't want to update to 2007 at this point.

Thanks for any information you can share.

April 29, 2008 11:34 AM
 

hupu said:

After 1 year and a half I had to smile when I fount my own post searching to solve the same problem.

The problem was, that even with the help of this post I couldn't solve my problem this time.

But after all, I realized, that if Visual Studio 2005 and 2003 is installed on the same machine, trying to debug an add-in would crash Outlook even with the above mentioned method.

I certainly cannot be sure, that this was the problem, but when I installed a fresh system (on a virtual machine of course) with Outlook and Visual Studio 2003, everything worked like described above.

May 30, 2008 4:56 AM
 

dave howley said:

I just had a simila issue using resgen directly. It turned out that the .resx file contained an extra attribute 'Type' associated with Infralgistics controls. I guess this is breaking resgen parser for some reason.

Regards

Dave

e.g.

<data name="UltraGridColumnResource11.Footer.Caption" type="System.Resources.ResXNullRef, System.Windows.Forms">

   <value />

 </data>

June 17, 2008 10:30 AM
 

Eliram said:

I had a very similar problem. Your solution didn't work but I finally solved the problem using the method described here:

forums.iis.net/.../1129188.aspx

August 28, 2008 5:00 PM
 

checkit said:

I found a new website available, wich also offers music collaboration and selling. Extremley interesting for all, who have unfinished song ideas or not all capabilities to finish a song.

Check out http://www.cocompose.com

It has a more open structure and some interesting features like adding videos, captions and lyrics to collaborative music projects. It  has a complex pricing and royalties system as well.

Every registered user can combine and publish the tracks of a project and so decide wich combination sounds best.

There are also free  music downloads available.

October 17, 2008 7:44 PM
 

Dennis said:

You do not have to re-install, just run the following three commands from the %windir%

\system32\inetsrv directory

rundll32 wamreg.dll, CreateIISPackage

regsvr32 asptxn.dll

iisreset /restart

March 31, 2009 1:52 PM
 

dkfredrickson said:

YOU DO NOT HAVE TO RE-INSTALL

Run the following three commands from the %windir%

\system32\inetsrv directory

rundll32 wamreg.dll, CreateIISPackage

regsvr32 asptxn.dll

iisreset /restart

March 31, 2009 1:59 PM
 

yogo said:

thanks friends! it is alive!!

April 1, 2009 4:38 AM
 

Anonymous said:

I got this problem with visual studio 2005 and fixed it with you instructions, thank you

April 23, 2009 10:28 AM
 

fidget said:

Thanks so much, it worked for me and it sounds like this saved me a lot of time as this was one of the first pages I hit when looking for a solution to my problem !

September 18, 2009 11:55 AM
 

John said:

The last solution worked perfectly. Thank you.

October 6, 2009 7:00 PM
 

Giri said:

Run the following Commands

C:\Winnt\system32\inetsrv>rundll32 wamreg.dll, CreateIISPackage

C:\Winnt\system32\inetsrv>regsvr32 asptxn.dll

C:\Winnt\system32\inetsrv>iisreset

This should Resolve the problem

November 2, 2009 9:20 AM
 

The server failed to load application ‘/LM/W3SVC’. The error was ‘The specified metadata was not found.’. | Blog do Joezelito said:

Pingback from  The server failed to load application &#8216;/LM/W3SVC&#8217;. The error was &#8216;The specified metadata was not found.&#8217;. | Blog do Joezelito

April 15, 2010 2:36 PM