|
ok. I will try it.Thanks for your quick response.
|
|
|
|
|
Please let me know when done !!!
cheers,
Abhijit
|
|
|
|
|
I tried you suggested way.Now web config error is not coming but aspx pages are not opening.only html are displying.
|
|
|
|
|
pavanip wrote: but aspx pages are not opening.only html are displying.
Why ? Is there any error coming ?
Please verify the path for aspx page. It will work fine !!!
cheers,
Abhijit
|
|
|
|
|
By which he maybe means he's getting the error first described...
Plain HTML page will open fine, as it's not suffering from the same problem as the .net pages...
|
|
|
|
|
thanks for your great response.
When i open aspx pages "page can not be displayed error is coming".
i followed these steps to create virtual directory in web hosting server
web options->select domain->web directories settings->Add->we directory name,web directory path(virtual directory path),Authentication level(Anonymous access),Execute permissions(scripts and Executables),and Allow read access.
I set these settings for virtual directory.if anything wrong in that can you please tell me the procedure to create virtual directory
Or can i change any other setting in hosting server?
|
|
|
|
|
Have you tried doing what the message suggests and changing the error settings to permit you to see the actual error remotely?
|
|
|
|
|
I tried that way also.i tried with custom error mode On, Off,Remoteonly
For above all i am getting the same error.when i put html file in that folder it is opening correctly, that is the error for only aspx pages.
|
|
|
|
|
Make sure you select the correct asp.net version under Default Web Site Properties, ASP.NET tab, ASP.NET version
ma tju
Pengaturcara Perisian
Subang Jaya,Selangor, Malaysia
Ring Master SB MVP 2008
Subang Jaya MOP (Otai)
|
|
|
|
|
I checked in my hosting server,I used the correct aspnet version in hosting server.
|
|
|
|
|
I am telling my special thanks to Abjit jana,Paddy boyd and ma Tju.
i solved my problem with your suggestions.
Problem with complilation in my visual studio.I tried it from some other system its working.
I am very thankful to codeproject.
|
|
|
|
|
Hi all,
i am getting following error when reading data from excel file.
"External table is not in the expected format".
The application is hosted on server. The applicatin takes input as one excel file and save it on server folder. And then open that excel file and read whole data to datatable.
This is working fine if excel file contains 50,000 records.
I tested the same thing with 1 lakh records, it getting the below error
"External table is not in the expected format".
I tested with 70000 records, it showing the below error
"No error message available, result code: E_FAIL(0x80004005)."
What i have to do to avoid this? why it showing different errors if excel file containing more and more records
G. Satish
modified on Thursday, November 27, 2008 7:36 AM
|
|
|
|
|
Is there any mismatch of data?
cheers,
Abhijit
|
|
|
|
|
NO mismatch of data..
If there is any mismatch means, it wont work for first 50,000 records.
The same records has been duplicated as next 50,000 records.
G. Satish
|
|
|
|
|
|
It may be totally irrelevant, but I thought Excel could only hold 65,535(ish) records.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Ashfield wrote: I thought Excel could only hold 65,535(ish) records.
I never thought about that !!! You are correct , it can hold 65,535 records ( Rows) in a sheet.
Great !!!
cheers,
Abhijit
|
|
|
|
|
yes...if the excel file is 97-2003 it has only 65000 limit
But i am using excel 2007. It is taking records so on. I dont know how much limit it has. i have checked with 5 lakh records. Still it is taking
G. Satish
|
|
|
|
|
yes...if the excel file is 97-2003 it has only 65000 limit
But i am using excel 2007. It is taking records so on. I dont know how much limit it has. i have checked with 5 lakh records. Still it is taking
My excel file extension is .xlsx
G. Satish
|
|
|
|
|
I completed the web design now my problem is alignment.
When i run the program in Internet Exporter it work perfectly with good alignment.
But same thing i run in Mozilla Firefox the complete format is changed.
What can I do...
Thanks guys.
|
|
|
|
|
Yes !!! You have to use proper css for that !!
cheers,
Abhijit
|
|
|
|
|
Hi all,
i have a gridview in my project.
i need to pass the backcolor of a row to a javascript function and assign that backcolor to some other row in the javascript.
actually the requirement is,
i have to highlight(say yellow) a row on mouseover
that highlight to be removed(i.e., back to its original color) on mouseout
a row is highlighted with some other color(say green) on click.
here is the code im using for it.
<pre>
var previousRow;
var mouseOverBgColor;
var clickBgColor;
function ChangeRowColor(row)
{
//If last clicked row and the current clicked row are same
if (previousRow == row)
return;//do nothing
//If there is row clicked earlier
else if (previousRow != null)
//change the color of the previous row back to white
document.getElementById(previousRow).style.backgroundColor = clickBgColor;
//change the color of the current row to light yellow
document.getElementById(row).style.backgroundColor = "#80FF80";
//assign the current row id to the previous row id
//for next row to be clicked
previousRow = row;
clickBgColor = mouseOverBgColor;
}
function mouseOver(row, backColor)
{
if(previousRow == row)
return;
else
{
mouseOverBgColor = backColor;
document.getElementById(row).style.backgroundColor = "#EEFF00";
}
}
function mouseOut(row)
{
if(previousRow == row)
return;
else
document.getElementById(row).style.backgroundColor = mouseOverBgColor;
}
</pre>
and here is the code behind..
<pre>
protected void gdvToolSize_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onclick", "javascript:ChangeRowColor('" + e.Row.ClientID + "')");
e.Row.Attributes.Add("onmouseover", "javascript:mouseOver('" + e.Row.ClientID + "','" + e.Row.BackColor + "')");
e.Row.Attributes.Add("onmouseout", "javascript:mouseOut('" + e.Row.ClientID + "')");
}
}
</pre>
any help appreciated..
|
|
|
|
|
Can I fill a dropDownList Like treeView
thanks
ahmed eldeghedy
|
|
|
|
|
To make it look like a tree, with nodes, you'd need a custom control. I'm sure they exist, commercially. The easy way is to have a tree, and then show/hide it in a div when an arrow button is pressed.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Then Why Dropdown List.
use Tree inside Div which can be expandable !!!
cheers,
Abhijit
|
|
|
|