Give Full Control To User?
Mar 2, 2011
My global.asax is not being triggered on errors on my production server..It's works fine on my dev server but I can't figured out why. my app is using asp.net 4.xxxx and iis6. I've read on web about PrecompiledApp.config but I don't see that anywhere on dev or rod..what are some things to look for..also, On my dev server the error is written cleanly to eventlog but on prod I get message below. The description for Event ID ( 0 ) in Source ( Application ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: ........
View 5 Replies
Similar Messages:
Jul 30, 2010
Currently I have written the Activex Control for RFID USB reader and calling that one in ASP.NET web application. The Activex Control is working fine when I will give the full trust permission for particular IIS URL in
1. Open Control Panel > Administrative Tools > .NET Framework 2.0 Configuration
2. Expand Runtime Security Policy > Machine > Code Groups > All_Code
3. Right Click All_Code and click New...
4. Create a new code group, I named mine MyProject_FullTrust_Zone
5. Choose the URL condition type and specify the path on the network where the apps will be deployed.
6. Choose Use Existing permission set, and set it to Full Trust.
Alternative way of giving permission for an Activex Control is
1. Open Visual Studio Command Prompt
2. Run the command caspol -machine -addgroup 1. -site <ip address> FullTrust Doing this it works fine.
Whenever my web site will open, it will ask the user to give permission for the Activex Control using Allow or Cancel Button in browser. This type of functionality I have seen some web site which takes input from the user to allow the ActiveX Control.
View 1 Replies
Feb 5, 2011
I have already create special folder to copy default picture for new user and put it inside that folder.
I have used copy method (system.io.file) to do that and works fine but I have to give full path for two required parameters of copy method for example:
I want to pass
sourceDir = "~xyzdefault.gif"
destDir= "~xyz" + userId + ".gif"
can anyone guid me to another method to do that without write full path?
View 6 Replies
Jun 1, 2010
In my default.aspx page I have a PlaceHolder control within an UpdatePanel. In this placeholder control I will dynamically load a web user control, which is just a form with a submit button. On this user control, I have the form within an update panel and I have the "Submit" button's Click Event added to the triggers.
When I submit the form, the UpdatePanel on the web user control nor the update panel on the default.aspx page are capturing the post back, thus causing a full post back which refreshes my page.
how to capture this post so its rendered in Ajax and not a full post back?
View 1 Replies
Jun 29, 2010
I want to get full path which user selected in file upload control.
how can we do it.
View 3 Replies
Jan 14, 2011
I have the following scenario. I have a page that hosts several user controls. The user controls are all surrounded by a single update panel. All user controls have a save button on them. When the save buttons are clicked the page updates the update panel as expected. Some of the user controls contain editable list views. Whenever an action is taken on these list views, the Update Panel is NOT refreshed, but the whole page posts back. How can I get these ListViews to also refresh the Update Panel? I cannot post the code because of NDA. There are no javascript errors on the page reported by either IE8 or Chrome.
View 1 Replies
Jul 13, 2010
I have a user control with linkbuttons (used for paging) and a repeater inside an update panel. The paging works correctly, but is causing a full page postback every time I click through to the next page.
The update panel looks like this:
[code]....
So far, I have tried adding an async postback trigger for the user control, which does cause an async postback but does not update the rest of the text in the update panel. In otherwords, the async postback occurs and the next page shows up, but the original text in the repeater is there as well just below it.
I have also confirmed that I have IDS set on my linkbuttons, since that can trigger a full postback inside an update panel.
I have tried changing the update panel mode (Always, Conditional, ChildrenAsTriggers, etc.).
None of it makes a difference - the only thing that actually causes an async postback is to use the trigger, but then the rest of the content in the update panel is not updated, so I get duplicate content.
View 2 Replies
Aug 24, 2010
I need to develop a web applicaiton which will have a user tree like shown in the picture.Generate Labels dynamically with different "CSSCLASS" and design it like that.
Admin,
Coordinator,
TeamLeaders,
Endusers...
How to give such a UI to the user.... There no options required, but it want to show as group and team level.
View 4 Replies
Jul 15, 2010
IBecuase if they the UrlReferrer is my applicatin then i want them to allow access to a file.Otherwise not.I know the urlReferrer is null if you go directly to the link, but thats not possible.In my test solution it works great, but if i put it online i got null values, sometimes he gives a value but mosly its null...
View 5 Replies
Dec 20, 2010
this might be a little bit random but im wondering how do i give each registered user his own page that is only editable by him but at the same time viewable by other users like :
1- user registers and gets his own page and then lets say he can add some text .
2- other users can view the page but not customize or edit it.
View 12 Replies
Feb 7, 2011
i use this codes to give permision to user for some pages
[Code]....
i know that i can use IsUserInRole("UserName") method to give permision to user but, i'm looking for something else because, i can't check all roles for all pages and also i write the code in web.config file because of i use sitemap for menu and with this method i can show the user that part that's allow for that user. now my question is: can i write some code to do the same method that, i write some codes in web.config file?
View 1 Replies
Sep 18, 2013
Is it necessary to give Control to Validate control in Custom Validator?
If yes then why this will happen?
View 1 Replies
Jan 30, 2010
I have a user control, which is added dynamically, but I have noticed that when it is on the page and viewing the source that none of the controls within have been given unique ids. How do I give my user control and the controls within unique ids in order that I can use them in my events?
View 5 Replies
Aug 20, 2010
I have bind DropDownList from database. I want to give facility to user such that, when user type in DropDownList ,it behave like textBox.
View 2 Replies
Feb 16, 2010
I need to programmatically create a database, some tables in it and then give db_datareader rights to a different user. The DB is mssql server 2005.
I got half way, I managed to create the database with "CREATE DATABASE Test", create some tables in it with CREATE TABLE. I'm doing this with a user that is in sysadmin role.
Now I'd need to do with code what manually (with Server Management Studio Express) I accomplish by: opening Security/Logins/[USERNAME] properties Map the user to the database (Test)Add check db_datareader
View 2 Replies
Jan 8, 2010
I have a report that I would like to give the user 3 options in the form of radio buttons. How do I implement this?
View 2 Replies
Nov 18, 2010
If I use this
window.onunload = unloadPage;
function unloadPage()
{
alert("Hello world");
}
this would cause an alert even when going to pages within the site.
Any way to use this but only when the user leaves the site/domain?
View 3 Replies
Feb 4, 2011
I have created one exam module where user will give the answers of objective questions.I have created next buttoon now i am getting first question in form load and now on click of next button shall i increase the question no +1 or some thing else.
View 1 Replies
Jan 11, 2011
i create new composite control to make a full calendar control.
[Code]....
All is good until i put
[Code]....
View 2 Replies
Jun 4, 2010
I don't think I understand fully how ASP.NET does inheritance of controls.I have a user control, ucBase, which has an asp.net label in the ascx file. Code behind references the label and it works fine during run time if the control is not a parent for another user parent.
If I have another user control, ucChild, inheriting from ucBase, the label in ucBase's code is always null. ucChild has no controls in its ascx fileThe server controls (like the label) needs to be declared in the ascx file and not created programmatically.What needs to be done for ucBase to see its own controls when it's a parent user control?
View 1 Replies
Jun 16, 2010
I have create a masterpage and add content page include user (firsname,lastname,password,new password,confirm new password adn etc..)detail update field. i try to give a client side validation all the function work,but in confirm password its not hide wen give a correct password.. anybody give correct solution..code are below..
[Code]....
View 2 Replies
Dec 30, 2010
I am creating a project in which i want to display my web page in full screen & Does not allow the end user to ext the full screen until he/she press the button. I google/bing but i dint get any help full material. Even i use this code
[Code]....
View 17 Replies
Sep 14, 2010
System.DirectoryServices.
DirectoryEntry deUserName =
new System.DirectoryServices.DirectoryEntry("LDAP://in.unisys.com"
+ Environment.UserDomainName +
"/" +
Environment.UserName);
by this i am not able to get the user full name from the directory. how can i get the full name of the user
View 2 Replies
Nov 28, 2010
I am trying to get the full name of a given user from active directory. This code works on my PC but when I put it on the server it throws exception:
The network path was not found.
The code is:
DirectoryEntry obDirEntry = null;
try
{
obDirEntry = new DirectoryEntry("WinNT://" + "domain" + "/" + Environment.UserName);
System.DirectoryServices.PropertyCollection coll = obDirEntry.Properties;
object obVal = coll["FullName"].Value;
Response.Write(obVal);
}
catch (Exception ex)
{
Response.Write(ex.Message);
}
how to fix so it would work on the server also? Or maybe some other way I can get the full name of a given user name? Do I need to use LDAP instead somehow?
View 1 Replies
Mar 22, 2010
me how to add hyperlink in a gridview control
View 6 Replies