|
Has anyone seen this error on an XP desktop machine before?
'net' is not recognized as an internal or external command, operable program or batch file.
It's being used in a 'net start iisadmin' script
Started by J G on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Try using the full path and name to....
E.g.:
C:\WINDOWS\system32\net.exe start iisadmin
Yep, seen it more than once.
Try looking for a file called net.exe in C:\WINDOWS\system32\
If it is there then try using an explicit path to the file in your script .
|
|
What are the best practices to configure a mail server to have your mail recognized as legitimate non spam messages? Is it to use Domain Keys, Sender ID, Sender Policy Framework, some or all 3 of these together?
Started by Chris Marisic on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
:)
There are a few similar mail related questions on SF already, however I'll answer this one as best I can .
Also don't send spam through it.
I've found that disabling open SMTP relay, and having valid reverse DNS entries, is a good starting point .
|
|
Hi guys....
objfile.dateFileDate=convert.ToDatetime(Format(txtdate.text,"MM/dd/yyyy hh:mm"))
following error is coming
The string was not recognized as a valid datetime .There is an unknown word starting at 0.
What should i do to save this datetime, please...
Answer Snippets (Read the full thread at stackoverflow):
Try
C#
objfile.dateFileDate=DateTime.ParseExact(txtdate.text, "MM/dd/yyyy hh:mm", null);
VB.NET
objfile.dateFileDate=DateTime.ParseExact(txtdate.text, "MM/dd/yyyy hh:mm", Nothing)
This is assuming dateFileDate... .
You can't format normal text using datetime formats.
|
Ask your Facebook Friends
|
For some reason when I create a new namespace in Visual Studio 2008 its not being recognized. I'm using asp.net mvc, I don't know if that has anything to do with it.
Has anyone come across this before?...and how do you fix it? Also is there a way to force...
Started by Donny V. on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You....
Questions: Is the namespace and class thats not being picked up in the same project or is it referenced?
Is this a vb or a c# project? - I cant remember which way round (think its c#) but one of them defaults the root namespace to the project name .
|
|
At work, I use Cygwin a lot because it offers me a small oasis in the vast desert of Windows. I inevitably end up running some non-Cygwin programs through the bash shell, such as build scripts (batch files created in-house) and the Subversion CLI binaries...
Started by rmeador on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
This behavior is common....
It is just a limitation on windows console apps.
See "Console Programs" at http://www.cygwin.com/cygwin-ug-net/using-effectively.html.
Unfortunately, I think you are hitting one of the issues of Cygwin and windows/dos console apps .
|
|
I created a web project with maven like this:
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp
Then I run mvn eclipse:eclipse so that an eclipse project is built. Eclipse recognizes all...
Started by flybywire on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Just install a development version of m2....
After you do that, THEN try the "mvn eclipse:eclipse".
You need to edit your POM first, then call "mvn clean package" .
Did you jump from the create command to the eclipse:eclipse command?
Check out this link .
|
|
I use m2eclipse to import Maven Java projects in Eclipse.
It fails to recognize src/main/webapp as a source directory.
Graphically in the package explorer (or when I look into Java-Build-Path in the project's properties),
this directory isn't in the list...
Started by KLE on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Well you just have to mark the src/main/webapp as an Eclipse src folder:
right click webapp folder --> build path --> use as source folder
Don't think you can easily change this behavior without any ugly hacks, the src marking is just something ... .
|
|
I'm using spring 2.5, and am using annotations to configure my controllers. My controller works fine if I do not implement any additional interfaces, but the spring container doesn't recognize the controller/request mapping when I add interface implementations...
Started by layne on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Have you tried to implement the above using inheritance and SimpleFormController with all other details configured in your application context?... .
I think you'll find that the problem is to do with inheritance and using annotations, they do not mix well .
|
|
I am trying to convert my string formated value to date type with format dd/MM/yyyy .
this.Text="22/11/2009"; DateTime date = DateTime.Parse(this.Text);
What is the problem ? It has a second override which asks for IFormatProvider . What is this ? DO ...
Started by Shantanu Gupta on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
For example:
DateTime date = ....
This.Text="22/11/2009"; DateTime date = DateTime.ParseExact(this.Text, "dd/MM/yyyy", null);
You need to call ParseExact , which parses a date that exactly matches a format that you supply .
Try using DateTime.ParseExact.
|