Could Not Read Sitecore Configuration Error
Virtual Directory in Sitecore IIS I am creating a Virtual could not read sitecore configuration console application Folder/ Application in IIS of Sitecore website. When I sitecore could resolve language am trying to browse that particular file under this newly created application, like http://demo/test/demozip.zip, application is throwing below error Could please help me in this? Server Error in '/test' Application. Could not read Sitecore configuration. 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.InvalidOperationException: Could not read Sitecore configuration Sai Charan Medavarapu 7 Oct 2015 1:39 PM Cancel 2 Replies Steven Zhao 9 Oct 2015 4:26 PM You may have created an application within an application. Virtual folders do not have that icon and will work. If you simply need a place to store files outside of the web files, then a virtual folder is what you want. Cancel Patricio Torres Gil 15 Dec 2015 4:33 PM For versions 5.3 and 6.x I found a work around: sdn.sitecore.net/.../Project%20in%20Virtual%20Directory.aspx, but not for newer versions. Saicharan did you find the solution to this issue? and what version are you using? Cancel Connect With Sitecore On: Facebook / LinkedIn / Twitter / Youtube Get Our Newsletter: Subscribe here Feedback Privacy policy Legal notice DMCA Notice Copyright © 1999-2015 Sitecore Powered by Telligent Community
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Could not read Sitecore configuration up vote 0 down vote favorite I started working and installing Sitecore ......Created new https://community.sitecore.net/developers/f/8/t/1730 Site ...Publish it on IIS ...and want to map it in Sitecore explorer on opening the Site in Sitecore Explorer .it gives following error System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Sitecore.Rocks.Server.Pipelines.WriteItemHeader.SerializationStatus' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Sitecore.Caching.Cache' threw an exception. ---> System.InvalidOperationException: Could not read Sitecore configuration. I have read http://stackoverflow.com/questions/25758399/could-not-read-sitecore-configuration similar post . It was suggest to remove readonly permission from the site which is in IIS . .I did that ...still same Problem I checked the map path ..it is corrected as path in IIS Please Suggest iis content-management-system sitecore share|improve this question edited Sep 10 '14 at 7:42 Ruud van Falier 6,76121747 asked Sep 10 '14 at 6:07 user3767164 211313 2 Does the site work using the browser? –jammykam Sep 10 '14 at 7:23 Does your IIS User have permissions over the webroot ? –nsgocev Sep 10 '14 at 8:53 Have you got any custom include files? If so, remove all of them. If that fixes it, add them back in one by one until it breaks to find the culprit –Christian Hagelid Sep 10 '14 at 12:01 try to add permission read & write to this user IUSER, –Ahmed THADI Sep 11 '14 at 18:09 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote try to add permission read, execute and Modify to IUSR and IIS_IUSRS share|improve this answer answered Sep 11 '14 at 19:09 Ahmed THADI 1614 this did not solve the problem –Blue Clouds Mar 27 at 6:23 add a comment| Your Answer draft saved draft disca
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and http://stackoverflow.com/questions/19419373/could-not-read-sitecore-configuration-in-console-application policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users http://intothecore.cassidy.dk/2009/04/migrating-data-into-sitecore.html Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes could not a minute: Sign up Could not read Sitecore configuration in console application up vote 1 down vote favorite I am creating web api as follows: public class ProductsController : ApiController { //Get Products Prices public string GetProductPrices(string ProductName) { //some method definition } } I have defined webapiconfig as follows. config.Routes.MapHttpRoute( name: "Default", routeTemplate: "api/{controller}/{action}/{id}", defaults: new { controller = "Products", could not read action = "ProductVariations", id = RouteParameter.Optional }); When I try calling web api from url, it returns me error 400. I am calling the above method as follows: 1) http://site.com/api/Products/apple-ipod-touch/GetProductPrices 2) http://site.com/api/Products/GetProductPrices/apple-ipod-touch Please correct my mistakes. asp.net-web-api web-api share|improve this question edited Oct 17 '13 at 6:26 Johnny_D 3,15812051 asked Oct 17 '13 at 6:06 user2882431 30114 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote Read this article for the beginning. Either you have to create a route with ProductName, or you have to create a cotroller name with Id parameter input. You can't map ProductName route to Id input parameter. PS: First way of requesting api is invalid. You have a route, where controller name has second position in url, it definetely can't be on third, it won't match to a predefined route. If you modify the route: config.Routes.MapHttpRoute( name: "Default", routeTemplate: "api/{controller}/{action}/{ProductName}", defaults: new { controller = "Products", action = "ProductVariations", ProductName = RouteParameter.Optional }); But better use id in your webapi url, this case url will be neater. share|improve this answer edited Oc
into Sitecore?" Or similar type questions, to more or less the same effect. Also commonly asked on the same occasion is; "Does Sitecore provide a tool for this?" Just to make sure we're all on the same page here; I'm referring to the act of importing structured data (i.e. the clients existing website, sitting in any structured repository - CMS or otherwise - and getting that migrated into Sitecore for use in the Next Generation CMS system being developed by you). This process is also known as Data Migration, and WikiPedia defines it as follows: "Data migration is the process of transferring data between storage types, formats, or computer systems. Data migration is usually performed programmatically to achieve an automated migration, freeing up human resources from tedious tasks. It is required when organizations or individuals change computer systems or upgrade to new systems, or when systems merge (such as when the organizations that use them undergo a merger/takeover)." It further states: "To achieve an effective data migration procedure, data on the old system is mapped to the new system providing a design for data extraction and data loading. The design relates old data formats to the new system's formats and requirements. Programmatic data migration may involve many phases but it minimally includes data extraction where data is read from the old system and data loading where data is written to the new system." And lastly: "Changing application vendor - for instance a new CRM or ERP platform will inevitably involve substantial transformation as almost every application or suite operates on its own specific data model." If we boil all of this information down, we get something like "Data Migration is usually performed programmatically. To do it, a design for extracting data and loading data needs to be developed