I've been having problems with the windows and toolbar layout not being remembered between sessions and, having followed all the advice and suggestions posted here and elsewhere, I decided that the simplest thing to do would be to create the layout I wanted and export it and then just import it again at the start of each session.
So, I ...
I had this same problem last week, which resolved itself after I enabled impersonation. Now, I've moved this box to a different location and am now receiving it again. However, this time it is much less descriptive. The only error I'm receiving is:
An error occurred loading a configuration file: Failed to start monitoring changes to '\\...
How can I parse a configuration value with PHP which is a number and a total of other numbers.
One example of this is:
1 -> Logging Enabled
2 -> Error Reporting Enabled
4 -> E-Mail Reporting Enabled
3 -> Logging + Error Enabled
5 -> Logging + E-Mail Enabled
...
I have connection string declared in [app|web].config and assemblies (for example DAL and Reporting) that relies on this connection string. What is the best thing for you to configure such assemblies:
Use hard-coded connection string name in [app|web].config connectionStrings section to let assembly retrieve it's configuration by hard...
Is it possible to make several projects use the same configuration settings in Visual Studio 2005 (I'm talking about the settings you can alter when you right click a project in solution explorer and select properties - the settings under C/C++ and Linker)? Either by copying and pasting the whole lot of settings between one project and a...
hi,
I have a doubt in my web application can i place two nework tags in smtp mailSetting tag.
I PLACED in SMTP two network tags , BUT WHEN I AM SENDING MAIL I AM GETTING THIS ERROR. The element may only appear once in this section. (C:\Inetpub\vhosts\XXX.com\httpdocs\web.config line 64)
THIS IS MY WEB CONFIG CODE ......
<system.net>
<...
I'm investigating using Mercurial in a corporate environment. The plan is to use central repositories hosted by a webserver (IIS) which developers will push to once they've tested changes locally or within their teams.
I have IIS configured to authenticate users against Active Directory, but there seems to be a hole in that while I can...
I newbie in EF.
I have Table A linked together to table B, by passing a primary ID from table A which is a secondary ID on table B Iam trying to retrieve an object from table B.
But I am getting trackableCollection'1[Object name(from table B)]
Any suggestions?
I am trying to retrieve using stored proc
here is the code:
select * from t...
I am using NLog and I want to log to RichTextBox and File at the same time. And I want to configure the Logger programmatically, not with xml config file.
The following code only logs to the last target (File in this case). Can anybody help?
RichTextBoxTarget t1 = new RichTextBoxTarget();
t1.Layout = "${date} ${message}";
t1.ControlNam...
I already searched StackOverflow for "properties inside war", but none of the results worked for my case.
I am using Eclipse Galileo and GlassFish v3 to develop a set of web services. I am using a "dynamic web project" with the following structure
Src
-java_code_pkg_1
-java_code_pkg_2
-com.company.config
--configfile.properties WebCon...
This isn't a question about why XML is used for configuration files. My question is why, when XML is used for configuration files, there's no accompanying schema.
log4net is a good case-in-point. You can configure it programmatically, but it's preferred that you use XML. Fine, but then why does it have to be so hard?
In Visual Studi...
I would like to get all the files checked-in a private branch and only the those files checked in.
What config spec would you recommend?
Let's say prvt is the private branch:
element * .../prvt/LATEST
Would that work?
...
Hi everybody,
I'm just getting into Seam/JSF development and looking for a way to lookup the XHTML template files from a different location.
When configuring the JSF application like this:
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>
<servlet-mapping...
Hi there, I need to figure out the best way to call a statc method that I know only at runtime at runtime.
Every customer that use my software has a special method that return suctom string. I am thinking to put the method name in the config file and then call it at runtime.
Is it a good way?
...
I use the new VS 2010 configuration transformations to deploy websites. To replace a single setting of my ApplicationSettings I use the following configuration transformation:
<setting name="TempPath" serializeAs="String" xdt:Transform="Replace" xdt:Locator="Match(name)">
<value>C:\TEMP</value>
</setting>
Remark: There is no white...
It is really painfull to get all code form TFS whenever you make a build using NANT.
Is there any settings in ccnet.config which will only take the files which are changed form last time which can speed up the process.
...
Is there a way to make a configuration section that would allow a freeform XML body? How would I get that freeform body in code?
For example I'd like to create a ModuleConfigurationSection like this:
<modules>
<module name="ModuleA" type="My.Namespace.ModuleA, My.Assembly">
<moduleConfig>
<serviceAddress>http://...
Is there a way to change the configuration store location for the OSGi Configuration Admin service? I'd like to have the properties files exist in another bundle so they'd exist in source control & in the deployment rather than the OSGi store.
...
I have a set of GUI automation tests that take a rather long time to run. I've been looking into a multi-configuration Hudson project to run subsections of the tests in parallel.
I'd like to set up a filter that only runs one subset on each slave node, rather than each subset on each slave node. Is there any way to include the slave nod...
I typically want to ignore white space changes when diff'ing with mercurial. If I set this as a default by putting ignorews = true in my .hgrc's [diff] section then there doesn't seem to be a way to force the display of white space changes for a single invocation on the command line. What am I missing?
FWIW: None of the relevant command...