|
Roman Muntyanu wrote: .The error was 404 - file not found.
This does not mean that the file extension was missing or file could not be opened via selected application. It simply means that the path used to access the file downloaded is incorrect and there is no file at the given path.
Make sure you download it at a specified location, check file exists visually once downloaded then try to open it using correct filepath.
|
|
|
|
|
The file definitely exists. I have access to the server. If I add extension .txt to the file and to the url I can browse the file and download it.
What is puzzling me is that I was able to download files withou extension on one staging server with adding mime type .* as application/octet-stream . Then we built another paralel staging server for development where download fails. I check all settings I know on both servers and they are identical. I am guessing I am still missing some specific setting on this new development server.
Thanks
|
|
|
|
|
Hi to all,
I have values in sql table like
RollNumber
----------------
101,102,103
----------------
Now i need get count of this cell, how can i get?????
anyone help me......
Thanks in advance......
|
|
|
|
|
select count(*),RollNumber from <yourtable> group by RollNumber
remember to vote !
|
|
|
|
|
select count(firstField1),count(firstField2),count(firstField3)from tblname
group by firstField1,firstField2,firstField3
|
|
|
|
|
comma (,) seperated rollno in a single field??
clarify please
|
|
|
|
|
I have a website that uses the Microsoft Report Viewer to display a report and it worked great until I uploaded it to web hosting company. It runs great on my local machine but not on the web host server.
more details...
on my local machine the report viewer preview data and it run successfully but on the web hosting server the report viewer preview nothing,the report viewer toolbar appear as disable and no error returned.
modified 19-Jun-12 4:09am.
|
|
|
|
|
Above information is insufficient. You need to provide more details. Updating question with error would help.
|
|
|
|
|
more details...
on my local machine the report viewer preview data and it run successfully but on the web hosting server the report viewer preview nothing,the report viewer toolbar appear as disable and no error returned
|
|
|
|
|
Check Report Viewer versions present and used. Make sure they are same.
Also, check system EventViewer to see if any error logged there.
|
|
|
|
|
How can if it hosted in a web hosting company and i haven't permission on that server???
|
|
|
|
|
Check Whether required .Net framework installed on that server or not,
along with all necessary software.
You hadn't mentioned any error, just not displaying data !
Check whether on that server itself it is showing or not?
Or its only at client side.
|
|
|
|
|
so i think that the required .Net Framework installed on that server
Hum Dum wrote: You hadn't mentioned any error, just not displaying data
no error just not displaying report data and the report toolbar appear as disabled
i want to know what the difference between running the report locally and remotely??
|
|
|
|
|
This is framework problem.
|
|
|
|
|
so,,, how do you know that it is a framework problem? as the framework,i worked is the same in the server.
and how can i solve it ...?
|
|
|
|
|
I suspect that you have a .NET runtime version mismatch issue here. Basically, if you are running IIS, you can target which version of .NET your application runs - now it could well be that the version on the remote website is set to an incompatible version. What you would need to do is check the version there and see if it matches.
|
|
|
|
|
now...i am sure that the .NET Framework on the hosting Web server is the same which i worked on my local machine.So i want to know if is Microsoft Report Viewer is a package that must installed on the server to run the report viewer in asp.net pages or not?
|
|
|
|
|
There are a set of report viewer DLLs that have to be included. If you take a look at your references, see if they have been copied locally - if they haven't, you need to install the report viewer on the server. Have a look at this[^] page.
|
|
|
|
|
I have a function in which I bind my Gridview with the Datalist according to the info that i get from the Row in Datalist
My Code Behind function is:
protected void dtlGradeMaster_ItemDataBound(object sender, DataListItemEventArgs e)
{
GridView grdGradeDetails = (GridView)e.Item.FindControl("grdGradeDetails");
BindDetailGrid(grdGradeDetails, dtlGradeMaster.DataKeys[e.Item.ItemIndex].ToStrin());
}
private void BindDetailGrid(GridView GridView, string strGrade)
{
DataTable GridData = GridDataSource(strGrade);
GridView.DataSource = GridData;
GridView.DataBind();
}
But it gives me the Fallowing Error plss help...
|
|
|
|
|
|
Thanks...
Its working now...
|
|
|
|
|
I want to communicate with serial port on client side system via asp pages.I think silverlight is the best solution,but there is no asp.net sample about this topic.
would you please tell me if there is a sample in this site or other web pages?
thanks
|
|
|
|
|
asp.net runs in a browser, and is not part of the operating system. You need to run in the OS to talk to Serial ports. That's why you can't find anything.
|
|
|
|
|
Thanks for your answer.
But how can i solve this problem.
I read many articles,suggestions,ideas in the way of communicating with serial port,but there is no brief sample about this.
If no way found i have to make an app an let the user to execute it on client computer,read or write data with app to serial port.now how can i syncron web page and app in this solution?
Thanks for your guidance.
|
|
|
|
|
This is the asp.net discussion.
If you want to communicate with serial ports or usb ports, to need to write a windows, mac or linux application, which is a different discussion and topic altogether.
The old versions of vb had a modem control, that will open a port for transmitting and receiving, but that was back in 1998, over 14 years ago.
Modern day programs that do that are written in c++, and sample code for that would not be enough to get you started.
|
|
|
|