|
The only other thing I can think of is outbound firewall rules on the client machine. An exception may exist for one project and not the other. This would cause the error you're seeing on the project that doesn't work.
|
|
|
|
|
I have resolved the problem..
The Build Output path (In project properties) was set to a network share, once i changed it to a local directory the problem was resolved. The network share is a trusted location, so i'm not sure why this was failing.
Thanks for your help guys.
|
|
|
|
|
Thank you for posting the solution. Too many forget to do that when they solve their problems.
Have my 5.
while (true) {
continue;
}
|
|
|
|
|
I can read short texts in different languages, the voice that somehow the computer? How traced a path for such a project?
For example, a computer selected from English, German or Russian will start to be performed after pressing the text button.
|
|
|
|
|
Uhhh... What?
I can appreciate that English isn't your first langauge but that didn't make any sense at all. You might want to try having someone with better English skills or have an attempt at Google Translate.
|
|
|
|
|
I've several Silverlight applications.
I enjoy the async programming model and ease of deployment.
All of the applications are OOB (Out of Browser).
All are in Visual Studio 2010.
What should I be doing at this point to move out of Silverlight?
Is it possible to upgrade to Visual Studio 20XX, convert the applications to XXXX and distribute via the web?
I probably should get on this....
|
|
|
|
|
You problem is that Silverlight (and other similar things like Flash) loosing support (Flash i about to be 'killed'!), so you have to look for something, but actually no real substitution...or at least not an easy one or even half-automatic...
The only current substitution is HTML5 - and there is a lot of problem with it still...
There is not know 'best-practice' to do such a transition (for sure there is no simple update/convert), but there are companies/solutions that claim to solve the problem...
You should search for 'convert silverlight to html5' and start reading...
One of the best I saw is this: http://wijmo.com/a-smooth-transition-to-html5-using-mvvm/[^]
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I have an XML document that needs to pass through 4 users hands, each using the public key to encrypt and send it to the next person. The public keys and private keys are stored in the XML file, with each user's private key being protected by SYMMETRIC encryption to which they know the password.
The .NET EncryptedXML class does not seem to handle this case, specifically the .encrypt and .decrypt methods of this class do not allow me to pass in an ASYMMETRIC key.
Am I left to encrypt the necessary XML elements using the "regular" encryption classes, or is there a way that I'm not seeing?
TIA, Randy
|
|
|
|
|
how to add pdf file dynamically and download it through ancher tag in asp.net
|
|
|
|
|
|
I want to pass multiple parameters ( ID and Name ) to the autocomplete script. It works if i put only one parameter but not working with two parameters.
This is not working
<script type="text/javascript">function BindEvents() {
$(document).ready(function () {
$("#<%=txtID.ClientID%>")+$("#<%=txtName.ClientID%>").autocomplete('../../Common_Search/Employee.ashx');
});
}
</script> This is working
<script type="text/javascript">
function BindEvents() {
$(document).ready(function () {
$("#<%=txtID.ClientID%>").autocomplete('../../Common_Search/Employee.ashx');
});
}
</script>
modified 1-Sep-15 16:06pm.
|
|
|
|
|
That's not creating multiple parameters, that's appending two strings, so the ID that you would be creating would end up looking something like this - __$$txtID__$$txtName (I know, those aren't the actual characters that would be put in, but this is for demonstration) - so, the ID that the JavaScript would be looking for wouldn't exist anywhere on the page (BTW - this question has nothing to do with the .NET framework, you would have been better off posting this in the ASP.NET forum instead).
|
|
|
|
|
Hello,
We are trying to create an EntityDataModel project for Postgresql Database. When trying to make a connection to the Postgresql Database via ADO.NET EntityData Model New Connection button, the Data Source does not list Postgresql Data Source. Request you to please guide us as to how to go ahead so that we can have an entity Data Model for Postgresql Database.
Regards
Vineet More
|
|
|
|
|
|
Hi.
I run a ASP.NET web site.This web site need authentication people with Microsoft ActiveDirectory.Threr are more than 500 thousand user ,10 thousand OrganizationUnit on the Domain Controller.
I wrote a function to validate people in a static class:
static public string ValidateCredentials(string userName, string password)
{
string result = null;
try
{
log4net.ILog log = log4net.LogManager.GetLogger("Login.Aspx");
DateTime time0 = DateTime.Now;
PrincipalContext principalContext = new PrincipalContext(ContextType.Domain, StsDomainName, StsAdRootOu + "," + StsDomainDn , ContextOptions.SimpleBind,StsAdUserName, StsAdUserPswd);
if (principalContext.ValidateCredentials(StsDomainShrotName +"\\" + userName, password,ContextOptions.SimpleBind))
result = "1";
else
result = "0";
log.Debug("Time cost:" + (DateTime.Now - time0).TotalMilliseconds + "DC:" + principalContext.ConnectedServer);
}
catch (Exception e)
{
result = e.Message;
}
return result;
During hign concurrency scence, more than 2000 user login the web site at the same time. I found it cost a long time to do the validation.
But if i dim the principalContext as a static member of the class,the time cost on validation will be cut down.But the CPU usage on the web site server will raise to 90%.
anyone can help me to improve my code
|
|
|
|
|
Please use the ASP.NET forum.
|
|
|
|
|
Object Reference not set to instance of an object at Program.main(string[] args)
|
|
|
|
|
That means you are doing something with an object that has not been created. If you post the code we can take a look, but without code we can only guess.
Once the exception is thrown, it will say on which line it went wrong. Try running from the debugger.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
class Program
{
static void Main(string[] args)
{
if (args.Length > 0)
{
string Param = args[0];
Add(param);
}
}
}
|
|
|
|
|
Looks good; the error must be occurring in the "Add" method.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
What parameters did you pass in your CMD window?
|
|
|
|
|
class Program
{
static void Main(string[] args)
{
if ((args != null) && (args.Length > 0))
{
string param = args[0];
Add(param);
}
}
}
while (true) {
continue;
}
|
|
|
|
|
|
|
That's just a link to the email confirmation page.
That isn't code...did you mean to post something totally different, or do you need to explain your problem as well as post a link? Because at the moment, this is not understandable in any way as a question we can answer.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|