Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. PLGREEN

    PROPER SYNTAX FOR LOOPING SQL STATEMENT

    i is a variable and needs to be declared with @. I left that out on accident.
  2. PLGREEN

    PROPER SYNTAX FOR LOOPING SQL STATEMENT

    declare i int set i = 1 while i < 1001 Begin INSERT INTO table_job (job_no) VALUES (i) set i = i + 1 end Thanks, Patrick
  3. PLGREEN

    File Upload Error

    I kept on getting that error, path not found until I changed the anonoymous user account in IIS on the webserver to use the administrator account from the file server,...that is the only thing I can think of???
  4. PLGREEN

    File Upload Error

    Wow..thats weird...that for sure should have worked. Here is the code I used...I mapped a drive P: to my file server and used an administrator account from that server and everything worked. <% Set ScriptObject = Server.CreateObject("Scripting.FileSystemObject") Set MyFile =...
  5. PLGREEN

    File Upload Error

    Can you try it using the administrator account for Server B??? There is no need to buy another hard drive,...we'll get this to work...
  6. PLGREEN

    File Upload Error

    ok...well I have been playing around with some code and I have a solution, unfortunately it has loop holes. Open IIS on the web server and right click on the web site and click on properties. Go to the Directory Security Tab and click on the edit button located under "Anonymous access..."...
  7. PLGREEN

    File Upload Error

    No IIS not being installed on the file server should be no problem. The only thing you are doing is coping files over. Ok...well lets try this again, but a little different, map a drive again on server a to server b as letter H or whatever letter is available and then create a dummy text file...
  8. PLGREEN

    File Upload Error

    That might be it,...because if you can't see it, how can the IUSR account?
  9. PLGREEN

    File Upload Error

    Well...I am getting close to running out of ideas...hummmm...when you right click on the shared folder from the webserver, and select "Sharing and Security", next select the security tab and what permissions are set for IUSR_ESP12...and for everyone else, for that matter?
  10. PLGREEN

    File Upload Error

    jennuhw: Have you checked out this knowledge base article: http://support.microsoft.com/default.aspx?scid=kb;en-us;184566 Once you follow the instructions on the above knowledge base article, then do the following: Add the local account to the guest group on the remote server Add the guest...
  11. PLGREEN

    Regular Expression to check the length of a textbox.

    I am not to good at regular expressions either. You might just want to use the maxlength property of the text box. Thanks, Patrick Green
  12. PLGREEN

    File Upload Error

    I would say that the path has got to still be incorrect. That error is basically saying that it is incorrect...try the following: set fle = fso.CreateTextFile("h:/drawingdbfiles/test/test.txt") If you still get the error, then you have to check where the file is trying to be created. I have...
  13. PLGREEN

    Web user control doesn't let me move objects

    The page should look like this then: California Charter Schools a bunch of spaces CACharterSchools.org a bunch of spaces and an image My suggestion to you, would be to use a table to lay things out accordingly: <table> <tr> <td colspan =2>California Charter Schools</td> </tr> <tr> <td...
  14. PLGREEN

    File Upload Error

    If you have a share on Server A to Server B,..why not hardcode the path: set fle = fso.CreateTextFile("h:/drawingdbfiles/test/" & FileName))
  15. PLGREEN

    Web user control doesn't let me move objects

    When you place an object (for example a textbox) onto an asp.net form you typically get the following: <asp:TextBox id="TextBox1" style="Z-INDEX: 101; LEFT: 352px; POSITION: absolute; TOP: 184px" runat="server"></asp:TextBox> This code: LEFT: 352px; POSITION: absolute; TOP: 184px" tells...
  16. PLGREEN

    File Upload Error

    Does that file already exist??? What happens when you try this: set fle = fso.CreateTextFile(server.MapPath("drawingdbfiles/test/" & FileName), true)
  17. PLGREEN

    How do you name your fields?

    When I design new databases, I use common names which allow the database to be more user friendly (e.g. CustomerID, FirstName, LastName). Also, do not use reserved words such as ID. Patrick Green
  18. PLGREEN

    File Upload Error

    If you give everyone write access to the test folder, does it work???
  19. PLGREEN

    Web user control doesn't let me move objects

    You do not necessarily need GridLayout...post your page and maybe we can find the reason (e.g. absolute positioning) Thanks, Patrick Green
  20. PLGREEN

    Include

    Include the following function at the top of your page: <% 'Pass the name of the file to the function. Function getFileContents(strIncludeFile) Dim objFSO Dim objText Dim strPage 'Instantiate the FileSystemObject Object. Set objFSO =...

Part and Inventory Search

Back
Top