How To Config KIGG To Run Properly
Feb 17, 2010
I'm very new for ASP.NET MVC. I found that this is very cool thing and KIGG is good to start creating real MVC web application.
I've followed KIGG development guide part 1 and run application.
However, only listing directory shows on web browser as below
Directory Listing -- /
Friday, February 05, 2010 12:44 PM <dir> ActionResult
Friday, February 05, 2010 12:44 PM <dir> App_Data
Friday, February 05, 2010 12:44 PM <dir> Assets
Friday, February 05, 2010 01:08 PM <dir> bin
Friday, February 05, 2010 12:44 PM <dir> BootstrapperTasks
Friday, February 05, 2010 12:44 PM <dir> Controllers
Friday, February 05, 2010 12:44 PM <dir> Controls
Friday, February 05, 2010 12:44 PM <dir> DataServices
Friday, February 05, 2010 12:44 PM <dir> ErrorPages
Friday, February 05, 2010 12:44 PM <dir> Extension
Friday, February 05, 2010 12:44 PM <dir> Filters
Friday, February 05, 2010 12:44 PM <dir> Handlers
Friday, February 05, 2010 12:44 PM <dir> Helpers
Monday, February 15, 2010 08:33 AM <dir> Logs
Friday, February 05, 2010 12:44 PM <dir> MailTemplates
Friday, February 05, 2010 12:44 PM <dir> Modules
Friday, February 05, 2010 12:45 PM <dir> obj
Friday, February 05, 2010 12:44 PM <dir> Properties
Friday, February 05, 2010 12:44 PM <dir> ViewData
Friday, February 05, 2010 12:44 PM <dir> Views
Sunday, August 16, 2009 12:53 PM 103 Global.asax
Sunday, August 16, 2009 12:53 PM 601 Global.asax.cs
Sunday, August 16, 2009 12:53 PM 27,779 Kigg.Web.csproj
Friday, February 05, 2010 01:35 PM 1,532 Kigg.Web.csproj.user
Sunday, August 16, 2009 12:53 PM 170 robots.txt
Monday, February 15, 2010 08:54 AM 100,524 Web.config
Version Information: ASP.NET Development Server 9.0.0.0
View 1 Replies
Similar Messages:
Apr 22, 2010
I want to work on VS 2005 with 2.0 framework, Can I get the starter kit of Kigg for the same version?
View 1 Replies
Jul 26, 2010
i have the following property which takes an IP address as its value and defined in my custom config section as follows and To validate the IP address i am using a Reg expression.
[ConfigurationProperty("SMTPServer", IsRequired = true, DefaultValue = "0.0.0.0")
View 1 Replies
Jan 19, 2011
I just installed VS2010 and opened the root machine.config and web.config files for review and I found some errors. In machine.config, the following line has errors in both entries for <Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior>. When I hover the cursor over them I get a tooltip text which displays: "The element 'endpointBehaviors' has invalid child element 'Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior'. List of possible elements expected: '...(list of options here)...'. The same problem happens for the second appereance in tag <serviceBehaviors>.
[Code]....
In web.config, there is a tag called <protocols> that has an error with a tooltip text that says "The element 'system.web' has invalid child element 'protocols'. List of possible elements expected: '...(list of options here)...'.
View 2 Replies
Feb 16, 2011
Currently, I work on an ASP.NET project which is hosted under version control and is used on several developer machines, tester machine and production environment.
In three cases, configuration (Web.config) may be different. For example, developer and tester environments use testing SQL Server, whereas in production environment, another SQL Server is accessed, so the connection string is different in those cases.
We want to keep three versions of Web.config in subversion. But modifying each of three files every time we need to add, remove or change a common setting is annoying: it would be nice to have a common, master Web.config, which will be inherited by each of the three Web.config files.
How to set up an ASP.NET project which will use a master configuration file and different slave configuration files on different machines, thus sharing the same project/source code/configuration files in subversion?
View 2 Replies
Mar 15, 2011
When I open my ASP.NET site in IIS and try to open the .NET Trust Levels, I get an error message:
.NET Trust Levels There was an error while performing this operation.
Details:
Filename: ?C:inetpubwwwrootmyappweb.config
Line number: 445
Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"),or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
I've checked a few places, but I haven't found anything that seems like it would be locking that setting. Is there a systematic way of determining where that setting is locked?
I'm using IIS 7.5 and .NET 3.5 sp1.
View 1 Replies
Sep 1, 2010
We are experiencing some strange behaviour on one of our ASP.NET web servers (Windows 2003 64-bit). After some activity, two third-party controls are unable to run correctly. One is log4net (it does not write error messages out) and the other is a menu control (it displays eval message instead of picking up its license). The one common thread is that both controls pick up their config from external config files (linked to from web.config).
Just wondering if anyone has any thoughts on this or experienced this in any way. Is it related to file/folder rights? The server has been running fine for a while and just started exhibiting this behaviour. Perhaps it occurs around the time the worker processes are recycled.
View 1 Replies
Apr 13, 2010
How can I "clear" the vendor defined <controls> in my child app's web.config?
Parent Web Config.
[code]....
I have it working for the <tagMapping> section, but <controls> does not support <clear/>.
View 2 Replies
Jun 23, 2010
I am running into a problem with a web.config in a child project that has the same connection string setting as a parent. We have this in several of our web apps but there is one case where we want a child not to use the parent web.config. Is there a setting or command in the child web.config to ignore the parent web.config?
View 4 Replies
May 3, 2010
I have deploy my web site, it contains a project!
in MyWeb there are all the aspx page and some entites datamodel, in MyApp there are the class with function like "getter data from DB" and there is a entity data model.
afeter the deploy, I have only the web.config and the connection string for the entity datamodel....itīs run ok, read/write the data on the DB.
The problem is with MyApp.....after the deploy it is a dll file and I donīt have the app.config and the entity inside it donīt run, not read/write nothing on the DB.
There arenīt error or messager but not read/write the data in the MyApp project.
all run on the iis 7
now...the question is:
I lose the connection string (in app.config) after the deploy?
Can I put a entity in the MyWeb and read it in another project (myApp)?
ps: for connect to DB I use not the c# code:
var db=from x in AccessDB.Example select x;
View 1 Replies
Aug 9, 2010
I made a change in my machine.config for a 1.1 application and then later I upgraded the application to .Net Framework 3.0/3.5. Will that configuration change still apply or do I have to make that change in my local web.config for the 2.0 machine.config/web.config?
View 1 Replies
Jul 8, 2010
I have many Connection strings in my web.config file. I also have a "dataConfiguration" setting in the same file which specifies what database my app connects to.
How do I read the "defaultDatabase" setting / section from the, see below xml file.
<configuration>
<configSections> [code]....
View 2 Replies
Feb 27, 2010
How do I engineer failover logic properly if an Assembly (.dll) cannot find a web.config file?
Background: I've got our website code nicely modularized into two different .dlls. For simplicity's sake, let's call them:
website.dll
commonengine.dll
The website code and .aspx / .ascx files calls upon the commonengine library for all data layer stuff. For connection strings, the commonengine in turn looks not to the app.config but to the website's web.config file (that's my own preference -- I prefer to have our production constants all in one place). The website code occasionally (very rarely) needs to access stuff in that web.config file. All good so far (even though not entirely pure).
Here's the trouble. I've written a third module. It's a Windows Service (specifically, it's a POP3 checker/processor -- processing mailbox requests and using the commonengine.dll for some data layer stuff). The problem is the Windows Service calls upon the commonengine.dll, and the commonengine.dll cannot find web.config anywhere because, after all, it's a Windows service (.exe) and doesn't live in a website directory.
What's the proper test/logic here to use app.config when a web.config file cannot be found?
View 2 Replies
Jan 5, 2011
I am developing web applicaiton. I want to read web.config in App.config file. I have appSettings and connectionStrings in web.config. How to read that?
View 10 Replies
Dec 17, 2010
Is it possible to have separate config files for specific sections of the web.config? Specifically I'd like to move IIS 7's rewrite section out of the web.config and into it's own config file.
View 3 Replies
Jan 13, 2011
Using C#, is there are way to differentiate between ConnectionStrings in the machine.config and the web.config? I would like to iterate over the collection in the web.config but not those from the machine.config. ASP.NET 3.5, C#
View 4 Replies
Jan 15, 2010
While using a third party dll I was getting the following exception - "exePath must be specified when not running inside a stand alone exe" with following trace
System.Configuration.ConfigurationManager.OpenExeConfigurationImpl(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath).
The reason I found was that it was looking for app.config and I had provided the details in web.config. My question is why does the system.configuration differentiate between web.config and app.config.
View 2 Replies
May 7, 2010
I just upgraded to VS 2010 and MVC 2.0 and I noticed the web.config has two additional files attached to it? Are these files used to specify debug and release specific settings, so you don't clutter up the main web.config?
Does it even make sense to place a connection string in the root web.config file if I have have a local and remote one in the debug and release web.configs respectively.
View 1 Replies
Aug 10, 2010
I upgrade my application from .NET 2.0 to .NET 4.0. Everything went smooth, with very few errors. Now the code is compiling fine, but run time environment is loading the configuration parameters from app.config instead of web.config;Here is my setup:Objects project: has app.configUI project: has web.config, When I run this site, it is fetching the configuration parameters from app.config. Any idea if I need to make any changes to read it from web.config instead of app.config? It used to work fine in my previous environment.
View 8 Replies
Feb 16, 2010
It is known that we use web.config file to override the setting of machine.config file.
a) how come machine.config file knows that only changes made in web.config file are to be overwritten. I mean to say, if I use some other name for the config file say xyz.config, will it be able to work?
b) How does machine.config file know about web.config? Is there any link mentioned inside the machine.config file for that?
View 1 Replies
Aug 25, 2010
if it is cached, what happens if I use multiple web.config in multi-level folders
View 2 Replies
Mar 11, 2010
I had a situation on a dev server where all the ASP.Net applications we have started to fail at the same time.After some investigation we found that calls the app settings, in 1.1 apps, and the connection strings collection in 2.0 apps all failed. The config files had the values, but the code was returning null.After some head scratching and searching I thought that perhaps the root web.config was being used and the sites one ignored. To test out this theory I added the app settings required for one of the sites to the root web.config. This allowed the site to work.
View 1 Replies
Apr 4, 2011
From my .csproj file:
<Content Include="log4net.config">
<SubType>Designer</SubType>
</Content>
[code]...
View 1 Replies
Mar 25, 2010
aspnet_regiis.exe -pdf "connectionStrings" c:web.config And this is the error I got. Error - "The configuration for physical path 'C:Web.Config' cannot be opened. And the permissions of that file is not read only.
View 2 Replies
Jan 6, 2010
how to add and connect iis5.1 and how to add web config..
View 2 Replies