meoryou's Q&A profile
Visual C# how the session management in asp.net?
in java servlets,there is provision for session tracking and managament can any one explain me how the session management can be performed in asp.net Well, These links may helpful to you: http://www.codeproject.com/aspnet/ASPNETSessionInternals.asp Otherwise, you can deliver the question to asp.net forum and there you may find satisfactory answers. Thank you. ...Show All
Visual Studio Team System Failed to create New Team Build Type
Hi, I trye to create a New Team Build Type, but it does not work. An error box is displayed with the next message: "Failed to retrieve data from the server. Please verify that the Team Foundation server is running and try again." But the TFS is running normally, and I work without any problem. I'm using a workgroup version of the TFS, and I'm an administrator of the Server... Can you help me please Ok, it appears that the error you are running into is in VersionControl. Are you able to do anything with Version Control Try opening Source Control Explorer from within visual studio and browsing around. If this works, then I want you to edit the same web.config file again except this time we're ...Show All
Visual Studio Tools for Office Unistalling VSTO "v3"
Hi Everyone!!! I was using a Vsto "v3" ctp, with the release of .NET 3.0 I uninstall all and install the rtm, but i forgot the vsto, I tried to uninstall it now and it tells me the I need th February CTP of the WinFx Components to uninstall it, some can help me To fool VSTO 'v3' to install with another version of wfx you had to add a registry item to make it work. Maybe if you remove it your uninstall is fooled to make it work too This was the 'add' post. Add [HKEY_LOCAL_MACHINE\Software\Microsoft\WinFX RunTime\3.0\Setup\Indigo] "InstallSuccess"=dword:00000001 to your registry and VSTO 'v3' June CTP will install! In your case add would be remove Try at your own risk - disclaimer stuff i ...Show All
SQL Server Your login attempt was not successful. Please try again
I have a standard Login ASP.NET 2.0 control on a login Page, a LoginName and LoginStatus controls on the member's page. once the user login successfully I am redirecting the user to Member.aspx page. The following is my machine configuration Windows XP Pro Service Pack2 IIS 5.1 SQL Server 2000 visual Studio 2005 DISABLE ANONMYOUS ACCESS IN IIS ENABLE WINDOWS AUTHENTICATION I am Using form authentication, and I am getting following error "Your login attempt was not successful. Please try again". To debug,I am displaying the follwoing properties Membership.ValidateUser(Login1.UserName, Login1.Password) : - True HttpContext.Current.User.Identity.Name : - // is blank FormsAuthentication.FormsCookieName : - SqlAuthCo ...Show All
Visual FoxPro Labels with Dot Matrix Printer in VFP9
I cannot get a Panasonic 1150 dot matrix to print a 2" long label in VFP90. I have created a new form size in server properties and have saved the printer settings in the label form. Nothing works. We even created a new driver to default to the 2'' x 4'' form size. It prints the label just fine, but ejects to an 11'' paper size. I even set the reportbehavior to 80...still nothing. Any suggestions I am also really amazed that the output from report writer does not go very well with dot matrix printers. VFP is mostly used to develop application software and most of the application software users use dot matrix printer. Really I don't think I've even seen a dot matrix printer in 15 years, much less ha ...Show All
.NET Development Making a XmlElement Order property on .NET 1.1
What would be the best way to create an Order property for the XmlElementAttribute like in .NET 2.0, so my XmlSerializer will serialize elements in the order I desire So far, I've made a new custom attribute class called Order which is applied to the XmlElement in class form, but now I'm trying to figure out the best place to handle the Order. Any ideas I've yet to really look into it, but I'm struggling between overriding XmlSerializer or XmlSerializationWriter. Cheers. I am afraid that the only way to support the V2.0 Order-like functionality with V1.1 XmlSerialzier is to implement IXmlSerializable interface that understand your custom [Order] attribute, but essentially this would be r ...Show All
SQL Server Consuming a Recordset in a Script Transformation
I have a situation where I have created a recordset in a previous data flow task where the output was a recordset. Now I want to write that recordset to a flat file. There is no direct recordset input data flow source. So I thought I would use a source script transformation to read the recordset. Then I searched on this and found no information on how I might do this. Anyone have any ideas on how to do this in a script transformation There are reasons that I would like to do it this way, but if I have to choose another way, well that's life. Try this - SSIS Junkie : SSIS: Recordsets instead of raw files ( http://blogs.conchango.com/jamiethomson/archive/2006/01/04/2540.aspx ) By the way I would consider raw files ove ...Show All
Windows Forms user control property using a generic list
Hello First, sorry about my bad english... that's because I'm from Argentina, so I speak spanish, not english. But I'll do my best so you can understand me... thanks. I'm developing an user control (similar to a sidebar), and one of its propertys is a list of the options that the control shows. Every option is defined by an object of the class "Opcion" defined on the same namespace of the control. Following the standar practice, I have defined a private generic list of the type "Opcion" that contains the options that the control must show, and a public get-set method to access this list, of the same type (generic List of "Opcion"). So, when I add a control on a form, on its property page there i ...Show All
Architecture Using Object Relation Mapping Tools
I am planning to use Object Relation mapping tool in our project, presently we zeroed on Nhibernate. Just before implementing i want to seek advice on the below points Any cons of using OR mapping tools Any known issues Any performance issues TIA, Sudheer. The answer to all your questions is Yes. If you do not intend to use the Domain Model Pattern, then O/R mapping is probably not for you. If this is your first time implementing a Domain Model, I would suggest reading the book Domain Driven Design by Eric Evans, or Applying Domain Driven Design and Patterns by Jimmy Nilsson, BEFORE you get started. More importantly, if you haven't tried persisting objects yourself, then you might ...Show All
Software Development for Windows Vista Vista Aero: WM_GETTITLEBARINFOEX doesn't follow the Advanced Appearance setting
Steps: 1. Show application window. Send WM_GETTITLEBARINFOEX. Remember the height of system buttons returned. Do not close application window; 2. Run Advanced Appearance settings. Select Active Title Bar. Increase size. CLick Ok, then apply; 3. Observe, that the applicaiton window was redrawn; 4. Send WM_GETTITLEBARINFOEX again. BUG: The height of system buttons is the same as it was before new Appearance Settings had been applied; NOTE: Bug is specific for Vista Aero theme. Vista Basic is working fine Does it repro in Windows Standard mode Does it only affect 32-bit apps on x64, or also 32-on-32 and 64-on-64 We'll file a bug and investigate on our side, but it's too late to fix th ...Show All
Windows Live Developer Forums .Net Web Control + Operation Aborted
I am trying to create a .Net Web Control, embedding the VE control + javascript within the control, exposing some clean properties/methods etc. so I can host from other pages. When I run the simplest of maps, I see the map appear then I get an "operation aborted" exception from the browser. Presumably this is caused by some VE Javascript running before the entire page hosting the control is complete or something Anyone have any ideas Phew. That solution really saved some bother! Incase anybody else is having the same problem, I was getting 'unexpected call to method or property access' when I attempted to add a polyline to a map. Other mapping stuff was working, and the problem only surfaced on IE7, aft ...Show All
Software Development for Windows Vista How to control the fixed page part name when Win32 App printing to MXDW(Microsoft Xps Document Writer)
Hi, I have a win32 app printing to MXDW. Is there a way of customizing MXDW output, like changing Fixed Page part name to something (like Esc1.fpage). Is there any printer escape available Thanks My original question is misleading, it is not about changing the part name. My original request was to customize the MXDW output by using ExtEscape. Now i'm able to do that by using MXDC_ESCAPE. ...Show All
Visual C# Storing the row content in local variable.
How I can store the data from the DataGridView to a variable in another form Form1 form=sender as Form1 ; System.Windows.Forms. DataGridViewRow row; row = form.dataGridView1..........; I was thinking something like this. Can anyone help me hi., is this you want. public partial class Form1 : Form { DataRow _row; public Form1() { InitializeComponent(); } private void dataGridView1_CellDoubleClick( object sender, DataGridViewCellEventArgs e) { _row = ( ( DataRowView ) this .dataGridView1.Rows[e.RowIndex].DataBoundItem ).Row; Form2 f = new Form2 ( this ); f.ShowDialog(); } public DataRow ...Show All
Visual Studio Debugging a dead managed app
I've run into a bit of an issue with an application I'm writing (2.0, using a lot of LCG), where after a certain random period of time it will crash. Not a crash-crash, but just disappear - no dump, no log, no error dialog, etc. Sometimes this happens inside a LCG method I created, sometimes it happens during the creation of a method, and sometimes it just happens. Under the debugger (VS2005) its window will stay open, however attempting to perform any operation in VS (such as pause) will result in a hang where I must manually kill my applications process to get VS to respond again. Since I can't figure out what is going on (believe me, I've been trying for the past week), I’d like to ask: how do I figure out what's going on! Does ...Show All
Visual Basic Login Class Problems!!!
I decided to make a simple to use stand alone dll that would expose one function - AllowAccess(Title, NoAttemps, etc) as boolean. This would be called at the main programs Load event, if it returned False the program would close, if true it would keep going. Basically the dll has a class full of controls that i have yet to add, and a form class (frmLoginGUI). This is already dimentioned, but not initialised when the function is called. I want the function to run a form, allow the user to exit, or have a set number of goes at the password. i also want the form to be a dialog form! Basically, i can't show the form and ask for x dialog results as the result is repeated and it just closes, but i don't want to call the show dialog method ...Show All
