Hi Gordon,
Thanx, but I've ended up not using the Localization Toolkit. It seemed
to be too unstable/errorprone, so I went back to doing it with a
hierarchy of resource files (string.resx, string.no.resx etc).
All my attempts to access properties threw errors. I couldn't get the
elementresourceset either, and could only use resourcemanagers
getString(). That worked on elements text-attributes, but then again,
that wasn't how I'd intended to use this.
Marius
crooksgj@hotmail.com (gmanupnorth) wrote in message news:<29e11031.0406150258.8bb0569@posting.google.c om>...[color=blue]
> Hi Marius.
>
>
> Could you possibly send or post some of the code if you are still
> having the problem you mentioned in your previous post. This would
> make it easier for me to determine what the problem might be.
>
>
>
> Gordon
>
>
>
>
hallum@stud.ntnu.no (marius) wrote in message news:<c57db953.0406100507.1ac25172@posting.google. com>...[color=green]
> > Hi Gordon,
> > Just happy to help!
> >
> > Perhaps you can help me as well.
> > I've run into some problems using the localization toolkit.
> > When I try to inherit from it in the aspx-pages, either by:
> > Inherits="Microsoft.Toolkits.EnterpriseLocalizatio n.LocalizedPage" in
> > the @page-directive, or by:
> > public class LocTest1 :
> > Microsoft.Toolkits.EnterpriseLocalization.Localize dPage
> > in the codebehind, I just the familiar error:
> > "Object reference not set to an instance of an object"
> > in the Microsoft.Toolkits.EnterpriseLocalization.Settings-class (see
> > below).
> > Any ideas?
> >
> > Rgds
> > Marius
> >
> > Error:
> > NullReferenceException: Object reference not set to an instance of an
> > object.]
> > Microsoft.Toolkits.EnterpriseLocalization.Settings .get_CurrentManager()
> > +222
> > Microsoft.Toolkits.EnterpriseLocalization.Localize dPage.ProcessControl(Control
> > c, ArrayList affectedControls, Boolean includeChildren) +28
> > Microsoft.Toolkits.EnterpriseLocalization.Localize dPage.IterateControls(ControlCollection
> > controls, ArrayList affectedControls) +35
> > Microsoft.Toolkits.EnterpriseLocalization.Localize dPage.ProcessControl(Control
> > c, ArrayList affectedControls, Boolean includeChildren) +110
> > Microsoft.Toolkits.EnterpriseLocalization.Localize dPage.IterateControls(ControlCollection
> > controls, ArrayList affectedControls) +35
> > Microsoft.Toolkits.EnterpriseLocalization.Localize dPage.OnPreRender(EventArgs
> > evt) +158
> > System.Web.UI.Control.PreRenderRecursiveInternal() +62
> > System.Web.UI.Page.ProcessRequestMain() +1489
> >
> >
> >
> >
> >
> >
gjcrooks@accesswave.ca (Rental) wrote in message news:<a95da2a9.0406091003.1bbc97f5@posting.google. com>...[color=darkred]
> > > Hi Marius.
> > >
> > >
> > > Thanks alot for your help. If you were here in Halifax, I would buy
> > > you a beer to thank you.
> > >
> > >
> > >
> > > Cheers,
> > >
> > >
> > > Gordon
> > >
> > >
> > >
hallum@stud.ntnu.no (marius) wrote in message news:<c57db953.0406090153.6f27a733@posting.google. com>...
> > > > Hi,
> > > > I had the same problem as you, but after some testing, I finally found
> > > > the what caused this error for me.
> > > >
> > > > 1. I needed to add the framework-location into the path-environment
> > > > variable. I thought it was there, but it obviously was not.
> > > > (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 on my computer)
> > > >
> > > > 2. One must type the filename into the Neutral Language File-textbox
> > > > *exactly* the same way as the application name in the Localization
> > > > Toolkit. That is, I had written all in lowercase, where as the
> > > > application name was mixed mode.
> > > >
> > > > ..and voilą! It all ran smoothly!
> > > >
> > > > Good luck!
> > > > Marius
> > > >
> > > >
gjcrooks@accesswave.ca (Rental) wrote in message news:<a95da2a9.0406080938.6af513fe@posting.google. com>...
> > > > > I'm having the sam problem as described below with the Localization
> > > > > toolkit. Does anyone know if there is a solution to this problem.
> > > > >
> > > > > --->When attempting to generate resource dlls with
> > > > > --->LocalizationManagement.exe, I get an exception:
> > > > > --->Unable to generate loose file resources
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Gordon
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Error as above.
> > > > >
> > > > > Does anyone know how to fix it?
> > > > >
> > > > >
> > > > > Searched NG for that problem and this is what I found:
> > > > >
> > > > > ================================================== =
> > > > > Q (July 17, 2003):
> > > > > When attempting to generate resource dlls with
> > > > > LocalizationManagement.exe, I get an exception:
> > > > > Unable to generate loose file resources
> > > > >
> > > > > A (July 21, 2003):
> > > > >
> > > > > I'm looking for someone who can assist you. Thanks.
> > > > >
> > > > > Best regards,
> > > > > Yanhong Huang
> > > > > Microsoft Online Partner Support
> > > > >
> > > > > ==================================================
> > > > >
> > > > > How long can it take to find someone who knows the answer?
> > > > > I'm desperate.
> > > > >
> > > > >
> > > > > MH
> > > > > Message 2 in thread
> > > > > From: Todd Abel [MSFT] (toddabel@online.microsoft.com)
> > > > > Subject: RE: Unable to generate loose file resources, Localization
> > > > > Toolkit
> > > > >
> > > > >
> > > > > View this article only
> > > > > Newsgroups: microsoft.public.dotnet.framework
> > > > > Date: 2003-09-29 18:48:08 PST
> > > > >
> > > > >
> > > > > The source code for the management application was not release as part
> > > > > of the toolkit. As stated in the article the toolkit is unsupported,
> > > > > although there is a email that you can send feedback to
> > > > > (entloctk@microsoft.com) and questions are often answered.
> > > > >
> > > > > Todd.
> > > > >
> > > > > --------------------
> > > > > >From: "Marius Horak" <someone@europe.eu>
> > > > > >Subject: Unable to generate loose file resources, Localization[/color][/color]
> Toolkit[color=green][color=darkred]
> > > > > >Date: Mon, 22 Sep 2003 16:17:14 +0100
> > > > > >Lines: 30
> > > > > >X-Priority: 3
> > > > > >X-MSMail-Priority: Normal
> > > > > >X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
> > > > > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
> > > > > >Message-ID: <ufsfkzRgDHA.3700@TK2MSFTNGP11.phx.gbl>
> > > > > >Newsgroups: microsoft.public.dotnet.framework
> > > > > >NNTP-Posting-Host: 213.52.140.99
> > > > > >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
> > > > > >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework:54392
> > > > > >X-Tomcat-NG: microsoft.public.dotnet.framework
> > > > > >
> > > > > >Error as above.
> > > > > >
> > > > > >Does anyone know how to fix it?
> > > > > >
> > > > > >
> > > > > >Searched NG for that problem and this is what I found:
> > > > > >
> > > > > >================================================= ==
> > > > > >Q (July 17, 2003):
> > > > > >When attempting to generate resource dlls with
> > > > > >LocalizationManagement.exe, I get an exception:
> > > > > >Unable to generate loose file resources
> > > > > >
> > > > > >A (July 21, 2003):
> > > > > >
> > > > > >I'm looking for someone who can assist you. Thanks.
> > > > > >
> > > > > >Best regards,
> > > > > >Yanhong Huang
> > > > > >Microsoft Online Partner Support
> > > > > >
> > > > > >================================================= =
> > > > > >
> > > > > >How long can it take to find someone who knows the answer?
> > > > > >I'm desperate.
> > > > > >
> > > > > >
> > > > > >MH
> > > > > >
> > > > > >
> > > > > >[/color][/color][/color]