I think it is because I've got a web deployment project as part of my solution (to allow for remote debugging). If I remove the line above from my web.config and rebuild my solution, it is automatically re-added by VS. I've just been removing the line after I deploy the app to the webserver. This is an issue that appears will resolve itself once I finish debugging and remove the web deployment project from my solution.
Monday, February 25, 2008
VS 2005 screwing me with VsWebSite.Interop
I've been having trouble with the following line below in my asp.net application:
I think it is because I've got a web deployment project as part of my solution (to allow for remote debugging). If I remove the line above from my web.config and rebuild my solution, it is automatically re-added by VS. I've just been removing the line after I deploy the app to the webserver. This is an issue that appears will resolve itself once I finish debugging and remove the web deployment project from my solution.
I think it is because I've got a web deployment project as part of my solution (to allow for remote debugging). If I remove the line above from my web.config and rebuild my solution, it is automatically re-added by VS. I've just been removing the line after I deploy the app to the webserver. This is an issue that appears will resolve itself once I finish debugging and remove the web deployment project from my solution.
Friday, January 18, 2008
ClientID value
Asp.Net form items that are run server side get their ids changed when they are rendered in the HTML sent to the client. Not a huge deal, but a bit of a pain to reference in javascript and keep everything in check.
Then I stumbled across the "ClientID" property on server controls, which is a very convenient way to reference their resulting clientID value. For example:
aspnetForm.<%=myTextBox.ClientID %>.value = "the new value";
Then I stumbled across the "ClientID" property on server controls, which is a very convenient way to reference their resulting clientID value. For example:
aspnetForm.<%=myTextBox.ClientID %>.value = "the new value";
Wednesday, December 5, 2007
Symbol Scanner Headache
What a pain! I accidentally kicked out the plug on the symbol scanner cradle and it's battery died, taking my wireless network settings with it. After a couple of hours of frustration with they system telling me that it could not operate within my country, I finally found the following in the scanner documentation:
I unchecked the "enable 802.11d" option for the US, and the scanner connects to the network. The ending part of the last sentence appears to be inaccurate, as I had my profile set to "Allow Any Country", and I still got a region/country error.
Enable 802.11d - With this check box selected, the WLAN adapter attempts to retrieve the country from APs. Profiles which use Infrastructure mode are only able to connect if the country set is the same as the AP country settings or if the profile country setting is set to Allow Any Country.
I unchecked the "enable 802.11d" option for the US, and the scanner connects to the network. The ending part of the last sentence appears to be inaccurate, as I had my profile set to "Allow Any Country", and I still got a region/country error.
Enabling mysql on local php website
I setup a development instance on my PC of our corporate website today. The website was written in php, with a mysql back-end. I ran into a problem with php talking to mysql. Mysql is not enabled by php out of the box, so here are the steps that I had to follow to enable it:
- Verified path to php installation dir ("C:\Program Files\PHP") was in the PATH string
- Verified extension dir was set in the "Paths and Directories" Section of php.ini
- extension_dir = "C:\Program Files\PHP\ext"
- Downloaded supporting mysql dlls
- Put libmySQL.dll in the php installation dir
- put php_mysql.dll in extension_dir
- put php_mysqli.dll in extension_dir
- Enabled extension DLL's in the Dynamic Extensions section of php.ini
- extension=php_mysql.dll
- extension=php_mysqli.dll
Tuesday, October 30, 2007
asp.net menu hiding <h3>
Note to self:
I have a asp.net web app that uses the built-in asp.net menu control. For some reason the page was hiding some of the elements (<h3> to be specific) upon load, and showing them while I hovered over the asp.net menu. I put a <br /> above the <h3> elements and they magically appeared again upon page load.
I have a asp.net web app that uses the built-in asp.net menu control. For some reason the page was hiding some of the elements (<h3> to be specific) upon load, and showing them while I hovered over the asp.net menu. I put a <br /> above the <h3> elements and they magically appeared again upon page load.
Thursday, September 27, 2007
Firefox add-on list
I develop apps almost exclusively for IE, but I prefer Firefox as my own, personal web browser, because of the add-ons:
My Favorite Tools
Who knows what will happen with the upcoming sale of the company, so i'll bookmark my favorite tools (in case I need to download them again):
- AstroGrep - for text searching files
- AutoRuns - for cleaning up the startup (and you've gotta love the name)
- Eclipse - just in case I need to do any Java development again
- Fiddler - a great http debugging aid
- Foxit Reader - a great, incredibly small pdf reader
- LDP - this has helped me immensely with my AD development
- Notepad++ - I've just started using this, but it is my new favorite text editor
- Paint.Net - This is the perfect graphics program for my meager needs
- Process Explorer - another great tool from sysinternals
- PureText - a helpful little app to allow me to easily paste only text
- TCPView - allows me to watch ports
- Window's Powershell - this is a new one for me that I like a lot
- Zoomit - not a lot of practical need for this, but it is a neat toy
- 7Zip - my open-source winzip replacement
- Subversion - what a great source code repository!
- TortoiseSVN - one of the main reasons why I love Subversion so much
- Display Fusion - For greater desktop control of multiple monitor setups
- Vs 2005 Cmd Prompt Here - Right click a folder in window's explorer, and you can open a vs 2005 cmd prompt at that folder.
- Clipx - A nice clipboard extender
Subscribe to:
Posts (Atom)