|
Yes, thanks.
After changing the code, I previewed it in the browser and uploaded a .txt file and the message '
Successful Upload! in a white box appeared. Then I uploaded an .asp file and got the expected
<pre>'....cannot be uploaded.<br>File types allowed: .doc, .docx,...
Well, that's exactly what I wanted! No empty white box at the beginning and the script seems to work. As with last time, if I press F5, the previous error is still there. Probably not a lot I can do about that.
Thanks for all your time and great help!
|
|
|
|
|
So you want to fix the '....cannot be uploaded. File types allowed: .doc, .docx,... error ?
to finish your project
|
|
|
|
|
I prefer to show that error to give users an idea of what files are allowed and what are not allowed, otherwise they may not understand why their files are not being uploaded.
|
|
|
|
|
Oh OK
Don't forget the up vote the post that helped you so others with a similar issue can quickly see the anwser.
Thanks and make it a great day!
|
|
|
|
|
I think I have upvoted it (clicked on the upwards pointing arrow).
Thanks again!
|
|
|
|
|
I've a web tool that currently output the contents of the GAC to a user. The Tool is built with .Net 3.5 the majority of the servers have .Net 3.5 framework installed. But some servers have been updated with .Net 4.5 framework and now the users want to view the contents of this GAC which is in a different location to 3.5 from C:\Windows\assembly to C:\Windows\Microsoft.NET\assembly. At present the class used to decipher the GAC contents is based on Microsoft KB Article KB317540. This is 3.5 specific. How can I update my app to display the 4.5 GAC contents where applicable?
|
|
|
|
|
|
The best place to ask is at Microsoft.com.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
WCF still have a future. If we are creating restful services ASP.NET web api is best choice. If we want to develop soap service we should use WCF
|
|
|
|
|
ASP.NET WebAPI is used to build Restful HTTP services, whereas WCF is used for building enterprise SOA applications. They have their similarities but are fundamentally different beasts.
They solve different problems, so I would say that certainly for the time being, WCF has a future.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|
|
i need asp.net codes for sample web page.. it should contain image upload, file upload , video upload......
|
|
|
|
|
again ? once will do, thanks
|
|
|
|
|
|
We're happy to help but this is not a code for hire site. You'll need to show us where you are stuck and then ask a specific question.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
i need asp.net codes for sample web page.. it should contain image upload, file upload , video upload......
|
|
|
|
|
I think you have the idea of this site wrong - we don't write people's code for them - if you want pre-canned code, use google/rentacoder or at least make an effort to try and put something together and post back here with SPECIFIC CODE RELATED questions
|
|
|
|
|
How to create a share button on master.master page
Rampritsahani
|
|
|
|
|
Share what? And where are you stuck?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hi,
I got error like this when i click on my database connection page.
other page working fine while on local host its working properly.
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
Thanks & Regards
Umesh Daiya
|
|
|
|
|
Do what the error message proposes - and then you will be able to see the real error!
Share that with us!
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
תפסיק לספר לה' כמה הצרות שלך גדולות, תספר לצרות שלך כמה ה' גדול!
|
|
|
|
|
You have already posted this question in QA TWICE, and been told how to access the real error.
DO NOT keep re-posting the same question; you will only annoy the volunteers who would otherwise help you.
error related to webconfig file[^]
i got error on webconfig file[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
The error is not in your web.config. Just look in the event viewer or do what the message says and you'll see what the actual error is. Chances are if it works in localhost but not on server you are either missing some required files, have a permissions issue, or you need to update your web.config connection string.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
i do have two table
cattable and subcattable
cattable contains(catid int,catname nvarchar(50)),
and subcattble contains
(subcatid int, subcatname,and catid_fk),
|
|
|
|
|
What is your question?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
i made a static navigation bar using css and i want to make a dynamic navigatiob bar usig sqlserver and if anybody have a tutorial for the related question please help me...
|
|
|
|