hello, i have ASP.net source code but i cant run it with (IIS)8, it says i don't have full permission in web.config file...And I did a lot of possible thins to fix it right but it couldnt...i would appreciate any help
It's usually from not setting the file permissions on the disk drive for IIS_ANONYMOUS and the app_pool identity.
You really need to search for setting permissions, the AppPool\YouNameHere is the name of the application pool, in which you go tot he IIS Manager and look up the name, or it's the name of the website you made.
If your web server is a member of a domain, you should unlink it before using the code below, then relink it when done.
You should Google the above and read up on it before applying the command, so you get the exact result you want. or else you'll have to go back and delete a bad idea to keep your site secure. Just search icals.exe
I have freelance job which is about an online food order. Someone who wants to order food have to be registired. I want to add registered users to the role "member". I can handle the registiration process but I cannot add to the role member.
First up, I have spent the past 2 days Googling this one. I have found many, many "solutions" but I can't get any of them to work. Part of the problem is that the solutions say to use this code or that, but don't say WHERE to put it!
So, here is the situation.
I have a page, using a Master page. I have a TreeView on the left and an Update Panel on the right. When the user selects a node in the TreeView, I add a user control to the Update Panel. (The control depends upon the type of the node - internal to my App.)
BUT, I have the need to enter a date in a User Control. I tried to use the standard Calendar control, but for some reason it's SelectedDate property isn't being updated. I then tried the JQuery-UI DatePicker tied to a text box, but it never pops up.
I know it has something to do with the AJAX reload of the Panel happening after the control is registered, but...
Anyway, if anyone can explain how to do it (not just what code to use, but WHERE to place it ) I'd be eternally grateful!
Here is what I have (I have a Calendar control in there too. Getting either to work would make me VERY happy!):
Let's fix one thing at a time, so I'll tackle the datepicker
I didn't see an update panel, so if there is none, the try will catch the error and contrinue to load the script.
Make sure you place the code below in the web form's, content place holder and not the master page like in your example.
I personally don't like the jquery.ui everthing, and prefer to just load the core, and the datepicker.
I switched the way you discover the textbox to bind to from css to the actual id of the textbox, using a wildcard to filter anything the is prefixed in front of the actual ID name of the textbox, will is standard behavior for using an update panel, in which $CT100_ is prefixed.
Test the code on your dev machine, using internet explorer 9+, and press F12 in IE, and clickon the bug for Debug. IE will throw an error like the webdev highlighting the error in yellow and red, showing where the script failed and why.
Then fix the error and run it again.
Fix the path of the scripts, by deleting them, and using the project explorer to drag the jquery file into the editor, in which the correct path will be generated for that page.
Cool deal!, guess I'm getting better at this. Your post had a lot of information to sift through, but overall in the end, it was quite simple.
i forget to tell you to add the CSS for the datepicker. Once again you just drag the files from solution explorer to the webform or master page. I recommend the Head Content place holder on the web form, to keep the page load times faster.
Just my Opinion here,
Be careful of the update panel, and try not to ever use. I think its kind of evil the way it works, and will back fire on on you in live production deployment if not fully understood. I found it takes a lot of horse power to drive it when using SSL at the same time unless you have one of those new Xeon CPU's with built in AES instructions.
You should really just load all the user controls within div containers, and use jquery to toggle the CSS display value to block or none as you change your selection, and use the radio button list instead of the dropdown if you only have 2 or 5 choices.
Last Visit: 31-Dec-99 18:00 Last Update: 22-Sep-14 10:38