Use our Google Custom Search for best site search results.
Search
-
There are two things I can think of which you could try:
1. If your SQL Server is using Windows Integrated authentication, you could switch it to SQL Server authentication (and specify login information in the data connection - not a good security practice, by the way), and see if that helps. Or vice versa.
2. Giving a form full trust tends to ...
-
JScript is case-sensitive. Try
var ChkComplete = XDocument.DOM.selectSingleNode(''my:myFields/my:ProjectComplete'');
See the lowercase s in selectSingleNode?
-
The code line
XDocument.DOM.SelectSingleNode(''my:myField/my:field1'').text = System.Environment.Username;
is mixing 2 programming languages together with each other. System.Environment.Username is .NET code, not JScript, so unfortunately it will not work.