<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : Trouble setting user permissi&#111;ns in 7.9</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : Trouble setting user permissi&#111;ns in 7.9]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 16:37:47 +0000</pubDate>
  <lastBuildDate>Thu, 02 Dec 2004 10:30:32 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=11681</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[Trouble setting user permissi&#111;ns in 7.9 : it&amp;#039;s ok I just recoded every...]]></title>
   <link>https://forums.webwiz.net/trouble-setting-user-permissions-in-7-9_topic11681_post70792.html#70792</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=18510">wasay</a><br /><strong>Subject:</strong> 11681<br /><strong>Posted:</strong> 02&nbsp;December&nbsp;2004 at 10:30am<br /><br />it's ok I just recoded every thing for this strSQL string<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>' Executes SQL string<BR>Function Executex(ByVal sql)<BR>&nbsp;Response.Write("sql: " &amp; sql &amp; "&lt;BR&gt;")<BR>&nbsp;Dim cnn<BR>&nbsp;Set cnn = Server.CreateObject("ADODB.Connection")<BR>&nbsp;cnn.Open GetConnectionString <BR>&nbsp;Set Executex = cnn.Execute(sql)<BR>&nbsp;Set cnn = nothing<BR>End Function </DIV><DIV>&nbsp;</DIV><DIV>'change the CBool value to bit value of 0 or 1<BR>Function ConvertToBitValue(ByVal strValue)<BR>&nbsp;Dim returnString<BR>&nbsp;If (Trim(strValue) = "True") Then<BR>&nbsp;&nbsp;returnString = 1<BR>&nbsp;Else<BR>&nbsp;&nbsp;returnString = 0<BR>&nbsp;End If<BR>&nbsp;ConvertToBitValue = returnString<BR>End Function</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;If rsCommon.EOF Then<BR>&nbsp;&nbsp;&nbsp;strSQL = " INSERT INTO&nbsp; " &amp; strDbTable &amp; "Permissions" _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; " ( " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"Group_ID, " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"Forum_ID, " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"&#091;Read&#093;, " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"Post, " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"Reply_posts, " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"Edit_posts, " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"Delete_posts , " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"Priority_pos ts, " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"Poll_create, " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"Vote, " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"Attachments, " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"Image_upload , " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;"Moderate " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; " ) " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; " Values " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; " ( " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;intUserGroupI D &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;iaryForumID &amp; ", " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;ConvertToBitV alue(CBool(Request.Form("read")))  &amp; ", " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;ConvertToBitV alue(CBool(Request.Form("post")))  &amp; ", " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;ConvertToBitV alue(CBool(Request.Form("reply")))  &amp; ", " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;ConvertToBitV alue(CBool(Request.Form("edit")))  &amp; ", " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;ConvertToBitV alue(CBool(Request.Form("delete")))  &amp; ", " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;ConvertToBitV alue(CBool(Request.Form("priority")))  &amp; ", " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;ConvertToBitV alue(CBool(Request.Form("poll")))  &amp; ", " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;ConvertToBitV alue(CBool(Request.Form("vote")))  &amp; ", " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;ConvertToBitV alue(CBool(Request.Form("files")))  &amp; ", " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;ConvertToBitV alue(CBool(Request.Form("images")))  &amp; ", " _<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&nbsp;&nbsp;ConvertToBitV alue(CBool(Request.Form("moderate")))  &amp; " " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; " ) " </DIV><DIV>&nbsp;&nbsp;Else&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;strSQL = " Update&nbsp; " &amp; strDbTable &amp; "Permissions" _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; " SET " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "Group_ID = "&nbsp;&amp; intUserGroupID &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "Forum_ID = "&nbsp;&nbsp;&amp; iaryForumID &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "&#091;Read&#093; = "&nbsp;&nbsp;&amp; ConvertToBitValue(CBool(Request.Form("read"))) &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "Post = "&nbsp;&nbsp;&nbsp;&amp; ConvertToBitValue(CBool(Request.Form("post"))) &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "Reply_posts = "&nbsp;&amp; ConvertToBitValue(CBool(Request.Form("reply"))) &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "Edit_posts = "&nbsp;&amp; ConvertToBitValue(CBool(Request.Form("edit"))) &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "Delete_posts = "&nbsp;&amp; ConvertToBitValue(CBool(Request.Form("delete"))) &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "Priority_posts = "&nbsp;&amp; ConvertToBitValue(CBool(Request.Form("priority"))) &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "Poll_create = "&nbsp;&amp; ConvertToBitValue(CBool(Request.Form("poll"))) &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "Vote = "&nbsp;&nbsp;&nbsp;&amp; ConvertToBitValue(CBool(Request.Form("vote"))) &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "Attachments = "&nbsp;&amp; ConvertToBitValue(CBool(Request.Form("files"))) &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "Image_upload = "&nbsp;&amp; ConvertToBitValue(CBool(Request.Form("images"))) &amp; ", " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; "Moderate = "&nbsp;&nbsp;&amp; ConvertToBitValue(CBool(Request.Form("moderate"))) &amp; " " _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp; " WHERE " &amp; strDbTable &amp; "Permissions.Group_ID = " &amp; intUserGroupID &amp; " AND " &amp; strDbTable &amp; "Permissions.Forum_ID = " &amp; iaryForumID<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;Executex(strSQL)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>worked for me :)</DIV>]]>
   </description>
   <pubDate>Thu, 02 Dec 2004 10:30:32 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/trouble-setting-user-permissions-in-7-9_topic11681_post70792.html#70792</guid>
  </item> 
  <item>
   <title><![CDATA[Trouble setting user permissi&#111;ns in 7.9 : Can some one post a example or...]]></title>
   <link>https://forums.webwiz.net/trouble-setting-user-permissions-in-7-9_topic11681_post70783.html#70783</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=18510">wasay</a><br /><strong>Subject:</strong> 11681<br /><strong>Posted:</strong> 02&nbsp;December&nbsp;2004 at 8:58am<br /><br /><P>Can some one post a example or help me out here? I am running into the same problem... </P><DIV>We have MS SQL 2000 but the .Fields("Read") is causing the problem... I tried putting .Fields(&#091;"Read"&#093;) and .Fields("&#091;Read&#093;") but both doesn't seem to work...</DIV><DIV>&nbsp;</DIV><DIV>I don't want to create a storeprocedure out of every little thing so is their a better way to solve it or one that is already working?</DIV>]]>
   </description>
   <pubDate>Thu, 02 Dec 2004 08:58:43 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/trouble-setting-user-permissions-in-7-9_topic11681_post70783.html#70783</guid>
  </item> 
  <item>
   <title><![CDATA[Trouble setting user permissi&#111;ns in 7.9 : I may change some of the field...]]></title>
   <link>https://forums.webwiz.net/trouble-setting-user-permissions-in-7-9_topic11681_post64646.html#64646</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 11681<br /><strong>Posted:</strong> 03&nbsp;September&nbsp;2004 at 12:36pm<br /><br />I may change some of the field names for version 8 to try and avoid these types of errors.]]>
   </description>
   <pubDate>Fri, 03 Sep 2004 12:36:35 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/trouble-setting-user-permissions-in-7-9_topic11681_post64646.html#64646</guid>
  </item> 
  <item>
   <title><![CDATA[Trouble setting user permissi&#111;ns in 7.9 : It seems like my server was one...]]></title>
   <link>https://forums.webwiz.net/trouble-setting-user-permissions-in-7-9_topic11681_post64645.html#64645</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=17375">micke</a><br /><strong>Subject:</strong> 11681<br /><strong>Posted:</strong> 03&nbsp;September&nbsp;2004 at 12:30pm<br /><br /><P>It seems like my server was one of thoose who didn't like it <IMG src="https://forums.webwiz.net/smileys/smiley11.gif" border="0"></P><P>I did however fix it by replacing this update/adding of permissions into tblPermission by replacing it with stored procedures.</P><P>That meant some tampering with create_user_permissions.asp and edit_user_permissions.asp. Just needed to comment out some code and add a few lines.</P><P>If someone is interested I can upload the modified files and a SQL script to generate the stored procedures.</P>]]>
   </description>
   <pubDate>Fri, 03 Sep 2004 12:30:11 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/trouble-setting-user-permissions-in-7-9_topic11681_post64645.html#64645</guid>
  </item> 
  <item>
   <title><![CDATA[Trouble setting user permissi&#111;ns in 7.9 :  Could be a corrupted file, try...]]></title>
   <link>https://forums.webwiz.net/trouble-setting-user-permissions-in-7-9_topic11681_post64631.html#64631</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 11681<br /><strong>Posted:</strong> 03&nbsp;September&nbsp;2004 at 10:38am<br /><br />Could be a corrupted file, try reuploading files again.<br><br>If this does not help some SQL servers do not like the field name'Read' as it is a reserved word, square brackets have been put aroundthis to make SQL Server work correctly with this feild name, but someSQL Servers just refeuse to work. Your server maybe one of these.<br><br>Also as this particular update is done by ADO make sure the server isrunning the latest MDAC drivers from www.microsoft.com/data<br><span style="font-size:10px"><br /><br />Edited by -boRg-</span>]]>
   </description>
   <pubDate>Fri, 03 Sep 2004 10:38:48 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/trouble-setting-user-permissions-in-7-9_topic11681_post64631.html#64631</guid>
  </item> 
  <item>
   <title><![CDATA[Trouble setting user permissi&#111;ns in 7.9 : Hi ! When I edit a users rights...]]></title>
   <link>https://forums.webwiz.net/trouble-setting-user-permissions-in-7-9_topic11681_post64622.html#64622</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=17375">micke</a><br /><strong>Subject:</strong> 11681<br /><strong>Posted:</strong> 03&nbsp;September&nbsp;2004 at 7:36am<br /><br /><P>Hi !</P><P>When I edit a users rights in the admin part I get an error when&nbsp;I try to update it. Has anyone had the same ?</P><P>I'm running WWF 7.9 with IIS6 and W2K3 Server standard with SQL 2000 server.</P><P><FONT face=Arial size=2> </FONT></P><P>Microsoft OLE DB Provider for ODBC Drivers<FONT face="Times New Roman" size=3> </FONT><FONT face=Arial size=2>error '80004005'</FONT><FONT face="Times New Roman" size=3> </FONT><P><FONT face=Arial size=2>&#091;Microsoft&#093;&#091;ODBC SQL Server Driver&#093;&#091;SQL Server&#093;Incorrect syntax near the keyword 'Read'.</FONT> <P><FONT face=Arial size=2>/forum/admin/create_user_permissions.asp</FONT><FONT face=Arial size=2>, line 133</FONT> </P>]]>
   </description>
   <pubDate>Fri, 03 Sep 2004 07:36:43 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/trouble-setting-user-permissions-in-7-9_topic11681_post64622.html#64622</guid>
  </item> 
 </channel>
</rss>