Web Forms :: Decrease Database File Size
Nov 28, 2013I want decrease my database's file size I mean I want decrease .ldf and .mdf file's size... How I can do it?
View 1 RepliesI want decrease my database's file size I mean I want decrease .ldf and .mdf file's size... How I can do it?
View 1 RepliesI have one desktop application which is maintain all information related to laws of high court. we have stored lots of data in my application and now
our database size is almost 40 GB.
So my application runs quite slow.
How can i reduce the database space on my hard disk.
In my application image size is comming as 99999 in byte.so that i m unable to view my page because its too large.
so i want to decrease that size.
iam using asp.net with c#,
i want to remove browse text and decrease the size browse button of fileupload control in asp.net
i want to place like dot .... like symbol in place of browse text and decrease the size of browse button .
Im working on my first ASPX webpage now, and Im wondering if there is some way to make a cache?
With a cache, I mean a list of variables that gets transferred from a db to for insance a hashtable the first time a user loads the page. When the next user loads the page, the db doesent get touched, but the variable is collected from the hashtable.
I tried to make a static class, but it re-loaded for each time I refreshed the page.
When I initially created my SQL Express 2008 database I vastly over-estimated the size of my database files. The problem is that now I have the correct field sizes and data actually in the database it does not require the max file sizes and growth that I had originally set.
This is a problem as I have a max database size of 500Mb with my web hosting provider and it appears that my database now has too large a footprint. This is after I have used the shrink database command in SQL Server Management and shrunk the database to a size of 6Mb so I can only presume that the problem lies with the fact that my original file size / growth settings are taking my database size to well over the 500Mb threshold I am permitted.
Is there anyway for me to change the max file size and growth options of my database without having to recreate the database from scratch?
Is this possible to get the details like size, creationdate, modification date of a file hosted at some ftp server? I can download/upload files to ftp directory using ASP.Net but my requirment is to download the last modified file. So can we sort files of a ftp directory by modified date using ASP.Net code?
View 3 Repliesi am uploading a file through file upload control , file size has greater then 4 MB, I have to give the proper alert msg to the user that file size exceeding the limit.how to do it , because at server side it is crashed on the IIS and not return to the server to check the file size validation.that how it is possible to validate the file size and give the proper alert messege
View 3 Replies
How to Upload big file size in asp.net ?
I have created a simple email form and when I try to attach file more than 2MB it just crashes with generic error message. I can't find the right keyword to bing (google) it.
View 4 Repliesi m uploading file using fileupload control. when i upload mp3 file with more than 4 MB size it gives error like page can not be displayed. how can i increase capasity of uploading file in my project.
View 6 RepliesWith the ajax file uploader, would it be possible to check the size of the image before uploading?Currently, it uploads the file to the server and then lets me know that it's bigger than the limit size.
I have stored images in folder each images is more than 700kb so datalist binding process became slow.so it is possible that while loading record and corresponding images from folders Can I reduce the image size or compress images so that record fetching become faster.In database i m stroing image path and image is stored in directory.
View 1 RepliesI have an application that lets the use upload a pdf, I wanted to put a limit on the size the pdf can be. If the user tried to upload something too big I wanted to display a message to the user. I am trying to use a custom validator where it checks the size of the file and if it is too big it will set the "IsValid" to false. Is this the correct way to go about doing this? Is there a better way? When I test it, everything works in IE 8 and FF, but it does not work in IE 7 and can't figure out why.Here is what I have so far, this is on my aspx page:
[Code]....
And this is the code behind:
[Code]....
Is there any way to check the size of a file that is being uploaded before its uploaded? Below i have code that works, but it doesnt check the file size until its uploaded.
[Code]....
I need upload multiple images and check before image size, I don't wanna use JQuery but if is necessary i can use it, some of you have or know one example.
View 1 RepliesI m doing paging in gridview. The paging one which acts like footer is of more height. I m trying to decrease the height but it is not working. when I m trying to increase it working.
View 3 RepliesI an developing a asp.net website using c#.can anybody suggest how to decrease the load in a lot of users simulteniously visit on my side
View 4 Replieshow to pass font size value to label from database column?
View 3 RepliesIn my application the user uploads three files ( Resume, Cover Letter, Selection Creteria).
I want users not to upload more then 4 MB files, so In my web.confing file I have allowed max of 5 MB. <httpRuntime maxRequestLength="5000"/>. I did this so that I can validate the file and give user a message that they are trying to upload more then 4 MB file.
It all works fine if the user is only uploading resume. But if the user uploads all three files of size 4MB then my validation does not work and it goes to connection time out.
How can i handle the validation to check the file size of all 3 files?
i am trying to test to see if i get an error if i upload more than 3mb file size but instead i get the IE error (see below)
here is the code i have. - what i want is if the user try to upload more than 3mb file size display an error
[Code]....
[Code]....
how to upload/Download maximum file size
View 4 RepliesI need to upload images from client to server as follows:
1. Server is passing the client a file name
2. Client is checking file extensins to ensure it's an image then issues a __dopostback to the server.
3. Server uses the FileUpload control to save the image on the server.
I have that all covered, but, if image is too large, the upload fails with the following error: 'System.Web.HttpException: Maximum request length exceeded.'
Is there a way to check file size on the client (without the use of ActievX which also errors out), before it is passed back to the server?
I have a file upload control i my page and have specified a max size of 1G in web.config file:
<location
path="DMS/Supplier/Submission.aspx">
<system.web>
[code]...
I have problem in my asp.net application. I have some file in floder (PDF, .doc, ,txt ) i want to open these files in my web browser .
Now my problem is large PDF files are not opeing in my browser even some less size pdf files are opeing prefectly and other files are also working good.
The following code i have wriiten to open the file
[Code]....