Jump to content
Xtreme .Net Talk

sdlangers

Avatar/Signature
  • Posts

    118
  • Joined

  • Last visited

Everything posted by sdlangers

  1. does anyone know where to get a good, secure .NET forum component/application.. to add to a website - platform is windows server 2003 with sql server its impossible to search for because i keep getting actual forumns in the results :) any recommendations are appreciated thanks
  2. yes - that should work - check out this link http://msdn.microsoft.com/library/default.asp?url=/library/en-us/architec/8_ar_da_0777.asp also you can simply check these things with trial and error - run the code and then try to insert 2 identical records - or check the table in enterprise manager
  3. if this is sql server, then you can use this syntax: CREATE TABLE employee ( emp_id empid ... other columns... CONSTRAINT PK_emp_id PRIMARY KEY NONCLUSTERED ) that will create the employee table, with a primary key called 'PK_emp_id'
  4. hi, i have an image in a report that displays correctly in the report designer, however when i view the report in the web browser, the image wont display - it just shows the 'red-x' image (the same one browsers use for a bad image link) any ideas? thanks!
  5. i have a site that displays dynamic images whose src is taken from a database. however, some of the image links are broken. is there a way to specify an 'alternate image' if the link is broken.. e.g. if an image called 'someImage.jpg' is missing or renamed, then i need a way to display a default image 'default.jpg' instead of displaying the standard red x that indicates a broken link <img src="/path/someImage.jpg"> i also cannot check on the server side if the file exists or not, because sometimes it exists but its not a valid image - and its a large database, so i dont want to have to manually review them all. thanks!
  6. nevermind- i found it looks like the crystal report designer has some type of caching with the xsd 'connection' - so whenever i clicked verify database, it said it was up to date. so i deleted the xsd, rebuilt, then closed down visual studio (which i think must have cleared the designer cache) and reopened it and then recreated the xsd, and clicked verify database in the report designer and it recognized the new field
  7. hi, i created a report in crystal reports using a dataset and populating it through xml (instead of connecting directly to the database) it works correctly, but i then wanted to add another field to the dataset. i added it to the xsd file, but when i go to the crystal report and refresh the 'database fields' list it still does not show up i tried re-running the custom tool on the xsd but that doesnt work surely there is a way of getting it to recognize the new field without having to remove and re-add the 'database' - if i do this, i lose all the fields that i have already laid out, formatted etc. thanks for your help!
  8. hi, im trying to create a type of landing page where i can set a cookie and redirect to another page.. here is the code for the page load: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' set cookie Response.Cookies("salesid").Value = Request("salesid") ' redirect Response.Redirect(Request("redirect")) End Sub looks simple enough, but it doesnt work - the redirect seems to cause problems with writing the cookie. is this some sort of security restriction? if so, any ideas for a workaround? thanks for the help
  9. Can anyone recommend some free blogging software that is fast, secure, reliable etc and that runs on the .net 2.0 framework i tried installing DasBlog - and it seemed like it had good reviews and all, but when i installed it, any changes to the configuration took about 5 mins to take affect and completely brought the web server to a crawl while doing so. any recommendations? or even any recommendations for some relatively cheap commercial versions?
  10. perfect - thanks.
  11. hi, i have a 10 digit random number generated i want to check that there are the same digit is not in the number 3 times in a row e.g. 1224526890 is ok, but 1222426890 is not ok because 2 is there 3 times in a row i guess some type of regular expression can do this, but i dont know how to use these or which one to use thanks for your help
  12. to see the sample code itself look at: http://sourceforge.net/docman/display_doc.php?docid=22902&group_id=92889
  13. oh.. nevermind - i got that FTPClient C# dll working i just needed to use the IP address instead of the http://FTP://username@server.com syntax so i did a ping to the server, from my dedicated server to get the ip, then switched the code to use that and it worked thanks for the help ps - if anyone else is looking for something similar - i definitely recommend the FTPClient DLL - great program: http://sourceforge.net/projects/dotnetftpclient/
  14. Hi, thanks for the reply.. i wish it was that simple :) the ftp drive cannot be mapped as a network drive, so i cant just use a drive letter. i also tried that link you sent - the FTPClient in C# is a great program, but i cant get it to work for me.. problem is they use this line of code to connect: aCN.Open("192.168.4.67", "anonymous", "", FTPMode.Active); but i have to use the following syntax via a web-browser to connect: "ftp://username@backupserver.com" then it prompts me for the password, which i type in, and then i can connect this is the ONLY way i can connect - i cannot even connect from regular FTP software. it HAS to be from within the browser on my dedicated server.. i cant even connect this way from any other computer. anybody got any ideas on how to code this?
  15. hi, my dedicated server has a backup server which i can copy files to using these steps: i have to open up IE and type in this url: ftp://myuser@mybackupserver.com/ it then prompts me for the password which i enter, then i can simply drag the files into that window and it copies them over however, i would like to write a .net program to copy some files over automatically and then schedule it to run nightly can someone point me in the right direction for trying to code the above procedure. how do you specify the ftp site as the destination, how do you specify the user/pass etc. thanks!
  16. thats what i needed - perfect.. thanks
  17. yes - it definitely exists - it just needs the username/password - thats what i need to know - how can you code it to specify the username/password?
  18. I have a program that basically copies files from a unc path (//myotherserver/path/file.txt) to the local machine (d:\destpath\file.txt) it uses system.io.file.copy however, it says the remote path does not exist - this is because you need a username and password to connect to it is there any way i can specify this username/password within my program code? thanks
  19. thanks - i think this one is trustworthy - its not a counter i need, i need the full web stats - http://www.statcounter.com so i was wondering how they gather stats using clientside javascript or a frame or how are they doing it?
  20. when you see those free counters that tell you to put in some javascript into your website and then that tracks the number of hits etc... what is that javascript doing? its normally an include file on their server, so i cant see it is it posting the data somewhere? or is it just putting in a small gif or something that is on their server, so they can process the info then from their logs of that file?
  21. yeah - but i dont want to install apache on win2k3 - while it may be secure on other servers, i heard there are holes with it when you install it parallel with IIS on windows anyway - im not a LAMP developer - i use .NET and a fully MS platform - and this is a .NET forum - so i'm looking for some advice in these areas also - i dont want to have to write an analyser myself - thats my original question - i just want to know if anyone knows of a cheap or free one that works on IIS
  22. mskeel, thanks for the reply - but this is a .NET forum, so i dont think you'll find many apache users here!! i know it is possible to get the path a user takes - the larger commercial web stats programs do it, but i dont have $1k to spend on this any other (IIS) ideas anyone?
  23. we recently moved form win2k to win2003 server and the following asp.net code wont work on the new server : myObj = CreateObject("wwque.custobject") it used to work wiht no problems on the old server. i guess its permissions related, i read that IIS6 uses network service user instead of IUSR or IWAM, but even when i give full permission to the everyone user on the wwque.exe file, it still doesnt work any ideas?
  24. hi, i was wondering if anyone could recommend a good web stats program that gives all the usual information about your site but also can show for each user that visited the site which pages they clicked on and in which order any ideas would be appreciated thanks
  25. perfect - that works thanks for your help
×
×
  • Create New...