Search

You searched for the word(s): userid:779840

Matching Posts

  • "System.Web.HttpContext cannot be serialized because it does not have a parameterless constructor."

    I've created a web service that other sites can use to store errors in my database. They can then come to my site to view their errors, search through errors, filter errors, etc. However, I'm getting the following error for my web service: System.Web.HttpContext cannot be serialized because it does not have a parameterless constructor. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the
    Posted to XML Web Services (Forum) by Apples on 11/12/2009
  • Re: Specified argument was out of the range of valid values.

    [quote user="BryianTan"] hi, Have you try to place a break point on line 02 and debug it? Thanks, Bryian tan [/quote] Unfortunately, this is only happening on the production server, so I can't debug it.
    Posted to Getting Started (Forum) by Apples on 11/9/2009
  • Only arguments that can be evaluated on the client are supported for the String.Contains method

    public static void MyFunction(MyErrorClass err) { var query = from filter in DataContext.ErrorFilters select filter; query = query.Where(f => err.ErrorMessage.Contains(f.ErrorMessage)); List<ErrorFilter> filters = query.ToList(); //...more code } So I'm having some issues with the above code, and I'm getting the error from the subject line at the line with "query.ToList()". Here's what I'm trying to do: First off, I have a custom error class, MyErrorClass. Whenever
  • Specified argument was out of the range of valid values.

    I need some help with an error. I can't figure out exactly where the error is taking place. Here is my stack trace: Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below Stack Trace: [ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index] System.Web.UI.ControlCollection.get_Item
    Posted to Getting Started (Forum) by Apples on 11/5/2009
  • Creating a custom API

    I'm creating a site, and I need to create a basic API. Unfortunately I have no idea where to start. My site will basically keep track of errors from other users' ASP.NET sites, and they can filter through them, search, etc. I need to create an API, where the user can insert a few lines of code in the Application_Error event in the global.asax file, and it will pass an exception object to my site to be stored. It's the communicating between their site and my site that I don't understand
    Posted to Getting Started (Forum) by Apples on 10/22/2009
  • ASP.NET Membership - using different tables

    So when I'm using the Login controls and the MembershipUser and Roles classes, all users are automatically in the ASP.NET tables in the database: aspnet_Users, aspnet_Roles, aspnet_Membership, etc. Well I don't really like how some of the tables are used, I don't need some of the columns (for instance, I don't need the Description column in the aspnet_Roles table), and I just simply don't like the table names. I also hate that there is a lot going on behind the scenes that I'm
    Posted to Getting Started (Forum) by Apples on 10/20/2009
  • Menu control in Safari 4.0.3

    So I'm using a Menu control on my page, and it has dynamic items that should drop down when you hover over a menu item. This works in all browsers except for Safari 4.0.3. I've looked around and there seem to be several solutions to this problem: 1. Add this code to the Page_Load event: if (Request.UserAgent.IndexOf("AppleWebKit") > 0) { Request.Browser.Adapters.Clear(); } 2. Add this code to the Page_PreInit event: if (Request.UserAgent.IndexOf("AppleWebKit") >
  • Excel Interop - setting formula for a cell

    I'm create an excel spreadsheet dynamically using Excel Interop. I have two cells in a single column. The first cell contains this formula: "=(F1+G1)" I would like to set the formula for the second cell to be the same as the first cell, but have F2 and G2 instead of F1 and G1. This needs to be dynamic. Here's what I have now: Excel.Range rngCurrentCell = (Excel.Range)ws.Cells[row,col]; Excel.Range rngPrevRow = (Excel.Range)ws.Cells[row - 1, col]; rngCurrentCell.Formula = rngPrevRow
    Posted to Enterprise Services Integration (Forum) by Apples on 8/21/2009
Page 1 of 44 (436 items) 1 2 3 4 5 Next > ... Last ยป