.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

Default application min password lenght

Posted By:      Posted Date: October 25, 2010    Points: 0   Category :ASP.Net
 

Hi


Anyone know why the minimum password length is 6 chars?

I can't find any reference to this anywhere.




View Complete Post


More Related Resource Links

Password / Application Security.

  

I am using a function which requires a user name and password. I have written this username and password in my code behind file. How safe is it? If it is not safe, what are the risks and how to provide security to my code and application?


how do i create a windows form application login for to validate username and password from sql serv

  
 I would like to know how I can create a login form for my windows form application. The login form must be linked to a SQL server 2005 express edition database (in which the username and passwords are stored). The login form must validate the user using the database and allow them to access the program. 

Default Application "does not contain a static 'Main' method suitable for an entry point"

  
Hi, When I create a brand new WPF application project in Visual Studio 2010 and immediately try to run it, I get the error WpfApplication1.exe does not contain a static 'Main' method suitable for an entry point. App.xaml's build action is set to ApplicationDefinition. I think it's not generating App.g.cs. Does anyone know what's wrong?

Define "show icon and notifications" as default for an application (.NET VB)

  
Hello,   I am looking for a way that my application when "minimized to tray" has its icon with the property "“show icon and notifications". The default property in Windows 7 is "Only show notifications"   Thanks,   Kalos

Define "show icon and notifications" as default for an application (.NET VB)

  
Hello,   I am looking for a way that my application when "minimized to tray" has its icon with the property "“show icon and notifications". The default property in Windows 7 is "Only show notifications"   Thanks,   Kalos

Get Login in Application without Entering username and password in Digest Authntication.

  
Hello Frd'si am using Form authntication and Digest authntication mode. Foe getting Logon computer username i m using digest authntication mode. But when i browse website it's asking for username and password. while already windows login with the same username.I understood that in this auhtntication mode it's required. But r there any configuration with it i am not getting this Prompt ? Any group ploicy ??For IE i have added website into trusted zone but still it's asking for username and password.R there any other way i getting Computer logon name in asp.net application. There are But only work when i run from Editor from IIS it's not retuning value.If you give me some hint or articals link then i m very thnak ful to you.Thank you.

Default FontFamily for application

  

I want to create at style that will set the fontfamily for my entire application and allow me to change the font family in one place and have the new font show up throughout my application.  I created the following style but my controls like my labels still default to segoe.  How can I create a style that will set my all my controls to the same font family except where I override the style with a local style.

 <Style TargetType="{x:Type Control}">
   <Setter Property="FontFamily" Value="Constantia"/>
 </Style>


How to set the default culture Info for all thread of an application independant from the Windows UI

  

A classic 'european' topic?

I am working with Windows7Pro in German, and VS2010 in English. I whish I had all exception handling in english.
Thus, I set the explicly the current culture to english:
 var culture = new CultureInfo("en-us");
 Application.CurrentCulture = culture;
        Thread.CurrentThread.CurrentUICulture = culture;
        Thread.CurrentThread.CurrentCulture = culture;

But I do still have some exception in German, because 'by design', .NET Framework considers the Windows UI language as default culture when a new thread in created (e.g. by GUI controls), as I read here http://www.dotnetmonster.com/Uwe/Forum.aspx/winform/14177/setting-culture-of-threads

What is the motivation for such a design? It has always been a problem for us in Europe working with multi languages: it is quite difficult to ensure the software is working properly whereever it is rolled out.
Is there a way to define the default culture of all children threads?


The default web application could not be determined. Set the SiteUrl property in feature

  

I am getting this error when I deploy a BCS feature generated by BCSMetaMan:

The default web application could not be determined. Set the SiteUrl property in feature Feature_Feature1 to the URL of the desired site and retry activation.

Searching the Internet tells me I need to put in a property in my feature file that sets the default site. However, what if I need to be able to deploy this other sites. Is there a way to set the value so it will use whatever site is the solution is being deployed to?


Unable to pass default network credentials from a .NET / SharePoint application to Web Services

  

Require some help in passing the authentication of a logged-in user to a web services (which is a wsdl file added as web reference to the application) from an ASP.NET application/ SharePoint 2010 portal. When the application calls the web service, the default network credentials need to be passed to the web service to get authenticated to use the data repository. This web service is used for searching a data repository depending on the logged in user's credentials and search query.

We have made necessary changes required in the applications like.

Necessary changes in web.config (like authentication mode to Windows, impersonation is made true). Install client certificates to the trusted location.

Enable IE 8.0 to use Integrated Windows authentication (Internet Explorer -->Tools-->Internet Options -->Advanced--> Security --> Enable Integrated Windows Authentication.

Change Default Sort for Dynamic Data Web Application

  

Hi,

 

I just created a dynamic data web application and setup a simple .EDMX file. Next, I created meta-data / partial classes to ensure that my integer identifiers wouldn't show up:

 
// ...

[ScaffoldColumn(false)]

public object TableId { get; set; }

 // ...
 

I wanted to now set the up the list pages so they sort using a different attribute ("Name" in this case). Anyone know if this is possible / how to do it?

 

Thanks!

 

Kevin

 


Unable to pass default network credentials from a .NET / SharePoint application to Web Services

  

Require some help in passing the authentication of a logged-in user to a web services (which is a wsdl file added as web reference to the application) from an ASP.NET application/ SharePoint 2010 portal. When the application calls the web service, the default network credentials need to be passed to the web service to get authenticated to use the data repository. This web service is used for searching a data repository depending on the logged in user's credentials and search query.

We have made necessary changes required in the applications like.

Necessary changes in web.config (like authentication mode to Windows, impersonation is made true). Install client certificates to the trusted location.

Enable IE 8.0 to use Integrated Windows authentication (Internet Explorer -->Tools-->Internet Options -->Advanced--> Security --> Enable Integrated Windows Authentication.

Even the web services have methods to get the windows network credentials. While trying the following code, to pass current credentials, default credentials is empty.

myProxy.Credentials = System.Net.CredentialCache.DefaultCredentials (Here it is a null value)

Application is using Windows Authentication | NTLM.

The following code works, if the authenticat

Application Hangs with the default font "Segoe UI"

  
Hello All,

I got a problem after installing VS2010, i have already reinstalled VS2010 but the problem persist and now it occurs on VS2008 too.

In my application (WPF and .NET 3.5 SP1) when i open one of the application screens. The application hangs and stopped to work. I discovered that this is because of a GroupBox that have in text Header a Fontsize=16, if i let the fontsize default the problem dont occurs, i use default font "Segoe UI".

I did some testing and discovered that if I simply create a new application in WPF and .NET 3.5 and add a button on the screen and increase the font size of button to size of 14, 16 or 18, when I give F5 the application will hang. In design mode its works, but when i run the application its presents the problem.

The font dont have any problem because i can use it normally on "Notepad" or "Word" and when i create a new application in WPF and .NET 4 its works perfectly, it just give problems in .NET 3.5. Anyway i already reinstalled the Segoe UI font too.

If i change the font to Segoe UI Symbol or any other and change the size to 14, 16, 18 its works normally, just with the default font Segoe UI and font

web application asking server user name password

  

Dear friends,

                   I have been using a asp.net2005 application for one year. Every thing was working fine . Last night i just changed a picture in image folder. Now my application is working fine on server but when i am runing this application on client side , it is asking server's user name and password as soon as  newly added image is going to upload on client.


Plz help  ASAP.

Thanks is advance

vickyjha


use the default sql services in a console sequential workflow application

  

Hello all,

I have configured my console workflow application to use the default sql service. However, when I run it in VS2008, it generates a TypeLoadException:

"Can not load type "System.Workflow.Runtime.Hosting from assembly System.Workflow.Runtime, Version=3.0.0000.0, Culture=neutral, PublicKeyToken=xxx"

So, my concern is

  1. How to configure a workflow application to use the default sql service?
  2. Are there any requirements for SQL version? Is there any settings we need to configure in SQL server?

Some tips

  1. my current app.config file looks like this:
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
     <config

Update Active Directory attributes - Security Answer and Password - Console Application

  


Hi,

I need to update active directory properties(attributes) through console application like Title,mail,sn,passwordQuestion,passwordAnswer.

DirectoryEntry.Properties["passwordQuestion"].Value = "What is your Favorite Color?";
DirectoryEntry.Properties["passwordAnswer"].Value = "green";

after updating , i check the attributes in Active Directory. All its fine.

the "password answer" saved as plan text.

After logged into asp.net portal with user's credential, it is working fine. After logout, When i goto click forgot password link, it ask the email address after that display the security password question and need to be enter the security password answer.

when i enter the security password answer in the text box , after click submit, it throw the error.

Invalid length for a Base-64 char array. Exception Stack Trace: at System.Convert.FromBase64String(String s) at System.Web.Security.ActiveDirectoryMembershipProvider.Decrypt(String encryptedString) at System.Web.Security.ActiveDirectoryMembershipProvider.ResetPassword(String username, String passwordAnswer) at System.Web.Security.MembershipUser.ResetPassword(String passwordAnswer) at

 

But i update the passwordQuestion,passwordAnswer through web application(portal)

Web Site/ Web Application templates seem changed; give me default.aspx only with site.master in VWD

  

Using Visual Web Developer 2010 Express

I was used to creating a web app anytime and I would get a default page for starters and be happy.  But today I find that when I pick either the ASP.NET Web Site or ASP.NET Web Application templates I get site.master and a bunch of site admin files that I don't want.  Alternately when I select the empty versions of those templates, I get almost nothing at all.  An almost empty web.config page and no Default.aspx page.  There is nothing magical about having a default.aspx page in place, but it is an indicator of a change when I can only get a virtually completely empty website or a website with a bunch of bells and whistles I don't want.

Also, for some reason, when I create a new app or website as just noted, in the Solution Explorer I get aspx.designer.cs files showing as well as web.config files for both debug and release.

Somehow some settings and templates must have changed, or am I missing something here?  How can I get my settings/templates to go back to the way they were?


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend