i want to authenticate active directory using C#.
i have used the method given at microsoft help and support but it isnt working
1.Error 1 'ASP.logon_aspx.GetTypeHashCode()': no suitable method found to override c:\WINDOWS.0\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\formauthadcs\01297fec\b53d4630\App_Web_e07ldux7.1.cs 822
2.Error 2 'ASP.logon_aspx.ProcessRequest(System.Web.HttpContext)': no suitable method found to override c:\WINDOWS.0\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\formauthadcs\01297fec\b53d4630\App_Web_e07ldux7.1.cs 827
3.Error 3 'ASP.logon_aspx' does not implement interface member 'System.Web.IHttpHandler.IsReusable' c:\WINDOWS.0\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\formauthadcs\01297fec\b53d4630\App_Web_e07ldux7.1.cs 205
yeah that was exactly the link with whom i tried to implement the aforesaid task.
please note that this process at Microsoft support is giving a build time error in some file called
later part of that file is different every time.....
this file has lengthy coding of around 800-900 lines
the error shown is
Error 1 'ASP.logon_aspx.GetTypeHashCode()': no suitable method found to override c:\WINDOWS.0\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\formauthadcs\01297fec\b53d4630\App_Web_zvun-gh2.1.cs 822
i am completely unaware of the error and what it is trying to point to!!! ...so please
I want to get conversion of this format 'Mon Jun 08 15:19:42 CEST 2009' to DateTime type.
I explain the problem i'm reading from RSS feed but some of them bring that format of datetime, so my code
m_pubDate = Convert.ToDateTime(DirectCast(xNode.Element("pubDate").Value, String))
Broke for RSS Feeds that bring that format and i'm not able to convert this to DateTime.
Thank you for help
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
I want to find the process ID, on one of my application. I want to do this, because later on I want to kill those process as well. I decide to use the process ID, because my application can run multiple time. Say the notepad. I can open multiple notepad docs and each have separate PIDs.
So I tried this.
Process servers = Process.GetProcessesByName("notepad.exe");
for (int index = 0; index < servers.Length; index++)
int id = servers[index].Id;
But each time, Process array length is zero. Even I've open multiple notepads.
Can anyone comment on this.
Thanks a lot
I appreciate your help all the time...
Hi, I have three separate filter webparts:filter by radiochoice, filter by text input, filter by dropdown.I want join them into one web part, is it possible? and how can I select type of filter through property of new web part?
Looking forward your response !thanks
I developed c# application inwhich i used vb.net dll file.I made setup file using .net setup wizard.Now my all forms are working well but one form gives error which contain that dll file
Error is like this->
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'ClassLibrary2, Version=188.8.131.52, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'ClassLibrary2, Version=184.108.40.206, Culture=neutral, PublicKeyToken=null'
It could well be a dependancy further down the line that is missing (i.e. a dll that the dll you referenced references...). Use dependancy walker (or similar) to see what the dll causing the issue is using and make sure they're all deployed with your app.