Search:

Type: Posts; User: garry79

Page 1 of 6 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    4
    Views
    676

    Re: Changing windows date settings

    Thanks for replying!

    I only use the computer myself. I works as an internet rater and I need to record the hours and tasks I do each day but the time sheets are in PST time so my app has to use...
  2. Replies
    4
    Views
    676

    Changing windows date settings

    I need to make changes to my app so that when I use the date functions to get the date/time from the date settings on the OS, it gets the date/time 8 hours behind so it returns the PST time instead...
  3. Re: Powershell Script for logging on and downloading file

    I still can't get this to work.

    I'm trying to log on via internet explorer now but can't get a reference to the form button as it just seems to treat it as an array. When I echo out the reference...
  4. Powershell Script for logging on and downloading file

    I'm trying to write a powershell script that logs onto a website via an html form using post but I can't get it to log on. All that happens is the page loads and then I get a 403 error.

    I'm not...
  5. Replies
    0
    Views
    670

    [RESOLVED] Extracting XML in a join

    I have two columns I want to join. One of them contains xml which I want to traverse and extract all values from each field. I've tried using ttis but it's not worked:


    where ...
  6. Re: Problem with View not updating when called with AJAX code

    Hi, yes, I'm rendering a partial view inside a view. I've even tried to RedirectToRoute to a different page and this just gets ignored.

    I may try using JSON on some of the checkout functionality...
  7. Problem with View not updating when called with AJAX code

    I'm hacking into the checkout functionality on a nopcommerce installation. The checkout on this uses a lot of ajax code calling in between the various checkout stages. I want to have them all stages...
  8. Re: Creating a database from sql server file in VS

    Thanks but I've sorted it by by following these steps:

    1. remove the "USE database" statements at the start and end of the sql server generated query
    2. create a mdf file by right clicking the...
  9. [RESOLVED] Creating a database from sql server file in VS

    I've got a SQL file from a previous database I exported from a SQL Server via SSMS. Now I want to create an mdf file from it in visual studio. I've tried running a sql query but it doesn't work as...
  10. Replies
    3
    Views
    2,518

    Re: Server is too busy error

    I'm only using VS, none of these are hosted right now. Maybe it could be a problem with the SQL Server at the university, which the web server connects to, but I don't have rights to tinker about...
  11. Replies
    3
    Views
    2,518

    Server is too busy error

    I've been debugging a MVC project that connects to a WCF project using VS development server and started getting "Server too busy" message, or words to that effect, in my browser window. After about...
  12. Re: Help with building an array with C# var in a loop

    Thanks mate, I did it a different way, using some logic in the code you posted first. Like this:
  13. Re: Help with building an array with C# var in a loop

    I want to copy the typed list to implicit objects.
  14. [RESOLVED] Help with building an array with C# var in a loop

    Hi,

    I need to build an array of implicit objects in a var object by looping through a List and adding the to the array. For example...


    var data = new[] { new { Name = "China",...
  15. Replies
    6
    Views
    1,697

    Re: default.aspx has stopped loading implicitly

    I give up, I'm just going to submit the assignment as is. It's probably something to do with the way I've published the website and it mixing MVC with non MVC but hey-ho. Thanks again for your help,...
  16. Replies
    6
    Views
    1,697

    Re: default.aspx has stopped loading implicitly

    My solution consists of a Web Application project and a MVC project. I've just found that if I publish both projects I get "the resource cannot be found" if I don't explicitly type default.aspx. If I...
  17. Replies
    6
    Views
    1,697

    Re: default.aspx has stopped loading implicitly

    I've uploaded my project to the university server and noticed this issue started up. I don't have access to any web server settings or anything, just my web space that's on there. I've tried renaming...
  18. Replies
    6
    Views
    1,697

    default.aspx has stopped loading implicitly

    I'm not sure what I did to cause this but my website homepage won't load unless I specifically type the filename into the root of the website - i.e. www.mywebsite.com/default.aspx works but...
  19. Re: Alternative to DataList to show aingle records

    Thank you, Jason. I will give this a go and see how I get on :-)
  20. Alternative to DataList to show aingle records

    I'm using a datalist that uses an itemtemplate to display results from an objectdatasource. The thing is, I'm only fetching a single record so a datalist doesn't seem like the best option. Is there a...
  21. Re: Adding MVC project to existing Web application project

    Do you know any good links that can help me to do this? I don't want to start again as it's for an assignment and I won't have time to implement everything in MVC.
  22. Adding MVC project to existing Web application project

    I have an MVC project and a separate Web Application project. How can I link the two together. Currently, when I try to open a page in the MVC project from the main project I get a 404 error. They...
  23. Replies
    0
    Views
    1,263

    Master-detail pages for products

    Hello,

    I have a page for products which links to another page for a more detailed page for a specific product the user selects.

    In design view, I've attached a objectdatasource and datalist in...
  24. Re: Error: "The view 'Index' or its master was not found or no view engine supports .

    Thanks mate! This makes a more sense now I've added the ShoppingCart directory in the views folder.
  25. Re: Error: "The view 'Index' or its master was not found or no view engine supports .

    I'm not sure what you mean. I placed the view in the Views>Shared folder and it worked but if i place in the Views folder I get the error. This is the URL I use:...
  26. Re: Error: "The view 'Index' or its master was not found or no view engine supports .

    Ok, I've added the view to the shared folder of the Views folder and the view works now but why won't it world from the top level folder?
  27. [RESOLVED] Error: "The view 'Index' or its master was not found or no view engine supports ..."

    Hello, I've been following a tutorial in developing an MVC shopping cart but I get the following error when i try to access the controller class:

    The view 'Index' or its master was not found or no...
  28. Replies
    0
    Views
    1,086

    Can't add Entity Manager

    I've recently upgraded to VS2012 Ultimate to VS2012 Ultimate and I can't add an Entity Framework item to the solution I'm working on.

    I've added EntityFramework via the NugetManager and also the...
  29. Replies
    0
    Views
    467

    Entity Framework

    I've instantiated a new Users entity and attached an new Avatars entity to it. The primary and foreign key in the Avatar table is UserID and the primary key in the user table is UserID.

    When I...
  30. Re: Getting the application file path for a lcal debug project

    Thanks, I got around this issue by storing the images in the App_Data folder and then getting the path that way.
  31. [RESOLVED] Getting the application file path for a lcal debug project

    I want to get the file path for the current file in the project file. I've tried various approaches but they all point to the folder in the IIS that the site is executing in. The reason I need this...
  32. Replies
    9
    Views
    1,986

    Re: database connection problem

    I've recreated the DAL and it works now

    Thanks
  33. Replies
    9
    Views
    1,986

    Re: database connection problem

    I don't remember how I generated the connection string. The error continues to pop up. It's so annoying because it doesn't point to the code. How am I supposed to find the error if it doesn't point...
  34. Replies
    9
    Views
    1,986

    Re: database connection problem

    Thanks for your comments!

    I've changed the constructor to this, to try to get the path from the web config file:


    Public Sub New()
    ...
  35. Replies
    9
    Views
    1,986

    Re: database connection problem

    I should have pointed out that the New MilkywayDataContext() contained a ConnectionString parameter from My.Settings previously. I've deleted this setting and the compiler now points to this code:
    ...
  36. Replies
    9
    Views
    1,986

    [RESOLVED] database connection problem

    Hi, I'm trying to connect a Linq-to-SQL context to a database with a relative path using DataDirectory but I get the following error:

    "You need to specify the full path to an executable file"
    ...
  37. Replies
    1
    Views
    1,480

    Problem installing SQL Management Studio

    Hi, I've reinstalled windows on a new hard drive using an AlienRespawn Restore backup disk which seems to have gone ok. However, when I try to install SQL Server Management Studio as administrator I...
  38. The underlying provider failed to open Entity Exception

    I've installed VS 2012 Pro followed by SQL Server 2012 Express. I then joined one solution to another so they share the same APP_DATA folder. Both projects have SQL server mdf databases in the...
  39. Replies
    4
    Views
    847

    Re: Entity Framework Model problem

    I've reinstalled vs and I'm still getting the same error :mad:
  40. Replies
    4
    Views
    847

    Re: Entity Framework Model problem

    Same error again :afrog:
Results 1 to 40 of 233
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width