Search Results - VBForums

Search:

Type: Posts; User: garry79

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. 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...
  2. 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...
  3. Replies
    0
    Views
    361

    [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 ...
  4. 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...
  5. 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...
  6. 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...
  7. [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...
  8. Replies
    3
    Views
    1,088

    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...
  9. Replies
    3
    Views
    1,088

    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...
  10. 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:
  11. Re: Help with building an array with C# var in a loop

    I want to copy the typed list to implicit objects.
  12. [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",...
  13. Replies
    6
    Views
    1,191

    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,...
  14. Replies
    6
    Views
    1,191

    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...
  15. Replies
    6
    Views
    1,191

    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...
  16. Replies
    6
    Views
    1,191

    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...
  17. Re: Alternative to DataList to show aingle records

    Thank you, Jason. I will give this a go and see how I get on :-)
  18. 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...
  19. 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.
  20. 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...
  21. Replies
    0
    Views
    718

    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...
  22. 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.
  23. 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:...
  24. 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?
  25. [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...
  26. Replies
    0
    Views
    805

    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...
  27. Replies
    0
    Views
    212

    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...
  28. 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.
  29. [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...
  30. Replies
    9
    Views
    632

    Re: database connection problem

    I've recreated the DAL and it works now

    Thanks
  31. Replies
    9
    Views
    632

    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...
  32. Replies
    9
    Views
    632

    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()
    ...
  33. Replies
    9
    Views
    632

    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:
    ...
  34. Replies
    9
    Views
    632

    [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"
    ...
  35. Replies
    1
    Views
    1,269

    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...
  36. 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...
  37. Replies
    4
    Views
    349

    Re: Entity Framework Model problem

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

    Re: Entity Framework Model problem

    Same error again :afrog:
  39. Replies
    4
    Views
    349

    Re: Entity Framework Model problem

    Hi mate, I've tried reinstalling it a few times and enabling NuGet 1.6x and 1.1x and still get the same error. I'm going to try installing 2.1 and see what happens :)
  40. Replies
    4
    Views
    349

    Entity Framework Model problem

    I've created a sql server database in the App_Data folder and a new class library DLL. In this DLL, I've tried adding an ADO.NET Entity Framework Model based on said database, but when I click to...
Results 1 to 40 of 231
Page 1 of 6 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.