asp.net

call a web service from a httpmodule

I set up a web service, and I've tried to call it from my httpmodule using a Proxy class and it will just timeout. I did more testing and tried a WebRequest and that times out also. If I specify the wrong url it will throw an exception with a 404 so it seems like this should be possible. Calling the web service from a web browser work...

ASP.NET HTTPHandlers and long running processes.

This is a multi-part question. I have a process that can take several minutes to complete, it is ran by a calling a HTTPHandler using a asynchronous javascript request. Question 1: How can I ensure that this request does not time out on both the server and the client? Question 2: Is it possible to emit data from the HTTPHandler while ...

Content Management for posting articles

I have registered a website where I want to post articles related to ASP.NET. Is there a content management system (preferably open source written using .NET) that has features such as formatting code etc that I can use? ...

Problems submitting dynamic checkbox values

Hi everyone, I'm working on creating a dynamic list of checklists and came to the below implementation. I have been trying for a week now to get the fnameID text values on the submit button click to send the values into the database. I do not want to use the postback oncheckedchanged.on each check because the checklist is over 1000 r...

Why am I getting this error on my local database and not on my live database?

when I am querying the local database instead of live database I get the following error: Cannot use a CONTAINS or FREETEXT predicate on table or indexed view 'Shop' because it is not full-text indexed. Why is this happening? ...

Is there any Forum or Knowledge base for Plumtree interms of hosting Asp.net as Portlets

I am quite new to Plumtree, and hosting asp.net pages as portlets is not so easy. There are weird issues coming up every time, like -> Session variables don't work across PAges -> Build- in Ajax doesn;t work -> Response.redirect fails I would like know more on hosting asp.net pages in plumtree, Please let me know if you come across a...

Is this an attempt to break my ASP.Net site's security?

I am fairly new to ASP.NET. I recently set up automated email from my website to notify me of an unhandled exceptions. Just a few hours ago in 3 minutes there were 10 unhandled exceptions and all stack traces were similar. There is a lot in the error messages I do not understand, but I do not like the way this looks. Here is one of the...

Connect WebSchedule with CustomDataSource with Reminder Infragistics

Can anyone provide me a sample where one can use a custom Data provider to connect WebScheduleInfo and utilize its reminder functionality as well. Thanks in advance ...

What challenges will we face porting a site from asp.net to a LAMP (php) stack?

We have an enterprise application written in asp.net c# (3.5) and SQL server that we want to bundle and release for customers. However, several have expressed concerns that it requires a Microsoft server due to the costs. Yes, I know... Therefore, we are considering porting it to a LAMP stack, with the "P" referring to php. What ch...

User authentication when using single database per client?

My company is building an ASP.NET HR application and we have decided to create one database per client. This ensures that clients cannot accidentally view another client's data, while also allowing for easy scalability (among other benefits, already discussed here). My question is - what is the best way to handle security and data acce...

How do I implement "pessimistic locking" in an asp.net application?

I would like some advice from anyone experienced with implementing something like "pessimistic locking" in an asp.net application. This is the behavior I'm looking for: User A opens order #313 User B attempts to open order #313 but is told that User A has had the order opened exclusively for X minutes. Since I haven't implemented th...

ASP.NET: Ignore HealthMonitoring event by EventDetailCode

Hi all, I'm stumped on this one. We're using the HealthMonitoring API to log events in our app, including membership / forms authentication events (WebAuthenticationFailureAuditEvent). The log is cluttered by lots of "The ticket supplied has expired" events, which has event code 4005. I want to ignore these events, but I don't want t...

Custom attributes in ASP.NET web forms HTML tag

I am using ASP.NET webforms on the .NET 3.5 framework. How can I achieve a custom attribute in the HTML tag such as: <HTML lang="en"> I want to achieve this in the code behind on a common inherited base page. The attribute value would dynamically set based on a session value everytime a page is loaded. Late addition: I want to achiev...

Integrating a non-ASP.NET application with IIS?

Basically I want to integrate an application written in C# with IIS, and this application is not created with ASP.NET but has the ability to output HTML - so what I'm after is hooking into IIS somehow and catching all requests to a "Web Site" (IIS-concept) and allowing my custom application to handle them. I honestly have no idea where ...

Controlling/customizing SCRIBD document viewer from asp.net app

I am playing around with SCRIBD to store documents for an application I am developing. Its real slick, and easy to use, but I haven't been able to figure out if its possible to delete the "related documents" icon from the lower left of my images, or even better completely customize the SCRIBD menu bar? I just want to be able to display ...

Dynamic added controls and AJAX

Hi Stakcoverflowers Let me start with pointing out, this is not an easy question to answer. At least it's dead near impossible to find the answer. In an UpdatePanel I dynamically add some controls to a panel control of mine. List<Showing> showings = cBLL.GetShowings(tenant.Id); int j = 1; foreach(Showing showing in sh...

Enable ASP.NET ASMX web service for HTTP POST / GET requests

Hi, I would like to enable a ASP.NET classic (ASMX) web service for HTTP POST and GET requests. I realise this can be done on a machine or application level by adding ... <webServices> <protocols> <add name="HttpGet"/> <add name="HttpPost"/> </protocols> </webServices> .. to the machine.config or web.config. M...

Is there any reason why an asp:Button will work but an asp:LinkButton will not?

I am building an admin portal for a helpdesk. On one page I have a dropdown with a LinkButton, and another a dropdown with a Button. Both buttons redirect to the page they are clicked from by firing off a Response.Redirect(), like so: Response.Redirect(String.Format("article.aspx?action={0}", ActionDropDown.SelectedValue), False) This...

MVC + Templates

Hi all I am working on a system that gets templatse dynamicly, they contain tags like {{SomeUserControl}} {{SomeContent}} I was wonder how I could use MVC to render those templates and replacing the tags in the best possible way as the templates will be edited via a web front end, and the content / macros will be create from the same ...

Missing StackTrace Information

I seem to be missing some information from my stack trace, here is what i'm getting: at Foo.Bar(DataTable table) in D:\Foo\Bar\authoring\App_Code\FooBar.vb:line 87 Where is the rest of the stack trace infomation? EDIT: Custom errors in the Web.Config is set to off, i'm handling the error where it's caught like this: Catch ex As Ex...