11-10-2009 02:47 AM
Hello.
After an update in the past I have problems publishing the web page.
I have this error on web page
The file '/Graph.aspx' has not been pre-compiled, and cannot be requested
When I try to refresh the project licenses this error occours:
The following error occoured:
H:\Program Files (x86)\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current\NationalInstruments.UI.Styles3D.msl
Try the following to fix the problem:
Contact National Instruments to report this error
Details:
FileNotFoundException
Stack Trace:
at NationalInstruments.MeasurementStudio.ParameterCheck.ValidateFileExists(String path, String parameterName)
at NationalInstruments.MeasurementStudio.Tools.DotNET.Services.ClassLibraryLoader.LoadClassLibraryFromFile(String fileName)
at NationalInstruments.MeasurementStudio.Tools.DotNET.Services.AspProjectHelper.GetLicensedClassLibraryReferences(Project project)
at NationalInstruments.MeasurementStudio.Tools.DotNET.RefreshProjectLicenseFileMenuCommand.Invoke(Object inArg, IntPtr outArg)
All Ithems are licensed (Enterprise edition).
Do you have solution for me?
br
11-23-2009 02:57 AM
Hello,
I can see on our forum that the same problem was solved by merging .NET modules to the GAC:
Please see the link:
Measurement Studio for .NET Languages
http://digital.ni.com/public.nsf/allkb/ADEB7E3BA063C3F786256EFA0077FBDF?OpenDocument
Please let me know if it solves the problem.
Have a nice day,
Michał
11-23-2009 05:44 AM
We are using Measurement Studio 8.6
this is Web.Config file entry
<add assembly="NationalInstruments.UI.WebForms, Version=8.6.20.165, Culture=neutral, PublicKeyToken=4544464CDEAAB541" /><add assembly="NationalInstruments.UI, Version=8.6.20.165, Culture=neutral, PublicKeyToken=4544464cdeaab541" /><
add assembly="NationalInstruments.Common, Version=8.7.20.131, Culture=neutral, PublicKeyToken=4544464cdeaab541" /><add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /><
add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /><add assembly="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
and this is licenses.licx file
NationalInstruments.UI.WebForms.Switch, NationalInstruments.UI.WebForms, Version=8.6.20.165, Culture=neutral, PublicKeyToken=4544464cdeaab541
NationalInstruments.UI.WebForms.ScatterGraph, NationalInstruments.UI.WebForms, Version=8.6.20.165, Culture=neutral, PublicKeyToken=4544464cdeaab541
we think it is NationalInstruments.Common, Version=8.7.20.131 that is making trouble.
What could be solution to this error??
br,
Ben
11-23-2009 07:41 AM
Hi,
Could you please send me the simplest possible project that shows the problem? I'll try to reproduce it on my machine to find out if the problem lies within the installation of your software or in the project settings.
Best regards,
Michał