|
Hi,
When I am opening my website thru http://localhost/MyWebSite,it is asking to enter windows login id and password.It was not happening earlier.
Even after entering id and password its not working.Is it an issue with IIS settings?Any body knows reasons and solution for this.
Regards,
Montu76
Hello There
|
|
|
|
|
you have to allow anonymus(sp?) access to the web site in the directory security tab of the properties in IIS, then it should work fine. you can also try setting the IUSER account password in IIS by un checking the "allow IIS to control the password" box and typing something in...be aware that doing so does have other effects that seem to randomly take effect.
|
|
|
|
|
Hi,
I checked and did the same earlier also,still same issue.
my http://localhost is itself not opening.
Regards,
Siddharth Somni
Hello There
|
|
|
|
|
Hi,
I checked and did the same earlier also,still same issue.
my http://localhost is itself not opening.
Regards,
Montu76
Hello There
|
|
|
|
|
To open http://localhost and not http://localhost/somesite/somepage.aspx you have to have directory browsing turned on for the default website in IIS, its off by default as you wouldnt want random users to browse the directories of your website. If you are using WIN XP you'll only have the default site but have a bunch of virtual directories under it which(if you're running asp) will need applications configured for them..in the home directory tab of their directories propertys in IIS just hit the creat button under Application Settings, Home Direcory is also where you set the Directory browsing permissions. You can also set the default page in the Documents tab, it has a few in there by default, but if you dont have one of those in your website's dir then it will just try to directory browse unless that permission is off. Hope this helps.
|
|
|
|
|
The first beta release of Service Pack 1 for both Visual Studio 2008 and .NET Framework 3.5 are available.
With Service Pack 1, Visual Studio 2008 introduces a large assortment of new features for targeting Windows, Office, and the Web.
Developers building .NET-based applications will enjoy improved performance in the WPF designer, new components for Visual Basic and Visual C++, as well as an MFC-based Office 2007 Ribbon. Web developers will see continued improvement in the client-side script tooling including JavaScript IntelliSense. Additionally, full support for SQL Server 2008, the ADO.NET Entity Framework and performance improvements for the IDE make Service Pack 1 a great release across the board.
Visual Studio 2008 Service Pack 1 includes:
- Improved designers for building WPF applications
- Full support for SQL Server 2008
- The introduction of the ADO.NET Entity Designer
- Visual Basic and Visual C++ components and tools (including an MFC-based Office 2007 style 'Ribbon')
- Improvements to Team Foundation Server to respond to customer feedback on version control usability and performance, improved e-mail integration with work item tracking and full support for hosting on SQL Server 2008
- Improvements for Web development including richer JavaScript support, enhanced AJAX and data tools, and Web site deployment
The .NET Framework 3.5 Service Pack 1 includes:
- Performance increases between 20-45% for WPF-based applications - without having to change any code
- WCF improvements that give developers more control over the way they access data and services
- Streamlined installation experience for client applications
- Improvements in the area of data platform, such as the ADO.NET Entity Framework, ADO.NET Data Services and support for SQL Server 2008's new features.
In addition, Service Pack 1 for the .NET Framework and Visual Studio 2008 includes a number of new features:
- Windows Presentation Foundation (WPF) and Visual Designer Changes
- .NET Framework 3.5 Client Profile
- New ADO.NET Data Features
- Team Foundation Server Improvements
For more information and links to downloads, see the MSDN site Visual Studio 2008 and .NET Framework 3.5 Service Pack 1 Beta Downloads. You’ll also find details about known compatibility issues in certain releases of Expression and Silverlight. For more information about what you'll see in the new releases, see Visual Studio 2008 and .NET Framework 3.5 Service Pack 1 Beta.
|
|
|
|
|
OK, please be gentle, I am a newbie to any form of windows coding.
I am attempting to build an application that places some files on a remote server defined as a UNC path.
Now if the path is pre-authenticated on the xp client all works well. But if the password has changed or never been pre authenticated of course I get an System.IO.IOException: Logon failure: unknown user name or bad password.
So the question is.
How the heck do I authenticate from my c#.net app against the remote server to establish a successful connection.
I would have thought the UNC file path could have contained the user credentials, But alas I cannot find it despite searching through the mountains all the search engines generate
|
|
|
|
|
try "IWshRuntimeLibrary". if you have username password of remote server you can map a network drive. Actually it is a win32 library but you can find how to use it from c#.
hope this help.
|
|
|
|
|
Do you know a component or package in .NET that enable synchronize between folder located in FTP server and between local folder?
In addidtion, how many connection can I open simultaneous (using threads) in such synchronization package?
|
|
|
|
|
For FTP communication we now use Rebex's FTP.net[^] library. You'll have to write the synchronization logic yourself.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Lets imagine I have form FormA which has 1 button on it and I created it using VS.NET by dragging and dropping. Now I want to create another form FormB which will have a 2nd button on it. I want FormB to inherit form FormA--simple enough. But in order for me to add the 2nd button to FormB, I would have to do it programmatically, correct? In other words, I can not really drag and drop a 2nd button onto FormB.
The reason I am asking is because we often need to include a few extra controls to a form for specialization but when we do this, we lose design time flexibility.
If you have any suggestions, or if there is a design pattern which comes in handy in this situation, please let me know.
|
|
|
|
|
Create a new form and then in the designer have it declared as:
class FormB : Form A
{
FormB():
FormA()
{
}
}
This should allow design time support in the forms designer.
At university studying Software Engineering - if i say this line to girls i find they won't talk to me
Dan
|
|
|
|
|
I will try that. Are you suggesting I will be able to see the 2nd form at design time?
When I tell girls I am studying Software Engineering, they respond by saying "Oh wow! What is that?" Then I tell them it is creating artificial intelligence (which is just one branch, but who cares!). This really impresses them.
|
|
|
|
|
Yeah the second form should render in the form viewer with all the components of the form it inherits from.
Hmmmm think I must live in an area with the wrong type of girls!!!
At university studying Software Engineering - if i say this line to girls i find they won't talk to me
Dan
|
|
|
|
|
Hi.
I'm using .Net 3.5, C#, CryptoStream with DESCryptoServiceProvider.
I've got an interesting problem. When i try to decrypt some message or file, i need to somehow detect if the key, that i pass to the CryptoStream, is valid (actually, i need to detect if the key is invalid). How can i manage this?
I tried to catch CryptographicException, but it causes lot's of problem..
thanks
|
|
|
|
|
Member 4083157 wrote: I tried to catch CryptographicException, but it causes lot's of problem..
Such as?? Because that's about the only method you have for detecting an invalid key.
|
|
|
|
|
The main problem is that CryptographicException do not throws on some invalid keys. i tried to check them with DES.IsWeakKey and DES.IsSemiWeakKey, but result is always false..
Then, to catch a CryptographicException i need to wait the whole cycle of decryption and it takes some time, and the programm's task is to find the right key in some range of keys. Of course, i use distributed search, but this problem is still actual..
Is there any way to use hash of the encrypted and decrypted data?
|
|
|
|
|
Member 4083157 wrote: Is there any way to use hash of the encrypted and decrypted data?
That would defeat the purpose of encryption pretty quickly now, wouldn't it?? You simply don't have a way around this. There are only three possiblities here.
1. The key is blatantly invalid, such as incorrect length or tampered with.
2. The key is just the wrong key, in which case, the only way to tell is to try and decrypt a message with it.
3. The key is correct.
There's no way to predict in a quick fashion if the key is correct or not. It just has to be tried to find out. That takes time, and there's no way around it.
|
|
|
|
|
|
Why can't you compare it to the key used during encryption?
|
|
|
|
|
Because i don't have such key..
|
|
|
|
|
If you're trying to get hints on how to break the key or encryption, forget it. We're in the business.
|
|
|
|
|
I installed .Net framework 3.0 but not getting the templates of WCF WPF etc. What extra configuration is to be done for that.
Bijay Bhaskar Deo
Thanks & Regard
|
|
|
|
|
Did you install the SDK version of .NET 3.0 or the redistributable version?? Where did you get it from??
|
|
|
|
|
I have a form which has layout like this:
form
|--->usercontrol1
|----->usercontrol2
|---->combobox1
|---->combobox2
What I want to do is when selected item of comboxes changes, unfocus them. I tried this.ActiveControl=null, Findform().usercontrol1.ActiveControl = null, FindForm().usercontrol1.Focus(), FindForm().Focus() etc. on selectedindexchanged event but that comboboxes always stayed focused.
Any other ideas?
|
|
|
|