exception

3 views
Skip to first unread message

gregz

unread,
Apr 24, 2009, 3:54:31 AM4/24/09
to tycho-language
Hi,

Downloaded and installed 0.2 (msi). All I get is this exception right
at start. Any ideas?

Thanks,

---

System.IO.FileLoadException was unhandled
Message="Could not load file or assembly 'Lexer,
Version=1.0.3382.21787, Culture=neutral, PublicKeyToken=null' or one
of its dependencies. This application has failed to start because the
application configuration is incorrect. Reinstalling the application
may fix this problem. (Exception from HRESULT: 0x800736B1)"
Source="Tycho.Runtime"
FileName="Lexer, Version=1.0.3382.21787, Culture=neutral,
PublicKeyToken=null"
FusionLog=""
StackTrace:
at Tycho.Language.ParserLanguage.BuildParsers(String
parserSource, String macroParserName)
at Tycho.Language.ExpressionLanguage.GetParser(String resource,
String parser, ParserLanguage plang)
at Tycho.Language.ExpressionLanguage.GetExpressionParser
(AnyObject macroContext)
at Tycho.Language.ExpressionLanguage..ctor(AnyObject
macroContext, Namespace defaultNamespace)
at Tycho.Runtime.TopLevel..ctor(Namespace defaultNamespace,
AnyObject stackFrame)
at Tycho.Runtime.TopLevel..ctor(Namespace defaultNamespace)
at CommandLine.Program.Evaluate(String[] args)
at CommandLine.Program.Main(String[] args)
InnerException: System.Runtime.InteropServices.COMException
Message="This application has failed to start because the
application configuration is incorrect. Reinstalling the application
may fix this problem. (Exception from HRESULT: 0x800736B1)"
ErrorCode=-2147010895
InnerException:

timmac...@gmail.com

unread,
Apr 24, 2009, 4:18:22 AM4/24/09
to tycho-language
Hi gregz,

Thanks for the bug report, I'll get onto it sometime today. In the
meantime you have a couple of other options - either download the
source and build with VS2008 (start the CommandLine project), or try
the 0.2 zip file on the downloads page which will contain Lexer.dll.

Tim.

timmac...@gmail.com

unread,
Apr 24, 2009, 9:10:06 AM4/24/09
to tycho-language
You will need to have .Net 3.5 installed, which you can get here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en

Let me know if that works...

Tim.

Matthew Wilson

unread,
Apr 24, 2009, 11:02:59 AM4/24/09
to tycho-l...@googlegroups.com
Greg, I get the same problem with the default build on (my) win64...
because the assemblies are built as x64/x86 but Lexer.dll works only
on x86. If you build from source after setting the CommandLine proj to
x86 only, it works on win64.

Tim Macfarlane

unread,
Apr 24, 2009, 3:38:32 PM4/24/09
to tycho-l...@googlegroups.com, tycho-l...@googlegroups.com

Tim Macfarlane

unread,
Apr 24, 2009, 3:43:03 PM4/24/09
to tycho-l...@googlegroups.com
Easy!

Will roll a point release tomorrow. And remind myself to test on 32
and 64 bit in future! :)

New all c# parser should help in this regard too.

Tim

On 24 Apr 2009, at 16:02, Matthew Wilson <diak...@gmail.com> wrote:

>

gregz

unread,
Apr 24, 2009, 5:40:52 PM4/24/09
to tycho-language
I am a bit new to the intricacies of .NET...

I have 3.5 installed. I did notice, however, that Add/Remove programs
still has entries for 1.1, 2.0, and 3.0. Also, that events in the log
(related to this failure and otherwise) are marked with v2.0. Is this
normal??

Thanks,
greg

On Apr 24, 6:10 am, timmacfarl...@gmail.com wrote:
> You will need to have .Net 3.5 installed, which you can get here:http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE5...

gregz

unread,
Apr 24, 2009, 5:42:03 PM4/24/09
to tycho-language
I am running 32bit, BTW.

On Apr 24, 12:43 pm, Tim Macfarlane <timmacfarl...@gmail.com> wrote:
> Easy!
>
> Will roll a point release tomorrow. And remind myself to test on 32  
> and 64 bit in future! :)
>
> New all c# parser should help in this regard too.
>
> Tim
>
> On 24 Apr 2009, at 16:02, Matthew Wilson <diakop...@gmail.com> wrote:
>
>
>
> > Greg, I get the same problem with the default build on (my) win64...
> > because the assemblies are built as x64/x86 but Lexer.dll works only
> > on x86. If you build from source after setting the CommandLine proj to
> > x86 only, it works on win64.
>
> > On 4/24/09, timmacfarl...@gmail.com <timmacfarl...@gmail.com> wrote:
>
> >> You will need to have .Net 3.5 installed, which you can get here:
> >>http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE5...

timmac...@gmail.com

unread,
Apr 25, 2009, 6:00:51 AM4/25/09
to tycho-language
Hi Greg,

I took a look at the assemblies with CheckAsm.exe (http://
checkasm.booring.net/) and found a linking problem with Lexer.dll
(wrong revision). Makes me wonder how it ever worked; I had it tested
on a few machines, all worked... weird. Anyway, I've uploaded a new
version 0.2.1 which fixed this linking problem. Let me know if it
works for you.

BTW, should work on 64bit windows too. (although not tested...)

Timbo.

gregz

unread,
Apr 27, 2009, 6:08:24 PM4/27/09
to tycho-language
No joy (same error shown below). I only have the F#-friendly version
of Visual Studio installed, BTW.

The event log says (all from 'sidebyside'):

Dependent Assembly Microsoft.VC90.DebugCRT could not be found and Last
Error was The referenced assembly is not installed on your system.

Resolve Partial Assembly failed for Microsoft.VC90.DebugCRT. Reference
error message: The referenced assembly is not installed on your
system.

Generate Activation Context failed for C:\Program Files\Tycho
\Lexer.dll. Reference error message: The operation completed
successfully.

-greg

System.IO.FileLoadException was unhandled
Message="Could not load file or assembly 'Lexer,
Version=1.0.3402.17518, Culture=neutral, PublicKeyToken=null' or one
of its dependencies. This application has failed to start because the
application configuration is incorrect. Reinstalling the application
may fix this problem. (Exception from HRESULT: 0x800736B1)"
Source="Tycho.Runtime"
FileName="Lexer, Version=1.0.3402.17518, Culture=neutral,
PublicKeyToken=null"
FusionLog=""
StackTrace:
at Tycho.Language.ParserLanguage.BuildParsers(String
parserSource, String macroParserName)
at Tycho.Language.ExpressionLanguage.GetParser(String resource,
String parser, ParserLanguage plang)
at Tycho.Language.ExpressionLanguage.GetExpressionParser
(AnyObject macroContext)
at Tycho.Language.ExpressionLanguage..ctor(AnyObject
macroContext, Namespace defaultNamespace)
at Tycho.Runtime.TopLevel..ctor(Namespace defaultNamespace,
AnyObject stackFrame)
at Tycho.Runtime.TopLevel..ctor(Namespace defaultNamespace)
at CommandLine.Program.Evaluate(String[] args)
at CommandLine.Program.Main(String[] args)
InnerException: System.Runtime.InteropServices.COMException
Message="This application has failed to start because the
application configuration is incorrect. Reinstalling the application
may fix this problem. (Exception from HRESULT: 0x800736B1)"
ErrorCode=-2147010895
InnerException:


Reply all
Reply to author
Forward
0 new messages