I have a Visual Studio 2008 project that is proving difficult to debug. I need to attach to IIS 7 to debug it. At least 50% of the time I get the following error shortly after attaching to w3wp.exe:
---------------------------
Microsoft Visual Studio
---------------------------
A fatal error has occurred and debugging needs to be termi...
Hello all! First time posting. :)
I'm a pretty new developer so I'm not well versed in common ASP.NET problems.
As a test, my boss asked me to convert a (not very critical) ASP.NET site from 1.1 to 4.0. Well, it's not extremely difficult and things are going well so far. However, I've hit a small snag. I keep getting a NullReferenc...
I have heard that if you have two URL's for your site i.e. http://yoursite.com and http://www.yoursite.com, it affects your SEO and page rank. Instead, one should do a permanent redirect from http:// to http://www. Is this correct?
Now I have seen all articles showing how to do it in IIS. However I have no access to IIS.
Can anyone tel...
I have a bunch of aspx (asp.net) and html pages. The site is active past 2 years and gets decent traffic. Now all this while, I have not taken care of SEO. So my pages do not have meta tags, description or H1, H2 and so on.
Now I plan to add them to my pages and do this the right way. My question in any way will this negatively impact ...
I'm having an issue in my ASP.NET web app where intentionally consecutive backslashes are being removed from the request url.
I'll request something like:
localhost/Page/A//C
But when the request hits the page, the raw url is:
localhost/Page/A/C
Not sure if this is the culprit, but I do have a Url Rewite regex in place, here's the rul...
Hello. I've got a page that has a button control and several links to download files. The links for the file downloads point to a generic handler, since these files are secured and they will only be returned if the user is logged in.
If I load the page and click the button without doing anything else it works fine, and the event fires. ...
I need to write a 'server' in c# (.Net 2.0) which would process requests in a specific format and produce a corresponding response in a pre-defined format.
request: (userid);(userpwd);+
response: (user_purchase1);(user_purchase2);(user_purchase3);+
As, I understand this correctly, the server is a standalone module in itself. It should...
I have a textbox with a RegularExpressionValidator. I want to require the user to enter at least n characters. I'd also like to remove whitespace both at the start and end of the textbox. I'd still like to allow spaces within the textbox, I just want to remove the excess at the beginning and end.
I basically don't know how to combine...
Hi,
I just wonder what asp.net datagrid does Microsoft use in their website? For example, "Visual Studio 2010 Team web Access" site. It has frozen columns and re-order columns functions. Is it a third party grid or it is based on asp.net datagrid?
The grid works in both IE and safari.
Thanks
...
Hi,
I am using the local database in web kit browsers and to get the data from the database I have the following code:
function synchronise() {
myDB.transaction(
function (transaction) {
transaction.executeSql("SELECT * FROM Patients;", [], synchroniseHandler, errorHandler);
}
);
With I am trying to do...
Hi,
I have an aspx webpage in which an user control is added dynamically as follows:
UserControl testUsrControl = LoadControl("TestUsrControl") as UserControl;
testUsrControl.ID ="test";
Then I tried adding an event handler of user control inside aspx like below:
testUsrControl.Drpdatafield_SelectIndexChanged += new EventHandler(this...
For my Edit Profile page, all the items are from the User entity. Things like email, password, fullname, city, etc. I'm using ASP .NET MVC2 along with Entity Framework 4. I'm wondering if I should create a separate ProfileModel for my EditProfile View or if I should just use the User entity created by EF. My dilemmna is that if I crea...
Hi
I have developed the asp.net mvc 2 application. I have deployed it successfully on XP machine that having the IIS 5.1 . it is running fine. but I have updated some changes in my application on development machine . I want to deploy only these updates over the deployment machine that is XP machine. means only want to update existing ...
I have Main user control which contains several user controls
i have post box kind of thing where user can post description and Urls
My question is there any thing in ASP.NET where user entered URL can be shown as links,
Urls can be between the description.
Every where in whole component.
Thank you very much
...
Hi All,
I want to create separate textbox for numbers and string using c# code. I should not use jquery or javascript. Can anyone pls help me.
Condition:
Numeric Textbox: It should not allow characters, special characters.
String Textbox: Should not allow numbers, Special characters.
...
So I have an ASP.net application, with an ActiveX Control which brings up a pop up
When I point to the application directly through IP there is no problem with the pop up
eg. xxx.xxx.xxx.xxx/MyApp (under Default Website in the IIS -- IIS 7)
Problem arises when I set up the IIS to point it to a domain
xxx.xxxxx.com which points to the...
I am using the AjaxControlToolKit color picker and i would like to set the SelectedColor property of the color picker extender from the page load event of the page. However its not working for me. Can some one please help ? How this should be done when the color is specified in the DB and need to be dynamically read from the DB.
...
How do I change the color of the horizonal and vertical lines? I'd like to make them a little lighter, yet leave the X and Y axis black, probably.
Edited:
indyfromoz suggestion resulted in this:
The effect I want is this:
(Subtler horiz and vertical lines, maybe even no vertical lines.)
...
On click of a button in asp.net c# i defined the following method to insert the data into the database.
Is my insert query correct for mysql??I am not able to insert the data into the database. browser also is not throwing any errors.
Can anyone help me to sort out the problem in my code?
protected void Button2_Click(object sender, E...
I've got an HtmlButton in an ASP.NET 2.0 page (.NET 3.5 SP1):
<button id="MyButton" runat="server" onserverclick="MyButton_Click">
Which when rendered looks like this:
<button onclick="if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate(''); __doPostBack('ctl00$MainContent$MyButton','')" id="ctl00_MainContent_MyButton">...