<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'Permissions'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Permissions&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'Permissions'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Allow permissions on Images from database</title><link>http://forums.asp.net/thread/3509583.aspx</link><pubDate>Thu, 12 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3509583</guid><dc:creator>rivdiv</dc:creator><description>&lt;p&gt;Hi everyone,&lt;/p&gt;&lt;p&gt;I set to allow my images from my Image folder to be accesed in my web.config like this: &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;location path=&amp;quot;Images&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.web&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;authorization&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow users=&amp;quot;*&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/authorization&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.web&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/location&amp;gt;&lt;/p&gt;&lt;p&gt;How would I do the same for my images which are coming from the database?&lt;/p&gt;&lt;p&gt;Thanks!&lt;br /&gt;&lt;/p&gt;&lt;div style="overflow:hidden;position:absolute;left:-10000px;top:0px;width:1px;height:1px;" id="_mcePaste"&gt;&amp;lt;authorization&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;deny users=&amp;quot;?&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/authorization&amp;gt;&lt;/div&gt;</description></item><item><title>Deployment of asp.net 3.5 project on hosting server..</title><link>http://forums.asp.net/thread/3448095.aspx</link><pubDate>Thu, 08 Oct 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3448095</guid><dc:creator>rishubvp</dc:creator><description>&lt;p&gt;I am using windows hosting server and plesk control panel.&lt;/p&gt;&lt;p&gt;when i am creating a project using asp.net 2.0 selecting from VS2008 and finally deploying it on hosting server , It is working absolutely fine.&lt;/p&gt;&lt;p&gt;but when i am creating same project using asp.net 3.5 framework it works fine on my local IIS but not working on hosting server.&lt;/p&gt;&lt;p&gt;the error comes is Error 404: Requested File not Found.&lt;/p&gt;&lt;p&gt;actually this problem is for Default.aspx page not for any other .html files.&lt;/p&gt;&lt;p&gt;i have check all settings in my plesk control panel , the version selected is 2.0.50727.0 which is correct i think.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;can anyone tell, is there any setting in web.config file or any setting in control panel to start the project working on hosting server ?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Website Administration tool gives error when changing values in webconfig</title><link>http://forums.asp.net/thread/3445147.aspx</link><pubDate>Wed, 07 Oct 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3445147</guid><dc:creator>symbioticfx</dc:creator><description>&lt;p&gt;&amp;nbsp;I&amp;#39;ve an asp.net web application project residing on a networkdrive. I used the caspol.exe to set netdrive to fully trust.&lt;/p&gt;
&lt;p&gt;Manually i can change the webconfig but when I try using the WAT it gives me an error .&lt;/p&gt;
&lt;p&gt;MSDN states that the WAT will use the&amp;nbsp;permissions associated with your development account. (for me currently administrator). &lt;/p&gt;
&lt;p&gt;I C&amp;amp;P the output giving by the WAT when I&amp;#39;m trying to change from Windows authentication to forms.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m out of idea&amp;#39;s as why this error occures, anybody who knows what is going on here or how to fix it? &lt;/p&gt;
&lt;p&gt;thnx in advanced&lt;/p&gt;
&lt;p&gt;- SFX&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Error :&lt;/p&gt;
&lt;p&gt;&lt;span id="exceptionMessageLabel0"&gt;The following message may help in diagnosing the problem: &lt;/span&gt;&lt;span style="FONT-WEIGHT:bold;" id="exceptionMessageLabel1"&gt;Attempted to perform an unauthorized operation. at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeHandle handle, SecurityInfos securityInformation, SecurityIdentifier owner, SecurityIdentifier group, GenericAcl sacl, GenericAcl dacl) at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, SafeHandle handle, AccessControlSections includeSections, Object exceptionContext) at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections, Object exceptionContext) at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections) at System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath) at System.IO.File.SetAccessControl(String path, FileSecurity fileSecurity) at System.Configuration.Internal.WriteFileContext.DuplicateTemplateAttributes(String source, String destination) at System.Configuration.Internal.WriteFileContext.DuplicateFileAttributes(String source, String destination) at System.Configuration.Internal.WriteFileContext.Complete(String filename, Boolean success) at System.Configuration.Internal.InternalConfigHost.StaticWriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext) at System.Configuration.Internal.DelegatingConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext) at System.Configuration.UpdateConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext) at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll) at System.Configuration.Configuration.SaveAsImpl(String filename, ConfigurationSaveMode saveMode, Boolean forceSaveAll) at System.Configuration.Configuration.Save(ConfigurationSaveMode saveMode) at System.Web.Administration.WebAdminPage.SaveConfig(Configuration config) at ASP.security_setupauthentication_aspx.UpdateAndReturnToPreviousPage(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-WEIGHT:bold;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>LoginView and Gridviews (User Control based on role)</title><link>http://forums.asp.net/thread/3408082.aspx</link><pubDate>Wed, 16 Sep 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3408082</guid><dc:creator>Yanayaya</dc:creator><description>&lt;p&gt;&amp;nbsp;I am making an intranet page and I have been working with 2 ideas and I cannot decide on which would be best and / or standard practice.&lt;/p&gt;
&lt;p&gt;On one hand I can protect my pages with roles and users. Simple enough.&amp;nbsp; But would it be common place to use a loginview to control weather a user can edit user data? Or would it be more practical to use the roles to define what the user can and cannot not.&lt;/p&gt;
&lt;p&gt;I have data being displayed in a detail view, and want an anon user to simply be able to view the data and a logged in user to be able to edit it. So I used the login view, with the anon templaye showing the data one way and the logged in template showing it with edit and delete controls.&amp;nbsp; However this means that a user who simply logs in can use thos controls and there is no delegation of rights.&lt;/p&gt;
&lt;p&gt;So it doesnt feel like I am using it the way I should or is it ok to use the loginview in this fashion?&lt;/p&gt;
&lt;p&gt;If I want to allow certain users the ability to edit database infromation from these gridviews and details views using roles. What is the best way to accomplish this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;yan&lt;/p&gt;</description></item><item><title>Simple file sharing is not working after vwd 2008 and sql express install</title><link>http://forums.asp.net/thread/3350494.aspx</link><pubDate>Sun, 16 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3350494</guid><dc:creator>vladinooo</dc:creator><description>&lt;p&gt;Hi, I am quite new to asp.net and since I set up my machine for development enviroment I can&amp;#39;t anymore access data from it using laptop connected to my LAN. Both run Win XP pro media centre 2002. Before installing Visual Web Developer 2008 and SQL express 2008 and IIS I could use Simple File Sharing like a charm. Any idea how to get this work?&lt;/p&gt;&lt;p&gt;Does my developer machine require advanced security settings and permissions? (I tried to play around with that too like set up same accounts with the passwords on both machines and set up permissions, but it was still the same)&lt;/p&gt;&lt;p&gt;Thanks for your suggestions.&lt;/p&gt;&lt;p&gt;Vlad.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>The current build operation failed: Access is denied.</title><link>http://forums.asp.net/thread/3329390.aspx</link><pubDate>Tue, 04 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3329390</guid><dc:creator>daemae</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I am using the caching feature of Enterprise Library 4. It&amp;#39;s working on my local machine but after I have published the web app to the staging server, I have received the error below:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&amp;quot;The current build operation (build key Build Key[Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager, Cache]) failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) (Strategy type Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.ConfiguredObjectStrategy, index 2)&amp;quot; string &amp;quot;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;I have given the aspnet and network service the full permission but the error still exists. The ff. dlls are also present in the BIN:&lt;br /&gt;&lt;br /&gt;Microsoft.Practices.EnterpriseLibrary.Caching.dll&lt;br /&gt;Microsoft.Practices.EnterpriseLibrary.Common.dll&lt;br /&gt;Microsoft.Practices.ObjectBuilder2&lt;br /&gt;Microsoft.Practices.Unity.dll&lt;br /&gt;&lt;br /&gt;Please help me as I am new in using the Enterprise Library.&lt;br /&gt;&lt;br /&gt;Thank you so much!&lt;/p&gt;</description></item><item><title>Moving website to production server</title><link>http://forums.asp.net/thread/3308838.aspx</link><pubDate>Wed, 22 Jul 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3308838</guid><dc:creator>artsylar</dc:creator><description>Hi Everyone,

I am just a newbie in asp.net/sql server/IIS. I hope you could help me with my problem. 
At first, I was developing the website in my local pc not configured yet to use IIS. 
I didn&amp;#39;t have any problems regarding the mdf files especially the aspnetdb.mdf.
However, when I moved the files to another computer and set it up in IIS, permission problems came out. 

Can you please give me some tips on setting up permissions.

I am currently using Windows Authentication Mode. Actually, I wanted to create a user specifically for that website. But I don&amp;#39;t know what permission should I give that user and what group. Should I add that user to the SQL Server (security/Logins)?

Thank You.

artsylar</description></item><item><title>Folder and File Access</title><link>http://forums.asp.net/thread/3170722.aspx</link><pubDate>Mon, 18 May 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3170722</guid><dc:creator>fatthippo</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve received a request to prevent users from navigating directly to a folder/file say &amp;quot;MyFolder/myImage.jpg&amp;quot;. So only the webpage itself should be allowed direct access to serve up the image.&amp;nbsp;Is the best approach to&amp;nbsp;set something up in IIS, or code?&amp;nbsp;The site is both classic asp and .net 2.0 running Server 2003 and IIS 6. I have the freedom to move the folder and contents in question if need be.&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;</description></item><item><title>Voice Generation using Interop.SpeechLib.dll</title><link>http://forums.asp.net/thread/3162464.aspx</link><pubDate>Thu, 14 May 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3162464</guid><dc:creator>gopal_nivas</dc:creator><description>&lt;p&gt;&amp;nbsp;I am using this code to generate voice .... Here i am using the &lt;br /&gt;&amp;quot; Interop.SpeechLib.dll &amp;quot; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;Inside Button Click &amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&lt;br /&gt;&lt;br /&gt;voice.Voice = voice.GetVoices.Item(1)&lt;br /&gt;&lt;br /&gt;voice.Speak(&amp;quot;Welcome New Website &amp;quot;,SpeechVoiceSpeakFlags.SVSFlagsAsync)&lt;br /&gt;&lt;br /&gt;voice.WaitUntilDone(10000)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The above code will convert the text &amp;quot;Welcome New Website &amp;quot; as voice ..&lt;br /&gt;&lt;br /&gt;This code was working superbly in local machine When I click the button voice was coming...... &lt;br /&gt;&lt;br /&gt;but I have a problem after hosting in the web if I click the button the voice was coming in the server.. not in system where u click the button ...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;please give a solution&amp;nbsp; waiting for u r replies....&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>to acces remote server database from local machine..</title><link>http://forums.asp.net/thread/3159581.aspx</link><pubDate>Wed, 13 May 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3159581</guid><dc:creator>gopal_nivas</dc:creator><description>&lt;p&gt;Hi..&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i have successfully access my remote database when i&amp;#39;m running in local machine.. but after creating a virtual directory i can&amp;#39;t able to access my remote database.. how can break this hurdle..&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks in advance.&lt;br /&gt;gopal&lt;/p&gt;</description></item></channel></rss>