ASP.NET CMS: Administration Template

For many creating advanced ASP.NET website or application administration templates is difficult; we are software developers not designers. This sample and tutorial shows you how to leverage freely available pre-designed templates and how to use them

 
 
 
 
 
(19)
7,616 times
Add To Favorites
8/9/2012
E-mail Twitter del.icio.us Digg Facebook
Sign in to Ask a Question


  • proble with targetFramework
    2 Posts | Last Post December 14, 2012
    • Hi Dave,
      
      I've still problems: 
      
      targetFramework="4.0">'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework.
      
      Source Error: 
      
      
      Line 10:   </appSettings>
      Line 11:   <system.web>
      Line 12:     <compilation debug="true" targetFramework="4.5" />
      Line 13:     <httpRuntime requestValidationMode="4.5" targetFramework="4.5" encoderType="System.Web.Security.AntiXss.AntiXssEncoder, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      Line 14:     <pages controlRenderingCompatibilityVersion="4.5">
       
      Are you willing to help me by the email (sunnybirat@hotmail.com)?
    • Its best to do it here so others can be helped at the same time:
      
      I have found this utility recently which should solve your problems, if it does not come back here and I will re-create the solution using VS2010 and any .Net framework you want to use.
      
      The utility is free from the codeproject and you can get it here:
      
      http://www.codeproject.com/Articles/70569/Microsoft-Visual-Studio-Solution-File-Version-Chan
  • vs 2010
    3 Posts | Last Post August 08, 2012
    • Hi Dave,
      
      OK.
      I did steps:
      1. I did unpack zip archive into "AdminTemplate" folder
      2. after convert wizard I did not allow IIS download (I do not want IIS, I'm learning with VS2010 local web server, I'm not a complete newbie with asp.net, I wrote cca 4 web (+MS SQL) projects with 3.5 version)
      3. I did unload WebApplication1.Converted project (I do not like VB)
      4. I edited WebApplication1.csproj
      a) I changed at line 17:
         <UseIISExpress>true</UseIISExpress>
         to
         <UseIISExpress>false</UseIISExpress>
      b) I changed at line 350:
         <UseIIS>True</UseIIS>
         to
         <UseIIS>False</UseIIS>
      c) Is content in file WebApplication1.csproj case sensiteve?
      d) VS2010 allow mi reload project WebApplication1
      5) I did rebuild solution, F5
      6) server error Line 12 at Web.config:
         <compilation debug="true" targetFramework="4.5" />
      7) I changed references from 4.5 to 4.0, rebuild, save F5
      8) server error: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
      Line 13:     
      
      <httpRuntime requestValidationMode="4.0" targetFramework="4.0" encoderType="System.Web.Security.AntiXss.AntiXssEncoder, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      
      Hmm, I do not understand, it is not recognised "targetFramework"?
      I'm finished........
    • In the next day or two I will totally re-write it so that it works for you. I will email you on the email below when it is done.
      
      Dave 
    • Hi Dave,
      
      did you full conversion to VS2010 yet?
  • vs 2010
    4 Posts | Last Post August 03, 2012
    • Hi Dave,
      
      I do not know, what's I'm doing bad. I downloaded your source (2012-08-01) today. 
      I'm cannot run your project in VS 2010 -> This project is incompatible with the current version of Visual Studio.
    • Hi Stika,
      Sorry about the problems you are having - but that you for telling me about them so I can fix the issues.
      
      For some reason, the .Net version of the solution got changed to .Net 4.5, which Visual Studio 2010 does not like. I have changed it back to .Net 4.0 and it should load into Visual Studio 2010 again now.
    • Its ok we should do it here for other people to learn from.
      
      Ah, as you remember I changed the setting to .Net 4. It appears the config has not done its job and left some references to 4.5. 
      Change all the references of "4.5" to "4.0"
    • Remove the attribute targetFramework and value = maybe it is not needed. Not sure though.
  • vs 2010
    1 Posts | Last Post August 03, 2012
    • Hi Dave,
      
      I've still problems: 
      
      targetFramework="4.0">'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework.
      
      Source Error: 
      
      
      Line 10:   </appSettings>
      Line 11:   <system.web>
      Line 12:     <compilation debug="true" targetFramework="4.5" />
      Line 13:     <httpRuntime requestValidationMode="4.5" targetFramework="4.5" encoderType="System.Web.Security.AntiXss.AntiXssEncoder, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      Line 14:     <pages controlRenderingCompatibilityVersion="4.5">
       
      Are you willing to help me by the email ([email protected])?
  • VS 2010
    2 Posts | Last Post August 01, 2012
    • Hi,
      
      I'm newbie, how can I import (or run) solution into Visual Studio 2010?
      Can you help me?
    • Hi Stika,
      
      I have re-packaged the solution for Visual Studio 2010, you will be able to use it now in VS2010. I have also added a VB.NET version as well as the original C# Version.
      
      Hope all this helps.
      
      Dave