|
Ive got a page which works fine on my home IIS test server but throws a runtime error once ive copied it to shared server.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
Ive done the custom error thing mentioned above, and set debug to true but It still just shows this generic error. And I cant catch it with a try catch because it happens even before the page load(so I presume its a problem with web.config?).
So how do I turn errors on?
|
|
|
|
|
The best thing is if you can log onto the server and view the site locally on the server, through something like gotomeeting. Failing that, you can probably catch the error in your global.asax file ( and if you don't have one, add one from the add new file, it will fill it for you )
void Application_Error(object sender, EventArgs e)
{
// Code that runs when an unhandled error occurs
}
is the event you want to log your error in.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
protected void Application_Error(object sender, EventArgs e)
{
Exception err = Server.GetLastError();
Response.Clear();
Response.Write(("<h1>" + err.InnerException.Message + "</h1>"));
Response.Write("<pre>" + err.ToString() + "</pre>");
Server.ClearError();
}
Thats what I have at the moment but it doesnt change anything. Do I have to declare it in web.config or something?
|
|
|
|
|
|
Thats where I got the above code but it doesnt seem to change anything. Thanks though
|
|
|
|
|
|
hi
Image Moving and Editing in ASP.net using C#.net
Please suggest whether it can be able to do
Is there is any tool available for moving the image around anywhere in a web page
as well as to edit the image(rotate,re size,color change) etc
i tried a lot but no one fulfill my needs, i am also ready to pay for this tool
|
|
|
|
|
Atalasoft have some good imaging tools, including AJAX ones. Your options are VERY limited, because of how the web works.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
thanks for your reply, that is my client need, is there is any CMS(content management system) tool for this. In this web page there is some text and image(passport size photo), the client need to change the text content and also move the image from left to right, vice versa...
Pls give some url's for Atalasoft Imaging editing tool.
Thanks
|
|
|
|
|
KKK MCA wrote: is there is any CMS(content management system) tool for this.
No, it's not really related to a CMS, it's a different tool.
KKK MCA wrote: In this web page there is some text and image(passport size photo), the client need to change the text content and also move the image from left to right, vice versa...
Have you seen what ebay does ? Most image editing tools of any value, are an activeX component. The only reason I did not suggest that, is because you seem to want to also move the image around the page, which means that part needs to happen in the HTML. An ActiveX is still the best way to get remotely rich image editing, tho.
KKK MCA wrote: Pls give some url's for Atalasoft Imaging editing tool.
www.Atalasoft.com[^]
I'm sure they have links to their AJAX stuff from there.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
FYI - a 1 is a bad vote, a 5 is a good vote.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
I want to post some HTML data( contain in a div on the Default.aspx page) in jQuery using $.ajax method.
But it is not working.
---------
----------
Kindly suggest.
modified 21-Mar-14 7:18am.
|
|
|
|
|
Is url provided by you is ok?
where is the method name in url.
himanshu
|
|
|
|
|
Hi,
Wanna learn ASP.NET and JavaScript?
Check out these links:
http://www.javascriptworkshop.com/category/online-classes/
|
|
|
|
|
I voted to remove this, and so will others. If you want to advertise your site, pay for an ad.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
how to bold a particular item of a dataset programatically.
Thanx in advance
|
|
|
|
|
Well, no item in a dataset is bold, obviously. So, you need to write code that inserts bold tags only for the items you want to view as bold. Which typically means binding the whole field to a code behind method which returns the item, but wraps it in bold tags if needed, or having a label that shows the field, and have the weight of the font on the label set by a method which passes the data to a code behind method.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Thanx for the responses.
can you explain it with an example.
|
|
|
|
|
Well, how are you displaying it ? You'd end up with something like
That's SO rough, that I recommend you do some actual research for real examples, but MyFunction is a method on your page, that takes an object, which is the data you display, and parses it to return the strings Normal or Bold.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Dataset does not supports adding styles or formatting for text. However you can add style or text formatting to its binding control like gridview etc.
Regards,
Kapil Thakur
(Where's there is Kapil , there is a way) - thakur.kapil@gmail.com
|
|
|
|
|
how to add all the control to Page.Form.Controls
and create object for it
|
|
|
|
|
I'm sorry, but your question makes absolutely no sense, please try asking it again.
All controls in the page are in the controls collection, by definition.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
what do you want to do ? Do you need to create object for a control and add it to a web page. For that you can add a panel to a page and you add your created controls.
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
Hi all,
I don't know whether i should ask this question in this forum,
I am using VS 2008 proff edition trial version with sp1,
while working on an application, i created a user control,
as soon as i place the register tag for the user control in my page, VS hangs and doesn't recovers back.
I need to restart my machine, the same problem also occured when i tried to add a master page to my web page.
Has anyone faced this problem?
Any help in this regards will be appreciated.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
No, I've never seen this. I'd try using the web edition ( the free one ), or just doing a reinstall.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|