The configsource file config




















Search related threads. Remove From My Forums. Answered by:. Archived Forums. Configuation and Scripting for IIS 7 and above. Webserver or system. ApplicationHost 0 0. Sign in to vote. User posted I just tried to use configSource with the latest build that I have but it doesn't work. If configSource isn't supported anymore, what replaces it? Thanks, Scott. Search related threads. Remove From My Forums. Answered by:. Archived Forums. Also discuss all the other Microsoft libraries that are built on or extend the.

Sign in to vote. Hi, I get the following error when I try to specify the configSource attribute for my configuration section: "The configSource attribute must be a relative physical path. That the path must be relative to either the configuration file or the application exe? But if I define it as ". The problem is that our customer wants part of the configuration on the server, so that they only have to change it in one place. I thought that I could solve it like this, but it seams that it isn't that easy?

Regards, Lani. Thursday, November 24, PM. Unfortunately what you're trying to do is not supported by the Whidbey configuration system.

Once you have hg-git, you can use commands roughly like Abderrahim Kitouni posted above. This method has been refined and tweaked since though, and there is a friendly wrapper: git-hg-again. This uses the toplevel directory as a working directory for both Mercurial and Git at the same time. It creates a Mercurial bookmark that it keeps in synch with the tip of the default unnamed branch in the Mercurial repository, and it updates a local Git branch from that bookmark.

This additionally makes use of the git-remote-helpers protocols hence its name. It uses the toplevel directory only for a Git working directory; it keeps its Mercurial repository bare. It also maintains a second bare Git repository to make synching between Git and Mercurial safer and more idiomatically gitlike.

The git-hg script formerly maintained here uses a different method, based on hg-fast-export from the fast-export project. Like method 2, this also keeps a bare Mercurial repository and an additional bare Git repository.

For pulling, this tool ignores Mercurial bookmarks and instead imports every named Mercurial branch into a Git branch, and the default unnamed Mercurial branch into master. As I explain in a review of these tools , though, the way this tool tries to implement push support doesn't seem to be workable. There's also another project called git-remote-hg.

Unlike the version listed above, this one doesn't rely on hg-git, but instead directly accesses the Mercurial Python API. Improve this question. Scott Weldon 8, 6 6 gold badges 47 47 silver badges 62 62 bronze badges. What is not working? What are the symptoms? What you posted works for me. Are the. It works when the connectionString is defined in the App. Make sure both files are saved and in the same directory or that the relative path is correct in configSource. They're sitting next to each other in the same directory.

It's bizarre. AppConfig' threw an exception. Add a comment. Active Oldest Votes. Improve this answer.



0コメント

  • 1000 / 1000