XML file name is not a supported file name


Author
Message
GRocchi
GRocchi
StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)
Group: Forum Members
Posts: 18, Visits: 56
Hi,
after some editing in the Role Based Security Editor SecurityDialog from within tha applicaton, the following error occurs during Application initialization:

NotSupportedException
  The given XML file name is not a supported file name.

Source     : MicroFour StrataFrame Base

Stack Trace:
   in
MicroFour.StrataFrame.UI.Localization.RegisterEmbeddedXmlFile(Assembly
ContainingAssembly, String FullPath)
   in
MicroFour.StrataFrame.Application.StrataFrameApplication.LoadLocalizatio
nFromAssembly(Assembly LoadedAssembly)
   in
MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication(
)
   in SPS.Explorer.AppMain.Main() in C:\Documents and
Settings\TitoBrasolin\Documenti\Progetti\SPS\src\SPS.Explorer\AppMain.vb
:riga 26
   in System.AppDomain._nExecuteAssembly(Assembly assembly, String[]
args)
   in System.AppDomain.nExecuteAssembly(Assembly assembly, String[]
args)
   in System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
   in System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
   in
System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationCon
text activationContext, String[] activationCustomData)
   in
System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationCon
text activationContext)
   in
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZo
ne()
   in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   in System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
   in System.Threading.ThreadHelper.ThreadStart()

Gianpaolo Rocchi

Replies
GRocchi
GRocchi
StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)StrataFrame Beginner (48 reputation)
Group: Forum Members
Posts: 18, Visits: 56
Hi Ben,

as you cab see on stack trace, it seems that SF is looking for some kind of localization resource. Remember that the application is using ITALIAN language (1040). The application starts correctly the first time in debug mode, then all the next times it presents the error reported and refuses to start.

Any idea?

Gianpaolo Rocchi

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
The language should not make a difference.  What is the name of the file that you are including in the application?  Also, did you set the XMl to be embedded instead of Content?  Finally, what is on line 26 of your AppMain.vb file?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search