|
How to deploy a web application to another system
The system have only IIS
So we want to add .Net Framework and the Application at the time of installation
My application also have some resource files(.resx) and one dll
Guide me pls
-
|
|
|
|
|
You only need to install the .net framework
After that, copy/paste the folder of your web application to the server, create a virtual directory for your web application in IIS, and that's it, it should work without problems.
.resx files are not needed for the web application to work, only the aspx files, images, .js files, .css files, all other content, and your bin directory with the web app's dll file.
That's it
daniero
|
|
|
|
|
how can i define an array with row and column???????
for example:
int[][] Deptor = new int[30][];
int[][] SumDeptor = new int[30][];
is it right???????????
|
|
|
|
|
|
Hello, I have a problem with my .Net Web Application.
I was developing with 2003, but I migrate my application to the 2005, and in my local machine I don't have any problem I can see my applivcation in the browser, but when I put my application on the server I have the next error:
(With 2003 I got not problem,neither in the server neither in my local machine)
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type '_GenerateProduct'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="GenerateProduct.aspx.cs" Inherits="_GenerateProduct" %>
Line 2:
Line 3:
Source File: /GenerateProduct2005/GenerateProduct.aspx Line: 1
I don't know if the proble is that i'm missing a dll, but I don't know where is the dll. Whith ASP.net1 .X was so easy, but I don't know where the ASP.net2.0 locates the dll.
In ASP.net1.X I had a bin folder with the dll inside. Can I configure the place where I want the .Net to put my dll?
Thank you in advanced
Sergi
|
|
|
|
|
Are you sure the server has 2.0 installed? If so, is your web application on the server configured to use 2.0?
|
|
|
|
|
Problem is when I add MS Office charting 10.0 component in toolbox it appears as disabled.
But when i add this comp. in the VS 2005's window version it gives no problem.
How do I use OWC10 office component in ASP.NET 2.0?
|
|
|
|
|
|
Hello,
I am a beginner in .net i have a problem with file uploading .my problem is i want to upload a word document into server's folder and the url is stored in the database.the platform i am using is asp.net 2005(c#).can anybody help me to solve this.
thanks in advance.
alex.
|
|
|
|
|
Hi Alex. There are lots of examples out there for doing this sort of thing - Google will help you find them.
Have you written some code that isn't working? Are you getting a specific error message?
|
|
|
|
|
Hi All,
I want to convert the text document to PDF also copying data from one PDF to other while run time. Can anybody please tell me where can I get any 3rd party freeware control.
Thanks a lot
|
|
|
|
|
AnantAwadhut wrote: Can anybody please tell me where can I get any 3rd party freeware control.
Google?[^]
|
|
|
|
|
|
Can anyone help me in providing the search facility on my portal. I wish to provide the facility wherein the user provides the keywords and text phrases and these words and phrases are searched inside the Word Document and Acrobat files.
Once the search is complete, all the files meeting the search criteria are listed with the links to them. Most importantly, I do not wish to use the SQL Servers' Full Text Search feature.
|
|
|
|
|
|
i am having a checkboxlist in gridview . I have populated with sql database by
<asp:templatefield headertext="Select">
<itemtemplate>
<asp:checkbox id="CheckBox1" text="<%# DataBinder.Eval(Container.DataItem,"cg_type")%>" runat="server">
now i want to get the value of the checkboxes which are clicked on button clicked event.
protected void Button1_Click(object sender, EventArgs e)
{
StringBuilder str=new StringBuilder();
string str1;
for (int i = 0; i < GridView1.Rows.Count; i++)
{
GridViewRow row = GridView1.Rows[i];
bool isChecked = ((CheckBox)row.FindControl("CheckBox1")).Checked;
if (isChecked)
{
str.Append(GridView1.Rows[i].Cells[1].ToString());
str.Append(",");
}
}
str1 = str.ToString();
}
But i am not getting the values ??? can anyone help me out ???
|
|
|
|
|
It looks like some of your message didn't come through.
Are you getting an exception? If so, what is it and where?
|
|
|
|
|
Hi all,
Any body know in which case session end event is not fire.
Thnx in advance
Yogesh M
|
|
|
|
|
In asp or asp.net?
Old asp you could NEVER rely on session end being fired at all, as far as I know this problem never existed in asp.net
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
int[][] Deptor = new int[30][];
int[][] SumDeptor = new int[30][];
for (int n = 0 ; n < ds.Tables[0].Rows.Count ; n ++)
{
for (int m = 0 ; m < dsta.Tables[0].Rows.Count ; m++)
{
SumDeptor[n][n] = SumDeptor[n][n] + Deptor[m][n];
}
}
i write this code but when i run it it has this error(c:\inetpub\wwwroot\acc\frm_creditauxb.aspx.cs(760,17): error CS0021: Cannot apply indexing with [] to an expression of type 'int'
)
how u can help me???????????
|
|
|
|
|
This stuff is a bit horrid in C#. What you are doing here is declaring a jagged array of type int . That is to say an array of arrays of int .
Now I'm not quite sure why you are getting that particular error - something to do with it assuming you are using an indexer rather than dereferencing an array I guess, but the code is flawed. Having new ed up the outer array, you will need to create an inner array for each and every item in the outer array. Confusing stuff, especially if you're from a C++ background. I'd expect you to get null reference exceptions instead. Arrays are references types (of type System.Array ) in .NET and must be new ed up before use.
Regards,
Rob Philpott.
|
|
|
|
|
Hi
I want to know how it s possible to hide a column in a gridview that s filled by a dataset. I know the property Gridview.Columns[index].Visible but when i put it to "false" i got an exception: ArgumentOutOfRange.
Can someone help me?
THx
|
|
|
|
|
Looks like the index value is out the range of the valid values, you might want to double check this value. Another option is to make all the cells of the specified column invisible. You can do that in the RowDataBound/RowCreated events of the GridView control.
|
|
|
|
|
Hi,
Actually I want the Data to be displayed in my DataGrid Control in Vertical Form. But i m unalble to. and also i want the Headings of the Columns to be displayed according to my Requirements(user defined) but it is always bounding data with the names of fields i.e. suppose if the field name is: Emp_ID, DataGride is showing the field name but i want Employee ID to be shown.
Is there any way to do this!!!
Plz Help
"You never know what is enough unless you know what is more than enough"
Thanks
|
|
|
|
|
regarding column header yes..
Atleast 2 ways to do this :
a. You can use an alias name while fetching from the database, like select abc as 'abc efg' from tablename.
2. You can make use of Column mapping
|
|
|
|