Bugs

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/5/2009 8:24:51 AM
Gravatar
Total Posts 4

Initial Build Produces errors

Developing latest version of MojoPortal I checked out today using TortoiseSVN from  https://forgesvn1.novell.com/svn/mojoportal/trunk

Running on Widows XP SP3 & SQL Server 2005.

I loaded the mojoportal.sln in VS 2008 and performed a Build for the entire solution after I set up the db, and got the following errors:

Error 1 'System.Web.UI.HtmlControls.HtmlForm' does not contain a definition for 'Action' and no extension method 'Action' accepting a first argument of type 'System.Web.UI.HtmlControls.HtmlForm' could be found (are you missing a using directive or an assembly reference?) E:\mojoportal\Web\Controls\SubscriberPreferencesControl.ascx.cs 220 23 mojoPortal.Web

Error 2 'System.Web.UI.HtmlControls.HtmlForm' does not contain a definition for 'Action' and no extension method 'Action' accepting a first argument of type 'System.Web.UI.HtmlControls.HtmlForm' could be found (are you missing a using directive or an assembly reference?) E:\mojoportal\Web\Controls\CountryStateSetting.ascx.cs 43 23 mojoPortal.Web

Error 3 'System.Web.UI.HtmlControls.HtmlForm' does not contain a definition for 'Action' and no extension method 'Action' accepting a first argument of type 'System.Web.UI.HtmlControls.HtmlForm' could be found (are you missing a using directive or an assembly reference?) E:\mojoportal\Web\Controls\mojoRating.ascx.cs 142 23 mojoPortal.Web

Error 4 'System.Web.UI.HtmlControls.HtmlForm' does not contain a definition for 'Action' and no extension method 'Action' accepting a first argument of type 'System.Web.UI.HtmlControls.HtmlForm' could be found (are you missing a using directive or an assembly reference?) E:\mojoportal\Web\Admin\PageLayout.aspx.cs 727 23 mojoPortal.Web

Error 5 'System.Web.UI.HtmlControls.HtmlForm' does not contain a definition for 'Action' and no extension method 'Action' accepting a first argument of type 'System.Web.UI.HtmlControls.HtmlForm' could be found (are you missing a using directive or an assembly reference?) E:\mojoportal\Web\HtmlEdit.aspx.cs 616 23 mojoPortal.Web

Error 10 'System.Web.UI.HtmlControls.HtmlForm' does not contain a definition for 'Action' and no extension method 'Action' accepting a first argument of type 'System.Web.UI.HtmlControls.HtmlForm' could be found (are you missing a using directive or an assembly reference?) E:\mojoportal\Web\Controls\UserCommerceHistory.ascx.cs 64 23 mojoPortal.Web

Error 11 'System.Web.UI.HtmlControls.HtmlForm' does not contain a definition for 'Action' and no extension method 'Action' accepting a first argument of type 'System.Web.UI.HtmlControls.HtmlForm' could be found (are you missing a using directive or an assembly reference?) E:\mojoportal\Web\Admin\SiteSettings.aspx.cs 1867 23 mojoPortal.Web

Any help guys? The version I had was mojoportal 2.3.1.3 and was working perfectly.

9/5/2009 8:29:57 AM
Gravatar
Total Posts 18439

Re: Bugs

Hi,

Its because you don't have the SP1 for .NET 3.5. You need to install .NET 3.5 SP1

Hope it helps,

Joe

9/8/2009 10:17:58 AM
Gravatar
Total Posts 4

First Bugs, Now IIS!?

Thanks very much Joe on the earlier reply, but I have now run into a bigger dillema.

After you advised to update to .NET 3.5 SP1 I got the following issue, btw I should mention I was able to successfully build the solution after the update with no errors but this is what happened instead:

 

I downloaded and installed .NET 3.5 SP2 happily turned off my PC and came back today, only to find that not only does the application doesn't work, but I keep getting this error:

 

"Unable to connect the ASP.NET development server"

 

Now to make things even more confusing I read almost every post on this and nothing helped, I copied my WebDev.WebServer.exe (after receiving an error when attempting to manually run it) file from my VM running everything similar to my box except for MS Server 2003, and got a different error.

Now I would really appreciate it if someone helped me know what exactly was the catalyst to my current dillema.

Update: I attempted to create a Virtual Directory in IIS in a weak workaround assuming I had a problem with the VS 2008 built in Server, and got this message:

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) +9514218 System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath) +9 System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +174 System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath virtualPath, Boolean permitNull) +51 System.Web.CachedPathData.GetPhysicalPath(VirtualPath virtualPath) +39 System.Web.CachedPathData.GetConfigPathData(String configPath) +169 System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +110 System.Web.HttpContext.GetFilePathData() +36 System.Web.HttpContext.GetConfigurationPathData() +26 System.Web.Configuration.RuntimeConfig.GetConfig(HttpContext context) +43 System.Web.Configuration.RuntimeConfig.GetLKGConfig(HttpContext context) +62 Version Information: Microsoft .NET Framework Version:4.0.20506; ASP.NET Version:4.0.20506.1

 

Could someone please tell me what all of this nonsense means?

9/8/2009 10:29:16 AM
Gravatar
Total Posts 18439

Re: Bugs

I have no idea, but the error indicates you are running .NET 4.0 which is just a community preview not an official release.

Information: Microsoft .NET Framework Version:4.0.20506; ASP.NET Version:4.0.20506.1

First thing I would try is uninstalling .NET 4.0, but then I would not have installed that in the first place on my main machine, too risky. I have no idea if uninstalling it will solve the problem or not but it seems your machine is pretty well hosed at this point so thats what I would try. 

Hope it helps,

Joe

9/9/2009 5:40:45 AM
Gravatar
Total Posts 4

Re: Bugs

Thanks for the timely reply Joe, I'm not sure if that was the problem, I updated my VS 2008 to VS 2008 SP1 and everything is back to normal. I'll look into it with more detail and let you know what happened if I ever figure it out myself. Many thanks
You must sign in to post in the forums. This thread is closed to new posts.