Search

You searched for the word(s): userid:878130

Matching Posts

  • Re: Random ASP.NET 2.0 crashes under load (A field or property with the name X was not found on the selected data source)

    For the memory footprint, I do mean the memory consumption in Task Manager. If the memory consumption of w3wp.exe is less than 1GB or so, then I doubt that you're running out of memory for the operation. For the load-test tool, there are some popular products with many features, but they might be overkill for what you're trying to do. You could really just write your own in a couple of hours in .NET. You would probably use the System.Net.HttpWebRequest namespace to make the request, and then
  • Re: asp to word

    You can use Word Automation, but you have to be careful about concurrency. You could always deposit the data somewhere (database, etc.), and then have a single-threaded process build Word documents off-line. Here's a sample of building a Word document from form inputs and returning it to the user from a Servlet: http://www.cognitier.com/downloads/ServletWordDocSample.pdf . It would be just as simple from an asp page. The sample code doesn't show all of the Word Automation APIs available,
    Posted to Enterprise Services Integration (Forum) by mike426 on 11/25/2009
  • Re: Random ASP.NET 2.0 crashes under load (A field or property with the name X was not found on the selected data source)

    Do you have a load test tool that will let you put the 100 user load on the application in a test environment? The first step would be reproducing the error in a controlled environment. If you aren't able to reproduce it, then add more logging to the application in production. For example, log the string value of the "inMsg" variable, then log the value of "doc.InnerXml", then log the values of all the fields in the "doc" object. Basically, add logging to help you
  • Re: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

    It probably has to do with references, like you're describing. You can sometimes get this error when you're working with COM objects and you're either using an MTA thread instead of STA, or you're making requests on a thread other than the one that instantiated the object. I don't think either of these situations is the case here. As a first troubleshooting step, can you write a script in VBScript using the CreateObject() syntax that does something simple with Excel and run that
  • Re: Protect cells range in an Excel file from a web application

    I haven't tried this with the Primary Interop Assemblies, but with the COM API I've used: Workbook = GetObject([your excel file name]) Try it from a regular Windows form before doing it from a web page. If it works from a Windows form and then it doesn't work from a web page then it probably comes down to either permissions or concurrency (or both). When it's time to return the file to the user, set the attributes in the response header. For returning an MS Word document to the user
    Posted to Enterprise Services Integration (Forum) by mike426 on 9/14/2009
  • Re: Process.Start question/problem on 64 bit but not on 32 bit

    It could be a user profile issue. You mentioned that the anonymous IIS user had admin rights. Does the "Network Service" account also have admin rights. Try configuring the IIS application pool to run under your own user account temporarily. Also, can you put this same code in a regular Windows Form and run it on your 64-bit machine and make sure it works. Off the topic - have you done some testing to make sure it's all right if a lot of users use the web app at once and start these
    Posted to Web Forms (Forum) by mike426 on 9/10/2009
  • Re: Accessing COM in IIS hosted application

    Try configuring the IIS application pool to run under your Windows login account (temporarily). Also, double-check that you're accommodating the situation where multiple users access the same page at the same time - every operation has to be able to handle concurrent access, or you need a mutex on certain operations so only one client request is handled at a time.
    Posted to Free For All (Forum) by mike426 on 9/8/2009
  • Re: Trouble with multi-threading in ASP.Net Web Application

    Could you post some code? Also, have you tried your web app on a local machine that you control? If it's on a hosted server, then you won't be able to look at the NT Event log, etc. It would be more expedient to troubleshoot it locally before uploading your code to the hosting provider. If the issue does come down to web server settings, it's unlikely that the hosting provider will be able to make configuration changes on a shared server.
    Posted to Architecture (Forum) by mike426 on 8/7/2009
  • Re: Trouble with multi-threading in ASP.Net Web Application

    Does the code in the postabck of your web page just call GetPrices.GetPrices()? If so, do you get a return value that's a valid object (although not populated correctly)?
    Posted to Architecture (Forum) by mike426 on 8/7/2009
  • Re: Trouble with multi-threading in ASP.Net Web Application

    I tried similar code to yours in my dev environment just now and it worked as expected. Maybe your argument to Thread.Join() just needs to be a bigger number? Edit: Disregard - I started writing this before I saw your latest post. Glad it's working.
    Posted to Architecture (Forum) by mike426 on 8/7/2009
Page 1 of 4 (32 items) 1 2 3 4 Next >