I am working on the application that allows user to upload a file (from their local machine) and store the uploaded file in database.Then,the content of the file (such as ContentType,FileSize etc)can be view in a DetailsView control.
have a swf file which content a FlvPlayback play to play targeted video. It is working OK when I run published HTML file from flash professional CS5. but when I embedded this flash to asp.net content page using object tag the move will pay but the video controls play and stop with disappear.
The swf file is depend on other files such as skin file, image, video each... these file are on same folder where is my swf file located and they are all under one folder my my VS2010 project. When I run the swf file from the folder in the VS2010 project is working OK but when I embed it to aspx page I will miss some controls in the flash. I tried another swf file that depend on external resource to run such as xml file, and images, jscript fie and the swf file will lunch but will not work and there is no images would appear but still when I run the swf file from the VS2010 project will run OK.
i am using MSSQL Server 2005 with VB in my codebehind. I have an application that I have written as a time tracking system that uses SQL Membership provider to secure the site with forms authentication. I want to add additional functionality to the site. My company has a intranet SharePoint site. I want to add something on the front page of the SharePoint site that will allow the users to clock-in/out without having to login to the application. I have a users table that is not part of the SQL Membership Provider that holds detailed information about the employees. There is a column in that table that identifies users as being able to use the clock-in system. I want to be able to display a clock-in/out button on the paged based on that column. Not all users have the ability to clock-in as their time does not need to be tracked.
Under Visual Studio 2010, I'm developing an asp.net application. I added a folder to my project called Flash. Under Flash folder I added a swf file with its external resources to run.
The folder content: 1- ScrollingImages.swf file to lunch the flash 2- ScrollingImages.xml file that the swf file uses to read images from thumbnails folder 3-thumbnails folder which content images used by swf file. I can embed the swf file to html easily using this code:
But when I use the same code to embed it to asp.net page I will have a problem that the flash will run but I cannot see the images so the swf file unable to locate the xml file and the folder of the images location and they all in the same folder.Here is the code I used in the aspx.net content page.
I also tested it in aspx.net page and I'm getting same result no images appear. I know that the problem is related to who to embed the swf external resources (the xml file and the images folder) to the aspx.net page but I searched a lot and I could solve it.
I'm using this Ajax script [URL] to load content from an aspx page on another server than the page calling the content. So far I've learned that this is a no go. The problem seems to be that when using an absolute link to content the script fails as apposed to using a relative link.
I've searched the web for about 10 hours now, and I still haven't found what I'm looking for.
Can I ask what this error refers to, (I have had it twice now over the last couple of days and then it goes away):
System.Web.HttpException: Content controls are allowed only in content page that references a master page.
This is followed by Stack Trace:
[HttpException (0x80004005): Content controls are allowed only in content page that references a master page.] System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +9744256 System.Web.UI.Page.get_Master() +55 System.Web.UI.Page.ApplyMasterPage() +14 System.Web.UI.Page.PerformPreInit() +51 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1104
I am not using any Content Place Holder or Master Page (does the error refer to the Site.Master file because while I can see it in. Solution Explorer, I never use it. All of my aspx files look like this along the top with no reference to Site.Master:
I should store application configuration data and default text values that will have the best performance overall. For example, I've been sticking stuff like default URL values and the default text for error messages or application instructions inside the web.config, but now I'm wondering if that will scale...
I have developed a website in asp.net framework 2 . This website is being hosted in two different servers without any change in code. My issue is about the performance of these 2 sites. One website is taking much time for inserting datas to the DB (SQL server 2005). 2 websites are having different DB server.
I think the issue is for the DB server. How can we rectify the DB performance while insertion and Is there any other cause for this permance issue?
I was recently asked to speed up a C#/ASP.NET/SQL Server business app website. Since I just started, I don't know too much about the internals. So where do I start? Sight unseen, what is the single most important thing affecting performance on a system like this? Database tuning? Hardware? Individual page optimization? What is the first thing you'd look at? EDIT: After I actually do the work, I'll come back and post the answer. ;)
EDIT again: "Profile" is currently the most-voted answer, and I agree that that is clearly what one should do. But I was looking for guesses/experience as to what the profiling results would show, so I don't think that answer counts...
I have an ASP.Net application that has some data driven elements powered by XML with some very basic XPath queries. How big can an XML file become e.g. 10MB, 50MB before the application should start to see a dip in performance when reading from the file.