asp.net

Convert video format to Flash Video automatically

I need to allow web site users to upload videos to my web site in various common formats. From these I need to convert them to Flash video, and also limit their lengths and size. I need to do this automatically as part of the web site processing. Is there some simple tool that will allow me to do this? If not, can you point me in a dire...

How do I get the complete virtual path of an ASP.NET application

How do I know the the complete virtual path that my application is currently hosted? For example: http://www.mysite.com/myApp or http://www.mysite.com/myApp/mySubApp I know the application path of HttpRequest but it only returns the folder name that my application is currently hosted, but how do I get the initial part? ...

asp.net redirect in firefox not working

Hi, In my .net 3.5 web app i redirect users to another page using response.redirect. This works in all ie browsers but not in firefox browsers. i have no idea why? Response.Redirect("~/"+ GlobalConsts.ARTICLE_ANALYSER_URL +"?"+ GlobalConsts.QUERYSTRING_KEY_ONE + SessionHandler.RedirectToArticleID + GlobalConsts.QUERYSTR...

How to validate caller with webservice communication

I inherited a system that gets data from a webmethod in the form of a dataset. The data is potentially sensitive. The one thing that struck me about this was that some methods had no way of knowing, or checking who the caller was, and others that required an integer number to identify the caller. This integer starts at0 and is sequential...

FTP from a ASP.NET application on IIS7 Fails

I have a problem that only occur when I run my application from the IIS. I am trying to FTP from my ASP.NET application to an external site. I can FTP from the server in general but not from my application. My request times out. The owner of my Website is now set to the IIS_IUSRS user with Full control. Do anyone have ANY idea what m...

Jquery Drag-and-drop containment issue - CSS problem?

Hi all, I've successfully been able to create 2 DIV's, and at run time populate the 1st DIV with a whole bunch of objects, all with the .drag class. The 2nd DIV has the .drop class, and is waiting for the user to drag and drop some objects into it. The problem is, whenever I try to drag an object outside of the 1st DIV, a scroll bar app...

Anyone have a workaround for the aspnet menu control not rendering properly in ie8?

I am programming asp.net in C# using vs2008. My app runs fine in ie7, but the drop down menu does not render in ie8. A white rectangle shows up instead of the menu items. I checked viewsource and the html for the menu looks good. Anyone have a fix? ...

SqlTableProfileProvider and custom type property

I'm using the SqlTableProfileProvider to store profile data. It works great for standard fields... But I would like to store shopping cart data stored like this: http://csharpdotnetfreak.blogspot.com/2009/05/aspnet-creating-shopping-cart-example.html I'm basicly running into the same problem described in this forum topic: http://forums...

Difference between HTTPContextBase.User and MembershipUser

Please clarify. ...

Elmah not working with asp.net site

I've tried to use elmah with my asp.net site but whenever I try to go to http://localhost:port/elmah.axd I get resource not found exception. My web.config is given below. <?xml version="1.0"?> <configuration> <configSections> <sectionGroup name="elmah"> <section name="security" requirePermission="false" ...

Server controls event does not woks after calling page_clientvalidate() method

when i calling Page_ClientValidate('Add1') function using javascript, the server controls of asp.net event not working .'Add1' is validation group. ...

What is the difference between Hyperlink control and link control in ASP.NET?

What is the difference between Hyperlink control and link control ASP.NET? ...

C# MVC: What is a good way to prevent Denial Of Service (DOS) attacks on ASP.NET sites?

I'm looking for a good and inexpensive way to prevent denial of service attacks on my ASP.NET MVC site. I've been thinking about a solution that intercepts the HttpHandler and then counts requests in the Cache object, with the key being something like "RequestCount_[IpAddressOfRequestClient]" but that seems like it would generate a cra...

asp.net ajax collapsible panel in ie8 problem

Anyone try this simple bit of code in an ie8 browswer and try refreshing the page, in ie8 you will get an error around getelementbyid on refresh. When i run it it complains of not being able to find control with id of 'ctl00_main_dd' <cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender2" runat="server" ImageControlID=...

ASP.NET login control

Hello all, I intend to use membership.authentication/authorization API from ASP.NET 2.0 in in ASP.NET 3.5 web app. However, when I implement the LoggedIn method for a login component as below: protected void Login1_LoggedIn(object sender, EventArgs e) { Label1.Text = User.Identity.Name; } the Name comes as a null valu...

Why is intranet so slow on our machines?

Hi, we are using IIS 5 + Windows XP on our machines, they have Celeron CPUs @ 2.6 ghz, 2 GB RAM These machines have control system for machinery, control system logs events to database and we want to show reports for machinery usage, operator logins, etc. We use Windows XP and IIS 5, our applications are ASP.NET (3.5). We use Sql serve...

Are there any security issues leaving the PDB debug files on the live servers?

Are there any security issues keeping the .NET PDB files on the real server? I know that throwing exceptions might take a bit longer , but who throws exceptions during normal execution anyway? :-) But from a security perspective? any issues? ...

when I run my asp.net website and I try create file I have an error 'Access denied'

my website does not create files and I set asp.net to write to directory. ...

Web Content Editor

Hi Folks!!! Is there any web content editor (like FCKEditor or WMD editor) that allows page layouts (images, tables etc.) like MS Word? ...

After installing .net 3.5 sp1 I can not create any file in a website ?

After installing .net 3.5 sp1 , I cant not create any files from asp.net page it always throws an exception :"access to path is denied" . I set all the permisions of asp.net worker process account to full control but it did not work . ...