|
Hi all,
I had a requirement of installing only updated files (patch installation - pages & Dlls) into the running system (which is already installed web setup) in the server. is it possible through Web Setup Project?
Any suggestions or corresponding links are welcome.
Best Regards
Mahesh
[K.Maheswara Raju]
|
|
|
|
|
I have installed Windows XP Professional and then .net 2003. After creating a new web project, when I try to run it then it shows the following message on browser.
Access to the path "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\webapplication3\4c790788\4b8c4c7" is denied
I have checked the directory above but there was not any folder named webapplication3 in "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET Files\". I have checked it on many sites but i dont find any solution of the problem.
Varun Arora,
Software Engineer,
Knowledge Calls,
Gurgaon, India
varun_soft11@yahoo.co.in
-- modified at 7:27 Tuesday 20th June, 2006
|
|
|
|
|
|
Sorry, It dint work. Same problem continues.
Varun Arora,
Software Engineer,
Knowledge Calls,
Gurgaon, India
|
|
|
|
|
I have a redirect to a page that has a short message upon it. After a certain length of time I then want to redirect them to another page. If anyone can point me in the right direction it's most appreciated.
Regards
Paul Mc Gann
|
|
|
|
|
|
You need Javascript SetTimeout in your second page.
Sincerely,
Elina
Life is great!!!
Enjoy every moment of it!
|
|
|
|
|
I have a vb.net web application.
I have to convert the data from sql database to xml format.
I am a newbie to xml so please guide me how to go about it.
I have read samples about how to fill a dataset (use a query to get data from db and fill dataset)with data and transfer that into xml format.
The problem with this approach is our xml template has many nested rows.
Something like
<a1>
<a2>
<aa>somedata
<bb>somedata
</a2>
<a3>
<a31>
<a311>somedata
<a312>somedata
<a313>
<a3131>somedata</a3131>
</a313>
</a31>
</a3>
</a1>
I understand we have to use schemas to define datatype , the min occurence and max occurence and mandatory fields please let me know if it is correct?
Also I am not sure what approach must be used i don' t know whether to use xsl ot xsl fo to transform the xml output according to the template.
-- modified at 6:54 Tuesday 20th June, 2006
|
|
|
|
|
hai,
I m doing webdevelopment projects.I want to check the session expiration in a single page,thts without writing the same code in every webform's page_load.For tht,I want to know how to catch the pagename and execute the common code before the page enter into page_load() event.
Is there any possiblity in asp.net
For eg: I want to write this code
"if session("userid")="" then
response.redirest("session_ExpPage.aspx")
endif"
in a single place
pls reply my post as early as possible
Thanks in advance
Mekalaasri
|
|
|
|
|
|
Hai,
Thank for your reply
but my query is to catch the webform name (default.aspx) before it load into its page_load event , Is there any possiblity to catch the page in server place itself
I need to check the pagename and perform some action according to that.
Pls reply me
It is very urgent
thanks in advance
Mekalaasri
|
|
|
|
|
Hi
Glad to help you. I still dont get your exact query.
what i have understood is
you need to check for user credentials and if he doesnt have then you need to transfer him to a login/relogin page and you dont want to write code in each and every page.
a.For this you can use form authentication - you can use
<authentication mode="Forms">
<forms name="LoginAuth" timeout="30" loginUrl="Login.aspx"
protection="All" path="/" />
</authentication>
b. If you are using custom authentication. You need to use Inheritance.
So that each and every page in your application is derived from a base Page which is derived from system.web.ui.page. So what happens when you request for a page is, base page's form_load will be executed before the derived class page_load. Most probably you can get the requested webforms name from the sender argument of the basepage_Load Event
Did you try this link <a href="http://www.codeproject.com/aspnet/AspNetInheritance.asp" rel="nofollow">http://www.codeproject.com/aspnet/AspNetInheritance.asp</a>[<a href="http://www.codeproject.com/aspnet/AspNetInheritance.asp" target="_blank" rel="nofollow" title="New Window">^</a>]
|
|
|
|
|
hai,
Thnks for your reply.
I have created one product that is Priviliges engine.It will set privilige for Users who are all employees of one particular site.Admin will create employee login and set priviliges to them.Each and every employee will have some work in admin part.Every employee can do only their allocated work.They will not be allowed to visit other pages for which they do not have rights.
To restrict those pages, i need to check their privilige in each page_load event.For that I need to check in a single place,instead of check in each page_load.So that only I have asked to catch the page name in server place.
Thanks in advance
Mekalaasri
|
|
|
|
|
Ok. It is better to use inherited page. Another option is you can create a static method which checks for user permission, ofcourse you could pass the webform.
-- modified at 7:59 Thursday 22nd June, 2006
|
|
|
|
|
Hello to all,
I need to save datagrid into database by using Arraylist.
Please tell me how do I start with this.
Thanks and Regards.
|
|
|
|
|
Hi,
Can you explain your problem in detail.
|
|
|
|
|
Hi,
Actually I have Viewstate datatable and using this I am displaying Datagrid Contents.
Now I want to save the datagrid into database using Arraylist on Button Click event.
I hope I have made my self clear.
Thanks and Regards.
|
|
|
|
|
You can directly save those values using a datatable.
Why do you want a arraylist?
|
|
|
|
|
Can I manage the Transaction with this, if yes then can u please give tell me how to go about it.If No then i need to use Arraylist only because I know I can manage the Transaction.
Thanka and Regards.
|
|
|
|
|
You can manage transactions through front end also.
Go through this link this may help you a bit.
http://www.c-sharpcorner.com/asp/Code/TransactionsInASPNETDPL.asp
Best Regards,
Apurva Kaushal
|
|
|
|
|
I can manage Transaction Front end also but I dont want as my code for Transaction is in Class file because of this I will have to change code on every form which i dont want.
Please help me in saving datagrid (whose data is display with the help of Viewstate Datatable)into Arraylist.
Thanks and Regards.
|
|
|
|
|
probably i am not been able to understand your problem. but if what i have understood is correct then you can maintain the complete transaction in class file itself and just pass the datatable or any parameter you want from your pages.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Cant we use Arraylist for this????
|
|
|
|
|
how are storing the data in arraylist?
Best Regards,
Apurva Kaushal
|
|
|
|
|
Following is the code what I am using:::
private void ibtnSave_Click(object sender, System.Web.UI.ImageClickEventArgs e)
{
Classes.CChecklist cchecklist = new Classes.CChecklist();
int result = -1;
DataTable dt = new DataTable("ChecklistMod");
dt = (DataTable)ViewState["dtCheckList"];
ArrayList arrDataGriditems = new ArrayList();
for(int cntRow = 0; cntRow < dt.Rows.Count ; cntRow++)
{
for(int cntCol = 0; cntCol < dt.Columns.Count ; cntCol++)
{
string str = dt.Rows[cntRow][cntCol].ToString();
arrDataGriditems.Add(dt.Rows[cntRow][cntCol]);
cchecklist.CheckListInsert.Add(dt.Rows[cntRow][cntCol]);
}
}
result = cchecklist.InsertChecklist();
if(result == 1)
{
lblError.ForeColor = System.Drawing.Color.Green;
lblError.Visible = true;
lblError.Text = "Record Inserted";
}
else
{
lblError.ForeColor = System.Drawing.Color.Red;
lblError.Visible = true;
lblError.Text = "Record Not Inserted" + ":" + cchecklist.LastError;
}
}
Bue I not able to get elements in
cchecklist.CheckListInsert.Add(dt.Rows[cntRow][cntCol]);
but I am getting elements in
arrDataGriditems.Add(dt.Rows[cntRow][cntCol]);
Please let me know where I am going wrong.
Thanks and regards.
|
|
|
|