Jump to content
Xtreme .Net Talk

PlausiblyDamp

Administrators
  • Posts

    7016
  • Joined

  • Last visited

Everything posted by PlausiblyDamp

  1. How did you create the user? If you are in a networked environment then if the account is a domain account it will be usable on all computers in the domain. You are probably better giving the account you've created just enough permissions to getthe job done rather than too much access, giving accounts administrative access is generally a bad idea as they are then open to abuse (an admin account can do pretty much anything and everything on the network!)
  2. Local System Account has fairly unlimited access to the local machine but no access to network resources. Using a network (Domain) account gives access to whatever that account can do - you may want to create a specific account for the service to run under - at the moment it can do everything you can which may be more than it needs.
  3. The service needs to be configured to run as a user who has permissions to the share - you can do this via Administrative Tools, Services.
  4. You have probably also introduced several incompatabilities on the system, caused major instabilities and done a serious breach of the EULA.
  5. It's treating the 700 / 500 as an integer diviion - you need to force it to treat the numbers as doubles double dPercentage; dPercentage = 700d / 500d; MessageBox.Show(dPercentage.ToString()) ;
  6. The applications aren't exactly failing to work - it just requires a bit of configuration to decide which apps are allowed to access the internet. A big difference IMHO to ".NET Doesn't work with SP2"
  7. Do you have SQL server running on the machine? If so what authentication mode are you using?
  8. What is the name of the server runnning SQL Server? Just enter that - if it is you local computer then either put it's name or just type (local)
  9. Could you post your exact code here - just cut and paste it so there are no typos ;) It's part of mscorlib.dll so you can't be missing a reference.
  10. Behind the scenes they are all the same, use whichever makes for cleaner code.
  11. http://www.pluralsight.com/craig/articleview.aspx/DirectX/Direct3D/05%20Rendering%20VertexBuffer.xml is worth a read, explains culling towards the end.
  12. The whole point of a hash is that it is a one way transform. Rather than use the GetHashCode method (this doesn't return a cryptographically sound hash, it returns a more simple value for use with things like the HashTable class) you would want to consider one of the classes under system.Security.Cryptography (one of the SHA or MD5 might be a good choice - although it's worth reading up on cryptography in general if security is a serious concern in your application)
  13. Do you actually get the blue wavey line and the error message : Type 'System.Collections.SortedList' is not defined? or something different?
  14. The forum's are owned by iNet Interactive and are largely in their control. The Forum's Administrators have some access to the systems but not enough to just go and re-write chunks of the forum code on a whim - such things need approval. Unfortunately as simon mentioned above we are having a hard time getting them to recognise the issues we a re suffering.
  15. http://www.xtremedotnettalk.com/showthread.php?t=87965 was posted less than 2 hours before yours about exactly the same topic, may be worth keeping your eye on that one to see if anything comes up.
  16. You can call unmanaged code from C# via p/invoke and COM interop. C# can also use pointers if needs be - but there is no real way of mixing unmanaged and managed in C#. It may help more if you told us what yu are trying to do though.
  17. Could you post the relevant code? Whre have you created the variable to hold this dataset? Is it declared inslide the form or elsewhere? If elsewhere are yu populating it in the Form_Load? If so you will need to clear the dataset before you reload it.
  18. Something like Dim Counter As Integer Counter = CType(Session("Count"), Integer) Counter = Counter + 1 Label2.Text = Counter.ToString Session("Count") = Counter
  19. You would need to store the counter as either a session variable or an application variable.
  20. If you want this to be usable from any browser then that is your only option
  21. Dim pi As New System.Diagnostics.ProcessStartInfo pi.Verb = "Print" pi.FileName = "c:\autoexec.bat" Dim p As New System.Diagnostics.Process p.StartInfo = pi pi.WindowStyle = ProcessWindowStyle.Hidden p.Start()
  22. If you are using .Net why don't you use the System.Diagnostics.Process class? It will be much easier than calling into ShellExecute.
  23. I wouldn't store passwords as plaintext ever. You are much better storing a hash of the password and when the user enters a password hash it and compare hashes - this way you never store a plaintext password or any form that can be reversed. Rather than sending out their password why not get them to also provide a security question and answer - if they get it right generate a new password and send that to their e-mail and force them to change it on next login.
  24. You will need to install either SQL server or MSDE on the server and use a connection string similar to the one you are currently using. SQL does not have a path to a physical file as such.
  25. Expand the top tree node, then expand the 'SQL Server Group', then expand your server You should see security as a node. Expand security and click on Logins. Do you see a user called IBM\ASPNET?
×
×
  • Create New...