Jeff Pagley
|
|
Group: StrataFrame Users
Posts: 223,
Visits: 893
|
Hi SF Team, I have DevExpress 8.1.1 installed. I want to upgrade to verion 8.1.6. Is there a problem in doing this, because of the SF wrapper? Also, I want to change my forum name from jjp to Jeff Pagley. How do I do this? Thanks, Jeff
|
|
|
Trent Taylor
|
|
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
I have DevExpress 8.1.1 installed. I want to upgrade to verion 8.1.6. Is there a problem in doing this, because of the SF wrapper? Since you are already running on 8.1.1 you should be able to update your source without issue to use the 8.1.6. They had some changes between 7 and 8 that required the namespaces and a few classes to change. But you should be good. Also, I want to change my forum name from jjp to Jeff Pagley. How do I do this? You can do this yourself through the Control Panel at the top of the page. Once in the Control Panel you can set all types of things related to your forum account including your display name.
|
|
|
Jeff Pagley
|
|
Group: StrataFrame Users
Posts: 223,
Visits: 893
|
Hi Trent, After upgrading to DevExpress 8.1.6, I am getting the following error trying to run my application from the IDE: ApplicationException An error occurred while creating the main form TargetInvocationException Exception has been thrown by the target of an invocation. FileNotFoundException Could not load file or assembly 'DevExpress.XtraEditors.v8.1, Version=8.1.1.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1' or one of its dependencies. The system cannot find the file specified. Source : MicroFour StrataFrame UI Stack Trace: at AutoDialer.GridEditingForm.InitializeComponent() at AutoDialer.GridEditingForm..ctor() at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, Object[] args) at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()
What is happenning? Thanks, Jeff
|
|
|
Jeff Pagley
|
|
Group: StrataFrame Users
Posts: 223,
Visits: 893
|
I got it working. To be honest I am not sure how. I started to restore some references that for some reason were missing when I opened the project after the DevExpress upgrade. Thanks, Jeff
|
|
|
Trent Taylor
|
|
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
The problem was that the license file (licx) still had the 8.1.1 version instead of the 8.1.6 version. A rebuild can do this at times as well as the project conversion tools. At any rate, glad you got it going.
|
|
|
Jeff Pagley
|
|
Group: StrataFrame Users
Posts: 223,
Visits: 893
|
Hi Trent, I know that DevExpress is not your product, but I was hoping you would please help me with it if you can. I am new to WEB development and as I mention to you via email that this is one of the very reasons why I am coming to the training course on Monday. It is to get a good foundation on WEB development using Strataframe and DevExpress ASP.NET controls, as well as, additional training on Windows development. I am hoping that during the class I will have the opportunity to get a solid start on developing a real world WEB app to be an Outlook-like appointment scheduler with a project tracking app I need to develop for my company. Therefore in preparation for the class, I purchased and upgraded to the lastest DevExpress version where I received all of their ASP.NET controls and demos. I wanted to review and play with the apps before I come on Monday. However, after installing IIS on my local machine and set the ASP.NET version to 2.0 to help correct some of the problems with running the demo web apps, I still get the error below. I understand it to be a permissions problem and I am suppose to run this command aspnet_regiis -ga <WindowsUserAccount>. But for some reason this command does not exists on my machine. Do you know how I can fix the error I am having below and get these demo apps running? Thanks so much for your help! Jeff Server Error in '/ASPxGridViewDemos_v8_1/ASPxGridViewDemos' Application. Failed to access IIS metabase. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase. The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [HostingEnvironmentException: Failed to access IIS metabase.] System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) +3591442 System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath) +9 System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +169 System.Web.CachedPathData.GetConfigPathData(String configPath) +389 System.Web.CachedPathData.GetConfigPathData(String configPath) +243 System.Web.CachedPathData.GetConfigPathData(String configPath) +243 System.Web.CachedPathData.GetApplicationPathData() +68 System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3536567 System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189
|
|
|
Trent Taylor
|
|
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
This command is actually part of .NET. One easy way to get to it is to click on Start->All Programs->Microsoft Visual Studio 2008 (or 2005)->Visual Studio Tools->Visual Studio 2008 (or 2005) command prompt. They just have the C:\Windows\Microsoft.NET\Framework\v2.0.50727 folder in the path environment which is where that file is located.
|
|
|
Jeff Pagley
|
|
Group: StrataFrame Users
Posts: 223,
Visits: 893
|
Hi Trent, The command worked just fine. However, I am still getting the same error when trying to run the demos. FYI. SF Web Sample runs just fine. When I run the IIS management console, I see all of the virtual directories for the DevExpress demos, but I don't see the SF one. I am assuming you are somehow running a separate WEB server for your sample. Any ideas why I am still having a problem? Is there permissions I should be setting from within the IIS console for these virtual directories? Also, when I changed my username from jjp to Jeff Pagley in the control panel (I have attempted to do it twice) it does not save the change. Thank you so much for your help. Jeff
|
|
|
Jeff Pagley
|
|
Group: StrataFrame Users
Posts: 223,
Visits: 893
|
Hi Trent, I have found the problem on the DevExpress website. I ran aspnet_regiis -i to repair IIS and then reinstalled the DevExpress controls. It has fixed the problem. Thank you for all of your help. Jeff
|
|
|
Trent Taylor
|
|
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
Also, when I changed my username from jjp to Jeff Pagley in the control panel (I have attempted to do it twice) it does not save the change. The problem was that you had another trial account with this name so it would not allow you to create a duplicate. I deleted the other account and went ahead and changed your user name for you. Let me know if you have any problems. Thanks.
|
|
|