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 Mike Lewis 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: *

  • Users: Snappy2873
  • Order by date
  1. Snappy2873

    Error Message: You are not authorized to view this page

    Go to your web content directory (C:\Inetpub\wwwroot) and make sure either your group or user has access. I believe permission you'll only need "read" but if it doesnt work give yourself "full control". If your not an admin on the computer that houses your web content than you cant change...
  2. Snappy2873

    Is this an IIS permissions problem?

    Update: After many hours of troubleshooting the solution was right in front of my eyes. In my case, my application was validating users by group membership from the domain level. For example, my group names are a, b, and c. For a, b, and c to work they must be added and have permissions at the...
  3. Snappy2873

    Is this an IIS permissions problem?

    I have an ASP application with the following security setup: 1. (3) global groups created at the domain level that are given full rights to all the web folders on my application server. 2. For the ASP application to work and groups to be validated, the individual logging in must be in the...
  4. Snappy2873

    How to filter a tic (" ' ") or any other character before posting

    Hey Sheco, It works like a charm now, thanks for your help. Snappy
  5. Snappy2873

    How to filter a tic (" ' ") or any other character before posting

    Here's the error: Debug SQL Begin: qparmInsertDocument 'TX213.060124.18','','',''','','','','1/24/2006','','1/24/2006','','','','test','','21311','',-1 Microsoft OLE DB Provider for SQL Server error '80040e14' Line 1: Incorrect syntax near '.060124'. /techlibrary/docconfirm.asp, line 70
  6. Snappy2873

    How to filter a tic (" ' ") or any other character before posting

    Hey Sheco, here's my setup: 1. I define what strSQL does strSQL = "qparmInsertDocument '" & _ intNextID & _ "','" & CStr(Request.Form("txtvolnumber")) & _ "','" & CStr(Request.Form("txtdoctype")) & _ "','" & CStr(Request.Form("txtdoctitle")) & _ "','" &...
  7. Snappy2873

    How to filter a tic (" ' ") or any other character before posting

    I have the function in a global include file that affects all pages. I called my string in (strSQL) to debug and it just doesnt do anything. Do I need to specifically call the function( "call filterqoutes(strSQL)") in my process page even though it's in an include file? The idea is to replace...
  8. Snappy2873

    How to filter a tic (" ' ") or any other character before posting

    Good morning, I currently have a form with fields that posts data to a SQL DB. It works great but bombs on a tic mark (" ' "). I created the following function(in asp include file..) to filter the fields but I cant seem to get it to work: function FilterQuotes(strSQL) if not isnull(strSQL)...
  9. Snappy2873

    ASP: Global Domain Group Verification

    About the SQL Connection: I start by saving a notepad doc to the desktop as "test.udl". I then open up the data link file and configure it to my ODBC connection, test it and close the doc. I then open the "test.udl" file in notepad and copy/paste the connect string into my code. For instance, I...
  10. Snappy2873

    ASP: Global Domain Group Verification

    Hey Guys, Well everything was working properly until I moved everything to production. Here's the problem. My DEV environ: 1. All ASP files and folders are managed by IIS on my local machine. 2. The SQL database is located on our DFWLibrary server. The following is the security script I use...
  11. Snappy2873

    ASP: Global Domain Group Verification

    Hey Mark, It's Works like a charm: For Each GroupObj In UserObj.Groups RW GroupObj.Name & "<br>" Next I've got one more question for you: I've been told by my network people it's not good network management to only have global groups created on the domain managing my web apps...
  12. Snappy2873

    ASP: Global Domain Group Verification

    Hey Mark, me again, so far your script works like a charm but i'd like to display available groups from the domain in question. I use a simple function to write out my response.writes. For instance, I'll do an RW(DomainString & UserString) which obviously results in the Domain Controller and...
  13. Snappy2873

    ASP: Global Domain Group Verification

    Hey Mark, In your code are you recommending that it's more appropriate to use a COM component instead vbscript hard-coded into an ASP page? The reason I ask is because of the .vbs ext. Thanks, Snappy
  14. Snappy2873

    ASP: Global Domain Group Verification

    Good afternoon everyone, I’ve got a security issue that needs some recommendations. Here’s the scenario: All my users login to access the company domain which is managed by active directory. I’ve written ASP applications that allow access to the user only if the domain\username...
  15. Snappy2873

    ASP: Global Domain Group verification

    Good afternoon everyone, I’ve got a security issue that needs some recommendations. Here’s the scenario: All my users login to access the company domain which is managed by active directory. I’ve written ASP applications that allow access to the user only if the domain\username...
  16. Snappy2873

    Error &quot;Expected end of statement&quot;

    Hey guys, my session variables r outta whack, i'm gonna check my code, i'll get back to ya'll. Thanks for your help snappy
  17. Snappy2873

    Error &quot;Expected end of statement&quot;

    Well it's not liking my parenthesis in this situation. Microsoft VBScript compilation error '800a0414' Cannot use parentheses when calling a Sub /techlibrary/docentryconfirm.asp, line 109 GetDetails("empNameFirst","tblUser",Session("USER"))...
  18. Snappy2873

    Error &quot;Expected end of statement&quot;

    Microsoft VBScript compilation error '800a03ea' Syntax error /techlibrary/docentryconfirm.asp, line 109 RW "Entry successful" & GetDetails("empNameFirst","tblUser",Session("USER")) & ------------------------------------------------------------------------------^ the one on the far end
  19. Snappy2873

    Error &quot;Expected end of statement&quot;

    Yes RW is my Response.write. I took the RW off the getdetails function and it now bombs at the end of the ampersand. Microsoft VBScript compilation error '800a03ea' Syntax error /techlibrary/docentryconfirm.asp, line 109 RW "Entry successful" &...
  20. Snappy2873

    Error &quot;Expected end of statement&quot;

    Good afternoon, I'm getting the dreaded "expected end of statement" error on the GetDetails function. Can anyone see where the syntax needs to be fixed? if Request.QueryString("CRUD") = "C" then RW "Entry successful" & RW GetDetails("empNameFirst","tblUser",Session("USER")) & RW "your Document...

Part and Inventory Search

Back
Top