|
Something as simple as creating an object should not cause problems! In order to properly troubleshoot this, you have to see the exception... in your web.config change your custom error tag to the following:
<customerrors mode="RemoteOnly">
You may have other elements/attributes associated with your customErrors, but you should be able to get the idea. Now, you should be able to see the actual exception ONLY when you access the application from the hosting server. Also, check your event viewer to see if asp.net has logged any application errors/warnings.
I got a couple of questions, did you precompile your web project? Did you send over the Website, or the whole solution?
Nila
"...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea
|
|
|
|
|
few company use cruise control open source but i want to what is it actually and in which situation i have to use it.
what is the advantage of using cruise control with .net.
tbhattacharjee
|
|
|
|
|
basically there is huge hype about hibernate.so i want to use it.any body can is there a any tutorial for hibernate
which guide me in such a way as a result i can work with hibernate.is it ORM.
tbhattacharjee
|
|
|
|
|
wat r the diff types of webserver other than
APACHE and IIS..
|
|
|
|
|
IIS: Microsoft, Support ASP by default, its highly integrated with Windows, Its free buying Windows XP professional or any Server Edition, The version over Windows XP just support 10 users on concurrency, and its easy to setup.
The Apache is powerful, is free, but if you are not familiar with it, try the IIS.
keep Learning and you never will be out of date...
|
|
|
|
|
thanx 4 ur reply... but is there any other webserver other than these two????
|
|
|
|
|
The four top most common Web or HTTP server programs are:
Apache HTTP Server from the Apache Software Foundation.
Internet Information Services (IIS) from Microsoft.
Sun Java System Web Server from Sun Microsystems, formerly Sun ONE Web Server, iPlanet Web Server, and Netscape Enterprise Server.
Zeus Web Server from Zeus Technology.
|
|
|
|
|
hai
c# in asp.net
iam havibg datagrid in aspx page iam displaying 2 rec at once,
the issue is
iam binding 6 rec to a datagrid
once i cik on submit button all the rec has to be saved
plz let me know
|
|
|
|
|
hi,
i have used below code to show client validation.
<br />
Sub validation(ByVal strMessage As String)<br />
Dim strScript As String = "<script language=JavaScript>alert('" & strMessage & "');</script>"<br />
If (Not ClientScript.IsStartupScriptRegistered("clientScript")) Then<br />
ClientScript.RegisterStartupScript(Me.GetType(), "clientScript", strScript)<br />
End If<br />
End Sub<br />
And I have used Treeview on my page its custom control. When alert shows that treeview is giong to hide and thats not whole treeview only some below nodes of treeview.When i am moving mouse towards treeview it shows me treeview.
Why this problem arives ??
Please help.
Thanks,
Tejal
|
|
|
|
|
I highly suggest that you use this third-party control... it's free of charge too!
http://www.obout.com/t2/edraganddrop.aspx
Nila
"...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea
|
|
|
|
|
Hello folks, I need to work on a client's data driven asp.Net site and make it accessible. The things that immediately came to my mind are making sure all the images have <alt> tags specified, and that all the tables have headers elements specified in html. Now these are the things that can be checked pretty quickly...I'm trying to figure out what is the right approach towards accomplishing this compliance with the W3C standards on accessibility. In other words do you guys think that redesigning the site from the scratch would be a better option, or should I just make sure that all the controls that are being used in the site (most of them are data bound controls) would have some property exposed on them which will allow the alternative text behaviour (NOTE: datagrid for instance doesn't support alt tags but has use accessible header property which allows you to specify a header so that the screen reader programs and read it without any issues.
Folks, the bottom line is that I'm basically trying to see if anyone of you guys have worked on this sort of stuff before where you are making an existing site (pretty big in size) accessable. I'd appreciate if you share your experience with me.
Thanks and happy Thanksgivng to all.
sam
|
|
|
|
|
Sam
Your problems really kick in if you are using any ASP.NET control that exposes badly formatted HTML. Now, accessibility means different things to different people. For instance, if you want a blind person to be able to use the site then you will find that tables are pretty much useless because they render it almost impossible for screen readers to work with the site. This means that you will need to use CSS, but the ASP.NET controls such as the menu control expose tables don't they? Well, if you are using .NET 2, there is a wonderful little thing that you can do:
http://www.asp.net/cssadapters/[^]
I hope that this gives you some ideas.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete,
First of all, I loved the quote at the footer of your post "Deja View - the feeling that you've seen this post before."
Thanks for the response, you are right that figuring out how these server side controls reneder themselves would definitely be the challange...see I've been a middle tier developer for a few years now and haven't done any front tier development in a while and therefore not very good with all the differnet controls and things of that nature.
Oh btw we are using ASP .Net 1.1....so the CSS Friendly Control Adapters that you mentioned in the article are also out of the loop...by the way the article said in the begining "you can modify any ASP.NET control so it produces exactly the HTML you want". This seems like a pretty powerful statement...now in practice though, are they referring to just modifying the HTML from the html view in Visual studio editor to make the particular control do things that you desire...or are they referring to adding properties, events and things like that to the control programatically??? If either one of these statements I made above are true, then that would mean that it doesn't matter what kind of control I'm dealing with, as long as I can modify its built in behavior I should be good.
Any other pointers or thoughts that you may have, I'd love to hear them.
Thanks for your time.
Sam
|
|
|
|
|
Hey fellows, does anyone has anymore input on my questions/concerns. Appreciate all your time and effort.
sam
|
|
|
|
|
Sam
We did a lot of work with .NET 1/1.1 to render out accessible web forms. Here are some pointers to get you on your way:
If you want XHTML output (not strictly necessary for accessibility, but it is a nice to have), then you are going to have to modify the HTML that is sent back to the browser. This article gives you a taste (the approach we took was different, but that was because we needed to modify other things on the form as well):
http://www.liquid-internet.co.uk/content/dynamic/pages/series1article1.aspx[^]
One way to guarantee that you produce valid CSS is to "roll your own" controls. This is not as hard as it sounds, and can be good fun.
Regards
Pete
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hey guys, I didn't really know where this should go, so I decided to place it here. I currently have a page that uses AJAX to communicate with a server side asp page. The page loads and works fine, but the bad part is that, if I make any changes to the server page, the main page does not receive those changes. I don't know if that makes much sense or not. Basically, it's like my ajax page does not read the pages code everytime. It's like it stores the code in memory. The only way for the page to get updated is to go to the server page, hit refresh, then go back to my ajax page. One odd thing I did notice though is that if I just type in the URL and press "enter", I get the same effect. I actually have to press refresh for my server page changes to get updated. I am using internet explorer 7. Does anyone have any ideas?
|
|
|
|
|
Can't help exactly but I'll bet if you try it in Firefox you won't have this problem - my guess it's a caching problem... the given answer is to add a random (time function, perhaps) paramter to the URL you pass in your AJAX callback, but even doing this I still experience IE reading the cached page.. damned annoying and I'm on the verge of giving up and returning to "classic" postbacks...
be interested to see what answers are given here by others more knowledgable than me...
cheers
Fred
|
|
|
|
|
I just downgraded to IE6, and I still ahve the same problems. As for that caching problem, that's the exact problem that I am receiving. I was told that ie 7 is ready for ajax, but it doesn't seem that way. What I am trying to do is, I first call a server side script to update a database, then I call another script to read the changes and display them. This creates a problem, because IE is not realizing that there are changes, and it is not displaying the changes properly. An odd thing though is, if I grab the data after I do the insert statement, I get all the up-to-date data, but when I run my other select script, with the same code I might add, I don't get the updated results. I'm totally confused. I would use my update script, but then I'd have to insert a value into the table everytime. Not very database friendly.
|
|
|
|
|
Hey Fred, after you said caching, that gave me an idea, and a great one too. I fixed the problem by preventing ie from caching my asp pages. I attached this to the top of all my asp pages:
Response.Buffer=true
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
and now everything works perfectly. Thanks for the quick response and idea. You saved my butt.
|
|
|
|
|
Funny you should say that 'cos I just had the bright idea of doing this too..
..sometines all it takes is to get out of one's own head for a while..
cheers
F
|
|
|
|
|
How do I do the equvialent of "mailto:" in asp?
Thanks!
|
|
|
|
|
Do you mean in ASP.NET ?
Either way, how do you mean ? You can put HTML in your ASP.NET page ( all asp: tags get converted to HTML also, HTML is all your browser knows how to render ). If you want to send the mail yourself in code, there's a class ( whose exact name escapes me right now ) for this.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
u can use same < a href="mailto:................. with asp.net and asp or can use < aasp:Hyperlink NavigationUrl="mailto:.................>
|
|
|
|
|
hi all
i have a strange problem with caching
very simple cache test page with fallowing code is not cached at all(browser/server whatever):
<%@ Register TagPrefix="uc1" TagName="NewHomePageModule" Src="~/Home/Module/NewHomePageModule.ascx" %><br />
<%@ Page language="c#" %><br />
<%@ OutputCache Duration="60" VaryByParam="*" %><br />
test form<br />
<%=DateTime.Now%>
but when you remove this line :
<%@ Register TagPrefix="uc1" TagName="NewHomePageModule" Src="~/Home/Module/NewHomePageModule.ascx" %>
and i stay with :
<%@ Page language="c#" %><br />
<%@ OutputCache Duration="60" VaryByParam="*" %><br />
test form<br />
<%=DateTime.Now%>
the caching starting to work correctly
the stranger thing is that happening only on production box (IIS6/ASP.Net 1.1) and on dev box (IIS5/ASP.NET 1.1) code work properly in both cases
i gave here example as simple as posssible, actually the whole caching framework we developed is not working on production machine
please help anybody has an idea or direction to trouble-shoot this
Thanks much anyway for your attention
--------------------------------
From: Yevgeniy Kuznetsov
###
|
|
|
|