User Profile

Collapse

Profile Sidebar

Collapse
JamieHowarth0
JamieHowarth0
Last Activity: Apr 21 '25, 03:40 AM
Joined: May 2 '07
Location: United Kingdom
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi there,

    Have you tried checking that the app pool in which ASP.NET is running has got "Enable 32-bit applications" set?

    Best,

    Benjamin
    See more | Go to post

    Leave a comment:


  • Hi Janu,

    What you really want is to go over every employee record where Experience > 2, right?
    You can't do this using a plain select query into a variable, because as the error describes, you can't set a variable to be a collection of rows. You need to use something called a cursor, which will select all the rows you want according to your criteria, then one by one, do something with the data from each row.

    Will...
    See more | Go to post

    Leave a comment:


  • JamieHowarth0
    replied to webrequest error
    in .NET
    Hi @devquest,

    You've got a space in "name=john doe". You need to urlencode all the values passed in the HTTP header (so a space turns into %20) otherwise the server thinks you've reached the end of the header. Your whole header should look like this:
    Code:
    writer.Append("name=john%20doe&address=222Main St")
    Best,

    codegecko
    See more | Go to post

    Leave a comment:


  • OK, so you need to generate an XML file from database data, which is then accessed via FTP via a third-party.

    You'd generate the XML file as a string in ASP, then save it as an XML file to disk.
    In pseudo-code:
    Code:
    <%
    'Connect to DB
    String myXml = "<price>{0}</price>"
    'dr is your recordset with the data pulled from your DB
    String myXml = Replace(myXml, "{0}", dr("Price"))
    ...
    See more | Go to post

    Leave a comment:


  • Hi there,

    I'm sorry, I misunderstood your question - yes you can install Joomla on a Windows hosting account, although it will not be an optimal configuration because URL rewriting capabilities on Windows (IIS) hosting tend to be less flexible compared to using mod_rewrite rules in .htaccess files on Apache. However, if you have a Windows hosting account and your hosting provides PHP through IIS/Windows hosting then there is no reason...
    See more | Go to post

    Leave a comment:


  • @siddnair54, it depends on how you're deploying the application. If you're using a Windows setup project template in Visual Studio then you can specify in the project to present to the installing user the options for shortcuts on Desktop, Start Menu, & Quick Launch.

    Best,

    codegecko
    See more | Go to post

    Leave a comment:


  • The X in XAMPP means it's cross-platform, so you can install Apache, MySQL, PHP and Perl (AMPP) on Windows with no problems, both Markus & I have experience in managing WAMPP installations.
    You can download WampServer which is an all-in-one Windows equivalent of XAMPP, or download the individual components and self-install. If you're not an experienced sysadmin then I recommend WampServer but if you're looking for a learning curve then...
    See more | Go to post
    Last edited by JamieHowarth0; Apr 27 '10, 01:52 PM. Reason: I was wrong about the XAMPP acronym :-P

    Leave a comment:


  • That's a nasty little snag I wasn't aware of. Thanks for bringing it to my attention, I'll bear it in mind for future upgrades from legacy projects :-)

    codegecko
    See more | Go to post

    Leave a comment:


  • A timer is perfect for this kind of thing, you need to poll the running process list regularly to test if iexplore.exe is present in the list.

    codegecko
    See more | Go to post

    Leave a comment:


  • With regards to getting it downloaded as an attachment, you need to add a Content-Disposition:att achment;filenam e=MyPDF.pdf header to the response - this can be done server-side with PHP or ASP.NET.
    See more | Go to post

    Leave a comment:


  • Hi all,

    IMHO this shouldn't be attempted with client-side code. There are stacks of HTML-to-PDF libraries for .NET and PHP that can do the job of taking a webpage (form data and all) and turning that into a dynamically-generated PDF for a user to download.
    Google is your friend.

    codegecko
    See more | Go to post

    Leave a comment:


  • JamieHowarth0
    replied to IIS page not found
    in IIS
    Hi Dave,

    Can you please clarify for me - do you mean that the <customErrors > section of your web.config is not influencing IIS?

    Best,

    codegecko
    See more | Go to post

    Leave a comment:


  • Hi there,

    Have you disabled all caching in IIS? Caching keeps your pages persistent in IIS' memory so that they are recalled quickly when traffic on your site is detected to be above a certain threshold (which you can alter in the metabase, I believe). However, it consumes memory to do this.
    Disabling caching means you'll use less memory but your site will have to be loaded from disk each and every time which means it'll be slower...
    See more | Go to post

    Leave a comment:


  • JamieHowarth0
    replied to Setting Up File Handler for IIS 7
    in IIS
    Hi mbewers1,

    Are you using custom extensions or extensionless URLs for your ASP.NET site?
    ASP.NET support on IIS7 should be out-of-the-box. You may wish to try and run from a commandline "aspnet-regiis" as this hooks ASP.NET into IIS and adds the necessary handler mappings.

    If this doesn't work first-time then you may need to uninstall ASP.NET from IIS by using the -u switch with aspnet-regiis, reboot, then...
    See more | Go to post

    Leave a comment:


  • Hi markpittsnh,

    Try using this:

    Code:
    using System.Xml;
    
    XmlDocument doc = new XmlDocument();
    doc.Load(string yourDocumentUrl);
    Or you could use the HttpWebRequest and load the XML content into a string, in which case you'd replace doc.Load() with doc.LoadXml(str ing xmlContent).

    Hope this helps,

    codegecko
    See more | Go to post

    Leave a comment:


  • And a hallelujiah and amen to that, dsforeman. :-)

    codegecko
    See more | Go to post

    Leave a comment:


  • JamieHowarth0
    replied to CMS ASP.net recommendations
    in CMS
    I'm an Umbraco core team member so it gets my vote any day, especially cause I switched from DotNetNuke to Umbraco. Open-source (MIT), XHTML 1.1 compliance, infinite extensibility and a sheer joy to use (yes, I'm biased :-D).

    codegecko
    See more | Go to post

    Leave a comment:


  • JamieHowarth0
    replied to Error: DotNetNuke module development
    in CMS
    Hi ssnaik,

    You can, but you must target your version specifically to support previous versions using the module manifest files, along with ensuring that you don't use features from newer versions - DotNetNuke sources are available for older versions so you can use those for developing modules, most modules that I've come across are written to support either 4.5.5 onwards or 4.7.x onwards.

    Hope this helps,

    c...
    See more | Go to post

    Leave a comment:


  • Hi kub,

    For novices I recommend Wordpress. It's primarily a blogging platform but also supports content "pages" too for information.
    I've used Joomla (and I've hired both Yarr and Markus to work on Joomla projects), and I think we're pretty united in the view "never again". Much as it has PHP MVC support, more often than not it's poorly implemented, the API is badly documented (from the research I did) and it's...
    See more | Go to post

    Leave a comment:


  • Hi Clint,

    Did this work for you? If so, if you could mark the individual post with "choose as best answer" (or I can do it for you) that'd be great, it helps other people to find the solution quicker for the given problem. If not, let us know and we'll try and find another solution.

    Thanks,

    codegecko
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...