Search

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

Matching Posts

  • Re: Unable to save config to file ? This is a possible answer !

    Hi ! First off, you will NOT be able to encrypt your web.config from WITHIN your application, because the ASP.NET account on the server will not have the rights to modify the file, so there. However, it IS possible to encrypt the web.config (using RSA encryption) outside of your application, and upload it to the server. In order to do that, the encryption MUST TAKE place on the server, using its RSA machine encryption key (which is the default) Let me state here that this only works for applications
  • Re: Unable to save config to file ? This is a possible answer !

    I recognize there are no many uses to save a config file, and indeed, I found another solution in stead of changing a web.config value But still, you never know if someone out there needs to perform this action and encounters this problem. Cheers ! Erwin
    Posted to Configuration and Deployment (Forum) by Erwin@ODS on 12/21/2007
  • Unable to save config to file ? This is a possible answer !

    Hi, did you also try to save the web.config file from within your code, and failed to do so ? (Perhaps it was even stranger when it worked on your local machine, but it didn't work on the production web server !) Here's the answer why, and how you can solve this. When you're working on your local machine, the asp.net process works under your account (when you're using VS 2005 that is). Since you have rights to write and all, there is no problem. Once you upload your app to the server
    Posted to Configuration and Deployment (Forum) by Erwin@ODS on 12/20/2007
  • convert sessionid to guid

    Hi, perhaps this question has been asked and answered many times, but i didn't find it on the internet. Is it possible to convert a Session.SessionID to a full-blown guid ? Erwin
    Posted to State Management (Forum) by Erwin@ODS on 7/8/2007
  • Re: Link datagrid to dropdownlist

    Hoo boy, There are several BIG issues here. First off, never never never NEVER give passwords on the Internet.... EVER !!!!! The whole world is now to know that your account on the SQL Server is '' and your password = ''. Your colleagues will be grateful knowing this ! Second, as far as I'm able to tell, the problem is in the misconstruction of the SQL statement. Notably, the WHERE clause is incorrect : you didn't construct a proper condition. It should be something like this : Dim strSQL As String
    Posted to Data Presentation Controls (Forum) by Erwin@ODS on 3/4/2007
  • Paging recordsets from various databases

    I said in the article I would post another article that points to some great stuff about paging records from various databases. You'll find my new article here : http://forums.asp.net/thread/1603489.aspx Have fun ! Erwin
    Posted to Tips & Tricks (Forum) by Erwin@ODS on 3/3/2007
  • Re: Paging records in SQL Server 2005, SQL Server 2000, MS Access and MySQL

    Ooops... made a little mistake in the legend. Talking about 'y' it should read : y = the maximum number of records required. This requires a little calculation : y = pagenumber * records_per_page. So if you want to display the 3rd page, and there are 10 records per page, then y = 3 x 10 = 30. (However, the SQL statement will only return 10 records, but y has to be the maximum number of records required). (in the original post, there was an 'x' in stead of 'y')
    Posted to Tips & Tricks (Forum) by Erwin@ODS on 3/3/2007
  • Paging records in SQL Server 2005, SQL Server 2000, MS Access and MySQL

    As a Web developer, you should know by now that using the default paging capabilities of ASP.NET Webcontrols like DataGrid and GridView is NOT recommended, simply because with every roundtrip to the data-server, you get ALL the records ALL of the time. This is fine perhaps for very small databases (the kind, say, a Microsoft programmer would use to develop a new feature), but in the real, ugly world outside, databases tend to have tables with several tenthousands of records. Hence the need for custom
    Posted to Tips & Tricks (Forum) by Erwin@ODS on 3/3/2007
  • Re: HOW TO: Using sorting / paging on GridView w/o a DataSourceControl DataSource

    Can I also put my 2 cents here ? I posted an article on how to get a GridView do automatic paging programmatically (i.e. at run time) au lieu of declaratively (at design time). However this method uses a ObjectDataSource (but NOT in design time). You'll find the article here : http://forums.asp.net/thread/1554769.aspx . Please feel free to comment ! Erwin
  • Re: data input - web pages keep getting slower

    I'm not sure, but I think it has to do with your database. Are some columns in the table indexed ? You know, if you update (delete - insert) indexed columns, the database engine has to take some time to rebuild the indexes, and this can get quite time- and resource consuming. Like I said, just an idea... Erwin
    Posted to Web Forms (Forum) by Erwin@ODS on 1/31/2007
Page 1 of 2 (14 items) 1 2 Next >