|
Can you please post only the relevent section. No one going to read out your whole post. Please post those section only which you think can cause the problem.
Thank you !
|
|
|
|
|
I removed a lot of the sections that were not needed... however, I left a good chunk simply because I want people to be able to see the datasource UpdateCommand, parameters, etc. and how I did the gridview...
Hope thats ok... any help would be appreciated!
thanks
|
|
|
|
|
can someone give me some help with this, please?
thanks
|
|
|
|
|
Windows 2003 64 bit IIS Manager - ASP.NET tab missing
I tried:
Stop IIS using iisreset /stop
Open the file C:\WINDOWS\system32\inetsrv\MetaBase.xml in Notepad.
Find and delete the line that says Enable32BitAppOnWin64="TRUE"
Restart IIS using iisreset /start
aspnet_regiis -i
No luck and ASPX won't run!?
aspnet_iisreg -lv lists version on IIS and it's there though, not sure why ASPNET tab missing AND ASPX don't run (assembly load failed)
http://www.gigajoule.net/wp/[^]
http://jamesmckay.net/2008/01/missing-aspnet-tab-in-iis-on-windows-server-2003/[^]
dev
|
|
|
|
|
in fact, when I
aspnet_regiis /u or /i
I get
"The error indicates that IIS is in 64 bit mode, while this application is a 32bit application and thus not compatible."
dev
|
|
|
|
|
try this[^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Which Framework Version did you installed ? Did you installed .NET Framework version of 64 Bit or 32 Bit?
|
|
|
|
|
fixed it thanks!
you know what? It was two versions of "aspnet_regiis" under $SYSTEM$, one under 32bit folder, the other 64bit and we were trying to get ASP.NET registered with the version under 32bit! - if you run aspnet_regiis under 64bit dir (under $SYSTEM$) then restart IIS you should be fine!
dev
modified on Friday, June 5, 2009 2:26 PM
|
|
|
|
|
Exception Details: System.Web.HttpException: Request timed out.
I am using ReportViewer control.I have only problem in Exporting in PDF format.
I have made setting in web.config like
httpRuntime executionTimeout="900" in system.web tag
Also I have checked many attributes like sessionState,httpRuntime in web.config file.And also checked values for server.Scripttimeout.But i getting same error
modified on Tuesday, June 9, 2009 2:21 AM
|
|
|
|
|
Hi,
I'm using ASP.NET with C# and SQL. I have a BLL and DAL set up for interaction with SQL. I have a user input webform with a link button. I need the link button to post the input to the database and pass the new identity value on to the page it navigates to. Can someone please help me on the code for this? This is what I have so far:
protected void LinkButton1_Click(object sender, EventArgs e)
{
ObjectDastaSource1.InsertParameters["Name"].DefaultValue=(FindControl("txtName") as Textbox).Text;
ObjectDataSource1.InsertParameters["User"].DefaultValue=(FindControl("ddlUser")as DropDownList).SelectedItem.Text;
ObjectDataSource1.InsertParameters["Email"].DefaultValue=(FindControl("txtEmail")as Textbox).Text;
ObjectDataSource1.InsertParameters["Start"].DefaultValue=(FindControl("cStart") as Calendar).SelectedDate.ToShortDateString();
ObjectDataSource1.Insertparameters["End"].DefaultValue=(FindControl("cEnd") as Calendar).SelectedDate.ToShortDateString();
ObjectDataSource.DataBind();
|
|
|
|
|
Hi
How can i store an image(it is already in the image folder in the project)in a session variable? Also how can i retrieve this image and load it to an image control in asp.net
Thanks
Denny
|
|
|
|
|
Read the image in a byte[] and assign it to the session variable.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
As manash sugguested you can store image as byte array in the session variable. But why you are storing image in session variable ? Did you thing about size of session variable?
|
|
|
|
|
Hi,
Rather than storing Image in Session variable donot u think it is good to store the image path in Session.try this way....
|
|
|
|
|
Hello,
I am trying to send email from Microsoft outlook from my application, and I wrote following code :
string stSubject="";
string stTo="";
string stCC="";
string stAttachmentFileName = "";
string stDisplayName = "";
string stBody = "";
ApplicationClass oApplicationClass = new ApplicationClass();
NameSpace oNS = null;
MailItem oMailItem= (MailItem)oApplicationClass.CreateItem(OlItemType.olMailItem);
//stSubject is the mail subject
oMailItem.Subject = stSubject;
//stTo is the email to address
// oMailItem.From = "m.r.chavan@amc.nl";
oMailItem.To = "aa@aa.nl";
oMailItem.CC = "bb@bb.nl";
oMailItem.BodyFormat = OlBodyFormat.olFormatHTML;
//if you want it in the plain format, you can set body format as oMailItem.BodyFormat = Outlook.OlBodyFormat.olFormatPlain;
oMailItem.HTMLBody = stBody;
//oMailItem.Attachments.Add(stAttachmentFileName,(int)OlAttachmentType.olByValue,stBody.Length+1,stDisplayName);
oMailItem.Display(true);
Can anybody tell me how can i set the oMailItem.From in the mail, I know that the outlook is taking the default user account for mailing, but can I set the FROM property ?
|
|
|
|
|
You should system.net.mail to send mail from server code in asp.net.
I doubt very much you can mail from a clients machine.
I didn't get any requirements for the signature
|
|
|
|
|
milindchavan12 wrote: I am trying to send email from Microsoft outlook from my application,
What does it mean?
You want to send mail from ASP.NET Application? Did you googled for that?
milindchavan12 wrote: Can anybody tell me how can i set the oMailItem.From in the mail, I know that the outlook is taking the default user account for mailing, but can I set the FROM property ?
Why? what happend when you set the From property of MailMessage object?
|
|
|
|
|
HI
I want to draw a diagonal line in Panel in asp.net.It is possible in C#/VB.net but I want this in asp.net(web application).In windows application we can do this by Paint.Is there any solution for this in web application
Thanks
Denny
|
|
|
|
|
You are an ignorant moron. You've been told the answer, several times now. The best you can do, is to create a bitmap with a diagonal line in it, and use an img tag. You can't draw lines, HTML does not support that, although SVG does.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
|
I haven't used 1.1 in a long time. But the error suggest that it is looking for a server side method return.
Therefore, I suggesting using button.Attributes.add("OnClick", "return md5auth(Txt_password)"); in your server side code. Perhaps in page_load.
I didn't get any requirements for the signature
|
|
|
|
|
The first clue is that you're doing two different things. In the first case you're adding an onclick, which is called on the client', in the second, you set OnClick, which tries to call a method on the server.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Hi
I am looking for a way to check uncheck particular checkbox in radtreeview contol with checkboxes and also in checkboxlist. I can select and unselect all the checkbox but not any particular one.
Cheers
Andyyy
|
|
|
|
|
|
Well, you can start by only posting once, not to multiple forums. Its considered bad practice.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|