I have a web application that iam running on an intranet, from this web application iam trying to open another access application that is found on the same server where i deployed the web application. I ust want to open the access application and to do that iam using
First of all this will be always execute only on Server.
on my testing machine it is working fine but when i deploy at the customer site i get access denied error.
In local system, you are doing it from VS, and its having it own ASP.NET engine and which has sufficient permission to access, read, write files in your local system.
But when you deployed it on IIS, Its runs on "Network Services" identity, which has minimum privilege to access your system. That is the reason you are getting the error. Resolution :
1. Give the required privilage to that file.
2. Create Own Application Pool, Change the Identity of Application Pool to "Local System" . Assign the Application Pool to your virtual Directory.
I have a aspx page, in which a text box will display some text. I have given a Link Button on the same page. When I click Link Button, the text displaying in textbox should copy in to memory. That means its eqalent to Ctrl + C. Copy the text and Ready to Paste anywhere.
Hi to all,
I have created a windows service which contains Timer control.The Service is being created and running well.I want to debug the code line by line of the service due to some malfunctioning.can any body help me regarding this.Can anybody tell how to debug the code.Hope that there will be someone to help me.
Estoy viendo varias alternativas para poder crear un menu que sea segun la necesidad... o sea si es administrador que cargue y de acceso solo a ciertas paginas, pero lo tengo que hacer dinamico, o sea, desde base de datos...
No soy muy buena en el tema y espero que me puedan entender y ayudar.. estoy trabajando con visual studio.net c# y sql server 2005...
Hay un control de menú disponible en ASP.NET que permita que usted cree menús dinámicamente y estáticamente para su uso de la tela. Para su requisito, usted puede almacenar los artículos de menú basados en el papel del usuario en la base de datos y exhibirlos que usan este control de menú. Lea este acoplamiento http://msdn.microsoft.com/en-us/library/ecs0x9w5(vs.80).aspx[^]
There is a menu control available in ASP.NET which allows you to create menus dynamically and statically for your web application. For your requirement, you can store the menu items based on the user role in the database and display it using this menu control. Read this link
Yes is in spanish sorry... my english is not good, but I understand your answere... thanks... but one question more... I do my DB in this form
Table User: nombre, nick, password, id_rol (if is admin or other), fecha_ingreso.
Table Rol: id_rol, detalle
Table "Permisos": id_permiso, id_rol, direccion (type int), indice (type int), detalle
The table "permisos" is for construct the menu and to know what pages he can see...
direccion and indice its and order in tree to do my menu...
In this form I need to construct my menu and to verify the acces to my proyect
If you don't understand my idea please write me and I send you my example
I hope you understand me
I want to validate a text box as a date from 01/01/1900 to 12/31/9999. I do the following, but my regular expressions validate from 01/01/1900 to around 2050. Can someone looking into it, where I'm going wrong.
db4o is an open source object database that allows you to quickly store and retrieve your .NET application data. This DZone Refcard walks you through db4o's basic operations, its various query types and techniques for optimal data access performance.
About the Authors:
Prof. Dr. Stefan Edlich is a senior lecturer at Beuth University of Technology Berlin (App.Sc.) with a focus on Object Databases, Software-Engineering and E-Learning. He sold his first commercial software in 1986 and has a 26 year software development experience. Furthermore he is the author of ten IT books he wrote for Apress, OReilly, Spektrum / Elsevier, and other publishers. In 2008 he set up the the worlds First International Conference on Object Databases (ICOODB.org) which is continued 2009 at ETH-Zürich.
Eric Falsken is a longtime web and embedded software developer. He wrote his first of many websites in 1995, and went on to e-commerce, enterprise and internet media before shifting his focus to embeded device software, where he found his love of object databases and db4o. Eric has been a member of the db4o team since 2006, and enjoys travel adventuring, meeting new people, and looking at beautiful code.
then no problem no error.
I have tried using src=\" differentpath\\wcpjs.js\" but to no avail. Still get errors.
Have spent a full day on this now and am
If anyone can answer this - when I get rich I'll send you some big bucks.
I'm trying to replace some text in a datagrid's textbox on edit. I've done this a thousand times, but I'm not seeing the problem. Stops on "tada" line with Object reference not set to an instance of an object. Any help appreciated.
Protected Sub dgAnswers_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles dgAnswers.ItemCommand
If e.CommandName = "Edit" Then dgAnswers.EditItemIndex = e.Item.ItemIndex CType(dgAnswers.Items(e.Item.ItemIndex).FindControl("txtAnsEdit"), TextBox).Text = "tada"
I think you should break your statements into different parts. Do you feel pressured to stick all those functions on one single line? Doing this will allow you to see the problem more quickly, fix it and move on. This example probably has bugs in it, but try something like this:
If e.CommandName = "Edit" Then
dgAnswers.EditItemIndex = e.Item.ItemIndex
Dim txt as Textbox
txt = CType(dgAnswers.Items(e.Item.ItemIndex).FindControl("txtAnsEdit"),TextBox)
If not isnothing(txt) then
'since you have the object reference assigned to txt, assign the value using this alias
txt.Text = "tada"
'Could not find the textbox.
Last Visit: 17-Feb-19 11:39 Last Update: 17-Feb-19 11:39