Jump to content

Tripredacus

Supervisor
  • Posts

    13,343
  • Joined

  • Last visited

  • Days Won

    26
  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by Tripredacus

  1. Well in addition to my WMI project, I've got another one, which is to create an intranet knowledgebase in C# .NET. Its been 5 years since I've worked with C# or Visual Studio, and my first time with VS 2008. I've already figured out a bunch of stuff and of course run into a bunch of headaches. My first problem just might be that I am starting out by re-learning C# again, so I am going through my books. I figure this will be a good place to start before attempting to tackle a full-on project right from the start. Honestly, I wish we could just run Apache on the server instead of IIS, and I could throw PHP and MySQL up there, this would be so much easier. On the other hand, it never hurts to learn something new. So to start, I'm on a notebook running Windows 7 Pro x86 with Visual Studio 2008 Team Edition installed. I have created a new ASP.NET Web Application project called "gettingStarted" and currently consists of a textbox and a button. You click the button and words show up in the field. Pretty simple. If I choose to Debug -> Start without Debugging, the app runs off the IIS that was installed by VS but REALLY slow. So I changed it so I can publish to our dev webserver (see Hurtlocker in my servers) which works just fine. 1. When I go to publish the site, I choose to publish to FTP. I have to type in my credentials every time. VS remembers my login name but not the password, and there is no checkbox to remember the password. How can I set VS to not ask me for the password anymore? I chose the option to publish the website using only the files required to run the application. At first it did not work. I had to change the web.config to allow errors to appear, and then I got to see my error. It had to do with the fact that the web.config file was sitting in the folder of the app, instead of the root of the virtual directory. The Website is like so: C:\sites\LocalUser\skylynx\cSharp\gettingStarted The 'skylynx' folder is the main VD, so I made the cSharp folder a subVD. I then had to move the web.config file from the 'gettingStarted' folder to the "root" which is the cSharp folder. YES I also have access to the web server itself! I can RDP in as the Administrator, so no flying blind or waiting for moronic server admins to return emails! I am the moronic server admin! 2. Any time I publish with Visual Studio, it puts the web.config file in the 'gettingStarted' folder each time. I have it set to only publish new files, but since I moved the web.config before (yet make no changes) it copies it back. I tried setting the Output property to 'Do Not Copy' but this has made no difference. How can I either change where VS keeps this file or tell it not to publish it? Annoying as that goes, I have a real error that doesn't seem to make sense. It is entirely possible I need to make an update on the server to handle VS 2008. When I made the application in VS, I did not do any manual coding except change the Button1_Click action. But remember this works on the notebook, just not on the server. And here is the error code: And full on code: Default.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="gettingStarted._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Say Hello" /> </div> </form> </body> </html> And the codebehind: Default.aspx.cs using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; namespace gettingStarted { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { TextBox1.Text = "Hello there!"; } } } So you can see that there is not much here, and VS put in the code portions that IIS is choking on. Let me know what your ideas are! I will take a break for now, until our Enterprise Admin comes in, so I can tell him to unblock MSDN from the firewall.
  2. Windows XP and Windows Server 2003 users can also use Internet Explorer 6 (different Service Pack levels). The newer browsers (Windows Internet Explorer 7 and Windows Internet Explorer 8) do not run very well with older computers that have 512 MB of RAM, so for those using a newer browser may be at too great a performance cost. The old forum functioned decently. This new forum does not work well.Reverting back to the old forum is preferred. Note: I use Internet Explorer 6 with SP1 on Windows 2000 Professional with Service Pack 4. IPB 3 does have a lofi option still. The /lofiversion/ path was removed but there is a special skin that can be used instead. It does not appear that this feature is enabled here yet.
  3. Your first question should be, how will Quickbooks data be accessible on the internet? There are 2 options I can think of: 1. VPN 2. Web Server VPN setup is something I know nothing about. But each client could tunnel into the server and have access to the Quickbooks database. Second option, it appears Quickbooks supports setting up a web site to connect to the database. There is a bunch of infos here: http://www.qodbc.com/QODBCweb.htm The only concern with using the web server option is you need to check your ISP's Terms of Service (TOS). All residential service ISP in the United States strictly forbid you to run a web server. You need either a business account or well you could just break the rules and hope you don't get caught. Most important you have no right to complain if they shut off your service in violation of TOS. There may be other ways, maybe FTP? I'm not really sure what options are out there for Quickbooks.
  4. The registry does record information about every device connected, usually in the form of a GUID or a Hardware ID. The only problem is that it does not show times or dates in there, only that the devices were connected in the past or are connected now. Unfortunately, you can't really tell what is connected now unless you compare the master list with other parts of the registry or WMI.
  5. 0x78 isn't caused by having the incorrect Mass Storage Controller driver. That would give you a 0x7b. I noticed that google lists 0x7b when you search for 0x78... Possible causes I can find: 1. A driver on the installer is corrupted, or becomes corrupted when copied over, or is indexed but not copied over during setup. Also driver may be for the incorrect OS or support files are missing. 2. NonPagedPoolSize is greater than 7/8 of your physical memory. See this link, but is more aimed at existing installs: http://support.microsoft.com/kb/184758 To see if it is a problem with the system, try using a normal XP install CD and F6 your driver and see if it works.
  6. The buttons on this version are a little different than what we are all used to. I have noticed that some users are replying to topics using the incorrect button. See this picture for the difference: So make sure you use the Add Reply button with the green arrow below the post, and not the Reply button with the bubble.
  7. A bunch of people here have... I can confirm this. Every time I visit MSFN I have to login again, even if I have checked the "Remember Me" box. Even if I logged in 5 minutes ago, if I close my browser and return, I have to login again. (Win98SE, FF 2.0.0.20) Yes this is not just with this upgrade. I've had to log in every time I visit the site since about 2-3 weeks now. Makes it easy to remember the password! So I made no changes but if I close the browser and open it again, I am not logged in. Although the upgrade seems to have fixed the Authorization Mismatch errors from just before the upgrade. Don't forget this version might use different cookies. I will clear mine and test tomorrow. Lastly, I use Firefox 3.5.5 on Win7 and NoScript. NoScript shows a blocked domain intellitxt.com... I think this is what you guys are saying is making the keyword pop-ups appear. Since NoScript blocks everything by default, I do not see this at all and have had no problems with the board either.
  8. The fact that it worked the first time is surprising. Either that or both computers have the same Mass Storage Controller. Boot up the XP Pro drive using F8 and select the Disable Automatic Restart on System Failure. Then you should be able to see your STOP error. If its an 0x7b a repair install may be the only option.
  9. Welcome to the MSFN!
  10. You can use Powershell for both environments. Here is an example I think that might be just what you are looking for: http://www.informit.com/guides/content.aspx?g=windowsserver&seqNum=235
  11. You'd have to try it to find out. Best case scenario is that your motherboard will run it at 667MHz. Worst case, your computer won't post.
  12. You are going to need a name change.
  13. Make sure you have set both NTFS and AD permissions on the share.
  14. Need info on the OSes on each machine also model number of the router.
  15. We have a thread for this already: http://www.msfn.org/board/index.php?showtopic=88661
  16. The switch won't hide the MAC Addresses on the clients. It will pass that information through to the router.
  17. I see you are a new poster, so you will get a public warning. Please read the forum rules, including this: As far as your request, it can be done by editing files but I have a question. Is this to just change what it says for looks or are you trying to get an incompatible program to run on the machine?
  18. The method you are describing is the only one I have ever known to exist. Perhaps they recently updated the WGAplugin and the old one won't work?
  19. Oh no, I just misread that twice as "Old People OS"
  20. I don't think they'll take that back on warranty!
  21. Also, if you decide to go this route, remember that nLite is not for commercial use. In addition, we have a forum just for nLite (and vLite for Vista and 7) here: http://www.msfn.org/board/index.php?showforum=89
  22. The Windows Unattended Setup reference says: You can find this CHM in your AIK folder under Documentation. Else you can see it here also: http://technet.microsoft.com/en-us/library...28WS.10%29.aspx
  23. I am working on a project that I want to be able to read and use info from the WMI. I have gotten some info from TechNet and MSDN but it seems to make my head spin. I am also not sure what interface I will use to write the code. It will either be VBScript (with an HTA) or AutoIT or Flash Projector. So can anyone post me some good WMI guides and tutorials and code examples and such?
  24. Soul Calibur IV
  25. I think eventually I want to get it for the PC. I pass it up on PS3 because I can't play FPS with a controller. Does it work with a mouse and keyboard like on a PC? I was always wondering but afraid of buying all the stuff and finding out it doesn't work quite the same.
×
×
  • Create New...