Hi I am using impersonation in asp.net web application because I need to write on a network drive. It works fine if I use a set of credentials on shareA path, but imersonation fails for another credentials set. The users are in different domains and netwrok drives to access are different too. For the second set credential, it is failing to load the webpage itself. The error it gives is Line 67: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> Line 68: </httpModules> Line 69: <identity impersonate="true" userName="i\user" password="xxxxxxxx"/> Line 70: </system.web> Line 71: <system.codedom> Any ideas what permissions might be missing for i\user? Please advise. THanks Pankaj
pankazmittal
Posts
-
Impersonation failing for a user. -
How to select records 11 to 20 in SQL SERVER?Thanks Niladri. Exactly what I was looking for.
-
How to select records 11 to 20 in SQL SERVER?what is id here in your select? Basically, what I am looking for is to select rows paging like functionality. I don't want to bind any table column in select.
-
How to select records 11 to 20 in SQL SERVER?Hi I want to select records 11 to 20 in sql server. In MySQL this is how it is done. How can we do it in SQL SERVER 2005 and above? SELECT * FROM employees LIMIT 10,10; In MySQL, LIMIT x,y means skip the first x records, and then return the next y records. Thanks Pankaj
-
Scalar / Navigation properties?Oh well! what made you think that I didn't look around. Maybe what I read elsewhere was not easy to grasp. It would be suffice to say that your response is entirely against the essence of this forum. Not only your's and my time got wasted but of others too who will read all this. Please refrain from such thoughts and instead provide the relevant response if you know. Thanks anyway!
-
ASP.net default page processing ???Hi When the Internet Information Service process (inetinfo.exe) receives an HTTP request, it uses the filename extension of the requested resource to determine which ISAPI program to run to process the request. When the request is for an ASP.NET page (.aspx file) IIS passes the request to the ISAPI DLL capable of handling the request for ASP.NET pages which is aspnet_isapi.dll. This I understand in case the file name is in the requested URL like http://microsoft.com/whatsnew.aspx , But what is the process sequence if it is only http://www.microsoft.com . I understand that the default page gets called somehow but I am trying to understand the sequence. Please advise. Thanks Pankaj
-
Scalar / Navigation properties?Hi Simple question, I assume. In SQL tables, what is Scalar and Navigation properties? And what is the use? Thanks
-
Strange Nunit test failure result in C# projects.Well! The way I am going to nail this down is keep skipping the ones not working and keep them for last. And then take one test at a time. its gonna be a longggggggggg walk ...
-
Strange Nunit test failure result in C# projects.Funny :) Yes! Some of them are working now. When I run the tests together from outside the user credentials are not getting refreshed. But somehow they do inside VStudio. Maybe Resharper helping it out somehow. I don't know that. I am still finding reason for not so lucky tests. Thanks for all of your help and introducing me to new tool. I really appreciate that. Pankaj
-
Strange Nunit test failure result in C# projects.Awesome! Registry change did the trick. Asking you proved to be much faster than sending it to DevExpress team. thanks a lot :)
-
Strange Nunit test failure result in C# projects.Can't see DevExpress menu in VStudio. How do you bring it up? Did it happen to you too?
-
Strange Nunit test failure result in C# projects.cool .. i will check this out too. Thanks
-
Strange Nunit test failure result in C# projects.After reading your views about codeRush, I wanted to check it out. Guess what I found... A free license of CodeRush/Refactor. I still have to form my opinion on this product for thought you may like free stuff. Get it at http://msdn.microsoft.com/en-us/vcsharp/dd218053.aspx and Enjoy! :)
-
Strange Nunit test failure result in C# projects.yes! it does run in isolation. must be something I am missing. gotta find it. and yes! resharper is very very cool. Before we got the license I use to run it's 30 day trial. Uninstall it and run it again. Not sure if that still works though. It becomes pain though after a while. But this tool really makes loads of difference.
-
Strange Nunit test failure result in C# projects.I am using Resharper plugin inside Visual Studio. I think I have all dependenies copied over. Not sure about the TextFixture state. Will try to find something on that. Thanks ..
-
Strange Nunit test failure result in C# projects.It's not in the drop down list and the last option "All Message Boards" probably skipped from my eyes. I should have looked deeper. Thanks
-
Strange Nunit test failure result in C# projects.Hi I couldn't find any TESTING forum so using this to post. I am using Nunit GUI test runner (version 2.4.5) for running almost 1000 tests written using C#. It runs completely and give me results in the end. Now, there are some failed tests which if I run them in Visual studio directly, they work fine. And GUI log window doesn't say much about why tests failed. Why could these tests be failing? Is there a way to find out? More logging, maybe. But what should I be logging? Please advise. Thanks Pankaj
-
Generate class from schema with restrictions???Hi I am designing an XSD schema in which there is a field called SSN. This field has some restrictions like maxlength, type, format etc. All that is described in schema itself. Schema sample attached. Now, I generate a C# class out of this schema using XSD.exe or XSDGen tool. They do create a class but none of them incorporates the restrictions (validation) specified in schema. Basically, I want object class to have a way to validate those restrictions. How can I generate a class from schema which also includes the restriction on fields? Thanks Pankaj Here is the schema sample ---
-
SQL xml: get xml values into CSV?Thanks. With little tweak I can get desired result.
-
SQL xml: get xml values into CSV?Hi In SQL 2005, I am trying to get a csv strin like "1212,1122,1123,1124" out of following xml. 1212 1122 1123 1124 Please advise how it can be done? Thanks Pankaj