Search:

Type: Posts; User: Bill Crawley

Page 1 of 13 1 2 3 4

Search: Search took 0.31 seconds.

  1. 3.0/LINQ Re: migrating VS2010 to VS 2013 issue with automapper

    Hi, Yes, I got automapper Via NuGet. I finally managed to trace the problem. Was a strange one as it was a dll in one of the package files still at version 2. I deleted this and now version 3 is...
  2. 3.0/LINQ [RESOLVED] migrating VS2010 to VS 2013 issue with automapper

    Hi All,

    I have a large solution made up of a number of projects that I have attempted to upgrade to VS2013. In the main most of it has ported. I've upgraded out of date packages via NuGet, I've...
  3. 3.0/LINQ Re: Where should I place my 'Where' clause.

    For all those that are interested, this is the answer:

    var tempvar =
    _dataRepository.Retrieve<Hierarchy>(r => r.HierarchyID == hierarchyId,
    ...
  4. 3.0/LINQ [RESOLVED] Where should I place my 'Where' clause.

    Hi All, I have the following linq statement and so far it returns all the results that I expect. I now want to place a filter on the set currently being returned by company name

    var tempvar =
    ...
  5. Re: Using Reflection to update a property value.

    Ok everyone,

    for future reference, I have solved my problem. Here's the full code for anyone that's interested.


    public static object SetUpdated(object objA, int? Id)
    {
    //...
  6. [RESOLVED] Using Reflection to update a property value.

    Hi all,

    I have a parent object, that has both properties and child objects on it. The objects, both parent and child will always have a bunch of properties on it that include things like...
  7. Replies
    0
    Views
    903

    3.0/LINQ Help with Expression Tree

    Hi All,

    I'm trying to make a generic filter.

    So far I have:


    public class GenericFilter<T>
    {
    public IQueryable<T> Filter(IQueryable<T> source, Dictionary<string,string>...
  8. Keeping the DAL seperated from the UI in MVC

    HI All,

    I have a Repository Layer using Entity Framework and this stores all my data object structures. I then have a service layer that uses the repository. i.e. I may have a User object in the...
  9. Replies
    0
    Views
    1,613

    VS 2010 Routing issue

    HI All,

    I have a number of controllers they are in different namespaces. In the Application I have generic menu bar and so depending upon the namespace that you are in, I need the buttons on the...
  10. Replies
    11
    Views
    2,417

    Re: Error after deployment

    Resolved. was a duff user on the connection string, it had not been set up correctly.
  11. Replies
    11
    Views
    2,417

    Re: Error after deployment

    This is the Calling code


    public List<Title> GetTitles()
    {
    try
    {
    return _dllayer.GetTitles().ToList();
    }
    catch...
  12. Replies
    11
    Views
    2,417

    Re: Error after deployment

    This is the stack trace, which is why I think it's a connection issue:

    Event Type: Warning
    Event Source: ASP.NET 4.0.30319.0
    Event Category: Web Event
    Event ID: 1309
    Date: ...
  13. Replies
    11
    Views
    2,417

    Re: Error after deployment

    my_Connection has been renamed for this thread to protect the product I'm working on at the moment. It is the Reference to the code generated by the Entity Framework. I've placed some extra error...
  14. Replies
    11
    Views
    2,417

    Re: Error after deployment

    Hi Techgnome,

    I'm using IIS6 not 7.
  15. Replies
    11
    Views
    2,417

    Re: Error after deployment

    The Event viewer tells me the method that it's trying to run:


    try
    {
    using (my_Connection ctx = new my_Connection())
    {
    return...
  16. Replies
    11
    Views
    2,417

    [RESOLVED] Error after deployment

    Hi All,

    I'm using VS2010 with EF5. to an Existing DB. As usual everything works fine on my dev machine. On the server that we are deploying to it is an windows Server 2003 with IIS6. We have...
  17. VS 2010 Entity framework errors with Dupplicate key when the key isn't a duplicte

    Against my object context, I have the following call's There are methods in between these that populate my object's but I didn't want to clutter my example here.



    _context.AttachTo("Cases",...
  18. VS 2010 Re: entity Framework not working as expected (ef5 with VS2010)

    I've had a look again ay my DB design, and have managed to remove the table.
  19. VS 2010 Re: entity Framework not working as expected (ef5 with VS2010)

    I first created the DB in SQL Server, then I built the EF model from the DB. EF decided that it didn't need the primary key table and did a many-to-many relationship between the 2 tables in the...
  20. VS 2010 [RESOLVED] entity Framework not working as expected (ef5 with VS2010)

    Hi All,

    On my underlying DB I have 3 tables. 1 of those tables comprises of just the primary keys of the other 2 tables. When I built the Model, it recognised this and so didn't actually generate...
  21. VS 2010 img onclick event doesn't always trigger

    Hi All,

    This is a standard web app (no MVC). In my aspx page I have:


    <img src="Images/btnNext.gif" alt="Next" onclick="sendScreen()" />

    then in script I have:
  22. Replies
    2
    Views
    1,120

    3.0/LINQ [RESOLVED] Interfaces

    Hi All,

    I have a class Library project with 2 files an IInterface.cs file and an Class1.cs file. Both are declared as public and Class1 implements the IIntrerface


    public class Class1 :...
  23. VS 2010 Re: Working with Master page from the content page.

    I forgot to put in the MasterType directive in the aspx page
  24. Replies
    0
    Views
    892

    3.0/LINQ complex linq statement required

    Hi all,

    I'm using WCf to send data back to my Business Objects and I want to send an object with all its subordinates. I have the following entities Case, Policy, Client

    I want to do the...
  25. Replies
    1
    Views
    4,003

    Re: WCF using EF 4.1

    Ok, I've realised that I cannot use the context directly since this cannot be serialised. instead, I have done the following and now my question changes slightly. I have also had to move to EF5.0
    ...
  26. Replies
    0
    Views
    1,026

    3.0/LINQ VS2010 EF4.1 error

    Hi All,

    I created my Entity Framework model from a Database.

    I have a Table called User that has a number of columns on it and one of those columns is UserType. declared as int not null without...
  27. Replies
    1
    Views
    4,003

    WCF using EF 4.1

    Hi All,

    I'm using the EF4.1 to interact with the underlying DB. I Need to expose the DBContext etc via a WCF Service, what is the best way to do this I'm using VS2010
  28. object required error when closing a popup

    Hi All,

    I have some popups that are created via CSS on my page using Div's. One of the popups also has Tab's made up of divs with some JQuery thrown in to hop from 1 tab to the next. all of this...
  29. VS 2010 Re: Working with Master page from the content page.

    Ok I have added a runat="server" to my span in the master page.
    In the contentpage aspx file I have added a MasterType with VirtualPath set.

    In the page_load event of my content page, when I...
  30. VS 2010 [RESOLVED] Working with Master page from the content page.

    Hi All,

    I have the following in my master page:


    <span id="Quote" class="hide">..........

    In my code behind on the content page of page load I want to change the class="hide" to...
  31. Replies
    2
    Views
    10,072

    installing JQuery/JQuery UI

    Hi All,

    In my project (VS2010). I have a directory called JQuery in this directory I have placed 2 files:
    jquery-1.8.0.js = Core JQuery
    jquery-ui-1.8.23.custom.min.js = JQuery UI.

    In a...
  32. Replies
    5
    Views
    1,572

    VS 2008 Re: Print doesn't work

    After speaking with Ops, it appears that development are on network printers, but the users where the printers do not work are local. I'm wondering if they need to be opened up for sharing at a...
  33. Replies
    5
    Views
    1,572

    VS 2008 Re: Print doesn't work

    It's a printer on the network. I thought it might be a permissions thing, but If the user presses the standard print button on the browser, then the page will print to the designated printer.

    Even...
  34. Replies
    5
    Views
    1,572

    VS 2008 Print doesn't work

    Hi All,

    I have been handed a program written by someone else, that has been deployed and doesn't work correctly after deployment.

    Basically we have a button with the following:


    protected...
  35. Re: Session Variables Are Dropping Within 2 Minutes

    set the 2 hr timeout value to 00:00:00
  36. Replies
    13
    Views
    7,390

    VS 2010 Re: ASP.net MVC 3: Doubts before start

    To add a little flesh to Entity Framework (i'm talking 4.0 and up), when you first open the designer, you make a connection to the database that you want to use. Now let's say you have written a load...
  37. Replies
    2
    Views
    1,585

    Re: activex .ocx

    an ocx file has nothing to do with .NET, so installing any .Net framework will not help.

    Place the OCX in a folder e.g. c:\myFolder\my.ocx

    then use go Start/Run and enter Regsvr32...
  38. Replies
    3
    Views
    1,297

    Re: If statement problem

    you need : if (Convert.ToInt32(textBox1.Text) > num[i]) Though why you need an Array and loop I dont know. Just do if (Convert.ToInt32(textBox1.Text) > 13)
  39. Re: The stream does not support concurrent IO read or write operations.

    This error is as it states. There is more than one process trying to access the stream at one time. I can see this might happen if you have more than one user since you have declared the class as...
  40. Re: To copy data of one excel to another and add one column in the copied excel and s

    In that case, I'm not going to re-invent the wheel. There are lots of examples out there. To get you started google using ado.net with excel This will gove you lots of start points....
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width