Search:

Type: Posts; User: davidrobin

Page 1 of 13 1 2 3 4

Search: Search took 1.77 seconds.

  1. Re: Can't Connect to Database created in SQL Server Management Studio 2014

    SSMS (SQL Server Management Studio) is a client application for connecting to MSSQL, it is not a server.
    SSMS is backward compatible so you can connect to earlier versions of SQL server (including...
  2. 4.0 Re: An unhandled exception of type 'System.StackOverflowException' occurred in Sagem.

    When you are running it on the server under IIS is this using the same data as you use when running in DEV locally? If not could the amount of data be different e.g more rows/columns that are causing...
  3. Thread: Login error

    by davidrobin
    Replies
    2
    Views
    2,370

    Re: Login error

    I would say if result = True set the session variables and set the cookies.

    For me there is a bigger issue here of storing passwords in the cookie. This is NOT good practise and is not secure as...
  4. Replies
    1
    Views
    1,744

    Re: Menu For All Pages In Project

    Absolutely, Mater pages are completely relevant today.
    Don't forget you can have nested master pages so if there are any pages you do not want a menu you don't have to.

    You can have a blank...
  5. Replies
    1
    Views
    1,452

    VS 2013 Re: Inline html formating with Razor

    I have just a coiuple of thoughts
    Is it possible the text in dcNode.nodeTitle is already encoded so the < and > and &lt; and &gt; so when the HTML.Raw method passes the text the engine renders the...
  6. Replies
    2
    Views
    1,107

    VS 2015 Re: MVC, RegularExpressionAttribute problem.

    I do not believe this is the right expression. It does not validate a single character, it does validate underscores.

    /([A-Za-z \-])\w+/g

    This is the right expression, but the problem is how...
  7. VS 2015 Re: MVC, Model, Index DataAnnotation issue.

    As you have mentioned, by virtue of the fact the Index attribute has IsUnique = true and because NULL is a valid value in this context, then only one row can contain a value of NULL for that column...
  8. Replies
    2
    Views
    1,047

    Re: Connect To SQL Server Database

    This is a fairly trivial request, as far as simplicity goes. But then there are so many options.

    Whether to use a Entity Framework or not or some other ORM tool.
    Linq to SQL
    SQLDataSource,...
  9. VS 2012 Re: [RESOLVED] Is it my math or my output code?

    In what way is it not working?
    Just on the code you have posted, without variable declarations, it is a little difficult to get the full picture.

    If this is a different issue to the original one...
  10. Re: Need help moving JSTree into Razor view

    szlamany is correct there. The bundling and minification came in .net 4.

    @Scripts.Render("~/bundles/jquery")
    This is way of referencing a number of script files and rendering them to the page. ...
  11. VS 2015 Re: MVC, EF6, CodeFirst, IdentityUser, foreign table

    Here we go BrailleSchool.

    First of all your post was nicely detailed so I was able to replicate your code easily in a new mvc application.

    Secondly this code will check for a company and add...
  12. VS 2015 Re: MVC, EF6, CodeFirst, IdentityUser, foreign table

    How about in your controller, before calling the CreateUser method or (whatever it is called) query to see if the company name exists.
    On the bus at the minute. Will have another look when I that...
  13. Replies
    1
    Views
    746

    Re: Validation Controls

    This is a security design feature of http/forms and the file upload control. The way around it is to store the file in a temporary location when you populate the datagrid. The user can process the...
  14. Replies
    2
    Views
    592

    VS 2013 Re: Difficulty enabling health monitoring

    So as you have noticed this error message poses 2 possible causes for the issue. The first part is basically complaining that the config setting is not permitted at the level it has been specified. ...
  15. Re: Cannot call post service with fiddler.

    As (I think) I have said before I do not use Fiddler but I do use Postman which is a Chrome addin.

    It has took me a good couple of hours messing but I have got it working from Postman.

    This is...
  16. Replies
    27
    Views
    2,892

    Re: Server Error in '/' Application.

    In your earlier screenshots I see you have a Joomla folder where Joomla is installed and a Wordpress folder where Wordpress is installed. Following the same pattern I would expect your asp.net site...
  17. Re: Cannot call post service with fiddler.

    First of all I don't use fiddler, but as it has been 4 days since your question here is my 2 pence worth.

    Do you know for sure what its throwing the exception?
    When you get the error and you...
  18. Replies
    27
    Views
    2,892

    Re: Server Error in '/' Application.

    If you are browsing the site from you client (remote) machine and you want to view the detailed error message you need to set custom errors to off

    <customErrors mode="Off"/>

    I know we said to...
  19. Replies
    11
    Views
    1,623

    Re: Stray comma affecting MS Access db

    Everything can be explained one way or another. Often the little things catch us out. One more question is never one too many.
  20. Thread: Threads

    by davidrobin
    Replies
    2
    Views
    517

    Re: Threads

    With current versions of the .net framework it is fairly straight forward. I have to admit, I have not a lot of experience with threading but with 30 minutes R&D I managed to get this working.

    ...
  21. Replies
    27
    Views
    2,892

    Re: Server Error in '/' Application.

    Possibly. I have not experience of Joomla apart from knowing it is php. I guess it depends how IIS is set up for your web application.
    lets see what the customErrors investigation turns up, it...
  22. Replies
    10
    Views
    1,605

    Re: Bot reCaptchas advice?

    I was only interests in counts, blocks per day, week.
    Without logging I wouldn't know if anything was being blocked or not. Obviously logging is optional.
  23. Replies
    27
    Views
    2,892

    Re: Server Error in '/' Application.

    Ahh, I misread myConn.CreateCommand for myCmd.CreateCommand
    I have never created a command that way and did not know you could. guess I was trying to be to clever.
  24. Replies
    11
    Views
    1,623

    Re: Stray comma affecting MS Access db

    I know I went to the site and can see the issue. You will probably find the majority of people offering help have gone to see for themselves and also have the same thoughts as you have "that's...
  25. Replies
    27
    Views
    2,892

    Re: Server Error in '/' Application.

    I think this code is wrong



    Dim connStr = ConfigurationManager.ConnectionStrings("iStrike4DConnectionString").ConnectionString.ToString
    myConn = New SqlConnection(connStr)

    ...
  26. Replies
    1
    Views
    505

    VS 2012 Re: copy then cut file

    To be honest you have a challenge on your hands. There are all sorts of issues with access permissions, file sizes, copy times, network lag etc that could mess up what you want to achieve.

    OK,...
  27. Replies
    11
    Views
    1,623

    Re: Stray comma affecting MS Access db

    When the form loads are you populating the textbox, do you have some code that initialises the Text property?
    It is almost as though some code is concatenating two values separated by a comma?
  28. VS 2012 Re: Is it my math or my output code?

    For me the total average always comes out as 0.0.

    This is because DecStudentDistance is never set, it stays 0 through out.
    Then this value is divided by the number of entries.

    ...
  29. Replies
    3
    Views
    780

    Re: simple asmx service call.

    I am intrigued by your issue with the web service. It has been a few years since I have called web services so I am a little bit rusty.

    I have added the URL as a service reference and as a web...
  30. Replies
    10
    Views
    1,605

    Re: Bot reCaptchas advice?

    SteveHi, yes that is pretty much what I have done.

    Just a note. Wherever you are checking the value of the hidden text input make sure you have the ability to set it's initial value so you know...
  31. Replies
    10
    Views
    1,605

    Re: Bot reCaptchas advice?

    Honeypot Approach
    I have effectively implemented the honeypot method on a couple of forms and managed to stop hundreds of spam postings a day. The honeypot is not JS only. The principle is this;...
  32. Replies
    4
    Views
    1,941

    Re: *HELP* Deleting all extensions

    Another approach could be to have a list of files in the folder, compare against the list and do some action if you encounter an invalid file.
    This would not be a good approach if there are a lot of...
  33. Re: c# Windows Application GridView Arrow Keys

    Just as a last note. There are too many magic numbers in this code. If you add a new column before column 7 (or whatever column you are interested in) then the magic number willdneed to change.
    ...
  34. Re: c# Windows Application GridView Arrow Keys

    OK. For some reason I read it as though you had a beef with the CellContentClick event being unreliable and not always setting the value of the textbox (which can happen when you click in the cell...
  35. Replies
    5
    Views
    1,381

    2.0 Re: Order number of datagridview ?

    The RowPrePaint in the example will resize the RowHeader width to match the longest string in row number. So if you have a million rows in your datagrid the row number will display correctly as...
  36. Replies
    6
    Views
    3,147

    Re: Pizza comparison program for beginners

    Do you have a question regarding this code or something?
  37. Re: c# Windows Application GridView Arrow Keys

    There are quite a few events relating to cells.

    The CellContentClick is an interesting one because the click event only fires if you click on the actual contents of the cell. That is on the...
  38. Replies
    5
    Views
    1,381

    2.0 Re: Order number of datagridview ?

    I agree with jmcihinney, I have done this in the past and I know I would have found how to do it by searching Google.

    However I cannot remember how I did it, which annoyed me so I just had to...
  39. VS 2015 Re: Having trouble with prev and next buttons

    I agree. It won't work because no code to handle Next and Prev buttons.
    However I think there is no code because he lin5an does not know how to navigate the data. I also think he/she does not...
  40. Replies
    1
    Views
    1,249

    Re: aly out and cshtml

    I am a little confused. Looking through the images in the tutorial the menu is in the layout.
    See image 10, inside the Body tag there is a nav element with id mainNav.

    Can you be more specific...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width