I started working on this "already started" project, and I'm having a really annoying error when trying to execute some interactions with SQL Server 2008:
The server failed to resume the
transaction. Desc.:
One of these errors I get in this specific method call:
The aspx.cs Call:
busProcesso openProcess = new busProcesso(pProc...
When the form is displayed, I'd like to set focus to the CurrentPassword textbox. What is the easiest way to do this? Is there a way to access it directly using its ID? Apparently, because it is nested, referencing the control by its ID results in an unrecognized variable. Alternatively, I could write an ugly FindControl statement (some...
I set up a Virtual Directory called 'Site'. I browse to http://localhost/Site/default.aspx, and it loads. However, when I click on anything on the page, say Page1.aspx, it goes to http://localhost/Page1.aspx instead of the expected http://localhost/Site/Page1.aspx.
In the source file, the relative paths are coded as '/Page1.aspx', for e...
I'm trying to publish my website to a local folder. I have two websites in my solution, one of them publishes with no problems, but the other fails and generates this in the output window:
------ Build started: Project: SSODAL, Configuration: Debug Any CPU ------
SSODAL -> D:\SourceCode\Infrastructure\Single Sign On\1.1\Source\SSODAL\bi...
I'm developing a website in ASP.NET and would like to have a video service that is peer-to-peer.
Basically users schedule peer to peer video meetings with each other and they enter a video chat room for their sessions.
What is out there? I've looked at oovoo, how easy and scalable is it?
I don't mind a paid solution either, as long as ...
I have a page with Ajax Tab controls, within one of the tabs is a webcontrol that as a Telerik RadGrid, with Edit forms pointing to another web control. That edit form also contains Ajax Tabs and on one of those tabs, there is an Ajax modal popup of yet another webcontrol.
The initial webcontrol works fine when used on it's own page, bu...
hello guys,
i know this a frequently asked question, but i cant find the solution. I hope u can help me.
i try ti bind imagebutton controls into a gridview.
i want to handle the data for the row where the button was clicked
my aspx file looks like
<asp:ImageButton ID="Button1"
runat="server"
...
I have this code for on ASP.NET MVC website:
x.For<AccountController>().TheDefault.Is.ConstructedBy(() => new AccountController());
This code throws a warning which seems quite self explanatory but for some reason when I use the "Use" method it doesn't seem to work. I know I am doing something wrong and would appreciate some help.
Th...
Hi,
I created a WCF service and one of its methods connects to database to perform some task. when I call the WCF service method from the client (website or console app), I get a login failed error ("login failed", login is from an untrusted domain"). I can connect to the database from the website successfully, but when I do the same b...
The code below is the ad that is being served. Since the ad is at the very top of the page, we want to make sure that it doesn't stop the site from loading if their server happens to go down. We are looking for either a javascript or C# ASP.NET solution. We have tried rewriting it to work on DOM Ready, but it does not seem to work tha...
I wrote some code to connect the application to it's database, then I created some code to use the connection code and retrieve, update or add some values to the database, Also I might have some code to deal with other stuff than to deal with the database
The code is a little complicated, maybe it's simple but it's not short, for exampl...
For reference here is what my web.config and code look like:
<membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="15">
<providers>
<clear />
<add name="SqlProvider"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName="MySqlConnection"
applicationName="/"
...
I have a FileUpload control in an UpdatePanel and when user select a file, the full file path will will be stored in a hiddenfield, and during postback, i would like to assign the full file path in the hiddenfield back to the FileUpload control textbox, possible to achieve that?
...
My Question is can we extend one context to another in Entity Framework 4. Following is the problem background.
I am using EF4 for developing a Web-Application. My Web Application has 3 projects.
One project is for storing candidate CV information.
Another project is for storing customer information.
Final project is called CORE. t...
Hi All,
I have a simple Web Form where I've dragged a FormView and dragged an EntityDataSource onto my page. The page shows a single contact with all tags associated with it. I can't seem to get the related tags of a contact to display in a gridview.
For a picture of what I'm talking about click -> here
Please state exact steps becaus...
I have code in an ASP.NET form that needs to, depending on user entry create messages in the database. We are speaking of potentially thousands of db entries. How do I protect against deadlocks, I mean apart from using Transactions and setting IsolationLevel to Serializable, as well as using WITH(NOLOCK) statement on my select statements...
i am using a file upload control. user can upload any files less than 5 mb. but fileupload controls goes to erropage if someone tried to upload larger files. after search in net about it i found that there is setting in web.config file. first i set maximum request length to 5MB. but if someone try to upload a larger file (> 5MB) it goes...
I have a Panel with property, Visible set to False
<asp:Panel ID="pnlUpload" runat="server" Visible="False" />
and i try to make it visible using javascript as code below
document.getElementById('<%= Panel1.ClientID %>').style.visibility = 'visible';
but it's not working, any idea guys?
...
I have a web application (MainApplication) where many of the pages contain a custom Web Control that looks for some content in a cache. If it can't find any data within the cache, then it goes out to a database for the content. After retrieving the content, the Control displays the content on the page.
There is a web application (CMS) i...
Hi all,
I just want to call a java function from ASP.Net... Please guide me !!!
I have seen JNBridge but its not free... :(
Thanks in anticipation
...